add 5 new hook sound mappings — TaskCreated, StopFailure, CwdChanged, FileChanged, PermissionDenied
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -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 =====
|
||||
|
||||
Reference in New Issue
Block a user