The resume prompt counted total/completed from progress.tasks, which only records TOUCHED tasks (started/completed/failed) — never-started tasks were silently missing, and file-checkbox completions weren't counted unless markCompleted had run. With e.g. 10 tasks where 3 completed and 5 untouched, it showed 3/5 done instead of 3/10 done. - add countPRDResumeStats (src/utils.ts): total from parseTaskFile of the PRD source; completed = progress completions ∪ PRD checkbox completions, deduped by task id; failed from progress. Falls back to touched-task counts when the source file is missing/unparseable. - selectPRDToResume (index.ts) uses the helper instead of Object.keys(). - tests/resume-stats.test.ts: 4 regression tests. Includes pre-existing uncommitted changes: index.ts tab-reformat (matches src/ style) and package.json version bump 0.4.2 -> 0.4.3.
67 lines
1.3 KiB
JSON
67 lines
1.3 KiB
JSON
{
|
|
"name": "@mikefreno/ralpi",
|
|
"version": "0.4.3",
|
|
"description": "Execute tasks from task files/PRD's using DAG-based dependency resolution with persistent progress tracking",
|
|
"keywords": [
|
|
"pi-package",
|
|
"pi-extension",
|
|
"task-runner",
|
|
"dag",
|
|
"task-manager",
|
|
"ralph-loop",
|
|
"prd"
|
|
],
|
|
"author": "Michael Freno",
|
|
"license": "MIT",
|
|
"homepage": "https://github.com/mikefreno/ralpi",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/mikefreno/ralpi.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/mikefreno/ralpi/issues"
|
|
},
|
|
"files": [
|
|
"index.ts",
|
|
"src/",
|
|
"skills/",
|
|
"prompts/",
|
|
"README.md",
|
|
"LICENSE"
|
|
],
|
|
"scripts": {
|
|
"typecheck": "tsc --noEmit",
|
|
"prepublishOnly": "tsc --noEmit",
|
|
"test": "bun test"
|
|
},
|
|
"engines": {
|
|
"bun": ">=1.1.0"
|
|
},
|
|
"pi": {
|
|
"extensions": [
|
|
"./index.ts"
|
|
],
|
|
"skills": [
|
|
"./skills"
|
|
],
|
|
"prompts": [
|
|
"./prompts"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"yaml": "^2.4.0"
|
|
},
|
|
"peerDependencies": {
|
|
"@earendil-works/pi-coding-agent": "*",
|
|
"@earendil-works/pi-tui": "*"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.0.0",
|
|
"bun-types": "^1.3.14",
|
|
"typescript": "^5.3.0"
|
|
}
|
|
}
|