From 20ebe858af628f3e2b5f73838310636dec6fe0ed Mon Sep 17 00:00:00 2001 From: Neil <4138956+nwparker@users.noreply.github.com> Date: Sat, 11 Jul 2026 01:39:41 -0700 Subject: [PATCH] fix(mobile): bump Android versionCode to 7 for 0.0.27 (#8249) * fix(mobile): bump Android versionCode to 7 for 0.0.27 Android 0.0.26 shipped with versionCode 6. Align Android on marketing version 0.0.27 with a higher versionCode so side-loaded upgrades install. * test(mobile): expect direct cmd syntax for live Windows resume Resume commands are typed into the host terminal; when that shell is already cmd, wrap with cmd /d /s /c is wrong. Align the mobile unit test with shared buildAiVaultResumeShellCommand behavior. --- mobile/app.json | 2 +- mobile/src/session/ai-vault-resume-launch.test.ts | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/mobile/app.json b/mobile/app.json index 486685273..e2d6a248f 100644 --- a/mobile/app.json +++ b/mobile/app.json @@ -75,7 +75,7 @@ "allowBackup": false, "permissions": ["RECORD_AUDIO", "MODIFY_AUDIO_SETTINGS"], "package": "com.stably.orca.mobile", - "versionCode": 6 + "versionCode": 7 }, "plugins": [ "expo-router", diff --git a/mobile/src/session/ai-vault-resume-launch.test.ts b/mobile/src/session/ai-vault-resume-launch.test.ts index c97849298..be7de3ed6 100644 --- a/mobile/src/session/ai-vault-resume-launch.test.ts +++ b/mobile/src/session/ai-vault-resume-launch.test.ts @@ -76,7 +76,9 @@ describe('buildMobileAiVaultResumeCommand', () => { ).toBe("cd '/Users/ada/repo' && omp --resume '/Users/ada/.omp/agent/sessions/repo/sess.jsonl'") }) - it('uses cmd wrapping when the host Windows terminal is configured as cmd', () => { + it('uses direct cmd syntax when the host Windows terminal is already cmd', () => { + // Why: resume text is typed into the live host tab. Nested `cmd /d /s /c` + // wrappers break interactive cmd quoting (see buildAiVaultResumeShellCommand). const command = buildMobileAiVaultResumeCommand({ session: session({ agent: 'codex', @@ -87,10 +89,9 @@ describe('buildMobileAiVaultResumeCommand', () => { hostPlatform: 'win32', hostTerminalWindowsShell: 'cmd.exe' }) - expect(command).toContain('cmd /d /s /c') - expect(command).toContain('cd /d ""C:\\repo app""') - expect(command).toContain('set ""CODEX_HOME=C:\\Users\\Ada\\.codex""') - expect(command).toContain('codex resume ""codex-1""') + expect(command).toBe( + 'cd /d "C:\\repo app" && set "CODEX_HOME=C:\\Users\\Ada\\.codex" && codex resume "codex-1"' + ) }) it('uses POSIX command construction and converts Codex home for WSL targets', () => {