63 lines
1.7 KiB
JSON
63 lines
1.7 KiB
JSON
|
|
{
|
||
|
|
"hooks": {
|
||
|
|
"enabled": true,
|
||
|
|
"timeoutMs": 15000,
|
||
|
|
"events": {
|
||
|
|
"SessionStart": [
|
||
|
|
{
|
||
|
|
"matcher": "startup|resume|clear|compact",
|
||
|
|
"hooks": [
|
||
|
|
{
|
||
|
|
"type": "command",
|
||
|
|
"command": "bash \"/Volumes/JZAO/铸渊-ICE-GL-ZY001/BRIDGE/tools/zy-hook-entry.sh\" broadcast",
|
||
|
|
"timeout": 10
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"type": "command",
|
||
|
|
"command": "bash \"/Volumes/JZAO/铸渊-ICE-GL-ZY001/BRIDGE/tools/zy-hook-entry.sh\" tcs-SessionStart",
|
||
|
|
"timeout": 20
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"UserPromptSubmit": [
|
||
|
|
{
|
||
|
|
"hooks": [
|
||
|
|
{
|
||
|
|
"type": "command",
|
||
|
|
"command": "bash \"/Volumes/JZAO/铸渊-ICE-GL-ZY001/BRIDGE/tools/zy-hook-entry.sh\" prompt",
|
||
|
|
"timeout": 10
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"type": "command",
|
||
|
|
"command": "bash \"/Volumes/JZAO/铸渊-ICE-GL-ZY001/BRIDGE/tools/zy-hook-entry.sh\" tcs-UserPromptSubmit",
|
||
|
|
"timeout": 20
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"PreToolUse": [
|
||
|
|
{
|
||
|
|
"hooks": [
|
||
|
|
{
|
||
|
|
"type": "command",
|
||
|
|
"command": "bash \"/Volumes/JZAO/铸渊-ICE-GL-ZY001/BRIDGE/tools/zy-hook-entry.sh\" hook",
|
||
|
|
"timeout": 10
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"PostToolUse": [
|
||
|
|
{
|
||
|
|
"hooks": [
|
||
|
|
{
|
||
|
|
"type": "command",
|
||
|
|
"command": "bash \"/Volumes/JZAO/铸渊-ICE-GL-ZY001/BRIDGE/tools/zy-hook-entry.sh\" post",
|
||
|
|
"timeout": 10
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|