peachsim 0.1.710 → 0.1.712

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 (75) hide show
  1. package/cli/commands/serve.ts +30 -0
  2. package/cli/dev-build-freshness.ts +205 -0
  3. package/detox/index.ts +20 -7
  4. package/dist-lib/agent-daemon-client.cjs +1 -1
  5. package/dist-lib/agent-events.cjs +1 -1
  6. package/dist-lib/agent-identity.cjs +1 -1
  7. package/dist-lib/agent-sessions.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/capture-contract.cjs +1 -1
  19. package/dist-lib/capture-contract.mjs +1 -1
  20. package/dist-lib/cli-constants.cjs +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/detox/index.cjs +12 -7
  29. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  30. package/dist-lib/home-paths.cjs +1 -1
  31. package/dist-lib/host/bridge-host.cjs +2 -2
  32. package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
  33. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  34. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  35. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  36. package/dist-lib/host/websocket-proxy.cjs +1 -1
  37. package/dist-lib/index.cjs +1 -1
  38. package/dist-lib/jump-to-source-babel.cjs +1 -1
  39. package/dist-lib/jump-to-source-native.cjs +1 -1
  40. package/dist-lib/kotlin-host.cjs +1 -1
  41. package/dist-lib/menu.cjs +1 -1
  42. package/dist-lib/menu.mjs +1 -1
  43. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  44. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  45. package/dist-lib/metro-production-bundle.cjs +1 -1
  46. package/dist-lib/metro-production-bundle.mjs +1 -1
  47. package/dist-lib/metro.cjs +1 -1
  48. package/dist-lib/native-app-identity.cjs +1 -1
  49. package/dist-lib/native-app-identity.mjs +1 -1
  50. package/dist-lib/native-firebase-metadata.cjs +1 -1
  51. package/dist-lib/native-firebase-metadata.mjs +1 -1
  52. package/dist-lib/plist.cjs +1 -1
  53. package/dist-lib/plist.mjs +1 -1
  54. package/dist-lib/profiles.cjs +1 -1
  55. package/dist-lib/public-brand.cjs +1 -1
  56. package/dist-lib/react-native-host-modules.cjs +1 -1
  57. package/dist-lib/react-native-host-modules.mjs +1 -1
  58. package/dist-lib/render-mode.cjs +1 -1
  59. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  60. package/dist-lib/sdk.cjs +1 -1
  61. package/dist-lib/sdk.mjs +1 -1
  62. package/dist-lib/skills.cjs +2 -2
  63. package/dist-lib/swift-compile.cjs +1 -1
  64. package/dist-lib/swift-compile.mjs +1 -1
  65. package/dist-lib/swift-package.cjs +1 -1
  66. package/dist-lib/swift-package.mjs +1 -1
  67. package/dist-lib/swift-submit.cjs +2 -2
  68. package/dist-lib/swift-submit.mjs +2 -2
  69. package/dist-lib/swift-toolchain.cjs +1 -1
  70. package/dist-lib/swift.cjs +1 -1
  71. package/dist-lib/vite-swift.cjs +2 -2
  72. package/dist-lib/vite.cjs +1 -1
  73. package/package.json +1 -1
  74. package/src/runtime-assets.ts +1 -1
  75. package/src/swift-submit.ts +3 -1
@@ -15,7 +15,15 @@ import {
15
15
  readDaemonLockfile,
16
16
  } from '../../src/home-paths'
17
17
  import { SootSimBridgeHost } from '../../src/host/bridge-host'
18
+ import {
19
+ findMonorepoRoot,
20
+ resolveDevCheckoutRuntimeRoot,
21
+ } from '../../src/runtime-assets'
18
22
  import { rnxExit } from '../run-rnx'
23
+ import {
24
+ DEV_BUILD_REBUILD_COMMAND,
25
+ findStaleDevBuildRoutes,
26
+ } from '../dev-build-freshness'
19
27
  import { resolveDefaultUploadOrigin } from './upload'
20
28
 
21
29
  interface ServeOptions {
@@ -76,6 +84,28 @@ examples:
76
84
  rnxExit(1)
77
85
  }
78
86
 
