{
  "name": "pi-context-engineer",
  "version": "0.6.0",
  "type": "module",
  "description": "Context governor for Pi Fabric and Pi Fovea: taint-gates data flow, budgets selection, compresses results, offloads payloads, and records context cost.",
  "keywords": [
    "pi-package",
    "pi",
    "pi-fabric",
    "context-engineering",
    "fovea"
  ],
  "author": "pyan",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/p-yan-6908/pi-context-engineer.git"
  },
  "bugs": {
    "url": "https://github.com/p-yan-6908/pi-context-engineer/issues"
  },
  "homepage": "https://github.com/p-yan-6908/pi-context-engineer#readme",
  "publishConfig": {
    "access": "public"
  },
  "scripts": {
    "typecheck": "tsc --noEmit --target ES2022 --module NodeNext --moduleResolution NodeNext --skipLibCheck src/*.ts bench/*.ts",
    "build": "rm -rf .tmp/pi-ce-build && tsc --outDir .tmp/pi-ce-build --rootDir src --target ES2022 --module NodeNext --moduleResolution NodeNext --skipLibCheck src/*.ts",
    "build:bench": "rm -rf .tmp/pi-ce-bench && tsc --outDir .tmp/pi-ce-bench --rootDir . --target ES2022 --module NodeNext --moduleResolution NodeNext --skipLibCheck src/*.ts bench/*.ts",
    "verify": "npm run build && node .tmp/pi-ce-build/verify.js && node .tmp/pi-ce-build/verify-hooks.js && node .tmp/pi-ce-build/verify-adversarial.js && node .tmp/pi-ce-build/verify-runtime.js && node .tmp/pi-ce-build/verify-child.js && node .tmp/pi-ce-build/verify-remediation.js && npm run verify:effectiveness",
    "bench": "npm run build:bench && node .tmp/pi-ce-bench/bench/runner.js",
    "bench:policy": "npm run build:bench && node .tmp/pi-ce-bench/bench/policy.js",
    "bench:effectiveness": "npm run build:bench && node .tmp/pi-ce-bench/bench/effectiveness.js",
    "verify:effectiveness": "npm run build:bench && node .tmp/pi-ce-bench/bench/verify-effectiveness.js",
    "bench:e2e": "npm run build && npm run build:bench && node .tmp/pi-ce-bench/bench/e2e.js",
    "test": "npm run verify"
  },
  "types": [
    "extension",
    "skill"
  ],
  "main": "src/index.ts",
  "files": [
    "src",
    "skills",
    "bench",
    "README.md",
    "CHANGELOG.md",
    "LICENSE"
  ],
  "dependencies": {
    "typescript": "^5.5.0"
  },
  "peerDependencies": {
    "@earendil-works/pi-ai": ">=0.80.0",
    "@earendil-works/pi-coding-agent": ">=0.80.0",
    "typebox": "*",
    "pi-fabric": "*"
  },
  "peerDependenciesMeta": {
    "pi-fabric": {
      "optional": true
    }
  },
  "engines": {
    "node": ">=20"
  },
  "pi": {
    "extensions": [
      "./src/index.ts"
    ],
    "skills": [
      "./skills"
    ],
    "providesTools": [
      "ce_exec",
      "ctx_read",
      "ctx_summarize",
      "ctx_remember",
      "ctx_recall",
      "ctx_forget",
      "ctx_delegate",
      "ctx_offload",
      "ctx_status"
    ]
  }
}
