fix: Correct hooks.json format - use object instead of array

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 <noreply@anthropic.com>
This commit is contained in:
2025-12-22 00:42:07 +02:00
parent 2ba6bf8873
commit 7b6e5f2159

View File

@@ -1,9 +1,4 @@
{ {
"hooks": [ "description": "Auto-Build plugin hooks",
{ "hooks": {}
"name": "post-install",
"script": "./hooks/post-install.sh",
"description": "Initialize CLAUDE.md and Auto-Build rules in project"
}
]
} }