87
+ // in a dev checkout serve() serves the dev-stack build directly, so a
88
+ // source edit without a rebuild would hand sims yesterday's engine with no
89
+ // complaint. refuse before binding when the build is stale. installed
90
+ // runtimes are versioned and immutable, so they skip this check.
91
+ if (resolveDevCheckoutRuntimeRoot()) {
92
+ const monorepoRoot = findMonorepoRoot()
93
+ const stale = monorepoRoot ? findStaleDevBuildRoutes(monorepoRoot) : []
94
+ if (stale.length > 0) {
95
+ for (const route of stale) {
96
+ console.error(
97
+ route.artifactMtimeMs === null
98
+ ? ` peach serve: ${route.route} build was never completed — ${route.newestSourcePath} has no served bundle.`
99
+ : ` peach serve: ${route.route} build is stale — ${route.newestSourcePath} is newer than the served bundle.`,
100
+ )
101
+ }
102
+ console.error(
103
+ ` rebuild with \`${DEV_BUILD_REBUILD_COMMAND}\` (or run bun dev so watch:sootsim keeps it current), then try again.`,
104
+ )
105
+ rnxExit(1)
106
+ }
107
+ }
108
+
79
109
  ensureRnxHome()
80
110
  // use the explicit upload/auth origin when configured, otherwise production.
81
111
  // never probe a local Contrast stack during bridge startup.
