Skip to content

About

CodeBuddy detection for Herdr

Topics

Resources

Stars

5 stars

Watchers

0 watching

Forks

Latest commit

 

History

15 Commits

Folders and files

Repository files navigation

herdr-codebuddy

test

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 — the turn continues after compaction
UserPromptSubmit working
PreToolUse, PostToolUse, PostToolUseFailure working
Stop idle
Notification (permission_prompt) blocked
SessionEnd release the agent

The tool events keep the reported state honest: approving a permission prompt otherwise left the pane reported as blocked until Stop. The failure event covers a tool that fails or is interrupted after approval.

Install

Requirements: curl, Node.js, and CodeBuddy.

curl -fsSL https://raw.githubusercontent.com/Ziy1-Tan/herdr-codebuddy/main/install.sh | sh

To uninstall:

curl -fsSL https://raw.githubusercontent.com/Ziy1-Tan/herdr-codebuddy/main/install.sh | sh -s -- uninstall

For a local checkout, run node install.js install or node install.js uninstall.

Test

npm test

Reference: Add Herdr support to your agent.

About

CodeBuddy detection for Herdr

Topics

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages