You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: generate correct Claude Code hooks JSON structure (#36)
The hooks JSON was missing the required nested structure. Claude Code
expects each event entry to have a `matcher` field and a `hooks` array,
not bare command objects.
Also fixes event mapping to use correct Claude Code event names:
- on_session_start → SessionStart (was PreToolUse)
- on_error → PostToolUseFailure (was PostToolUse)
- pre_response → UserPromptSubmit (was PostToolUse)
- post_response → Stop (was PostToolUse)
- on_session_end → SessionEnd (was PostToolUse)
Fixes#36
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments