-
Notifications
You must be signed in to change notification settings - Fork 614
Description
Both financial-analysis and wealth-management plugins fail to load with the following error after a fresh install:
Hook load failed: [{ "expected": "object", "code": "invalid_type", "path": [], "message": "Invalid input: expected object, received array" }]
Root cause: hooks/hooks.json in both plugins ships as [] (empty array). The CLI hook loader expects an object with a hooks key.
Affected plugins: financial-analysis@0.1.0, wealth-management@0.1.0
CLI version: 2.1.59
Workaround: Replace contents of hooks.json with {"hooks":{}} in both the cache and marketplace paths under ~/.claude/plugins/.
Steps to reproduce:
claude plugin marketplace add anthropics/financial-services-plugins
claude plugin install financial-analysis@financial-services-plugins
claude plugin list → status shows ✘ failed to load