@@ -0,0 +1,205 @@
1
+ // dev-build freshness gate for `peach serve`.
2
+ //
3
+ // inside the Contrast monorepo checkout serve() serves public/sootsim — the
4
+ // dev-stack engine build — directly (see resolveDevCheckoutRuntimeRoot).
5
+ // without the dev watch running (bun dev's watch:sootsim) that build goes
6
+ // stale the moment an engine/shell source is edited, and serve() would hand
7
+ // sims the old bundle with no complaint. this module compares source and
8
+ // artifact mtimes per build route and reports which routes are stale, so
9
+ // serve can refuse before binding instead of serving yesterday's engine.
10
+ //
11
+ // the route table mirrors scripts/dev/watch-peach-artifacts.ts ROUTES (the
12
+ // authority on which sources feed which build). it is duplicated here rather
13
+ // than imported because the watcher pulls chokidar plus engine/bundler
14
+ // modules the CLI binary must not bundle — keep the two in sync: a source
15
+ // the watch rebuilds on must appear below, or serve will call a stale build
16
+ // fresh. deliberately omitted: the canvaskit binary inputs (resolved from a
17
+ // manifest at watch time, never hand-edited) and the deps-web inputs (a
18
+ // different served tree, not the engine serve() serves).
19
+
20
+ import { readdirSync, statSync, type Dirent } from 'node:fs'
21
+ import { join, relative, sep } from 'node:path'
22
+
23
+ export const DEV_BUILD_REBUILD_COMMAND = 'bun run build:sootsim'
24
+
25
+ export type DevBuildRouteId = 'shell' | 'engine' | 'tenant'
26
+
27
+ export interface StaleDevBuildRoute {
28
+ route: DevBuildRouteId
29
+ // repo-relative posix path of the newest source, for the error message.
30
+ newestSourcePath: string
31
+ // null when an artifact sentinel is missing (never built).
32
+ artifactMtimeMs: number | null
33
+ }
34
+
35
+ interface DevBuildRoute {
36
+ id: DevBuildRouteId
37
+ // repo-relative source files or dirs feeding this route's build.
38
+ sources: string[]
39
+ // repo-relative artifact sentinel files or dirs the build refreshes. a
40
+ // missing sentinel (or an empty dir) means the route was never built.
41
+ artifacts: string[]
42
+ }
43
+
44
+ const PEACHSIM_ENGINE_INPUTS = [
45
+ 'packages/peachsim/src/worklets-babel.ts',
46
+ 'packages/peachsim/src/vite-plugin.ts',
47
+ 'packages/peachsim/src/native-seam-manifest.ts',
48
+ 'packages/peachsim/src/bridge-constants.ts',
49
+ 'packages/peachsim/src/backend-origin.ts',
50
+ 'packages/peachsim/src/dev-bundle-resolution.ts',
51
+ ]
52
+
53
+ const ENGINE_SOURCES = [
54
+ 'packages/peach-engine/src',
55
+ 'packages/peach-engine/public',
56
+ 'packages/peach-engine/scripts/license-banner.ts',
57
+ 'packages/peach-engine/scripts/canvaskit-graphite-variant.ts',
58
+ 'packages/peach-engine/vite.build.config.ts',
59
+ 'packages/peach-engine/package.json',
60
+ 'packages/peach-compat/src',
61
+ 'packages/peach-swipeable/src',
62
+ ...PEACHSIM_ENGINE_INPUTS,
63
+ ]
64
+
65
+ const ROUTES: DevBuildRoute[] = [
66
+ {
67
+ id: 'shell',
68
+ sources: [
69
+ 'packages/peach-shell/src',
70
+ 'packages/peach-shell/index.html',
71
+ 'packages/peach-shell/vite.build.config.ts',
72
+ 'packages/peach-shell/package.json',
73
+ 'packages/peach-plugin-three-mode/src',
74
+ 'packages/peach-plugin-screenshot/src',
75
+ 'packages/peach-plugin-recording/src',
76
+ 'packages/peachsim/src/vite-plugin.ts',
77
+ 'packages/peachsim/src/bridge-constants.ts',
78
+ ],
79
+ // the shell bundle (hashed assets). index.html is deliberately NOT a
80
+ // sentinel: inject-manifest rewrites it after every engine build, so its
81
+ // mtime no longer proves the shell bundle is fresh.
82
+ artifacts: ['public/sootsim/assets'],
83
+ },
84
+ {
85
+ id: 'engine',
86
+ sources: ENGINE_SOURCES,
87
+ // rewritten by every engine build; doubles as the build's completion mark.
88
+ artifacts: ['public/sootsim/engine/.vite/manifest.json'],
89
+ },
90
+ {
91
+ id: 'tenant',
92
+ sources: [...ENGINE_SOURCES, 'packages/peach-engine/vite.config.tenant.ts'],
93
+ artifacts: [
94
+ 'public/sootsim/engine-tenant/worker.js',
95
+ 'public/sootsim/engine-tenant/worker.prod.js',
96
+ ],
97
+ },
98
+ ]
99
+
100
+ // install/build output must never count as either side of the comparison:
101
+ // an `npm install` refreshing node_modules mtimes is not a source edit.
102
+ const EXCLUDED_DIR_NAMES = new Set([
103
+ 'node_modules',
104
+ '.git',
105
+ 'dist',
106
+ 'build',
107
+ '.vite',
108
+ 'coverage',
109
+ '.turbo',
110
+ ])
111
+
112
+ interface NewestFile {
113
+ mtimeMs: number
114
+ absolutePath: string
115
+ }
116
+
117
+ function newestUnder(root: string): NewestFile | null {
118
+ let newest: NewestFile | null = null
119
+ const stack: string[] = [root]
120
+ while (stack.length > 0) {
121
+ const dir = stack.pop()
122
+ if (dir === undefined) continue
123
+ let entries: Dirent[]
124
+ try {
125
+ entries = readdirSync(dir, { withFileTypes: true })
126
+ } catch {
127
+ continue
128
+ }
129
+ for (const entry of entries) {
130
+ if (entry.isDirectory()) {
131
+ if (!EXCLUDED_DIR_NAMES.has(entry.name)) stack.push(join(dir, entry.name))
132
+ continue
133
+ }
134
+ if (!entry.isFile() && !entry.isSymbolicLink()) continue
135
+ let mtimeMs: number
136
+ try {
137
+ mtimeMs = statSync(join(dir, entry.name)).mtimeMs
138
+ } catch {
139
+ continue
140
+ }
141
+ if (!newest || mtimeMs > newest.mtimeMs) {
142
+ newest = { mtimeMs, absolutePath: join(dir, entry.name) }
143
+ }
144
+ }
145
+ }
146
+ return newest
147
+ }
148
+
149
+ function newestForEntry(monorepoRoot: string, repoPath: string): NewestFile | null {
150
+ const absolute = join(monorepoRoot, repoPath)
151
+ let stat: ReturnType<typeof statSync> | null = null
152
+ try {
153
+ stat = statSync(absolute)
154
+ } catch {
155
+ return null
156
+ }
157
+ if (stat.isDirectory()) return newestUnder(absolute)
158
+ if (stat.isFile()) return { mtimeMs: stat.mtimeMs, absolutePath: absolute }
159
+ return null
160
+ }
161
+
162
+ function toRepoPath(monorepoRoot: string, absolutePath: string): string {
163
+ return relative(monorepoRoot, absolutePath).split(sep).join('/')
164
+ }
165
+
166
+ /** every route whose sources are newer than its served artifacts (or whose
167
+ * artifacts are missing). empty means the dev build is fresh. unreadable
168
+ * entries are skipped: a guardrail that cannot run must not brick serve. */
169
+ export function findStaleDevBuildRoutes(monorepoRoot: string): StaleDevBuildRoute[] {
170
+ const stale: StaleDevBuildRoute[] = []
171
+ for (const route of ROUTES) {
172
+ let newestSource: NewestFile | null = null
173
+ for (const source of route.sources) {
174
+ const found = newestForEntry(monorepoRoot, source)
175
+ if (found && (!newestSource || found.mtimeMs > newestSource.mtimeMs)) {
176
+ newestSource = found
177
+ }
178
+ }
179
+ let newestArtifact: NewestFile | null = null
180
+ let artifactMissing = false
181
+ for (const artifact of route.artifacts) {
182
+ const found = newestForEntry(monorepoRoot, artifact)
183
+ if (!found) {
184
+ artifactMissing = true
185
+ continue
186
+ }
187
+ if (!newestArtifact || found.mtimeMs > newestArtifact.mtimeMs) {
188
+ newestArtifact = found
189
+ }
190
+ }
191
+ if (!newestSource) continue
192
+ if (
193
+ artifactMissing ||
194
+ !newestArtifact ||
195
+ newestSource.mtimeMs > newestArtifact.mtimeMs
196
+ ) {
197
+ stale.push({
198
+ route: route.id,
199
+ newestSourcePath: toRepoPath(monorepoRoot, newestSource.absolutePath),
200
+ artifactMtimeMs: newestArtifact ? newestArtifact.mtimeMs : null,
201
+ })
202
+ }
203
+ }
204
+ return stale
205
+ }
package/detox/index.ts CHANGED
@@ -473,13 +473,17 @@ async function closeBrowser() {
473
473
  }
