Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 08:29:54 +08:00
commit ce17f93f10
4 changed files with 87 additions and 0 deletions

27
hooks/hooks.json Normal file
View File

@@ -0,0 +1,27 @@
{
"description": "在需要用户交互或会话停止时发送系统桌面通知Notification 与 Stop hooks基于 notify-send/libnotify",
"hooks": {
"Notification": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks-handlers/notify-interaction.py",
"timeout": 5
}
]
}
],
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks-handlers/notify-stop.py",
"timeout": 5
}
]
}
]
}
}