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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user