fix(mobile): preserve PTY cleanup ownership

This commit is contained in:
Brennan Benson
2026-08-01 03:26:54 -07:00
parent c1e48f61df
commit 00a00ad233
11 changed files with 367 additions and 125 deletions
+2
View File
@@ -8,6 +8,7 @@ import type {
HostedReviewInfo,
HostedReviewProvider
} from '../shared/hosted-review'
import type { PtySpawnDisposition } from '../shared/pty-spawn-disposition'
import type { NativeFileDropPayload } from '../shared/native-file-drop'
import type { BrowserFindSource } from '../shared/browser-find-source'
import type { DashboardSnapshot, DashboardRevealAgentArgs } from '../shared/dashboard-snapshot'
@@ -1496,6 +1497,7 @@ export type PreloadApi = {
telemetry?: { agent_kind: AgentKind; launch_source: LaunchSource; request_kind: RequestKind }
}) => Promise<{
id: string
spawnDisposition: PtySpawnDisposition
launchAgent?: TuiAgent
launchConfig?: SleepingAgentLaunchConfig
snapshot?: string
+2
View File
@@ -23,6 +23,7 @@ import type {
import type { MobileRelayStatus } from '../shared/mobile-relay-status'
import type { MobilePairingConnectionMode } from '../shared/mobile-pairing-connection-mode'
import type { MobileRelayMintFailure } from '../shared/mobile-relay-mint-failure'
import type { PtySpawnDisposition } from '../shared/pty-spawn-disposition'
import type { VerifyAndAddRuntimeEnvironmentResult } from '../shared/remote-pairing-verification'
import type {
SshMutationExpectation,
@@ -926,6 +927,7 @@ const api = {
telemetry?: { agent_kind: AgentKind; launch_source: LaunchSource; request_kind: RequestKind }
}): Promise<{
id: string
spawnDisposition: PtySpawnDisposition
launchConfig?: SleepingAgentLaunchConfig
snapshot?: string
snapshotCols?: number