474
474
  }
475
475
 
476
+ // transitionStartWindowMs is how long to wait for a screen transition that an
477
+ // action just requested to begin. a wait that follows no new input passes 0: a
478
+ // transition already running is still waited out, but none can start.
476
479
  export async function waitForSootsimIdle(
477
480
  page: Page,
478
481
  maxMs = 3000,
479
482
  strict = false,
483
+ transitionStartWindowMs = 600,
480
484
  ): Promise<void> {
481
485
  const result = await page.evaluate(
482
- async ({ maxMs, strict }) => {
486
+ async ({ maxMs, strict, transitionStartWindowMs }) => {
483
487
  const start = Date.now()
484
488
  let transitionError: string | null = null
485
489
  try {
@@ -489,7 +493,7 @@ export async function waitForSootsimIdle(
489
493
  const transitionResult = await waitForScreenTransitions({
490
494
  timeoutMs: Math.min(maxMs, 1800),
491
495
  settleMs: 48,
492
- startWindowMs: 600,
496
+ startWindowMs: transitionStartWindowMs,
493
497
  })
494
498
  if (transitionResult?.timedOut) {
495
499
  return {
@@ -591,12 +595,14 @@ export async function waitForSootsimIdle(
591
595
  elapsed: Date.now() - start,
592
596
  reason: transitionError
593
597
  ? `layout fallback after screen transition wait failed: ${transitionError}`
594
- : strict
595
- ? `strict idle state unavailable: renderStats=${lastSnapshot?.renderStatsAvailable === true} animating=${lastSnapshot?.animating === true} layoutDirty=${lastSnapshot?.layoutDirty === true} layoutNodes=${(lastSnapshot?.layout.length ?? 0) / 4} aux=${JSON.stringify(lastSnapshot?.auxSurfaceDebug)}`
596
- : 'layout fallback',
598
+ : !lastSnapshot
599
+ ? 'deadline spent before the first idle poll'
600
+ : strict
601
+ ? `strict idle state unavailable: renderStats=${lastSnapshot?.renderStatsAvailable === true} animating=${lastSnapshot?.animating === true} layoutDirty=${lastSnapshot?.layoutDirty === true} layoutNodes=${(lastSnapshot?.layout.length ?? 0) / 4} aux=${JSON.stringify(lastSnapshot?.auxSurfaceDebug)}`
602
+ : 'layout fallback',
597
603
  }
598
604
  },
599
- { maxMs, strict },
605
+ { maxMs, strict, transitionStartWindowMs },
600
606
  )
601
607
 
602
608
  if (!result?.settled) {
@@ -868,7 +874,14 @@ async function captureSootsimPng(opts?: {
868
874
  let identicalFrames = 1
869
875
  let attempts = 0
870
876
  while (Date.now() < deadline) {
871
- await waitForSootsimIdle(page, Math.max(1, deadline - Date.now()), true)
877
+ // only the first wait follows the caller's last input; later frames in
878
+ // this transaction dispatch nothing that could start a transition.
879
+ await waitForSootsimIdle(
880
+ page,
881
+ Math.max(1, deadline - Date.now()),
882
+ true,
883
+ attempts === 0 ? 600 : 0,
884
+ )
872
885
  const current = await captureSootsimPngFast(opts)
873
886
  attempts++
874
887
  if (framesIdentical(previous, current)) {
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
package/dist-lib/beta.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
package/dist-lib/beta.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (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
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (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
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (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
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (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
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/cloud-contract.ts
4
4
  var RNX_CLOUD_MAX_ARTIFACT_BYTES = 20 * 1024 * 1024;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (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
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (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
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -4286,9 +4286,9 @@ async function closeBrowser() {
4286
4286
  throw closeError;
4287
4287
  }
4288
4288
  }
4289
- async function waitForSootsimIdle(page, maxMs = 3e3, strict = false) {
4289
+ async function waitForSootsimIdle(page, maxMs = 3e3, strict = false, transitionStartWindowMs = 600) {
4290
4290
  const result = await page.evaluate(
4291
- async ({ maxMs: maxMs2, strict: strict2 }) => {
4291
+ async ({ maxMs: maxMs2, strict: strict2, transitionStartWindowMs: transitionStartWindowMs2 }) => {
4292
4292
  const start = Date.now();
4293
4293
  let transitionError = null;
4294
4294
  try {
@@ -4297,7 +4297,7 @@ async function waitForSootsimIdle(page, maxMs = 3e3, strict = false) {
4297
4297
  const transitionResult = await waitForScreenTransitions({
4298
4298
  timeoutMs: Math.min(maxMs2, 1800),
4299
4299
  settleMs: 48,
4300
- startWindowMs: 600
4300
+ startWindowMs: transitionStartWindowMs2
4301
4301
  });
4302
4302
  if (transitionResult?.timedOut) {
4303
4303
  return {
@@ -4383,10 +4383,10 @@ async function waitForSootsimIdle(page, maxMs = 3e3, strict = false) {
4383
4383
  return {
4384
4384
  settled: false,
4385
4385
  elapsed: Date.now() - start,
4386
- reason: transitionError ? `layout fallback after screen transition wait failed: ${transitionError}` : strict2 ? `strict idle state unavailable: renderStats=${lastSnapshot?.renderStatsAvailable === true} animating=${lastSnapshot?.animating === true} layoutDirty=${lastSnapshot?.layoutDirty === true} layoutNodes=${(lastSnapshot?.layout.length ?? 0) / 4} aux=${JSON.stringify(lastSnapshot?.auxSurfaceDebug)}` : "layout fallback"
4386
+ reason: transitionError ? `layout fallback after screen transition wait failed: ${transitionError}` : !lastSnapshot ? "deadline spent before the first idle poll" : strict2 ? `strict idle state unavailable: renderStats=${lastSnapshot?.renderStatsAvailable === true} animating=${lastSnapshot?.animating === true} layoutDirty=${lastSnapshot?.layoutDirty === true} layoutNodes=${(lastSnapshot?.layout.length ?? 0) / 4} aux=${JSON.stringify(lastSnapshot?.auxSurfaceDebug)}` : "layout fallback"
4387
4387
  };
4388
4388
  },
4389
- { maxMs, strict }
4389
+ { maxMs, strict, transitionStartWindowMs }
4390
4390
  );
4391
4391
  if (!result?.settled) {
4392
4392
  throw new Error(
@@ -4571,7 +4571,12 @@ async function captureSootsimPng(opts) {
4571
4571
  let identicalFrames = 1;
4572
4572
  let attempts = 0;
4573
4573
  while (Date.now() < deadline) {
4574
- await waitForSootsimIdle(page, Math.max(1, deadline - Date.now()), true);
4574
+ await waitForSootsimIdle(
4575
+ page,
4576
+ Math.max(1, deadline - Date.now()),
4577
+ true,
4578
+ attempts === 0 ? 600 : 0
4579
+ );
4575
4580
  const current = await captureSootsimPngFast(opts);
4576
4581
  attempts++;
4577
4582
  if ((0, import_proof_frame.framesIdentical)(previous, current)) {
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -8062,7 +8062,7 @@ var MAX_SWIFT_COMPILE_RESOURCE_TOTAL_BYTES = 8 * 1024 * 1024;
8062
8062
  var MAX_SWIFT_COMPILE_IMAGES = 128;
8063
8063
  var MAX_SWIFT_COMPILE_IMAGE_BYTES = 4 * 1024 * 1024;
8064
8064
  var MAX_SWIFT_COMPILE_IMAGE_TOTAL_BYTES = 16 * 1024 * 1024;
8065
- var SWIFT_HOST_ABI = 17;
8065
+ var SWIFT_HOST_ABI = 18;
8066
8066
  var POLL_INTERVAL_MS = 1500;
8067
8067
  function httpSwiftCompileSubmit(context) {
8068
8068
  const { assetReadToken, authorization, endpoint } = context;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/host/fetch-proxy-overrides.ts
4
4
  var FETCH_PROXY_NATIVE_USER_AGENT_HEADER = "x-sootsim-native-user-agent";
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
package/dist-lib/menu.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
package/dist-lib/menu.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/public-brand.ts
4
4
  var name = "Peach";
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/is-record.ts
4
4
  function isRecord(value) {
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/metro-production-bundle.ts
4
4
  var RNXSIM_METRO_MODULE_PATHS_PREFIX = "globalThis.__sootsimModulePaths=";
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/native-app-identity.ts
4
4
  var NATIVE_APP_IDENTITY_PREFIX = "globalThis.__sootsimNativeAppIdentity=";
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/native-firebase-metadata.ts
4
4
  var PREFIX = "globalThis.__peachNativeFirebaseConfig=";
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/plist.ts
4
4
  import plistModule from "@expo/plist";
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/react-native-host-modules.ts
4
4
  var REACT_NATIVE_PASSTHROUGH_SPECIFIERS = [
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
package/dist-lib/sdk.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
package/dist-lib/sdk.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (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
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -23553,7 +23553,7 @@ var init_swift_submit = __esm({
23553
23553
  MAX_SWIFT_COMPILE_IMAGES = 128;
23554
23554
  MAX_SWIFT_COMPILE_IMAGE_BYTES = 4 * 1024 * 1024;
23555
23555
  MAX_SWIFT_COMPILE_IMAGE_TOTAL_BYTES = 16 * 1024 * 1024;
23556
- SWIFT_HOST_ABI = 17;
23556
+ SWIFT_HOST_ABI = 18;
23557
23557
  POLL_INTERVAL_MS = 1500;
23558
23558
  }
23559
23559
  });
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/swift-compile.ts
4
4
  import { execFile as execFile2 } from "node:child_process";
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/swift-package.ts
4
4
  function isSwiftManifestFile(file) {
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -51,7 +51,7 @@ var MAX_SWIFT_COMPILE_RESOURCE_TOTAL_BYTES = 8 * 1024 * 1024;
51
51
  var MAX_SWIFT_COMPILE_IMAGES = 128;
52
52
  var MAX_SWIFT_COMPILE_IMAGE_BYTES = 4 * 1024 * 1024;
53
53
  var MAX_SWIFT_COMPILE_IMAGE_TOTAL_BYTES = 16 * 1024 * 1024;
54
- var SWIFT_HOST_ABI = 17;
54
+ var SWIFT_HOST_ABI = 18;
55
55
  var POLL_INTERVAL_MS = 1500;
56
56
  function swiftNativeEntry(native, file) {
57
57
  return {
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/swift-submit.ts
4
4
  var SWIFT_COMPILE_PATH = "/api/swift-compile";
@@ -12,7 +12,7 @@ var MAX_SWIFT_COMPILE_RESOURCE_TOTAL_BYTES = 8 * 1024 * 1024;
12
12
  var MAX_SWIFT_COMPILE_IMAGES = 128;
13
13
  var MAX_SWIFT_COMPILE_IMAGE_BYTES = 4 * 1024 * 1024;
14
14
  var MAX_SWIFT_COMPILE_IMAGE_TOTAL_BYTES = 16 * 1024 * 1024;
15
- var SWIFT_HOST_ABI = 17;
15
+ var SWIFT_HOST_ABI = 18;
16
16
  var POLL_INTERVAL_MS = 1500;
17
17
  function swiftNativeEntry(native, file) {
18
18
  return {
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1888,7 +1888,7 @@ var MAX_SWIFT_COMPILE_RESOURCE_TOTAL_BYTES = 8 * 1024 * 1024;
1888
1888
  var MAX_SWIFT_COMPILE_IMAGES = 128;
1889
1889
  var MAX_SWIFT_COMPILE_IMAGE_BYTES = 4 * 1024 * 1024;
1890
1890
  var MAX_SWIFT_COMPILE_IMAGE_TOTAL_BYTES = 16 * 1024 * 1024;
1891
- var SWIFT_HOST_ABI = 17;
1891
+ var SWIFT_HOST_ABI = 18;
1892
1892
  var POLL_INTERVAL_MS = 1500;
1893
1893
  function swiftNativeEntry(native, file) {
1894
1894
  return {
package/dist-lib/vite.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.710 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.712 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "peachsim",
3
- "version": "0.1.710",
3
+ "version": "0.1.712",
4
4
  "description": "Vite and Metro plugins, testing drivers, and SDK exports for peach.",
5
5
  "author": "Tamagui LLC",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -32,7 +32,7 @@ export const SOOTSIM_RUNTIME_MISSING_MESSAGE =
32
32
  // electron with a custom home) on the installed runtime.
33
33
  let _monorepoRootCache: string | null | undefined
34
34
 
35
- function findMonorepoRoot(): string | null {
35
+ export function findMonorepoRoot(): string | null {
36
36
  if (_monorepoRootCache !== undefined) return _monorepoRootCache
37
37
  let dir = path.dirname(fileURLToPath(import.meta.url))
38
38
  // walk up until we find the Contrast monorepo: it has packages/peach-engine and
@@ -63,8 +63,10 @@ export const MAX_SWIFT_COMPILE_IMAGE_TOTAL_BYTES = 16 * 1024 * 1024
63
63
  * 15: `rnx_display_link_active` asks the host to tick on every display frame.
64
64
  * 16: `peach_expo_call` uses the tagged Expo wire and coded exception replies.
65
65
  * 17: CoreLocation reads location services and shares permission and device fixes.
66
+ * 18: fetch headers report `redirected`, and a delegate task's `end` and
67
+ * answered cancel carry the browser's resource timing for URLSessionTaskMetrics.
66
68
  */
67
- export const SWIFT_HOST_ABI = 17
69
+ export const SWIFT_HOST_ABI = 18
68
70
 
69
71
  export interface SwiftImageUpload {
70
72
  /** the raster file picked for the asset (has the extension). */