CodeBuddy hooks report session state to Herdr. This adds no Herdr process or screen detection.
| CodeBuddy event | Herdr report |
|---|---|
SessionStart (startup, resume, clear) |
idle, with the session ID and codebuddy --resume command when available |
SessionStart (compact) |
working |
UserPromptSubmit |
working |
PreToolUse, PostToolUse, PostToolUseFailure |
working |
PermissionDenied |
working |
Stop, StopFailure |
idle |
Notification (permission_prompt) |
blocked |
SessionEnd |
release the agent; /clear reports nothing (the paired SessionStart reports the new session) |
Requirements: curl, Node.js, and CodeBuddy.
curl -fsSL https://raw.githubusercontent.com/Ziy1-Tan/herdr-codebuddy/main/install.sh | shTo uninstall:
curl -fsSL https://raw.githubusercontent.com/Ziy1-Tan/herdr-codebuddy/main/install.sh | sh -s -- uninstallFor a local checkout, run node install.js install or node install.js uninstall.
npm testReference: Add Herdr support to your agent.