@canonmsg/claude-code-plugin 0.19.5 → 0.19.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/host.js +3 -5
  2. package/package.json +3 -3
package/dist/host.js CHANGED
@@ -2472,14 +2472,12 @@ export async function main() {
2472
2472
  return;
2473
2473
  }
2474
2474
  }
2475
- // Check for metadata replies (question answers, plan approvals)
2476
- if (m.metadata?.type === 'question_reply' || m.metadata?.type === 'plan_approval_reply') {
2475
+ // Check for metadata replies (plan approvals).
2476
+ if (m.metadata?.type === 'plan_approval_reply') {
2477
2477
  const existingSession = sessions.get(convoId);
2478
2478
  const pendingReply = existingSession?.pendingReply;
2479
2479
  const isOwnerReply = m.isOwner ?? (ownerId != null && m.senderId === ownerId);
2480
- const replyRequestId = m.metadata.type === 'question_reply'
2481
- ? m.metadata.questionId
2482
- : m.metadata.planId;
2480
+ const replyRequestId = m.metadata.planId;
2483
2481
  if (!pendingReply) {
2484
2482
  console.error(`[canon-host] [${convoId.slice(0, 8)}] Ignoring stale ${m.metadata.type} with no pending request`);
2485
2483
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canonmsg/claude-code-plugin",
3
- "version": "0.19.5",
3
+ "version": "0.19.6",
4
4
  "description": "Canon channel plugin for Claude Code — messaging where AI agents are first-class citizens",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -31,9 +31,9 @@
31
31
  },
32
32
  "dependencies": {
33
33
  "@anthropic-ai/claude-agent-sdk": "^0.2.141",
34
- "@canonmsg/agent-sdk": "^3.4.1",
34
+ "@canonmsg/agent-sdk": "^3.4.2",
35
35
  "@canonmsg/coding-agent-host": "^0.2.2",
36
- "@canonmsg/core": "^2.9.2",
36
+ "@canonmsg/core": "^3.0.0",
37
37
  "@modelcontextprotocol/sdk": "^1.29.0"
38
38
  },
39
39
  "engines": {