The recurring "agent doesn't read messages in realtime / isn't triggered for the next task" problem: agents weren't STAYING in the agenthub_work loop, so they went dormant after each task. Two reinforcements: - agenthub_work now ends every response with a LOOP directive: "the instant you finish, call agenthub_work again (in the background) so the next task/message reaches you in realtime — never end your turn without relaunching it." - The auto-start hook-context now stresses the BACKGROUND loop + relaunch pattern, so a Claude Code session is woken on each event instead of blocking. Layer 1 (auto-start) gets agents INTO the loop; this keeps them IN it. Honest limit: turn-based agents still rely on obeying the relaunch nudge — there's no 100% always-on without a supervisor. Bump 0.9.0 -> 0.9.1. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
54 lines
1.0 KiB
JSON
54 lines
1.0 KiB
JSON
{
|
|
"name": "agenthub",
|
|
"version": "0.9.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",
|
|
"@modelcontextprotocol/sdk": "^1.29.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"
|
|
]
|
|
}
|
|
}
|