npx await-game # start daemon + game npx await-game hooks --write # Claude Code: auto-wire hooks npx await-game watch -- <cmd> # ANY agent CLI: wraps the command
{
"hooks": {
"UserPromptSubmit": [{ "hooks": [{ "type": "command",
"command": "curl -s http://127.0.0.1:4649/event?type=start >/dev/null 2>&1 || true" }]}],
"Stop": [{ "hooks": [{ "type": "command",
"command": "curl -s http://127.0.0.1:4649/event?type=stop >/dev/null 2>&1 || true" }]}]
}
}