Fix tui-idle waits for background PTY agents (#2449)

Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
Jinwoo Hong
2026-05-20 15:14:24 -07:00
committed by GitHub
co-authored by Orca
parent 6abf031d66
commit 2fee04a05b
4 changed files with 538 additions and 22 deletions
+2
View File
@@ -351,6 +351,7 @@ export type RuntimeTerminalClose = {
}
export type RuntimeTerminalWaitCondition = 'exit' | 'tui-idle'
export type RuntimeTerminalWaitBlockedReason = 'codex-update-prompt' | 'codex-trust-workspace'
export type RuntimeTerminalWait = {
handle: string
@@ -358,6 +359,7 @@ export type RuntimeTerminalWait = {
satisfied: boolean
status: RuntimeTerminalState
exitCode: number | null
blockedReason?: RuntimeTerminalWaitBlockedReason
}
export type RuntimeWorktreePsSummary = {