summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Vincent <jesse@fsck.com>2025-10-09 13:16:42 -0700
committerJesse Vincent <jesse@fsck.com>2025-10-09 13:16:42 -0700
commitfba0ec21b9b428b82791ea217eb6eec95052d85f (patch)
tree1da6de5371f6dbc40d84a0a99dc02087886891eb
parentf8bd448b50b94798da80ad3712b3a33eea854823 (diff)
Fix hooks.json structure: wrap in top-level 'hooks' key
-rw-r--r--hooks/hooks.json24
1 files changed, 13 insertions, 11 deletions
diff --git a/hooks/hooks.json b/hooks/hooks.json
index db02cd7..b32c478 100644
--- a/hooks/hooks.json
+++ b/hooks/hooks.json
@@ -1,13 +1,15 @@
{
- "SessionStart": [
- {
- "matcher": "startup|resume",
- "hooks": [
- {
- "type": "command",
- "command": "${CLAUDE_PLUGIN_ROOT}/hooks/session-start.sh"
- }
- ]
- }
- ]
+ "hooks": {
+ "SessionStart": [
+ {
+ "matcher": "startup|resume",
+ "hooks": [
+ {
+ "type": "command",
+ "command": "${CLAUDE_PLUGIN_ROOT}/hooks/session-start.sh"
+ }
+ ]
+ }
+ ]
+ }
}