From 1958c3f01ab1c3d241243271d9af4845f9397c41 Mon Sep 17 00:00:00 2001 From: Hank Date: Thu, 29 Oct 2026 17:41:37 +0800 Subject: [PATCH] =?UTF-8?q?chore(graphify):=20=E6=96=B0=E5=A2=9E=20Claude?= =?UTF-8?q?=20Code=20=E6=90=9C=E5=B0=8B=E8=88=87=E8=AE=80=E6=AA=94=20hook?= =?UTF-8?q?=20=E8=A8=AD=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 由 graphify 安裝流程寫入,Bash/Grep/Read/Glob 執行前 會呼叫 graphify hook-guard 提示改用圖譜查詢。 Co-Authored-By: Claude Sonnet 5.5 --- .claude/settings.json | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .claude/settings.json diff --git a/.claude/settings.json b/.claude/settings.json new file mode 100644 index 0000000..12586a8 --- /dev/null +++ b/.claude/settings.json @@ -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 + } + ] + } + ] + } +} \ No newline at end of file