peachsim 0.1.2234 → 0.1.2235

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/cli/command-registry.ts +1 -0
  2. package/cli/commands/control.ts +12 -0
  3. package/cli/commands/stream.ts +150 -0
  4. package/cli/main.ts +6 -0
  5. package/cli/outbound-endpoints.ts +10 -0
  6. package/dist-lib/agent-daemon-client.cjs +1 -1
  7. package/dist-lib/agent-events.cjs +1 -1
  8. package/dist-lib/attached-projects.cjs +1 -1
  9. package/dist-lib/auth/shared-session.cjs +1 -1
  10. package/dist-lib/backend-origin.cjs +1 -1
  11. package/dist-lib/beta.cjs +1 -1
  12. package/dist-lib/beta.mjs +1 -1
  13. package/dist-lib/bridge-constants.cjs +1 -1
  14. package/dist-lib/bridge-contract-input.cjs +1 -1
  15. package/dist-lib/bridge-contract-input.mjs +1 -1
  16. package/dist-lib/bridge-contract.cjs +1 -1
  17. package/dist-lib/bridge-contract.mjs +1 -1
  18. package/dist-lib/bundle-channel.cjs +15 -21
  19. package/dist-lib/capture-contract.cjs +1 -1
  20. package/dist-lib/capture-contract.mjs +1 -1
  21. package/dist-lib/cloud-contract.cjs +1 -1
  22. package/dist-lib/cloud-contract.mjs +1 -1
  23. package/dist-lib/cloud-test-args.cjs +1 -1
  24. package/dist-lib/cloud-test-args.mjs +1 -1
  25. package/dist-lib/cloud.cjs +1 -1
  26. package/dist-lib/cloud.mjs +1 -1
  27. package/dist-lib/config.cjs +1 -1
  28. package/dist-lib/config.mjs +1 -1
  29. package/dist-lib/detox/index.cjs +2 -2
  30. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  31. package/dist-lib/expo-swift-bundle.cjs +13 -19
  32. package/dist-lib/expo-swift-metadata.cjs +1 -1
  33. package/dist-lib/expo-swift-metadata.mjs +1 -1
  34. package/dist-lib/home-paths.cjs +1 -1
  35. package/dist-lib/host/bridge-host.cjs +15 -21
  36. package/dist-lib/host/fetch-proxy-handler.cjs +2 -2
  37. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  38. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  39. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  40. package/dist-lib/host/websocket-proxy.cjs +1 -1
  41. package/dist-lib/index.cjs +2 -2
  42. package/dist-lib/jump-to-source-babel.cjs +1 -1
  43. package/dist-lib/jump-to-source-native.cjs +1 -1
  44. package/dist-lib/kotlin-host.cjs +1 -1
  45. package/dist-lib/menu.cjs +1 -1
  46. package/dist-lib/menu.mjs +1 -1
  47. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  48. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  49. package/dist-lib/metro-production-bundle.cjs +1 -1
  50. package/dist-lib/metro-production-bundle.mjs +1 -1
  51. package/dist-lib/metro.cjs +2 -2
  52. package/dist-lib/native-app-identity-project.cjs +1 -1
  53. package/dist-lib/native-app-identity-project.mjs +1 -1
  54. package/dist-lib/native-app-identity.cjs +1 -1
  55. package/dist-lib/native-app-identity.mjs +1 -1
  56. package/dist-lib/native-firebase-metadata.cjs +1 -1
  57. package/dist-lib/native-firebase-metadata.mjs +1 -1
  58. package/dist-lib/pdfium-raster.cjs +1 -1
  59. package/dist-lib/pdfium-raster.mjs +1 -1
  60. package/dist-lib/plist.cjs +1 -1
  61. package/dist-lib/plist.mjs +1 -1
  62. package/dist-lib/profiles.cjs +1 -1
  63. package/dist-lib/public-brand.cjs +1 -1
  64. package/dist-lib/public-origins-lib-esm.json +24 -24
  65. package/dist-lib/public-origins-lib.json +54 -53
  66. package/dist-lib/react-native-host-modules.cjs +1 -1
  67. package/dist-lib/react-native-host-modules.mjs +1 -1
  68. package/dist-lib/reap-browser.cjs +1 -1
  69. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  70. package/dist-lib/sdk.cjs +1 -1
  71. package/dist-lib/sdk.mjs +1 -1
  72. package/dist-lib/skills.cjs +367 -186
  73. package/dist-lib/swift-compile.cjs +1 -1
  74. package/dist-lib/swift-compile.mjs +1 -1
  75. package/dist-lib/swift-package.cjs +1 -1
  76. package/dist-lib/swift-package.mjs +1 -1
  77. package/dist-lib/swift-submit.cjs +1 -1
  78. package/dist-lib/swift-submit.mjs +1 -1
  79. package/dist-lib/swift-toolchain.cjs +1 -1
  80. package/dist-lib/swift.cjs +1 -1
  81. package/dist-lib/vite-swift.cjs +1 -1
  82. package/dist-lib/vite.cjs +2 -2
  83. package/dist-lib/worklet-executable.cjs +1 -1
  84. package/dist-lib/worklet-executable.mjs +1 -1
  85. package/dist-types/packages/peach-engine/src/engine/native-layout.d.ts +3 -1
  86. package/dist-types/packages/peach-engine/src/ios/chrome-metrics.d.ts +4 -0
  87. package/dist-types/packages/peach-engine/src/settings/devices.d.ts +1 -0
  88. package/dist-types/packages/peach-globals/src/compositorBridgeContract.d.ts +8 -0
  89. package/dist-types/packages/peach-globals/src/globalsContract.d.ts +2 -1
  90. package/dist-types/packages/peach-globals/src/index.d.ts +1 -1
  91. package/kotlin/sdk.tar.gz +0 -0
  92. package/package.json +1 -1
  93. package/runtime-companion.json +1 -1
  94. package/skills/contrast/SKILL.md +1 -0
  95. package/src/expo-native-workspace.ts +16 -21
