1958c3f01a
Run Tests / test (pull_request) Successful in 33s
由 graphify 安裝流程寫入,Bash/Grep/Read/Glob 執行前 會呼叫 graphify hook-guard 提示改用圖譜查詢。 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
26 lines
595 B
JSON
26 lines
595 B
JSON
{
|
|
"hooks": {
|
|
"PreToolUse": [
|
|
{
|
|
"matcher": "Bash|Grep",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "C:/Users/2110062/AppData/Roaming/uv/tools/graphifyy/Scripts/graphify.exe hook-guard search",
|
|
"timeout": 10
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": "Read|Glob",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "C:/Users/2110062/AppData/Roaming/uv/tools/graphifyy/Scripts/graphify.exe hook-guard read",
|
|
"timeout": 10
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
} |