Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 09:07:08 +08:00
commit 97c1bf86b0
4 changed files with 86 additions and 0 deletions

27
hooks/hook.json Normal file
View File

@@ -0,0 +1,27 @@
{
"hooks": {
"SessionStart": [
{
"matcher": "startup|resume",
"hooks": [
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/sgrep_start.sh",
"timeout": 30
}
]
}
],
"SessionEnd": [
{
"hooks": [
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/sgrep_stop.sh",
"timeout": 10
}
]
}
]
}
}