From 6cc955b896576d8733c114ab2225924bfb6b3f2a Mon Sep 17 00:00:00 2001 From: Richard Hsu Date: Sun, 22 Mar 2026 17:20:17 -0700 Subject: [PATCH] =?UTF-8?q?Fix=20hooks.json=20schema=20in=204=20plugins=20?= =?UTF-8?q?=E2=80=94=20use=20object=20with=20hooks=20key=20instead=20of=20?= =?UTF-8?q?empty=20array?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The plugin loader expects hooks.json to be an object with a `hooks` key (e.g. `{"hooks": {}}`), but equity-research, private-equity, financial-analysis, and wealth-management used an empty array `[]`. This causes "Invalid input: expected record, received undefined" errors on plugin load. The investment-banking plugin already had the correct format. Co-Authored-By: Claude Opus 4.6 (1M context) --- equity-research/hooks/hooks.json | 4 +++- financial-analysis/hooks/hooks.json | 4 +++- private-equity/hooks/hooks.json | 4 +++- wealth-management/hooks/hooks.json | 4 +++- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/equity-research/hooks/hooks.json b/equity-research/hooks/hooks.json index fe51488..2fed838 100644 --- a/equity-research/hooks/hooks.json +++ b/equity-research/hooks/hooks.json @@ -1 +1,3 @@ -[] +{ + "hooks": {} +} diff --git a/financial-analysis/hooks/hooks.json b/financial-analysis/hooks/hooks.json index fe51488..2fed838 100644 --- a/financial-analysis/hooks/hooks.json +++ b/financial-analysis/hooks/hooks.json @@ -1 +1,3 @@ -[] +{ + "hooks": {} +} diff --git a/private-equity/hooks/hooks.json b/private-equity/hooks/hooks.json index fe51488..2fed838 100644 --- a/private-equity/hooks/hooks.json +++ b/private-equity/hooks/hooks.json @@ -1 +1,3 @@ -[] +{ + "hooks": {} +} diff --git a/wealth-management/hooks/hooks.json b/wealth-management/hooks/hooks.json index fe51488..2fed838 100644 --- a/wealth-management/hooks/hooks.json +++ b/wealth-management/hooks/hooks.json @@ -1 +1,3 @@ -[] +{ + "hooks": {} +}