@devries-cameron20 / t3code Mirror · read-only / commits / e856833a66
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 22, 17:00 UTC

fix(mobile): native client fingerprints match across macOS and Linux

Generated android/ios projects and the Expo config's extra section (env- specific values a dev client reads from Metro) changed the hash per machine, so a Linux VM never found a Mac's build in the shared cache. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Julius Marminge committed Oct 25, 2026 at 18:33 UTC e856833a66e8663316645776a1c101644beb4a32
1 file changed +3 -1
scripts/mobile-native-client.ts
+3 -1
@@ -226,7 +226,9 @@ const command = Effect.fn("nativeClient.command")(function* (
226 const fingerprint = Effect.fn("nativeClient.fingerprint")(function* (platform: NativePlatform) {
227 const output = yield* command(yield* HostProcess.ExecutablePath, [
228 "--eval",
229 - `require('expo/fingerprint').createFingerprintAsync(process.cwd(), { platforms: [process.argv[1]], silent: true }).then(fp => console.log('T3_NATIVE_FINGERPRINT=' + fp.hash)).catch(e => { console.error(e); process.exitCode = 1; });`,
229 + // Same hash on every machine: generated native projects and the config's `extra` (env-specific
230 + // values a dev client reads from Metro) stay out, so a Mac and a Linux VM share builds.
231 + `const f = require('expo/fingerprint'); f.createFingerprintAsync(process.cwd(), { platforms: [process.argv[1]], silent: true, ignorePaths: ['android/**', 'ios/**'], sourceSkips: f.DEFAULT_SOURCE_SKIPS | f.SourceSkips.ExpoConfigExtraSection }).then(fp => console.log('T3_NATIVE_FINGERPRINT=' + fp.hash)).catch(e => { console.error(e); process.exitCode = 1; });`,
232 platform,
233 ]);
234 const hash = output