Skip to content

fix: expose Claude identity to Herdr - #142

Merged
0Chencc merged 1 commit into
0Chencc:mainfrom
ShinyNito:fix/herdr-agent-detection
Aug 12, 2026
Merged

fix: expose Claude identity to Herdr#142
0Chencc merged 1 commit into
0Chencc:mainfrom
ShinyNito:fix/herdr-agent-detection

Conversation

@ShinyNito

Copy link
Copy Markdown
Contributor

ClawGod launches Claude Code through Bun:

bun ~/.clawgod/cli.cjs

This hides the claude foreground process from Herdr. Although the Claude integration hook still reports the native session ID, Herdr cannot identify the pane as Claude and leaves agent_status as unknown.

This change adds the following hint to the generated launcher:

export HERDR_AGENT="${HERDR_AGENT:-claude}"

This allows Herdr to correctly identify ClawGod-wrapped Claude sessions while still preserving an explicitly provided HERDR_AGENT value.

The change has no effect when ClawGod is used outside Herdr.

@0Chencc
0Chencc merged commit 497773a into 0Chencc:main Aug 12, 2026
1 check failed
@ShinyNito
ShinyNito deleted the fix/herdr-agent-detection branch August 16, 2026 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants