mirror of
https://github.com/wassname/pi-plan.git
synced 2026-06-27 15:16:18 +08:00
d97b532d7b
Small, guide-not-gate plan/goal tracker for pi. The agent edits plan.md with its normal Edit tool; CompleteGoal is the one blessed path that runs verify + a read-only judge and records the result. Plan mode drafts goals (done_when + failure_modes + subtasks), a per-turn injection keeps the active goal alive through compaction, and a reminder drives upkeep + autonomy. - src/plan-file.ts: pure parse + the two writes CompleteGoal needs + recordSignOff - src/index.ts: plan mode, review menu, injection, reminder, widget, CompleteGoal, oracle spawn - src/prompts.ts: all model-facing text in flow order - test/: 15 unit tests (parser, disambiguation, sign-off record logic) Co-Authored-By: Claudypoo <288921227+claudypoo@users.noreply.github.com>
48 lines
1.0 KiB
JSON
48 lines
1.0 KiB
JSON
{
|
|
"name": "@wassname2/pi-plan",
|
|
"version": "0.0.1",
|
|
"description": "One plan.md: set goals via plan mode, work them, sign off only when a read-only check passes. Successor to pi-lgtm.",
|
|
"author": "wassname",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/wassname/pi-plan.git"
|
|
},
|
|
"keywords": [
|
|
"pi-package",
|
|
"pi",
|
|
"pi-extension",
|
|
"plan",
|
|
"goal",
|
|
"proof",
|
|
"uat",
|
|
"evidence",
|
|
"judge"
|
|
],
|
|
"dependencies": {
|
|
"@earendil-works/pi-coding-agent": "^0.79.0",
|
|
"@earendil-works/pi-tui": "*",
|
|
"@sinclair/typebox": "latest"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"typecheck": "tsc --noEmit",
|
|
"lint": "biome check src/ test/",
|
|
"lint:fix": "biome check --fix src/ test/"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.0.0",
|
|
"typescript": "^5.0.0",
|
|
"@biomejs/biome": "^2.4.8",
|
|
"vitest": "^4.0.18"
|
|
},
|
|
"pi": {
|
|
"extensions": [
|
|
"./src/index.ts"
|
|
]
|
|
}
|
|
}
|