fix: preserve live agent PTYs through graph hydration (#11789)

This commit is contained in:
OrcaWin
2026-08-03 11:11:14 -07:00
committed by GitHub
parent 128e3e335e
commit cd68a8b00c
31 changed files with 3941 additions and 769 deletions
@@ -3,9 +3,9 @@
"appId": "com.stablyai.orca",
"stateSchemaVersion": 1,
"readableStateSchemaVersions": [1],
"daemonProtocolVersion": 30,
"daemonProtocolVersion": 31,
"attachableDaemonProtocolVersions": [
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26,
27, 28, 29, 30
27, 28, 29, 30, 31
]
}
@@ -3,9 +3,9 @@ export const LOCAL_BUILD_COMPATIBILITY_CONTRACT = {
appId: 'com.stablyai.orca',
stateSchemaVersion: 1,
readableStateSchemaVersions: [1],
daemonProtocolVersion: 30,
daemonProtocolVersion: 31,
attachableDaemonProtocolVersions: [
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26,
27, 28, 29, 30
27, 28, 29, 30, 31
]
} as const
+3
View File
@@ -659,6 +659,8 @@ export type RuntimeTerminalCreate = {
warning?: string
/** Present only for the structured host-authority resume path. */
agentSessionDisposition?: 'created' | 'adopted'
/** The host attached this request to the existing stable pane owner. */
isReattach?: true
}
export type RuntimeTerminalSplit = {
@@ -672,6 +674,7 @@ export type RuntimeTerminalResolvePane = {
tabId: string
leafId: string
ptyId: string | null
connected?: boolean
worktreeId?: string
executionHostId?: ExecutionHostId
hostPlatform?: NodeJS.Platform