fix(terminal): preserve teardown ownership until confirmed

This commit is contained in:
Brennan Benson
2026-07-12 16:31:19 -07:00
parent 8ea0622587
commit 3dd79e7433
15 changed files with 455 additions and 145 deletions
+2
View File
@@ -119,6 +119,8 @@ export type SshRemotePtyLeaseState = 'attached' | 'detached' | 'terminated' | 'e
export type SshRemotePtyLease = {
targetId: string
ptyId: string
/** Relay boot that minted ptyId; absent only on legacy persisted leases. */
relayInstanceId?: string
worktreeId?: string
tabId?: string
leafId?: string