chore(mobile): App Store prep — privacy manifest, debug-log cleanup, and protocol-version compat block (#1440)

Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
Jinwoo Hong
2026-05-05 19:23:56 -07:00
committed by GitHub
co-authored by Orca
parent e91377f0b2
commit 63e36d05fd
15 changed files with 482 additions and 63 deletions
+7 -4
View File
@@ -21,6 +21,10 @@ import type {
WorktreeStartupLaunch
} from '../../shared/types'
import { isFolderRepo } from '../../shared/repo-kind'
import {
DESKTOP_PROTOCOL_VERSION,
MIN_COMPATIBLE_MOBILE_VERSION
} from '../../shared/protocol-version'
import type {
RuntimeGraphStatus,
RuntimeRepoSearchRefs,
@@ -594,7 +598,9 @@ export class OrcaRuntimeService {
graphStatus: this.graphStatus,
authoritativeWindowId: this.authoritativeWindowId,
liveTabCount: this.tabs.size,
liveLeafCount: this.leaves.size
liveLeafCount: this.leaves.size,
protocolVersion: DESKTOP_PROTOCOL_VERSION,
minCompatibleMobileVersion: MIN_COMPATIBLE_MOBILE_VERSION
}
}
@@ -1350,9 +1356,6 @@ export class OrcaRuntimeService {
}
this.resizeHeadlessTerminal(ptyId, clampedCols, clampedRows)
console.log(
`[mobile-fit] handleMobileSubscribe notifier=${!!this.notifier} ptyId=${ptyId} mode=mobile-fit cols=${clampedCols} rows=${clampedRows}`
)
this.notifier?.terminalFitOverrideChanged(ptyId, 'mobile-fit', clampedCols, clampedRows)
// Why: mobile-fit via resizeForClient is a deliberate mobile action;