@plannotator/opencode 0.4.3 → 0.4.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/dist/index.js +7 -9
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -909,15 +909,13 @@ 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
|
-
} catch {}
|
|
912
|
+
ctx.client.session.prompt({
|
|
913
|
+
path: { id: context.sessionID },
|
|
914
|
+
body: {
|
|
915
|
+
agent: "build",
|
|
916
|
+
parts: [{ type: "text", text: "Proceed with implementation" }]
|
|
917
|
+
}
|
|
918
|
+
}).catch(() => {});
|
|
921
919
|
return `Plan approved!
|
|
922
920
|
|
|
923
921
|
Plan Summary: ${args.summary}`;
|