chore(graphify): 新增 Claude Code 搜尋與讀檔 hook 設定
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>
This commit is contained in:
2026-10-29 17:41:37 +08:00
parent 6dfa36c1cb
commit 1958c3f01a
+26
View File
@@ -0,0 +1,26 @@
{
"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
}
]
}
]
}
}