Implements the architect-controlled workflow: implementers submit work for review, only the architect closes tasks. - CLI: `agenthub task review <id>` (implementer submits → status review) and `agenthub task reopen <id>` (architect re-triggers → status open). Server already supported both statuses; now exposed on local + --server paths, with remoteClient.reviewTask/reopenTask. - templates: AGENTS.md + role guides rewritten so agents self-drive the CLI on open (hello → claim → implement → task review → wait), with the hard rule that ONLY the architect runs `task done`. Implementer guides (codex/kimi) never call done; architect guide documents done/reopen. - tests: review/reopen SSE events + formatEvent "Task review"/"Task reopened" lines. 113/113 green. Bump 0.2.0 -> 0.2.1. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
53 lines
983 B
JSON
53 lines
983 B
JSON
{
|
|
"name": "agenthub",
|
|
"version": "0.2.1",
|
|
"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"
|
|
]
|
|
}
|
|
}
|