diff --git a/.claude/hooks/scripts/hooks.py b/.claude/hooks/scripts/hooks.py index 74a3130..e6cfb9d 100644 --- a/.claude/hooks/scripts/hooks.py +++ b/.claude/hooks/scripts/hooks.py @@ -3,7 +3,7 @@ Claude Code Hook Handler ============================================= This script handles events from Claude Code and plays sounds for different hook events. -Supports all 22 Claude Code hooks: https://code.claude.com/docs/en/hooks +Supports all 27 Claude Code hooks: https://code.claude.com/docs/en/hooks Special handling for git commits: plays pretooluse-git-committing.mp3 @@ -44,13 +44,18 @@ HOOK_SOUND_MAP = { "SessionEnd": "sessionend", "Setup": "setup", "TeammateIdle": "teammateidle", + "TaskCreated": "taskcreated", "TaskCompleted": "taskcompleted", "ConfigChange": "configchange", "WorktreeCreate": "worktreecreate", "WorktreeRemove": "worktreeremove", "InstructionsLoaded": "instructionsloaded", "Elicitation": "elicitation", - "ElicitationResult": "elicitationresult" + "ElicitationResult": "elicitationresult", + "StopFailure": "stopfailure", + "CwdChanged": "cwdchanged", + "FileChanged": "filechanged", + "PermissionDenied": "permissiondenied" } # ===== AGENT HOOK EVENT TO SOUND FOLDER MAPPING =====