@plannotator/opencode 0.6.6-beta.0 → 0.6.6-beta.1

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/index.js +6 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2799,10 +2799,14 @@ var PlannotatorPlugin = async (ctx) => {
2799
2799
  }
2800
2800
  return {
2801
2801
  "chat.message": async (input, output) => {
2802
- if (input.agent === "plan") {
2802
+ if (input.agent === "plan" && input.sessionID && input.messageID) {
2803
2803
  output.parts.unshift({
2804
+ id: `plannotator-${Date.now()}`,
2805
+ sessionID: input.sessionID,
2806
+ messageID: input.messageID,
2804
2807
  type: "text",
2805
- text: `[Reminder: When your plan is complete, call \`submit_plan\` for interactive user review. Do not proceed with implementation until the plan is approved.]`
2808
+ text: `[Reminder: When your plan is complete, call \`submit_plan\` for interactive user review. Do not proceed with implementation until the plan is approved.]`,
2809
+ synthetic: true
2806
2810
  });
2807
2811
  }
2808
2812
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plannotator/opencode",
3
- "version": "0.6.6-beta.0",
3
+ "version": "0.6.6-beta.1",
4
4
  "description": "Plannotator plugin for OpenCode - interactive plan review with visual annotation",
5
5
  "author": "backnotprop",
6
6
  "license": "BSL-1.1",