Files
oh-my-pi/packages/coding-agent/test
metaphorics 34746ceaf5 fix: stop AgentBusyError on plan approval and loop/goal continuations
Plan approval dispatched the executor's first synthetic prompt without
checking whether the agent was still streaming the post-resolve
continuation (or a turn started by the approve-time compaction/clear),
surfacing "Failed to finalize approved plan: ... Agent is already
processing". Loop auto-submit and goal continuations hit the same throw
via submitInteractiveInput, which always called prompt/promptCustomMessage
without a streamingBehavior.

#approvePlan now aborts any in-flight turn before the synthetic prompt,
and submitInteractiveInput routes submissions through the steer/follow-up
queue (streamingBehavior: "followUp") when the session is streaming.
Non-streaming call shapes are unchanged. Extends the manual-/goal fix
(#2454) to the continuation and plan-approval paths.
2026-06-14 08:17:00 +09:00
..
2026-06-13 00:03:27 +02:00
2026-06-13 00:03:27 +02:00
2026-06-13 15:07:00 +00:00
2026-06-13 16:48:41 +02:00
2026-06-11 21:03:49 +02:00
2026-05-30 18:08:51 +02:00
2026-05-30 18:08:51 +02:00
2026-06-12 11:24:26 +02:00
2026-06-13 00:03:27 +02:00
2026-06-13 00:03:27 +02:00
2026-06-13 00:03:27 +02:00
2026-06-13 16:48:41 +02:00
2026-06-12 16:43:31 +00:00
2026-05-30 18:08:51 +02:00
2026-06-02 08:27:04 +02:00