Initial commit

This commit is contained in:
zhongwei
2025-11-29 09:37:45 +08:00
commit b84c57e297
5 changed files with 264 additions and 0 deletions

49
hooks/hooks.json Normal file
View File

@@ -0,0 +1,49 @@
{
"hooks": {
"PreToolUse": [
{
"matcher": "ExitPlanMode|AskUserQuestion",
"hooks": [
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/notification-handler.sh PreToolUse",
"timeout": 10
}
]
}
],
"Notification": [
{
"hooks": [
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/notification-handler.sh Notification",
"timeout": 10
}
]
}
],
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/notification-handler.sh Stop",
"timeout": 10
}
]
}
],
"SubagentStop": [
{
"hooks": [
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/notification-handler.sh SubagentStop",
"timeout": 10
}
]
}
]
}
}