Răsfoiți Sursa

Fix hooks.json structure: wrap in top-level 'hooks' key

Jesse Vincent 11 luni în urmă
părinte
comite
fba0ec21b9
1 a modificat fișierele cu 13 adăugiri și 11 ștergeri
  1. 13 11
      hooks/hooks.json

+ 13 - 11
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"
+          }
+        ]
+      }
+    ]
+  }
 }