fix(orchestration): keep the terminal_busy code and its data on the wire

This commit is contained in:
Jinwoo-H
2026-11-08 15:23:07 -05:00
parent 2888cf4e36
commit 925dfa6da5
+2
View File
@@ -157,6 +157,8 @@ const STRUCTURED_RUNTIME_PASSTHROUGH_CODES: ReadonlySet<string> = new Set([
'worker_prompt_too_large',
'terminal_worktree_mismatch',
'terminal_is_coordinator',
// Another open Dispatch holds the terminal; data names it and says no effects were applied.
'terminal_busy',
// The user chose Keep open; only they can undo it, so a coordinator must not retry blindly.
'terminal_kept_open',
'worker_cannot_coordinate_own_run',