From 7b6e5f2159b09c97c62a329fff1420a50a9de357 Mon Sep 17 00:00:00 2001 From: Marius Mutu Date: Mon, 22 Dec 2025 00:42:07 +0200 Subject: [PATCH] fix: Correct hooks.json format - use object instead of array MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Claude Code expects hooks to be an object with event names as keys, not an array with post-install hooks. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- plugin/hooks/hooks.json | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/plugin/hooks/hooks.json b/plugin/hooks/hooks.json index 32a1efe..3409bcf 100644 --- a/plugin/hooks/hooks.json +++ b/plugin/hooks/hooks.json @@ -1,9 +1,4 @@ { - "hooks": [ - { - "name": "post-install", - "script": "./hooks/post-install.sh", - "description": "Initialize CLAUDE.md and Auto-Build rules in project" - } - ] + "description": "Auto-Build plugin hooks", + "hooks": {} }