{
  "name": "pi-midrun-compact",
  "version": "0.1.2",
  "type": "module",
  "description": "Trigger Pi compaction safely during long tool loops and resume the same task while delegating compaction to the installed backend.",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/leonfox28/pi-midrun-compact.git"
  },
  "bugs": {
    "url": "https://github.com/leonfox28/pi-midrun-compact/issues"
  },
  "homepage": "https://github.com/leonfox28/pi-midrun-compact#readme",
  "publishConfig": {
    "access": "public"
  },
  "keywords": [
    "pi-package",
    "pi-extension",
    "mid-run",
    "mid-turn",
    "compaction",
    "context-window",
    "tool-loop"
  ],
  "files": [
    "index.ts",
    "src",
    "README.md",
    "LICENSE"
  ],
  "pi": {
    "extensions": [
      "./index.ts"
    ]
  },
  "scripts": {
    "typecheck": "tsc --noEmit",
    "test": "node --test --test-concurrency=1 test/*.test.ts",
    "test:unit": "node --test --test-concurrency=1 test/config.test.ts test/extension.test.ts test/runtime.test.ts test/threshold.test.ts test/tool-batches.test.ts",
    "test:smoke": "node --test --test-concurrency=1 test/pi-smoke.test.ts",
    "check": "npm run typecheck && npm test",
    "prepublishOnly": "npm run check"
  },
  "peerDependencies": {
    "@earendil-works/pi-coding-agent": ">=0.80.0"
  },
  "devDependencies": {
    "@earendil-works/pi-ai": "0.82.1",
    "@earendil-works/pi-coding-agent": "0.82.1",
    "@types/node": "^24.0.0",
    "typebox": "^1.1.38",
    "typescript": "^5.9.0"
  }
}
