{
  "name": "pi-context-optimizer",
  "version": "1.1.1",
  "description": "Plan → Review → Execute → Walkthrough loop for the pi coding agent. A structured, gate-driven workflow engine with human-in-the-loop approval.",
  "type": "module",
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js"
    }
  },
  "files": [
    "dist",
    "README.md",
    "BRIDGE.md",
    "LICENSE"
  ],
  "scripts": {
    "build": "tsc",
    "clean": "rm -rf dist",
    "prepublishOnly": "npm run clean && npm run build && npm test",
    "test": "node --test --experimental-strip-types test/utils.test.ts test/dag.test.ts test/cycle.test.ts test/e2e-approve.test.ts test/bridge.test.ts test/gate.test.ts test/dispatcher.test.ts test/tools.test.ts",
    "typecheck": "tsc --noEmit && tsc --project test/tsconfig.json"
  },
  "peerDependencies": {
    "@earendil-works/pi-coding-agent": "*",
    "@earendil-works/pi-tui": "*",
    "typebox": "*"
  },
  "engines": {
    "node": ">=18"
  },
  "keywords": [
    "pi-package",
    "pi-extension",
    "pi",
    "context-optimizer",
    "plan",
    "review",
    "approve",
    "workflow",
    "gate",
    "human-in-the-loop"
  ],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/tufaan42/pi-context-optimizer.git"
  },
  "bugs": {
    "url": "https://github.com/tufaan42/pi-context-optimizer/issues"
  },
  "homepage": "https://github.com/tufaan42/pi-context-optimizer#readme",
  "author": "Tufaan",
  "license": "MIT",
  "pi": {
    "extensions": [
      "./dist/index.js"
    ]
  },
  "publishConfig": {
    "access": "public"
  },
  "devDependencies": {
    "@earendil-works/pi-agent-core": "^0.80.6",
    "@earendil-works/pi-ai": "^0.80.6",
    "@earendil-works/pi-coding-agent": "^0.80.6",
    "@earendil-works/pi-tui": "^0.80.6",
    "@kmmuntasir/pi-nested-subagents": "^0.1.0",
    "@types/node": "^26.1.1",
    "typebox": "^1.3.6",
    "typescript": "^7.0.2"
  }
}