@@ -38,6 +38,7 @@ const NODE_COMMAND_NAMES = [
38
38
  'assert',
39
39
  'device',
40
40
  'open',
41
+ 'stream',
41
42
  'package',
42
43
  'ios',
43
44
  'android',
@@ -1401,6 +1401,18 @@ export async function runOpenCommand(
1401
1401
  args: string[],
1402
1402
  opts: OpenCommandOptions = {},
1403
1403
  ): Promise<{ simId: string; launched: boolean } | undefined> {
1404
+ const { STREAM_FLAG, runStreamCommand } = await import('./stream')
1405
+ if (args.includes(STREAM_FLAG)) {
1406
+ const { authHeaderOrExit } = await import('../auth')
1407
+ authHeaderOrExit('stream')
1408
+ const opened = await runOpenCommand(
1409
+ args.filter((arg) => arg !== STREAM_FLAG),
1410
+ opts,
1411
+ )
1412
+ if (opened)
1413
+ await runStreamCommand(['start', '--sim', opened.simId], { port: opts.port })
1414
+ return opened
1415
+ }
1404
1416
  if (!args.includes('--json')) return openSim(args, opts)
1405
1417
  const log = console.log
1406
1418
  console.log = console.error
@@ -0,0 +1,150 @@
1
+ import { mkdirSync, readFileSync, rmSync, watch } from 'node:fs'
2
+ import { join } from 'node:path'
3
+ import { z } from 'zod'
4
+ import { rnxHomeDir } from '../../src/home-paths'
5
+ import { rnxPublicBrand } from '../../src/public-brand'
6
+ import { authHeaderOrExit, cloudAccountIdOrExit } from '../auth'
7
+ import { writeSecureJsonAtomic } from '../secure-file'
8
+ import { callInBridge, createBridgeFromParsed, parseBridgeCliArgs } from '../ws-bridge'
9
+
10
+ export const STREAM_FLAG = '--stream'
11
+ const registrationSchema = z.object({
12
+ session: z.object({ id: z.string(), accountId: z.string(), url: z.string() }),
13
+ url: z.string(),
14
+ token: z.string(),
15
+ })
16
+ const recordSchema = z.object({
17
+ sessionId: z.string(),
18
+ accountId: z.string(),
19
+ origin: z.string(),
20
+ watchUrl: z.string(),
21
+ })
22
+
23
+ export async function runStreamCommand(
24
+ args: string[],
25
+ opts: { port?: number } = {},
26
+ ): Promise<void> {
27
+ const parsed = parseBridgeCliArgs(args, { port: opts.port })
28
+ const action = parsed.positional[0] ?? 'status'
29
+ if (!['start', 'stop', 'status'].includes(action) || parsed.positional.length > 1)
30
+ throw new Error('usage: peach stream start|stop|status [--sim <id>]')
31
+ const bridge = createBridgeFromParsed(parsed)
32
+ let removeRecord: (() => void) | undefined
33
+ let endSession: (() => Promise<void>) | undefined
34
+ try {
35
+ const simId: unknown = await bridge.send({
36
+ type: 'evaluate',
37
+ code: 'globalThis.__sootsimBridge?.id ?? globalThis.SootSim?.state?.simId',
38
+ })
39
+ if (typeof simId !== 'string' || !simId)
40
+ throw new Error('Could not identify the local simulator.')
41
+ const directory = join(rnxHomeDir(), 'streams')
42
+ mkdirSync(directory, { recursive: true })
43
+ const file = join(directory, `${encodeURIComponent(simId)}.json`)
44
+ const state = await callInBridge<string>(bridge, 'SootSim.bridges.videoStream.state')
45
+ if (action === 'status') {
46
+ console.log(` stream: ${state}`)
47
+ return
48
+ }
49
+ const { auth, header } = authHeaderOrExit('stream')
50
+ const stopSession = async (record: z.infer<typeof recordSchema>) => {
51
+ const url = new URL(
52
+ `/api/v1/rnx/sessions/${encodeURIComponent(record.sessionId)}`,
53
+ record.origin,
54
+ )
55
+ url.searchParams.set('accountId', record.accountId)
56
+ const response = await fetch(url, {
57
+ method: 'DELETE',
58
+ headers: { authorization: header },
59
+ signal: AbortSignal.timeout(10_000),
60
+ })
61
+ if (!response.ok && response.status !== 404)
62
+ throw new Error(`stream stop failed (${response.status})`)
63
+ }
64
+ if (action === 'stop') {
65
+ await callInBridge(bridge, 'SootSim.bridges.videoStream.stop')
66
+ let record: z.infer<typeof recordSchema> | null = null
67
+ try {
68
+ record = recordSchema.parse(JSON.parse(readFileSync(file, 'utf8')))
69
+ } catch (error) {
70
+ if (!(error instanceof Error && 'code' in error && error.code === 'ENOENT'))
71
+ throw error
72
+ }
73
+ if (record) await stopSession(record)
74
+ rmSync(file, { force: true })
75
+ console.log(' stream: off')
76
+ return
77
+ }
78
+ if (state !== 'off')
79
+ throw new Error(
80
+ 'This simulator is already streaming. Use `peach stream stop` first.',
81
+ )
82
+ const origin = (
83
+ process.env.PEACH_API_ORIGIN?.trim() ||
84
+ (auth.kind === 'session' ? auth.origin : rnxPublicBrand.origin)
85
+ ).replace(/\/+$/, '')
86
+ const settings = await callInBridge<Record<string, unknown>>(
87
+ bridge,
88
+ 'SootSim.bridges.settings.get',
89
+ )
90
+ const response = await fetch(new URL('/api/v1/rnx/streams', origin), {
91
+ method: 'POST',
92
+ headers: { authorization: header, 'content-type': 'application/json' },
93
+ body: JSON.stringify({
94
+ accountId: cloudAccountIdOrExit(auth),
95
+ device:
96
+ typeof settings.deviceModel === 'string' ? settings.deviceModel : undefined,
97
+ }),
98
+ signal: AbortSignal.timeout(15_000),
99
+ })
100
+ if (!response.ok) throw new Error(`stream registration failed (${response.status})`)
101
+ const registration = registrationSchema.parse(await response.json())
102
+ const record = {
103
+ sessionId: registration.session.id,
104
+ accountId: registration.session.accountId,
105
+ origin,
106
+ watchUrl: new URL(registration.session.url, origin).toString(),
107
+ }
108
+ endSession = () => stopSession(record)
109
+ await callInBridge(bridge, 'SootSim.bridges.videoStream.start', {
110
+ url: registration.url,
111
+ token: registration.token,
112
+ })
113
+ writeSecureJsonAtomic(file, record)
114
+ removeRecord = () => rmSync(file, { force: true })
115
+ console.log(` ${record.watchUrl}`)
116
+ console.log(' Press Ctrl+C to stop streaming.')
117
+ await new Promise<void>((resolve) => {
118
+ const finish = () => {
119
+ watcher.close()
120
+ process.off('SIGINT', finish)
121
+ process.off('SIGTERM', finish)
122
+ resolve()
123
+ }
124
+ const watcher = watch(directory, (_event, filename) => {
125
+ if (filename !== `${encodeURIComponent(simId)}.json`) return
126
+ try {
127
+ readFileSync(file)
128
+ } catch (error) {
129
+ if (error instanceof Error && 'code' in error && error.code === 'ENOENT')
130
+ finish()
131
+ else throw error
132
+ }
133
+ })
134
+ process.once('SIGINT', finish)
135
+ process.once('SIGTERM', finish)
136
+ })
137
+ } finally {
138
+ try {
139
+ if (endSession) {
140
+ await callInBridge(bridge, 'SootSim.bridges.videoStream.stop').catch(
141
+ () => undefined,
142
+ )
143
+ await endSession()
144
+ }
145
+ } finally {
146
+ removeRecord?.()
147
+ bridge.close()
148
+ }
149
+ }
150
+ }
package/cli/main.ts CHANGED
@@ -572,6 +572,12 @@ try {
572
572
  break
573
573
  }
574
574
 
575
+ case 'stream': {
576
+ const { runStreamCommand } = await import('./commands/stream')
577
+ await runStreamCommand(commandArgsWithSim, { port })
578
+ break
579
+ }
580
+
575
581
  case 'open': {
576
582
  const { runOpenCommand } = await import('./commands/control')
577
583
  // global --device/--theme seed the opened sim like the open flags;
@@ -310,6 +310,12 @@ export interface OutboundCallDeclaration {
310
310
  // a new fetch, websocket, node HTTP request, or TCP connection has no entry and
311
311
  // fails scripts/check/outbound-endpoints.ts until its destination and consent behavior are declared.
312
312
  export const DECLARED_OUTBOUND_CALLS: Record<string, OutboundCallDeclaration> = {
313
+ "packages/peachsim/cli/commands/stream.ts :: fetch :: new URL('/api/v1/rnx/streams', origin)":
314
+ { category: 'contrast_user_action', count: 1 },
315
+ 'packages/peachsim/cli/commands/stream.ts :: fetch :: url': {
316
+ category: 'contrast_user_action',
317
+ count: 1,
318
+ },
313
319
  'packages/peachsim/src/dns-over-https.ts :: fetch-alias :: `https://cloudflare-dns.com/dns-query?name=${encodeURIComponent()}&type=${type}`':
314
320
  {
315
321
  category: 'hostname_resolution',
@@ -691,6 +697,10 @@ export const DECLARED_OUTBOUND_CALLS: Record<string, OutboundCallDeclaration> =
691
697
  { category: 'remote_display_server', count: 1 },
692
698
  'packages/peach-engine/src/remote-stream/browser-tenant-proxy.ts :: websocket :: this.config.url':
693
699
  { category: 'remote_display_server', count: 1 },
700
+ 'packages/peach-engine/src/capture/video-stream-host.ts :: websocket :: target.url': {
701
+ category: 'remote_display_server',
702
+ count: 1,
703
+ },
694
704
  'packages/peach-engine/src/menu/menuActions.ts :: fetch :: screenshot': {
695
705
  category: 'guest_app_network',
696
706
  count: 1,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2234 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2234 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2234 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2234 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2234 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
package/dist-lib/beta.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2234 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
package/dist-lib/beta.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2234 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/beta.ts
4
4
  var IS_BETA = true;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2234 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2234 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2234 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/bridge-contract.ts
4
4
  var SIM_LONG_PRESS_MAX_MS = 5e3;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2234 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2234 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/bridge-contract.ts
4
4
  var REFUSED_PERFORM_STEP_TYPES = [
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2234 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -38554,35 +38554,29 @@ async function hashWorkspaceInputs(app, everyByte, signal, sourceOnly = false, p
38554
38554
  excluded
38555
38555
  };
38556
38556
  }
38557
- const mac = process.platform === "darwin" ? {
38558
- podVersion: (() => {
38559
- try {
38560
- return (0, import_node_child_process33.execFileSync)("pod", ["--version"], {
38561
- encoding: "utf8",
38562
- env: utf8Env
38563
- });
38564
- } catch (cause) {
38557
+ const execFileAsync4 = (0, import_node_util11.promisify)(import_node_child_process33.execFile);
38558
+ const mac = process.platform === "darwin" ? await Promise.all([
38559
+ // runner-toolchain-platform: darwin
38560
+ execFileAsync4("pod", ["--version"], { env: utf8Env, signal }).catch(
38561
+ (cause) => {
38565
38562
  throw new Error("CocoaPods is required to install source dependencies", {
38566
38563
  cause
38567
38564
  });
38568
38565
  }
38569
- })(),
38566
+ ),
38570
38567
  // runner-toolchain-platform: darwin
38571
- xcode: (0, import_node_child_process33.execFileSync)("xcodebuild", ["-version"], {
38572
- encoding: "utf8",
38573
- env: utf8Env
38574
- })
38575
- } : {};
38568
+ execFileAsync4("xcodebuild", ["-version"], { env: utf8Env, signal })
38569
+ ]).then(([pod, xcode]) => ({ podVersion: pod.stdout, xcode: xcode.stdout })) : {};
38576
38570
  const pinnedNode = typeof manifest.engines?.node === "string" && /^\d+(\.\d+){0,2}$/.test(manifest.engines.node) ? `node@${manifest.engines.node}` : null;
38577
38571
  const toolchain = JSON.stringify({
38578
38572
  preparation: 7,
38579
38573
  appRelative,
38580
38574
  ...mac,
38581
- node: (0, import_node_child_process33.execFileSync)(
38575
+ node: (await execFileAsync4(
38582
38576
  pinnedNode ? "mise" : "node",
38583
38577
  pinnedNode ? ["exec", pinnedNode, "--", "node", "--version"] : ["--version"],
38584
- { cwd: root, encoding: "utf8" }
38585
- ).trim(),
38578
+ { cwd: root, signal }
38579
+ )).stdout.trim(),
38586
38580
  packageManager: workspacePackageManager(root, manifest.packageManager, excluded),
38587
38581
  podsEnvironment
38588
38582
  });
@@ -56350,7 +56344,7 @@ var init_nitro_superset = __esm({
56350
56344
  init_nitroContract();
56351
56345
  init_swift_standin_digest();
56352
56346
  NITRO_SUPERSET_ENTRY_NAME = "superset";
56353
- NITRO_COMPILER_DIGEST = true ? "85867fe5010d91bb78b12116a24244f4b6e9d31e12d4f28552c8c425fde75d58" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
56347
+ NITRO_COMPILER_DIGEST = true ? "35243d992261bdee722d9a986f2a4a1c3872cb6e43a1a40984a0eec51a85353f" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
56354
56348
  nitroSupersetLock = parseLock(nitro_superset_lock_default);
56355
56349
  nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
56356
56350
  published = /* @__PURE__ */ new Map();
@@ -57575,7 +57569,7 @@ var init_expo_native_compiler_digest = __esm({
57575
57569
 
57576
57570
  // src/expo-native-prebuilt.ts
57577
57571
  function expoNativeCompilerDigestValue() {
57578
- return true ? "ae652ddab2a93afd43fe0616f2b3d99467fb76d418b77ac5a3506e3871817a39" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
57572
+ return true ? "f069632feb274e7f5eaf8dbf407b0e9c5d4ea672a5c474d7f149564111c5c7ae" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
57579
57573
  }
57580
57574
  function readSources(value) {
57581
57575
  const sources = isRecord(value) ? value.sources : null;
@@ -65052,7 +65046,7 @@ var import_node_path5 = require("node:path");
65052
65046
  init_src();
65053
65047
 
65054
65048
  // runtime-companion.json
65055
- var runtime_companion_default = { abi: 1, sha256: "00799b02f54a61aa35db60817d564847a255eef875cbc7225013f1f27991ccde", file: "node/cli-00799b02f54a61aa35db60817d564847a255eef875cbc7225013f1f27991ccde.cjs" };
65049
+ var runtime_companion_default = { abi: 1, sha256: "de957e6cfaf58e8388e37c64326c72cd8376936fbe14bbba0fd2c0129ada4335", file: "node/cli-de957e6cfaf58e8388e37c64326c72cd8376936fbe14bbba0fd2c0129ada4335.cjs" };
65056
65050
 
65057
65051
  // src/cli-runtime.ts
65058
65052
  init_answeredNativePackages();
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2234 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2234 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/capture-contract.ts
4
4
  var RNX_SCREEN_CAPTURE_VERSION = 1;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2234 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2234 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/cloud-contract.ts
4
4
  var RNX_CLOUD_MAX_ARTIFACT_BYTES = 40761776;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2234 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2234 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/cloud-test-args.ts
4
4
  var CLOUD_TEST_ARGS_MAX_COUNT = 32;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2234 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2234 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  var __defProp = Object.defineProperty;
3
3
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4
4
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2234 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2234 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // ../contrast-runtime-delivery/src/version.ts
4
4
  function isValidRuntimeVersion(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2234 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -2515,7 +2515,7 @@ function isValidRuntimeVersion(value) {
2515
2515
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
2516
2516
 
2517
2517
  // runtime-companion.json
2518
- var runtime_companion_default = { abi: 1, sha256: "00799b02f54a61aa35db60817d564847a255eef875cbc7225013f1f27991ccde", file: "node/cli-00799b02f54a61aa35db60817d564847a255eef875cbc7225013f1f27991ccde.cjs" };
2518
+ var runtime_companion_default = { abi: 1, sha256: "de957e6cfaf58e8388e37c64326c72cd8376936fbe14bbba0fd2c0129ada4335", file: "node/cli-de957e6cfaf58e8388e37c64326c72cd8376936fbe14bbba0fd2c0129ada4335.cjs" };
2519
2519
 
2520
2520
  // src/answeredNativePackages.ts
2521
2521
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2234 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2234 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -48431,35 +48431,29 @@ async function hashWorkspaceInputs(app, everyByte, signal, sourceOnly = false, p
48431
48431
  excluded
48432
48432
  };
48433
48433
  }
48434
- const mac = process.platform === "darwin" ? {
48435
- podVersion: (() => {
48436
- try {
48437
- return (0, import_node_child_process33.execFileSync)("pod", ["--version"], {
48438
- encoding: "utf8",
48439
- env: utf8Env
48440
- });
48441
- } catch (cause) {
48434
+ const execFileAsync4 = (0, import_node_util11.promisify)(import_node_child_process33.execFile);
48435
+ const mac = process.platform === "darwin" ? await Promise.all([
48436
+ // runner-toolchain-platform: darwin
48437
+ execFileAsync4("pod", ["--version"], { env: utf8Env, signal }).catch(
48438
+ (cause) => {
48442
48439
  throw new Error("CocoaPods is required to install source dependencies", {
48443
48440
  cause
48444
48441
  });
48445
48442
  }
48446
- })(),
48443
+ ),
48447
48444
  // runner-toolchain-platform: darwin
48448
- xcode: (0, import_node_child_process33.execFileSync)("xcodebuild", ["-version"], {
48449
- encoding: "utf8",
48450
- env: utf8Env
48451
- })
48452
- } : {};
48445
+ execFileAsync4("xcodebuild", ["-version"], { env: utf8Env, signal })
48446
+ ]).then(([pod, xcode]) => ({ podVersion: pod.stdout, xcode: xcode.stdout })) : {};
48453
48447
  const pinnedNode = typeof manifest.engines?.node === "string" && /^\d+(\.\d+){0,2}$/.test(manifest.engines.node) ? `node@${manifest.engines.node}` : null;
48454
48448
  const toolchain = JSON.stringify({
48455
48449
  preparation: 7,
48456
48450
  appRelative,
48457
48451
  ...mac,
48458
- node: (0, import_node_child_process33.execFileSync)(
48452
+ node: (await execFileAsync4(
48459
48453
  pinnedNode ? "mise" : "node",
48460
48454
  pinnedNode ? ["exec", pinnedNode, "--", "node", "--version"] : ["--version"],
48461
- { cwd: root, encoding: "utf8" }
48462
- ).trim(),
48455
+ { cwd: root, signal }
48456
+ )).stdout.trim(),
48463
48457
  packageManager: workspacePackageManager(root, manifest.packageManager, excluded),
48464
48458
  podsEnvironment
48465
48459
  });
@@ -49459,7 +49453,7 @@ init_swift_native_pin();
49459
49453
  init_xcode_project();
49460
49454
  var EXPO_NATIVE_ENTRY_NAME = "ios";
49461
49455
  function expoNativeCompilerDigestValue() {
49462
- return true ? "ae652ddab2a93afd43fe0616f2b3d99467fb76d418b77ac5a3506e3871817a39" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
49456
+ return true ? "f069632feb274e7f5eaf8dbf407b0e9c5d4ea672a5c474d7f149564111c5c7ae" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
49463
49457
  }
49464
49458
  var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
49465
49459
  function readSources(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2234 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2234 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // ../peach-globals/src/bundle-global-footer.ts
4
4
  function findBundleFooter(source, prefix) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2234 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;