@plannotator/opencode 0.4.2-beta.0 → 0.4.2-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.
- package/dist/index.js +9 -13
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -909,19 +909,15 @@ Do NOT proceed with implementation until your plan is approved.
|
|
|
909
909
|
body: { command: "agent_cycle" }
|
|
910
910
|
});
|
|
911
911
|
} catch {}
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
} catch {}
|
|
922
|
-
return `Plan approved! Switching to build mode.
|
|
923
|
-
|
|
924
|
-
Your plan has been approved by the user. You may now proceed with implementation.
|
|
912
|
+
setTimeout(async () => {
|
|
913
|
+
try {
|
|
914
|
+
await ctx.client.tui.appendPrompt({
|
|
915
|
+
body: { text: "\u2713 Proceed with implementation" }
|
|
916
|
+
});
|
|
917
|
+
await ctx.client.tui.submitPrompt({});
|
|
918
|
+
} catch {}
|
|
919
|
+
}, 500);
|
|
920
|
+
return `Plan approved! Switching to build mode. Please wait...
|
|
925
921
|
|
|
926
922
|
Plan Summary: ${args.summary}`;
|
|
927
923
|
} else {
|
package/package.json
CHANGED