Преглед на файлове

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

Jesse Vincent преди 11 месеца
родител
ревизия
fba0ec21b9
променени са 1 файла, в които са добавени 13 реда и са изтрити 11 реда
  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"
+          }
+        ]
+      }
+    ]
+  }
 }
 }