From c93107926442379a3fd79a0fcd6263e12251f92b Mon Sep 17 00:00:00 2001 From: bendrucker Date: Mon, 12 Jan 2026 19:18:29 -0800 Subject: [PATCH] Consolidate SessionStart matchers with pipe syntax Reduces three duplicate matcher entries to one using pipe syntax (startup|clear|compact). --- hooks/hooks.json | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/hooks/hooks.json b/hooks/hooks.json index 1db346a..e25403c 100644 --- a/hooks/hooks.json +++ b/hooks/hooks.json @@ -3,25 +3,7 @@ "hooks": { "SessionStart": [ { - "matcher": "startup", - "hooks": [ - { - "type": "command", - "command": "node ${CLAUDE_PLUGIN_ROOT}/hook.ts" - } - ] - }, - { - "matcher": "clear", - "hooks": [ - { - "type": "command", - "command": "node ${CLAUDE_PLUGIN_ROOT}/hook.ts" - } - ] - }, - { - "matcher": "compact", + "matcher": "startup|clear|compact", "hooks": [ { "type": "command",