Closes the architect-side gap: the auto-claim daemon wakes implementers on new tasks, but the architect had no signal when an implementer submitted. `agenthub watch --await-review` exits (after printing) the moment a task enters `review` — including any task already in review on connect (initial check) — so the architect can run it in the background and be re-invoked by the harness the instant a submission needs a verdict. - watch.ts: awaitReview option, initial fetchReviewTasks() check + SSE exit on task→review. - index.ts: --await-review flag. - tests: returns immediately on already-pending review; exits on a review transition while watching. 121/121 green. Bump 0.4.0 -> 0.5.0. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
53 lines
983 B
JSON
53 lines
983 B
JSON
{
|
|
"name": "agenthub",
|
|
"version": "0.5.0",
|
|
"description": "Local coordination layer for AI coding agents",
|
|
"type": "module",
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"files": [
|
|
"dist",
|
|
"bin"
|
|
],
|
|
"bin": {
|
|
"agenthub": "./bin/agenthub.js"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"dev": "tsc --watch",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest"
|
|
},
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"dependencies": {
|
|
"@inquirer/prompts": "^7.0.0",
|
|
"better-sqlite3": "^12.0.0",
|
|
"commander": "^13.0.0",
|
|
"fastify": "^5.0.0",
|
|
"yaml": "^2.6.0",
|
|
"zod": "^3.23.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/better-sqlite3": "^7.6.12",
|
|
"@types/node": "^22.0.0",
|
|
"typescript": "^5.7.0",
|
|
"vitest": "^3.0.0"
|
|
},
|
|
"keywords": [
|
|
"ai",
|
|
"agents",
|
|
"claude",
|
|
"codex",
|
|
"kimi",
|
|
"collaboration"
|
|
],
|
|
"license": "MIT",
|
|
"pnpm": {
|
|
"onlyBuiltDependencies": [
|
|
"better-sqlite3"
|
|
]
|
|
}
|
|
}
|