We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 69a25e0 + ff879fe commit ea93280Copy full SHA for ea93280
1 file changed
extensions/pi-plan-mode/src/plan-mode.ts
@@ -186,6 +186,10 @@ export default function planMode(pi: ExtensionAPI) {
186
state = { ...state, latestPlan: proposedPlan, awaitingAction: true };
187
persistState();
188
updateUi(ctx);
189
+
190
+ if (ctx.hasUI) await showPlanReadyMenu(ctx);
191
+ if (!state.enabled || !state.latestPlan) return;
192
193
pi.sendMessage(
194
{
195
customType: PROPOSED_PLAN_MESSAGE_TYPE,
@@ -194,8 +198,6 @@ export default function planMode(pi: ExtensionAPI) {
198
},
199
{ triggerTurn: false },
196
200
);
197
-
- if (ctx.hasUI) await showPlanReadyMenu(ctx);
201
});
202
203
function enterPlanMode(ctx: ExtensionContext) {
0 commit comments