From 22ad036cb5bf2a4583e3df2076708d6cb4288bd4 Mon Sep 17 00:00:00 2001 From: Affaan Mustafa Date: Fri, 23 Jan 2026 20:47:22 -0800 Subject: [PATCH] fix: add hooks declaration to plugin.json for proper hook loading Previously hooks were not loaded when the plugin was installed because plugin.json didn't declare the hooks path. This caused errors like: "Stop hook error: .../skills/continuous-learning/evaluate-session.sh: No such file" The hooks are defined in hooks/hooks.json and use JS implementations in scripts/hooks/ directory. --- .claude-plugin/plugin.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json index 6abaa72..cf1101c 100644 --- a/.claude-plugin/plugin.json +++ b/.claude-plugin/plugin.json @@ -23,5 +23,6 @@ "best-practices" ], "commands": "./commands", - "skills": "./skills" + "skills": "./skills", + "hooks": "./hooks/hooks.json" }