From b61e031bb999f0114d3059194415f0fd6c4005e6 Mon Sep 17 00:00:00 2001 From: sameeeeeeep <191771413+sameeeeeeep@users.noreply.github.com> Date: Fri, 2 Oct 2026 18:48:40 +0530 Subject: [PATCH] Fix switchboard plugin manifest: idle Notification hook was ignored plugin.json nested its inline hooks under hooks.hooks, which Claude Code reads as an unknown hook event and drops, so the idle_prompt notification never fired. Also give both marketplace files a description so `claude plugin validate --strict` passes. Co-Authored-By: Claude Opus 5.5 --- .claude-plugin/marketplace.json | 1 + plugin/.claude-plugin/marketplace.json | 1 + plugin/.claude-plugin/plugin.json | 26 ++++++++++++-------------- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index ef7f9ee..c09b919 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -1,5 +1,6 @@ { "name": "switchboard", + "description": "Switchboard's plugins for Claude Code: the operator connector and skills, and the notch question card.", "owner": { "name": "sameeeeeeep", "url": "https://github.com/sameeeeeeep/switchboard" diff --git a/plugin/.claude-plugin/marketplace.json b/plugin/.claude-plugin/marketplace.json index e9706f5..0751ced 100644 --- a/plugin/.claude-plugin/marketplace.json +++ b/plugin/.claude-plugin/marketplace.json @@ -1,5 +1,6 @@ { "name": "switchboard", + "description": "Switchboard's plugins for Claude Code: the operator connector and skills, and the notch question card.", "owner": { "name": "sameeeeeeep", "url": "https://github.com/sameeeeeeep/switchboard" diff --git a/plugin/.claude-plugin/plugin.json b/plugin/.claude-plugin/plugin.json index e1ed15b..a409879 100644 --- a/plugin/.claude-plugin/plugin.json +++ b/plugin/.claude-plugin/plugin.json @@ -8,19 +8,17 @@ "url": "https://github.com/sameeeeeeep/switchboard" }, "hooks": { - "hooks": { - "Notification": [ - { - "matcher": "idle_prompt", - "hooks": [ - { - "type": "command", - "command": "python3 \"${CLAUDE_PLUGIN_ROOT}/hooks/notify.py\"", - "timeout": 5 - } - ] - } - ] - } + "Notification": [ + { + "matcher": "idle_prompt", + "hooks": [ + { + "type": "command", + "command": "python3 \"${CLAUDE_PLUGIN_ROOT}/hooks/notify.py\"", + "timeout": 5 + } + ] + } + ] } }