From eeebddca227c08b6b1287c712f7f46d12258b31d Mon Sep 17 00:00:00 2001 From: Claude Agent Date: Tue, 6 Jan 2026 23:36:02 +0000 Subject: [PATCH] fix: Add matcher to SessionEnd hook MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Added matcher: "*" (required for plugin hooks) - Added "bash" prefix to command - This should fix the hook not triggering on /exit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- plugins/learn/hooks/hooks.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/learn/hooks/hooks.json b/plugins/learn/hooks/hooks.json index 75ecd27..fcb3af6 100644 --- a/plugins/learn/hooks/hooks.json +++ b/plugins/learn/hooks/hooks.json @@ -3,10 +3,11 @@ "hooks": { "SessionEnd": [ { + "matcher": "*", "hooks": [ { "type": "command", - "command": "${CLAUDE_PLUGIN_ROOT}/scripts/session-end-reminder.sh", + "command": "bash ${CLAUDE_PLUGIN_ROOT}/scripts/session-end-reminder.sh", "timeout": 5 } ]