{
  "name": "@kky42/pi-flow",
  "version": "3.1.3",
  "description": "Multi-backend subagents and dynamic workflow orchestration for pi.",
  "type": "module",
  "main": "./index.ts",
  "exports": {
    ".": "./index.ts",
    "./runtime": {
      "types": "./dist/runtime.d.ts",
      "default": "./dist/runtime.js"
    },
    "./headless": {
      "types": "./dist/headless.d.ts",
      "default": "./dist/headless.js"
    },
    "./package.json": "./package.json"
  },
  "files": [
    "index.ts",
    "src",
    "dist",
    "scripts",
    "assets",
    "README.md",
    "LICENSE",
    ".env.example"
  ],
  "keywords": [
    "pi-package",
    "pi-extension",
    "subagent",
    "workflow",
    "multi-agent",
    "codex",
    "claude"
  ],
  "license": "MIT",
  "scripts": {
    "build": "tsc",
    "build:dist": "node scripts/clean-dist.mjs && tsc -p tsconfig.dist.json && node scripts/rewrite-dts-extensions.mjs && node scripts/copy-dist-assets.mjs",
    "check": "tsc --noEmit && vitest run && npm run smoke:runtime",
    "prepublishOnly": "npm run check && npm run build:dist",
    "smoke:runtime": "npm run build:dist && node scripts/smoke-runtime.mjs",
    "e2e": "npm run e2e:basic-metrics && npm run e2e:claude-cost-fallback && npm run e2e:workflow-features && npm run e2e:prompt-routing && npm run e2e:session-key-resume -- --backend all",
    "e2e:basic-metrics": "node scripts/e2e/basic-metrics.mjs",
    "e2e:claude-cost-fallback": "node scripts/e2e/claude-cost-fallback.mjs",
    "e2e:workflow-features": "node scripts/e2e/workflow-features.mjs",
    "e2e:prompt-routing": "node scripts/e2e/prompt-routing.mjs",
    "e2e:session-key-resume": "node scripts/e2e/session-key-resume.mjs",
    "e2e:sync-tui": "node scripts/e2e/sync-tui.mjs",
    "test": "vitest run",
    "prepack": "npm run build:dist"
  },
  "peerDependencies": {
    "@earendil-works/pi-agent-core": "*",
    "@earendil-works/pi-ai": "*",
    "@earendil-works/pi-coding-agent": "*",
    "@earendil-works/pi-tui": "*",
    "typebox": "*"
  },
  "devDependencies": {
    "@earendil-works/pi-agent-core": "^0.84.1",
    "@earendil-works/pi-ai": "^0.84.1",
    "@earendil-works/pi-coding-agent": "^0.84.1",
    "@earendil-works/pi-tui": "^0.84.1",
    "@types/node": "^24.12.4",
    "typebox": "1.3.7",
    "typescript": "^5.9.3",
    "vitest": "^3.2.4"
  },
  "pi": {
    "extensions": [
      "./index.ts"
    ]
  },
  "engines": {
    "node": ">=22.19.0"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/kky42/pi-flow.git"
  },
  "bugs": {
    "url": "https://github.com/kky42/pi-flow/issues"
  },
  "homepage": "https://github.com/kky42/pi-flow#readme",
  "publishConfig": {
    "access": "public"
  },
  "dependencies": {
    "acorn": "^8.17.0"
  }
}
