@dreki-gg/pi-plan-mode 0.6.3 → 0.6.4

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @dreki-gg/pi-plan-mode
2
2
 
3
+ ## 0.6.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [`1a0857f`](https://github.com/dreki-gg/pi-extensions/commit/1a0857f33c397eb560a94b963913c9aafeca3ec5) Thanks [@jalbarrang](https://github.com/jalbarrang)! - fix(plan-mode): use sendMessage with triggerTurn for Follow up action
8
+
9
+ sendUserMessage with deliverAs: 'followUp' only queues the message after the current turn, but inside agent_end there is no active turn — so the message sits in the queue forever. Switch to sendMessage with triggerTurn: true + deliverAs: 'followUp' to correctly queue and force a new turn.
10
+
3
11
  ## 0.6.3
4
12
 
5
13
  ### Patch Changes
@@ -551,7 +551,14 @@ After your review, update PLAN.md and START-PROMPT.md with any improvements.`,
551
551
  } else if (choice === 'Follow up') {
552
552
  const followUp = await ctx.ui.editor('Follow-up instructions for the planner:', '');
553
553
  if (followUp?.trim()) {
554
- pi.sendUserMessage(followUp.trim(), { deliverAs: 'followUp' });
554
+ pi.sendMessage(
555
+ {
556
+ customType: 'plan-mode-followup',
557
+ content: followUp.trim(),
558
+ display: true,
559
+ },
560
+ { triggerTurn: true, deliverAs: 'followUp' },
561
+ );
555
562
  }
556
563
  } else if (choice === 'Exit plan mode') {
557
564
  await exitPlanMode(ctx);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dreki-gg/pi-plan-mode",
3
- "version": "0.6.3",
3
+ "version": "0.6.4",
4
4
  "description": "Two-phase planning workflow for pi — plan with claude-opus-4-6:medium, execute with gpt-5.5:low, with .plans/ file-based handoff",
5
5
  "keywords": [
6
6
  "pi-package"