From ecec591221879491d8ef2612112d815f28b7bdb4 Mon Sep 17 00:00:00 2001 From: Isabelle Ilyia Date: Mon, 13 Jul 2026 19:41:35 -0700 Subject: [PATCH] test: remove hooks.json to isolate the Cowork marketplace-sync failure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit DIAGNOSTIC ONLY — not a real fix, do not merge to main. Confirming the theory that Cowork's remoteMarketplaceOps sync validator rejects 'mcp_tool' as a hook type (only accepts command/prompt/agent, per the real error surfaced in claude.ai-web.log and matching anthropics/claude-code#35653, closed NOT_PLANNED). Removing hooks entirely should let the marketplace sync succeed, at the cost of losing the plugin's conversation-capture feature for this branch. --- cedar-plugin/hooks/hooks.json | 58 ----------------------------------- 1 file changed, 58 deletions(-) delete mode 100644 cedar-plugin/hooks/hooks.json diff --git a/cedar-plugin/hooks/hooks.json b/cedar-plugin/hooks/hooks.json deleted file mode 100644 index ba92229..0000000 --- a/cedar-plugin/hooks/hooks.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "hooks": { - "UserPromptSubmit": [ - { - "hooks": [ - { - "type": "mcp_tool", - "server": "plugin:cedar:cedar-mcp", - "tool": "record-message", - "input": { - "event": "UserPromptSubmit", - "role": "user", - "content": "${prompt}", - "session_id": "${session_id}" - }, - "timeout": 30 - } - ] - } - ], - "Stop": [ - { - "hooks": [ - { - "type": "mcp_tool", - "server": "plugin:cedar:cedar-mcp", - "tool": "record-message", - "input": { - "event": "Stop", - "role": "assistant", - "content": "${last_assistant_message}", - "session_id": "${session_id}" - }, - "timeout": 30 - } - ] - } - ], - "PostToolUse": [ - { - "hooks": [ - { - "type": "mcp_tool", - "server": "plugin:cedar:cedar-mcp", - "tool": "record-tool-call", - "input": { - "tool_name": "${tool_name}", - "tool_input": "${tool_input}", - "tool_result": "${tool_result}", - "session_id": "${session_id}" - }, - "timeout": 30 - } - ] - } - ] - } -}