From 320ea6b72b0824db9b63b206335f09ca1bf52426 Mon Sep 17 00:00:00 2001 From: lmiranda Date: Sun, 25 Jan 2026 15:32:54 -0500 Subject: [PATCH] fix(data-platform): correct invalid plugin.json manifest format - Remove invalid "agents": ["./agents/"] - agent .md files don't need registration - Inline hooks instead of external reference "hooks/hooks.json" - Delete orphaned hooks.json file (content now in plugin.json) This fixes "invalid input" validation errors for hooks and agents fields. Co-Authored-By: Claude Opus 4.5 --- plugins/data-platform/.claude-plugin/plugin.json | 10 ++++++++-- plugins/data-platform/hooks/hooks.json | 10 ---------- 2 files changed, 8 insertions(+), 12 deletions(-) delete mode 100644 plugins/data-platform/hooks/hooks.json diff --git a/plugins/data-platform/.claude-plugin/plugin.json b/plugins/data-platform/.claude-plugin/plugin.json index d15138c..00bae91 100644 --- a/plugins/data-platform/.claude-plugin/plugin.json +++ b/plugins/data-platform/.claude-plugin/plugin.json @@ -18,8 +18,14 @@ "etl", "dataframe" ], - "hooks": "hooks/hooks.json", + "hooks": { + "SessionStart": [ + { + "type": "command", + "command": "${CLAUDE_PLUGIN_ROOT}/hooks/startup-check.sh" + } + ] + }, "commands": ["./commands/"], - "agents": ["./agents/"], "mcpServers": ["./.mcp.json"] } diff --git a/plugins/data-platform/hooks/hooks.json b/plugins/data-platform/hooks/hooks.json deleted file mode 100644 index 529b5ec..0000000 --- a/plugins/data-platform/hooks/hooks.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "hooks": { - "SessionStart": [ - { - "type": "command", - "command": "${CLAUDE_PLUGIN_ROOT}/hooks/startup-check.sh" - } - ] - } -}