91 lines
No EOL
2.4 KiB
JSON
91 lines
No EOL
2.4 KiB
JSON
{
|
|
"hooks": {
|
|
"enabled": true,
|
|
"timeoutMs": 15000,
|
|
"events": {
|
|
"SessionStart": [
|
|
{
|
|
"matcher": "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-compact",
|
|
"timeout": 20
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": "startup|resume|clear",
|
|
"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
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "bash \"/Volumes/JZAO/铸渊-ICE-GL-ZY001/BRIDGE/tools/zy-hook-entry.sh\" tcs-UserPromptSubmit",
|
|
"timeout": 20
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "node \"/Volumes/JZAO/铸渊-ICE-GL-ZY001/BRIDGE/tools/zy-longtable-guard.mjs\" check",
|
|
"timeout": 10
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"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
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |