claude-code-voice-hooks added
This commit is contained in:
+114
-12
@@ -67,7 +67,9 @@
|
||||
{
|
||||
"type": "command",
|
||||
"command": "python3 ${CLAUDE_PROJECT_DIR}/.claude/hooks/scripts/hooks.py",
|
||||
"timeout": 5000
|
||||
"timeout": 5000,
|
||||
"async": true,
|
||||
"statusMessage": "PreToolUse"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -78,7 +80,9 @@
|
||||
{
|
||||
"type": "command",
|
||||
"command": "python3 ${CLAUDE_PROJECT_DIR}/.claude/hooks/scripts/hooks.py",
|
||||
"timeout": 5000
|
||||
"timeout": 5000,
|
||||
"async": true,
|
||||
"statusMessage": "PermissionRequest"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -89,7 +93,22 @@
|
||||
{
|
||||
"type": "command",
|
||||
"command": "python3 ${CLAUDE_PROJECT_DIR}/.claude/hooks/scripts/hooks.py",
|
||||
"timeout": 5000
|
||||
"timeout": 5000,
|
||||
"async": true,
|
||||
"statusMessage": "PostToolUse"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"PostToolUseFailure": [
|
||||
{
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "python3 ${CLAUDE_PROJECT_DIR}/.claude/hooks/scripts/hooks.py",
|
||||
"timeout": 5000,
|
||||
"async": true,
|
||||
"statusMessage": "PostToolUseFailure"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -100,7 +119,9 @@
|
||||
{
|
||||
"type": "command",
|
||||
"command": "python3 ${CLAUDE_PROJECT_DIR}/.claude/hooks/scripts/hooks.py",
|
||||
"timeout": 5000
|
||||
"timeout": 5000,
|
||||
"async": true,
|
||||
"statusMessage": "UserPromptSubmit"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -111,7 +132,9 @@
|
||||
{
|
||||
"type": "command",
|
||||
"command": "python3 ${CLAUDE_PROJECT_DIR}/.claude/hooks/scripts/hooks.py",
|
||||
"timeout": 5000
|
||||
"timeout": 5000,
|
||||
"async": true,
|
||||
"statusMessage": "Notification"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -122,7 +145,9 @@
|
||||
{
|
||||
"type": "command",
|
||||
"command": "python3 ${CLAUDE_PROJECT_DIR}/.claude/hooks/scripts/hooks.py",
|
||||
"timeout": 5000
|
||||
"timeout": 5000,
|
||||
"async": true,
|
||||
"statusMessage": "Stop"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -133,7 +158,9 @@
|
||||
{
|
||||
"type": "command",
|
||||
"command": "python3 ${CLAUDE_PROJECT_DIR}/.claude/hooks/scripts/hooks.py",
|
||||
"timeout": 5000
|
||||
"timeout": 5000,
|
||||
"async": true,
|
||||
"statusMessage": "SubagentStart"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -144,7 +171,9 @@
|
||||
{
|
||||
"type": "command",
|
||||
"command": "python3 ${CLAUDE_PROJECT_DIR}/.claude/hooks/scripts/hooks.py",
|
||||
"timeout": 5000
|
||||
"timeout": 5000,
|
||||
"async": true,
|
||||
"statusMessage": "SubagentStop"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -156,7 +185,9 @@
|
||||
"type": "command",
|
||||
"command": "python3 ${CLAUDE_PROJECT_DIR}/.claude/hooks/scripts/hooks.py",
|
||||
"timeout": 5000,
|
||||
"once": true
|
||||
"async": true,
|
||||
"once": true,
|
||||
"statusMessage": "PreCompact"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -168,7 +199,9 @@
|
||||
"type": "command",
|
||||
"command": "python3 ${CLAUDE_PROJECT_DIR}/.claude/hooks/scripts/hooks.py",
|
||||
"timeout": 5000,
|
||||
"once": true
|
||||
"async": true,
|
||||
"once": true,
|
||||
"statusMessage": "SessionStart"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -180,7 +213,9 @@
|
||||
"type": "command",
|
||||
"command": "python3 ${CLAUDE_PROJECT_DIR}/.claude/hooks/scripts/hooks.py",
|
||||
"timeout": 5000,
|
||||
"once": true
|
||||
"async": true,
|
||||
"once": true,
|
||||
"statusMessage": "SessionEnd"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -191,7 +226,74 @@
|
||||
{
|
||||
"type": "command",
|
||||
"command": "python3 ${CLAUDE_PROJECT_DIR}/.claude/hooks/scripts/hooks.py",
|
||||
"timeout": 30000
|
||||
"timeout": 30000,
|
||||
"async": true,
|
||||
"statusMessage": "Setup"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"TeammateIdle": [
|
||||
{
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "python3 ${CLAUDE_PROJECT_DIR}/.claude/hooks/scripts/hooks.py",
|
||||
"timeout": 5000,
|
||||
"async": true,
|
||||
"statusMessage": "TeammateIdle"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"TaskCompleted": [
|
||||
{
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "python3 ${CLAUDE_PROJECT_DIR}/.claude/hooks/scripts/hooks.py",
|
||||
"timeout": 5000,
|
||||
"async": true,
|
||||
"statusMessage": "TaskCompleted"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ConfigChange": [
|
||||
{
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "python3 ${CLAUDE_PROJECT_DIR}/.claude/hooks/scripts/hooks.py",
|
||||
"timeout": 5000,
|
||||
"async": true,
|
||||
"statusMessage": "ConfigChange"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"WorktreeCreate": [
|
||||
{
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "python3 ${CLAUDE_PROJECT_DIR}/.claude/hooks/scripts/hooks.py",
|
||||
"timeout": 5000,
|
||||
"async": true,
|
||||
"statusMessage": "WorktreeCreate"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"WorktreeRemove": [
|
||||
{
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "python3 ${CLAUDE_PROJECT_DIR}/.claude/hooks/scripts/hooks.py",
|
||||
"timeout": 5000,
|
||||
"async": true,
|
||||
"statusMessage": "WorktreeRemove"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user