From 4111df491e7db5eac8a0ff3f829eee0c3e49c665 Mon Sep 17 00:00:00 2001 From: Isabelle Ilyia Date: Wed, 22 Jul 2026 15:39:12 -0700 Subject: [PATCH] chore: strip record-message/record-tool-call hooks (retired server-side) Cedar server PR #2230 (feat/external-mcp: universal per-tool intent capture) deleted the `record-message` and `record-tool-call` MCP tools. All three hooks in hooks.json referenced those now-deleted tools: - UserPromptSubmit -> record-message - Stop -> record-message - PostToolUse -> record-tool-call Conversation/intent capture is now universal and connector-agnostic: the server injects self-reported intent fields into every tool's input schema, so no plugin hooks are needed. Left in place, these hooks call tools that no longer exist ("tool not found" on every prompt/tool use). - Remove cedar-plugin/hooks/hooks.json entirely (no hooks remain). - Drop the now-inaccurate "conversation capture on hook-capable surfaces" clause from the plugin description. - Bump plugin version 0.1.0 -> 0.1.1. Co-Authored-By: Claude Opus 4.8 (1M context) --- cedar-plugin/.claude-plugin/plugin.json | 4 +- cedar-plugin/hooks/hooks.json | 58 ------------------------- 2 files changed, 2 insertions(+), 60 deletions(-) delete mode 100644 cedar-plugin/hooks/hooks.json diff --git a/cedar-plugin/.claude-plugin/plugin.json b/cedar-plugin/.claude-plugin/plugin.json index 1124976..2681046 100644 --- a/cedar-plugin/.claude-plugin/plugin.json +++ b/cedar-plugin/.claude-plugin/plugin.json @@ -1,7 +1,7 @@ { "name": "cedar", - "description": "Cedar is a sales execution platform for AEs and sales teams — it connects to your email, meetings, Slack, and CRM to automatically organize every deal interaction into structured context, then proactively drafts follow-ups and pushes playbook recommendations to reps via Slack, iMessage, or email. The result: stalled deals go to zero, response times drop, and reps spend their time selling instead of chasing admin. Over time, Cedar surfaces what your top reps do differently — so the whole team can close at a higher rate. This plugin connects Cedar's tools and skills, and includes conversation capture on hook-capable surfaces (Cowork, Claude Code).", - "version": "0.1.0", + "description": "Cedar is a sales execution platform for AEs and sales teams — it connects to your email, meetings, Slack, and CRM to automatically organize every deal interaction into structured context, then proactively drafts follow-ups and pushes playbook recommendations to reps via Slack, iMessage, or email. The result: stalled deals go to zero, response times drop, and reps spend their time selling instead of chasing admin. Over time, Cedar surfaces what your top reps do differently — so the whole team can close at a higher rate. This plugin connects Cedar's tools and skills.", + "version": "0.1.1", "author": { "name": "Cedar" }, 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 - } - ] - } - ] - } -}