From e1017e95c941f193b8778f2efb0376b983390296 Mon Sep 17 00:00:00 2001 From: flyingnobita <46126470+flyingnobita@users.noreply.github.com> Date: Fri, 24 Apr 2026 20:19:07 +0800 Subject: [PATCH 1/2] fix: make hooks.json polyglot for Gemini CLI and Claude Code compatibility --- hooks/hooks.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/hooks.json b/hooks/hooks.json index 7c8a389..82e9d9c 100644 --- a/hooks/hooks.json +++ b/hooks/hooks.json @@ -6,7 +6,7 @@ "hooks": [ { "type": "command", - "command": "bash \"${CLAUDE_PLUGIN_ROOT}/hooks/scripts/check-config.sh\"", + "command": "bash \"${CLAUDE_PLUGIN_ROOT:-${extensionPath:-.}}/hooks/scripts/check-config.sh\"", "timeout": 5 } ] From d530c902390a8e9180f0a65181c57b928861b823 Mon Sep 17 00:00:00 2001 From: Trevin Chow Date: Sun, 17 May 2026 00:59:41 -0700 Subject: [PATCH 2/2] fix(hooks): remove timeout field per PR description intent --- hooks/hooks.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hooks/hooks.json b/hooks/hooks.json index 82e9d9c..2fd710d 100644 --- a/hooks/hooks.json +++ b/hooks/hooks.json @@ -6,8 +6,7 @@ "hooks": [ { "type": "command", - "command": "bash \"${CLAUDE_PLUGIN_ROOT:-${extensionPath:-.}}/hooks/scripts/check-config.sh\"", - "timeout": 5 + "command": "bash \"${CLAUDE_PLUGIN_ROOT:-${extensionPath:-.}}/hooks/scripts/check-config.sh\"" } ] }