{
  "name": "pi-agent-flow",
  "version": "2.3.8",
  "description": "Flow-state transition extension for Pi coding agent.",
  "type": "module",
  "main": "dist/index.js",
  "files": [
    "dist/",
    "agents/",
    "README.md"
  ],
  "pi": {
    "extensions": [
      "./dist/index.js"
    ]
  },
  "keywords": [
    "pi",
    "flow",
    "fork",
    "pi-package"
  ],
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/tuanhung303/pi-agent-flow"
  },
  "engines": {
    "node": ">=20.19.0"
  },
  "scripts": {
    "build": "tsc",
    "lint": "tsc --noEmit",
    "test": "vitest run",
    "test:trace-ui": "vitest run tests/trace-first-invoke.test.ts tests/trace-render-state.test.ts tests/render-context-pipeline.test.ts tests/flow-live-state.test.ts tests/context-display.test.ts",
    "check:dist": "npm run build && node scripts/check-dist.mjs",
    "sync:pi": "node scripts/sync-pi.mjs",
    "verify:pi": "npm run test:trace-ui && npm run sync:pi",
    "switch:local": "npm link",
    "switch:remote": "npm uninstall -g pi-agent-flow && npm install -g pi-agent-flow",
    "prepublishOnly": "npm run build"
  },
  "devDependencies": {
    "@types/jsdom": "^28.0.1",
    "@types/turndown": "^5.0.6",
    "@vitest/coverage-v8": "^3.2.4",
    "typescript": "^5.0.0",
    "vitest": "^3.2.4"
  },
  "peerDependencies": {
    "@earendil-works/pi-agent-core": ">=0.37.0",
    "@earendil-works/pi-ai": ">=0.37.0",
    "@earendil-works/pi-coding-agent": ">=0.37.0",
    "@earendil-works/pi-tui": ">=0.37.0",
    "@sinclair/typebox": ">=0.34.0"
  },
  "peerDependenciesMeta": {
    "@earendil-works/pi-agent-core": {
      "optional": true
    },
    "@earendil-works/pi-coding-agent": {
      "optional": true
    },
    "@earendil-works/pi-tui": {
      "optional": true
    },
    "@earendil-works/pi-ai": {
      "optional": true
    },
    "@sinclair/typebox": {
      "optional": true
    }
  },
  "dependencies": {
    "jsdom": "^29.1.0",
    "turndown": "^7.2.4"
  }
}
