fix(data-platform): use separate hooks.json file (not inline)

Previous fix was wrong. Hooks should be in separate hooks/hooks.json
file (auto-discovered), NOT inline in plugin.json.

Pattern matches working plugins: projman, pr-review, claude-config-maintainer

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-25 15:41:46 -05:00
parent 05aa50d409
commit 5321b2929e
2 changed files with 10 additions and 8 deletions

View File

@@ -18,14 +18,6 @@
"etl", "etl",
"dataframe" "dataframe"
], ],
"hooks": {
"SessionStart": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/startup-check.sh"
}
]
},
"commands": ["./commands/"], "commands": ["./commands/"],
"mcpServers": ["./.mcp.json"] "mcpServers": ["./.mcp.json"]
} }

View File

@@ -0,0 +1,10 @@
{
"hooks": {
"SessionStart": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/startup-check.sh"
}
]
}
}