diff --git a/hooks/hooks.json b/hooks/hooks.json index 7c8a389..2fd710d 100644 --- a/hooks/hooks.json +++ b/hooks/hooks.json @@ -6,8 +6,7 @@ "hooks": [ { "type": "command", - "command": "bash \"${CLAUDE_PLUGIN_ROOT}/hooks/scripts/check-config.sh\"", - "timeout": 5 + "command": "bash \"${CLAUDE_PLUGIN_ROOT:-${extensionPath:-.}}/hooks/scripts/check-config.sh\"" } ] }