fix(claude): implement official Python hook contract

This commit is contained in:
ZacharyZhang-NY committed 2026-07-20 06:54:51 -04:00
1 parent a5a250ac94
commit 202aa1dff7
14 files changed
+2162 -198

No files matched your search

+2 -2
View File
@@ -13,8 +13,8 @@ SUPPORTED_AGENTS: Dict[str, Dict[str, str]] = {
},
"claudecode": {
"name": "Claude Code",
"hook_event": "PostToolUse",
"config_path": "~/.claude/settings.json",
"hook_event": "PreToolUse/PostToolUse/PostToolUseFailure",
"config_path": "$CLAUDE_CONFIG_DIR/settings.json",
},
"codex": {
"name": "OpenAI Codex",