peachsim 0.1.2745 → 0.1.2747

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 (136) hide show
  1. package/cli/outbound-endpoints.ts +19 -9
  2. package/detox/index.ts +17 -13
  3. package/dist-lib/agent-daemon-client.cjs +1 -1
  4. package/dist-lib/agent-events.cjs +1 -1
  5. package/dist-lib/attached-projects.cjs +1 -1
  6. package/dist-lib/auth/shared-session.cjs +1 -1
  7. package/dist-lib/backend-origin.cjs +1 -1
  8. package/dist-lib/beta.cjs +1 -1
  9. package/dist-lib/beta.mjs +2 -2
  10. package/dist-lib/bridge-constants.cjs +1 -1
  11. package/dist-lib/bridge-contract-input.cjs +1 -1
  12. package/dist-lib/bridge-contract-input.mjs +5 -5
  13. package/dist-lib/bridge-contract.cjs +1 -1
  14. package/dist-lib/bridge-contract.mjs +3 -3
  15. package/dist-lib/bundle-channel.cjs +25 -21
  16. package/dist-lib/capture-contract.cjs +1 -1
  17. package/dist-lib/capture-contract.mjs +3 -3
  18. package/dist-lib/cloud-contract.cjs +1 -1
  19. package/dist-lib/cloud-contract.mjs +3 -3
  20. package/dist-lib/cloud-test-args.cjs +1 -1
  21. package/dist-lib/cloud-test-args.mjs +2 -2
  22. package/dist-lib/cloud.cjs +1 -1
  23. package/dist-lib/cloud.mjs +7 -7
  24. package/dist-lib/config.cjs +1 -1
  25. package/dist-lib/config.mjs +5 -5
  26. package/dist-lib/detox/index.cjs +15 -11
  27. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  28. package/dist-lib/esm-chunks/{acorn-4PRSNL7D.mjs → acorn-264PERTU.mjs} +3 -3
  29. package/dist-lib/esm-chunks/{chunk-GCNULNUC.mjs → chunk-2KP4Q4QG.mjs} +1 -1
  30. package/dist-lib/esm-chunks/{chunk-NADMCUMF.mjs → chunk-3PIRJQS3.mjs} +1 -1
  31. package/dist-lib/esm-chunks/{chunk-WLLS6DA3.mjs → chunk-6A6ESU7M.mjs} +15 -15
  32. package/dist-lib/esm-chunks/{chunk-VJGH2L5T.mjs → chunk-AASYNA7O.mjs} +5 -5
  33. package/dist-lib/esm-chunks/{chunk-AM2DC7NA.mjs → chunk-BTOHCTM5.mjs} +6 -6
  34. package/dist-lib/esm-chunks/{chunk-3GDQDE3G.mjs → chunk-C4WNCPE7.mjs} +89 -91
  35. package/dist-lib/esm-chunks/{chunk-FYJWNZXZ.mjs → chunk-DKOHFKVO.mjs} +2 -2
  36. package/dist-lib/esm-chunks/{chunk-57IBEXZ7.mjs → chunk-DNPF3SJV.mjs} +1 -1
  37. package/dist-lib/esm-chunks/{chunk-KTMFARKZ.mjs → chunk-H5VBNND3.mjs} +1 -1
  38. package/dist-lib/esm-chunks/{chunk-BRVVBFDT.mjs → chunk-LETYBISI.mjs} +1 -1
  39. package/dist-lib/esm-chunks/{chunk-V6AO52UA.mjs → chunk-NGFHBDMP.mjs} +1 -1
  40. package/dist-lib/esm-chunks/{chunk-CLQBDTGC.mjs → chunk-OGKCUDUY.mjs} +1 -1
  41. package/dist-lib/esm-chunks/{chunk-HSK5BQLE.mjs → chunk-OS777HDT.mjs} +3 -3
  42. package/dist-lib/esm-chunks/{chunk-GYBNX5MY.mjs → chunk-R5URHHLY.mjs} +1 -1
  43. package/dist-lib/esm-chunks/{chunk-JT327IEG.mjs → chunk-RQYO274I.mjs} +1 -1
  44. package/dist-lib/esm-chunks/{chunk-DPQFKGWK.mjs → chunk-SNIXC3LK.mjs} +1 -1
  45. package/dist-lib/esm-chunks/{chunk-3XWVOEVJ.mjs → chunk-SSEYL4BD.mjs} +1 -1
  46. package/dist-lib/esm-chunks/{chunk-OCBYCFDU.mjs → chunk-SZAKV76H.mjs} +1 -1
  47. package/dist-lib/esm-chunks/{chunk-AXNPA4CI.mjs → chunk-UX3TKSSG.mjs} +1 -1
  48. package/dist-lib/esm-chunks/{chunk-GUSFQUZD.mjs → chunk-V5QS3LC7.mjs} +1 -1
  49. package/dist-lib/esm-chunks/{chunk-MAITHQ5S.mjs → chunk-VBVWVPFV.mjs} +1 -1
  50. package/dist-lib/esm-chunks/{chunk-GYUYO4YT.mjs → chunk-VFVDWLZL.mjs} +1 -1
  51. package/dist-lib/esm-chunks/{chunk-JN2C772U.mjs → chunk-YL5WAVSA.mjs} +4 -4
  52. package/dist-lib/esm-chunks/{chunk-FLEVN7IJ.mjs → chunk-ZGKZH72O.mjs} +1 -1
  53. package/dist-lib/esm-chunks/{metro-layout-parser-MFSWKUZV.mjs → metro-layout-parser-X53TI6UE.mjs} +3 -3
  54. package/dist-lib/esm-chunks/{swift-package-prebuilt-RPFJWIPU.mjs → swift-package-prebuilt-BCWD6FXB.mjs} +12 -12
  55. package/dist-lib/esm-chunks/{swift-sdk-app-module-C6XR5HMX.mjs → swift-sdk-app-module-PVYYHAOX.mjs} +16 -16
  56. package/dist-lib/esm-chunks/{swift-sdk-image-6U5P377S.mjs → swift-sdk-image-YU237KAS.mjs} +16 -16
  57. package/dist-lib/esm-chunks/{swift-sdk-image-producer-ZKU3LVLR.mjs → swift-sdk-image-producer-E6S3PF4W.mjs} +8 -7
  58. package/dist-lib/expo-swift-bundle.cjs +25 -21
  59. package/dist-lib/expo-swift-metadata.cjs +1 -1
  60. package/dist-lib/expo-swift-metadata.mjs +7 -7
  61. package/dist-lib/home-paths.cjs +1 -1
  62. package/dist-lib/host/bridge-host.cjs +25 -21
  63. package/dist-lib/host/fetch-proxy-handler.cjs +6 -8
  64. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  65. package/dist-lib/host/fetch-proxy-overrides.mjs +2 -2
  66. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  67. package/dist-lib/host/websocket-proxy.cjs +1 -1
  68. package/dist-lib/index.cjs +1 -1
  69. package/dist-lib/kotlin-host.cjs +1 -1
  70. package/dist-lib/menu.cjs +1 -1
  71. package/dist-lib/menu.mjs +3 -3
  72. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  73. package/dist-lib/metro-fingerprint-registry.mjs +3 -3
  74. package/dist-lib/metro-production-bundle.cjs +1 -1
  75. package/dist-lib/metro-production-bundle.mjs +4 -4
  76. package/dist-lib/native-app-identity-project.cjs +1 -1
  77. package/dist-lib/native-app-identity-project.mjs +15 -15
  78. package/dist-lib/native-app-identity.cjs +1 -1
  79. package/dist-lib/native-app-identity.mjs +6 -6
  80. package/dist-lib/native-firebase-metadata.cjs +1 -1
  81. package/dist-lib/native-firebase-metadata.mjs +3 -3
  82. package/dist-lib/pdfium-raster.cjs +1 -1
  83. package/dist-lib/pdfium-raster.mjs +2 -2
  84. package/dist-lib/plist.cjs +1 -1
  85. package/dist-lib/plist.mjs +3 -3
  86. package/dist-lib/profiles.cjs +1 -1
  87. package/dist-lib/public-brand.cjs +1 -1
  88. package/dist-lib/public-origins-lib-esm.json +85 -85
  89. package/dist-lib/public-origins-lib.json +64 -64
  90. package/dist-lib/react-native-host-modules.cjs +1 -1
  91. package/dist-lib/react-native-host-modules.mjs +2 -2
  92. package/dist-lib/reap-browser.cjs +1 -1
  93. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  94. package/dist-lib/sdk.cjs +1 -1
  95. package/dist-lib/sdk.mjs +8 -8
  96. package/dist-lib/skills.cjs +25 -21
  97. package/dist-lib/swift-compile.cjs +6 -6
  98. package/dist-lib/swift-compile.mjs +12 -12
  99. package/dist-lib/swift-package.cjs +1 -1
  100. package/dist-lib/swift-package.mjs +3 -3
  101. package/dist-lib/swift-submit.cjs +1 -1
  102. package/dist-lib/swift-submit.mjs +6 -6
  103. package/dist-lib/swift-svg-raster.cjs +1 -1
  104. package/dist-lib/swift-svg-raster.mjs +2 -2
  105. package/dist-lib/swift-toolchain.cjs +1 -1
  106. package/dist-lib/swift.cjs +1 -1
  107. package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
  108. package/dist-lib/vendor/@ruby/prism/src/nodes.js.cjs +1 -1
  109. package/dist-lib/vendor/@ruby/prism/src/parsePrism.js.cjs +1 -1
  110. package/dist-lib/vendor/acorn.cjs +1 -1
  111. package/dist-lib/vendor/magic-string.cjs +1 -1
  112. package/dist-lib/vendor/stream-json.cjs +1 -1
  113. package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
  114. package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
  115. package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
  116. package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
  117. package/dist-lib/vendor/sucrase.cjs +1 -1
  118. package/dist-lib/vendor/terser.cjs +1 -1
  119. package/dist-lib/vendor/valibot.cjs +1 -1
  120. package/dist-lib/vendor/ws.cjs +1 -1
  121. package/dist-lib/vendor/zod.cjs +1 -1
  122. package/dist-lib/worklet-executable.cjs +1 -1
  123. package/dist-lib/worklet-executable.mjs +3 -3
  124. package/dist-types/packages/peach-engine/src/engine/canvaskit/graphite.d.ts +13 -0
  125. package/dist-types/packages/peach-engine/src/engine/scene-native-binding.d.ts +1 -1
  126. package/dist-types/packages/peach-engine/src/render-worker/canvaskit-webgpu.d.ts +2 -19
  127. package/dist-types/packages/peach-engine/src/render-worker/compositor-gpu.d.ts +2 -1
  128. package/dist-types/packages/peach-engine/src/render-worker/native-hot-ops.d.ts +2 -2
  129. package/package.json +1 -1
  130. package/src/expo-swift-host.ts +4 -0
  131. package/src/swift-objc-compile.ts +4 -5
  132. package/src/swift-objc-prebuilt.ts +2 -2
  133. package/src/swift-pdf-raster.ts +2 -2
  134. package/src/swift-sdk-image-producer.ts +2 -1
  135. package/src/swift-sdk-surface.ts +3 -3
  136. package/src/swift-source-pods.ts +3 -3
@@ -1155,8 +1155,7 @@ function trackedSourceFiles(repositoryRoot: string, roots: string[]): string[] {
1155
1155
  (file) =>
1156
1156
  /\.(?:ts|tsx)$/.test(file) &&
1157
1157
  !file.endsWith('.d.ts') &&
1158
- !file.split('/').some((part) => part === 'vendor' || part === 'test-fixtures') &&
1159
- fs.existsSync(path.join(repositoryRoot, file)),
1158
+ !file.split('/').some((part) => part === 'vendor' || part === 'test-fixtures'),
1160
1159
  )
1161
1160
  .map((file) => path.join(repositoryRoot, file))
1162
1161
  .sort()
@@ -1485,12 +1484,24 @@ export function detectOutboundCalls(repositoryRoot: string): DetectedOutboundCal
1485
1484
  'packages/contrast-runtime-delivery/src',
1486
1485
  'packages/peach-box/cloud/src',
1487
1486
  ]
1488
- const tracked = trackedSourceFiles(repositoryRoot, roots)
1489
1487
  const sources = new Map<string, string>()
1490
- for (const file of tracked) sources.set(file, fs.readFileSync(file, 'utf8'))
1488
+ for (const file of trackedSourceFiles(repositoryRoot, roots)) {
1489
+ try {
1490
+ sources.set(file, fs.readFileSync(file, 'utf8'))
1491
+ } catch (error) {
1492
+ if (
1493
+ !(
1494
+ error instanceof Error &&
1495
+ 'code' in error &&
1496
+ (error.code === 'ENOENT' || error.code === 'ENOTDIR')
1497
+ )
1498
+ )
1499
+ throw error
1500
+ }
1501
+ }
1491
1502
 
1492
1503
  const caches: OutboundScanCaches = {
1493
- trackedSet: new Set(tracked),
1504
+ trackedSet: new Set(sources.keys()),
1494
1505
  sources,
1495
1506
  diskFiles: new Map(),
1496
1507
  parsed: new Map(),
@@ -1508,9 +1519,8 @@ export function detectOutboundCalls(repositoryRoot: string): DetectedOutboundCal
1508
1519
  )
1509
1520
  while (true) {
1510
1521
  let added = false
1511
- for (const file of tracked) {
1522
+ for (const [file, text] of sources) {
1512
1523
  if (checkedExporters.has(file) || file.endsWith('/outbound-endpoints.ts')) continue
1513
- const text = sources.get(file)!
1514
1524
  if (!EXPORT_VARIABLE_DECLARATION.test(text) || !fetchTokenPattern.test(text))
1515
1525
  continue
1516
1526
  checkedExporters.add(file)
@@ -1562,9 +1572,9 @@ export function detectOutboundCalls(repositoryRoot: string): DetectedOutboundCal
1562
1572
  )
1563
1573
 
1564
1574
  const counts = new Map<string, number>()
1565
- for (const file of tracked) {
1575
+ for (const [file, text] of sources) {
1566
1576
  if (file.endsWith('/outbound-endpoints.ts')) continue
1567
- if (!tokenPattern.test(sources.get(file)!)) continue
1577
+ if (!tokenPattern.test(text)) continue
1568
1578
  const { source, program } = loadParsedFile(file, caches)
1569
1579
  const names = networkNames(program, file, caches)
1570
1580
  const relative = path.relative(repositoryRoot, file).split(path.sep).join('/')
package/detox/index.ts CHANGED
@@ -3859,27 +3859,23 @@ export const device = {
3859
3859
  { sampledRefresh = false, label = '', composite = true } = {},
3860
3860
  ) => {
3861
3861
  let receipt = currentReceipt
3862
- const nextFrameTime = () => {
3862
+ const nextFrameTime = (afterMs: number, frameDurationMs = 1000 / 60) => {
3863
3863
  if (!nativeAnimationClock || producerFirstFrameMs === null)
3864
- return receipt.virtualTimestampMs + (nextFrameDurationMs ?? 1000 / 60)
3864
+ return afterMs + frameDurationMs
3865
3865
  const producerFrame =
3866
- producerFrames?.find(
3867
- (frame) => frame.deliveryTimeMs > receipt.virtualTimestampMs + 0.000001,
3868
- )?.deliveryTimeMs ?? Infinity
3866
+ producerFrames?.find((frame) => frame.deliveryTimeMs > afterMs + 0.000001)
3867
+ ?.deliveryTimeMs ?? Infinity
3869
3868
  const baselineFrame =
3870
3869
  driveStart.virtualTimestampMs +
3871
3870
  (Math.floor(
3872
- (receipt.virtualTimestampMs -
3873
- driveStart.virtualTimestampMs +
3874
- 0.000001) /
3875
- (1000 / 60),
3871
+ (afterMs - driveStart.virtualTimestampMs + 0.000001) / (1000 / 60),
3876
3872
  ) +
3877
3873
  1) *
3878
3874
  (1000 / 60)
3879
3875
  const managerFrame = nativeAnimationClock.frames.find(
3880
3876
  (frame) =>
3881
3877
  driveStart.virtualTimestampMs + frame.callbackTimeMs >
3882
- receipt.virtualTimestampMs + 0.000001,
3878
+ afterMs + 0.000001,
3883
3879
  )
3884
3880
  return Math.min(
3885
3881
  producerFrame,
@@ -3894,12 +3890,20 @@ export const device = {
3894
3890
  `sample time ${targetMs}ms of ${label} precedes the frames already stepped to ${receipt.virtualTimestampMs}ms (anchor ${driveStart.virtualTimestampMs}ms, producer offset ${producerOffsetMs}ms)`,
3895
3891
  )
3896
3892
  }
3897
- while (nextFrameTime() <= targetMs + 0.000001) {
3893
+ const frameLimitMs = targetMs + 0.000001
3894
+ let refreshMs = nextFrameTime(receipt.virtualTimestampMs, nextFrameDurationMs)
3895
+ while (refreshMs <= frameLimitMs) {
3896
+ const sampled =
3897
+ nextFrameTime(refreshMs) > frameLimitMs &&
3898
+ (sampledRefresh || targetMs - refreshMs <= 0.01)
3898
3899
  receipt = await controller.stepFrame(
3899
- nextFrameTime() - receipt.virtualTimestampMs,
3900
- { composite },
3900
+ refreshMs - receipt.virtualTimestampMs,
3901
+ {
3902
+ composite: composite && sampled,
3903
+ },
3901
3904
  )
3902
3905
  nextFrameDurationMs = undefined
3906
+ refreshMs = nextFrameTime(receipt.virtualTimestampMs)
3903
3907
  }
3904
3908
  if (!sampledRefresh && targetMs - receipt.virtualTimestampMs > 0.01) {
3905
3909
  receipt = await controller.stepFrame(
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2745 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2747 | (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.2745 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2747 | (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.2745 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2747 | (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.2745 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2747 | (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.2745 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2747 | (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.2745 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2747 | (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,5 +1,5 @@
1
- /*! peach v0.1.2745 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
- import "./esm-chunks/chunk-OCBYCFDU.mjs";
1
+ /*! peach v0.1.2747 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
+ import "./esm-chunks/chunk-SZAKV76H.mjs";
3
3
 
4
4
  // src/beta.ts
5
5
  var IS_BETA = true;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2745 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2747 | (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.2745 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2747 | (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.2745 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2747 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  BridgeInputError,
4
4
  SEMANTIC_WAIT_MAX_TIMEOUT_MS,
@@ -17,10 +17,10 @@ import {
17
17
  parseSemanticWaitOptions,
18
18
  parseStateOptions,
19
19
  parseTapTarget
20
- } from "./esm-chunks/chunk-HSK5BQLE.mjs";
21
- import "./esm-chunks/chunk-3XWVOEVJ.mjs";
22
- import "./esm-chunks/chunk-GYBNX5MY.mjs";
23
- import "./esm-chunks/chunk-OCBYCFDU.mjs";
20
+ } from "./esm-chunks/chunk-OS777HDT.mjs";
21
+ import "./esm-chunks/chunk-SSEYL4BD.mjs";
22
+ import "./esm-chunks/chunk-R5URHHLY.mjs";
23
+ import "./esm-chunks/chunk-SZAKV76H.mjs";
24
24
  export {
25
25
  BridgeInputError,
26
26
  SEMANTIC_WAIT_MAX_TIMEOUT_MS,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2745 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2747 | (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.2745 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2747 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  HEADLESS_TENANT_FETCH_HUNG_MARKER,
4
4
  REFUSED_PERFORM_STEP_TYPES,
@@ -13,8 +13,8 @@ import {
13
13
  readyProbeHasContent,
14
14
  readyProbeIsReady,
15
15
  refusedPerformStepReason
16
- } from "./esm-chunks/chunk-3XWVOEVJ.mjs";
17
- import "./esm-chunks/chunk-OCBYCFDU.mjs";
16
+ } from "./esm-chunks/chunk-SSEYL4BD.mjs";
17
+ import "./esm-chunks/chunk-SZAKV76H.mjs";
18
18
  export {
19
19
  HEADLESS_TENANT_FETCH_HUNG_MARKER,
20
20
  REFUSED_PERFORM_STEP_TYPES,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2745 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2747 | (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;
@@ -10108,7 +10108,7 @@ var init_swift_objc_sdk_tree = __esm({
10108
10108
 
10109
10109
  // src/swift-compiler-digest.ts
10110
10110
  function swiftArchiveCompilerDigestValue() {
10111
- return true ? "ef102649bb803fa4a669fab0435e2270e6dc7dc45669a03a377d6951f7daa35f" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname, "archive");
10111
+ return true ? "1d379c993a4ab46df34e228b947e5bc2f147e380681003e0ecb273b850b268c8" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname, "archive");
10112
10112
  }
10113
10113
  var import_node_crypto9, import_node_fs20, import_node_path16, SWIFT_DIGEST_SOURCES, LINKED_IMAGE_SOURCES, SWIFT_ARCHIVE_DIGEST_SOURCES;
10114
10114
  var init_swift_compiler_digest = __esm({
@@ -29430,8 +29430,9 @@ function swiftModuleToolchain(root) {
29430
29430
  }
29431
29431
  function remoteSwiftCheckouts(root) {
29432
29432
  const key2 = (0, import_node_crypto24.createHash)("sha256").update((0, import_node_fs40.realpathSync)(root)).digest("hex").slice(0, 32);
29433
- (0, import_node_fs40.mkdirSync)(cacheDir(), { recursive: true });
29434
- return import_node_path38.default.join((0, import_node_fs40.realpathSync)(cacheDir()), "swift-packages", key2, "checkouts");
29433
+ const cache = swiftCacheDir();
29434
+ (0, import_node_fs40.mkdirSync)(cache, { recursive: true });
29435
+ return import_node_path38.default.join((0, import_node_fs40.realpathSync)(cache), "swift-packages", key2, "checkouts");
29435
29436
  }
29436
29437
  var import_node_child_process23, import_node_crypto24, import_node_fs40, import_node_os8, import_node_path38, distributionManifests, distributionCompileViews, REACH_STAGED_FRAMEWORKS, objcEnumerations, clangDeclarationEnumCache, objcEnumForward, sdkDeclarationOwners, swiftInterfaceDeclarations, linkedModuleDigests, compileSurfaces, SWIFT_IMPORT, kleeneNot, kleeneAnd, kleeneOr, NON_IOS_MODULES, importNamesCache, sdkPaths, FOUNDATION_IMPLICIT_MODULES, FRAMEWORK_COMPANION_IMPORT, codeMasks, codeMaskChars, CODE_MASK_CACHE_CHARS, FOUNDATION_NETWORKING_TYPES, FOUNDATION_OVERLAY_TYPES, FOUNDATION_OVERLAY_GLOBALS, CORE_FOUNDATION_OVERLAY_GLOBALS, emptyMacroEnvironment, wasmMacroEnvironment, swiftBinaryOnDisk;
29437
29438
  var init_swift_sdk_surface = __esm({
@@ -29443,7 +29444,6 @@ var init_swift_sdk_surface = __esm({
29443
29444
  import_node_os8 = __toESM(require("node:os"), 1);
29444
29445
  import_node_path38 = __toESM(require("node:path"), 1);
29445
29446
  init_admitted_mac_build();
29446
- init_home_paths();
29447
29447
  init_swift_distribution_contract();
29448
29448
  init_swift_package();
29449
29449
  init_swift_shared_sdk();
@@ -31325,7 +31325,8 @@ async function produceSwiftSdkImage(input) {
31325
31325
  import_node_path42.default.join(directory3, "snapshot"),
31326
31326
  requestFile,
31327
31327
  import_node_path42.default.join(directory3, "delivery"),
31328
- input.frameworkKey
31328
+ input.frameworkKey,
31329
+ process.env.CONTRAST_LAND_CHECK === "1" ? "1" : ""
31329
31330
  ],
31330
31331
  { cwd: repo }
31331
31332
  );
@@ -31413,7 +31414,7 @@ mv "$1.tmp" "$1"
31413
31414
  shift
31414
31415
  export GIT_ALTERNATE_OBJECT_DIRECTORIES="$2/objects"
31415
31416
  set +e
31416
- env -u TM_WINDOW -u TM_WAIT_DEADLINE_MS -u TM_EXEC_OUTER_DEADLINE_MS -u REMOTE_BUILD_DEADLINE -u TM_EXEC_ADMITTED -u LINUX_BUILD_SCOPE -u TM_EXEC_CPU_CORES -u TM_EXEC_LINUX_MEMORY_MAX -u CONTRAST_HEAVY_ADMITTED -u CONTRAST_HEAVY_CPU_CORES tm exec --local --kind build-linux --cores "$1" --timeout 90m --param wait=true --param job-kind=swift-sdk-image --param "source-snapshot=$2" --param "delivery-dir=$4" --param "serial-key=swift-sdk-$5" -- bun scripts/ops/produce-swift-sdk-image.ts "$3" </dev/null
31417
+ env -u TM_WINDOW -u TM_WAIT_DEADLINE_MS -u TM_EXEC_OUTER_DEADLINE_MS -u REMOTE_BUILD_DEADLINE -u TM_EXEC_ADMITTED -u LINUX_BUILD_SCOPE -u TM_EXEC_CPU_CORES -u TM_EXEC_LINUX_MEMORY_MAX -u CONTRAST_HEAVY_ADMITTED -u CONTRAST_HEAVY_CPU_CORES CONTRAST_LAND_CHECK="$6" tm exec --local --kind build-linux --cores "$1" --timeout 90m --param wait=true --param job-kind=swift-sdk-image --param "source-snapshot=$2" --param "delivery-dir=$4" --param "serial-key=swift-sdk-$5" -- bun scripts/ops/produce-swift-sdk-image.ts "$3" </dev/null
31417
31418
  status=$?
31418
31419
  if bun -e 'try { if (JSON.parse(require("node:fs").readFileSync(process.argv[1], "utf8")).released !== true) process.exit(1) } catch { process.exit(1) }' "$4/cleanup.json"; then rm -rf "$2"; fi
31419
31420
  exit "$status"
@@ -35439,9 +35440,9 @@ var init_swift_objc_prebuilt = __esm({
35439
35440
  import_node_path50 = __toESM(require("node:path"), 1);
35440
35441
  init_internal_child_contract();
35441
35442
  init_self_invocation();
35442
- init_home_paths();
35443
35443
  init_native_prebuilt();
35444
35444
  init_swift_objc_prebuilt_catalog();
35445
+ init_swift_toolchain();
35445
35446
  quote2 = (value) => "'" + value.replaceAll("'", "'\\''") + "'";
35446
35447
  }
35447
35448
  });
@@ -41761,7 +41762,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
41761
41762
  REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
41762
41763
  MULTI_MANIFEST_VERSION = 76;
41763
41764
  SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
41764
- compilerSourceDigest = true ? "9e43b96f22759d18028120bf151aaa3545b4a68d9cb280a87e81051893e9eb50" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
41765
+ compilerSourceDigest = true ? "829c0da5595c8616a9a93acdc6f36f11813464ad7d0a9498a748787c5b901499" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
41765
41766
  nativeCxxCompilerFlags = ["-fno-cxx-modules"];
41766
41767
  MODULE_MAP_RESPONSE_FILE_RUN = 16;
41767
41768
  cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
@@ -87856,7 +87857,7 @@ var init_swift_standin_digest = __esm({
87856
87857
  ];
87857
87858
  RUNTIME_IMPORT = /(?:^|[;\n])[ \t]*(?:import|export)\s+(?!type(?:\s|\{))([\s\S]*?)\s+from\s*['"]([^'"]+)['"]|(?:^|[;\n])[ \t]*import\s+['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
87858
87859
  standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS, STANDIN_DIGEST_EXCLUDED_FILES);
87859
- STANDIN_SOURCE_DIGEST = true ? "5ddae8c784aa92fac8a541b367a4e978b8493c2213b935ba97e6dd92b43ad49c" : standinSourceDigest();
87860
+ STANDIN_SOURCE_DIGEST = true ? "449a35ec7ad01659287f7f7e946f273628a81be66730c25860e91a2cca5dbe20" : standinSourceDigest();
87860
87861
  }
87861
87862
  });
87862
87863
 
@@ -92998,7 +92999,7 @@ function cachedBinaryFileDigest(file) {
92998
92999
  const stamp = `${stat.dev}:${stat.ino}:${stat.size}:${stat.mtimeNs}:${stat.ctimeNs}`;
92999
93000
  const memory = binaryFileDigests.get(real);
93000
93001
  if (memory?.stamp === stamp) return memory.digest;
93001
- const dir = import_node_path111.default.join(cacheDir(), "swift-binary-digests");
93002
+ const dir = import_node_path111.default.join(swiftCacheDir(), "swift-binary-digests");
93002
93003
  const record5 = import_node_path111.default.join(dir, `${sha256Hex6(real)}.json`);
93003
93004
  if (import_node_fs109.default.existsSync(record5)) {
93004
93005
  const saved = JSON.parse(import_node_fs109.default.readFileSync(record5, "utf8"));
@@ -93592,7 +93593,7 @@ function prepareXcodeSwiftProducts(app, binaries, moduleRoot) {
93592
93593
  [...providers].map(([name3, file]) => [name3, digest3(import_node_fs109.default.readFileSync(file))])
93593
93594
  )
93594
93595
  };
93595
- const parent = import_node_path111.default.join(cacheDir(), "swift-xcode-products");
93596
+ const parent = import_node_path111.default.join(swiftCacheDir(), "swift-xcode-products");
93596
93597
  import_node_fs109.default.mkdirSync(parent, { recursive: true });
93597
93598
  const key2 = digest3(JSON.stringify(identity2));
93598
93599
  const work = import_node_path111.default.join(parent, key2);
@@ -93930,7 +93931,7 @@ async function prepareXcodeNativeInputs(app, binaries, moduleRoot, purpose) {
93930
93931
  derivations,
93931
93932
  swiftProducts: products?.receipt
93932
93933
  };
93933
- const parent = import_node_path111.default.join(cacheDir(), "swift-objc-implementations");
93934
+ const parent = import_node_path111.default.join(swiftCacheDir(), "swift-objc-implementations");
93934
93935
  import_node_fs109.default.mkdirSync(parent, { recursive: true });
93935
93936
  const key2 = digest3(JSON.stringify(identity2));
93936
93937
  const work = import_node_path111.default.join(parent, key2);
@@ -94295,7 +94296,6 @@ var init_swift_objc_compile = __esm({
94295
94296
  import_node_fs109 = __toESM(require("node:fs"), 1);
94296
94297
  import_node_path111 = __toESM(require("node:path"), 1);
94297
94298
  init_mapLimit();
94298
- init_home_paths();
94299
94299
  init_is_record();
94300
94300
  init_swift_objc_import();
94301
94301
  init_swift_objc_runtime();
@@ -95652,7 +95652,7 @@ function rasterizePdfFiles(inputs2, { imageBytes, imageTotalBytes } = { imageByt
95652
95652
  const rendered = /* @__PURE__ */ new Map();
95653
95653
  const pending2 = /* @__PURE__ */ new Map();
95654
95654
  const renderer = process.platform === "darwin" ? "30774891a9db216d" : "pdfium-1";
95655
- const cache = cacheDir();
95655
+ const cache = swiftCacheDir();
95656
95656
  const cached2 = (sha2565) => import_node_path115.default.join(cache, `swift-pdf-png-${renderer}-${sha2565}.png`);
95657
95657
  let remainingBytes = imageTotalBytes;
95658
95658
  const record5 = ({ file, sha256: sha2565 }, bytes) => {
@@ -95738,7 +95738,7 @@ var init_swift_pdf_raster = __esm({
95738
95738
  import_node_path115 = __toESM(require("node:path"), 1);
95739
95739
  init_internal_child_contract();
95740
95740
  init_self_invocation();
95741
- init_home_paths();
95741
+ init_swift_toolchain();
95742
95742
  RASTER_PDF = `
95743
95743
  ObjC.import('Foundation')
95744
95744
  ObjC.import('CoreGraphics')
@@ -105485,7 +105485,7 @@ async function trunkSpecification(lockFile, root, version2, checksum) {
105485
105485
  if (typeof checksum !== "string" || !/^[a-f0-9]{40}$/.test(checksum))
105486
105486
  throw new Error(`${lockFile}: missing checksum for ${root}`);
105487
105487
  const file = import_node_path124.default.join(
105488
- cacheDir(),
105488
+ swiftCacheDir(),
105489
105489
  "swift-source-pods",
105490
105490
  "specifications",
105491
105491
  `${checksum}.json`
@@ -105628,7 +105628,7 @@ async function collectSwiftSourcePods(lockFile, modules, moduleRoot, headerModul
105628
105628
  Object.entries(specificationChecksums).sort(([a], [b]) => a.localeCompare(b))
105629
105629
  )
105630
105630
  ).digest("hex");
105631
- const work = import_node_path124.default.join(cacheDir(), "swift-source-pods", key2);
105631
+ const work = import_node_path124.default.join(swiftCacheDir(), "swift-source-pods", key2);
105632
105632
  return withSwiftRootLock(work, async () => {
105633
105633
  const ios = import_node_path124.default.join(work, "ios");
105634
105634
  const complete = import_node_path124.default.join(work, "pods-installed");
@@ -105700,12 +105700,12 @@ var init_swift_source_pods = __esm({
105700
105700
  import_node_fs122 = __toESM(require("node:fs"), 1);
105701
105701
  import_node_path124 = __toESM(require("node:path"), 1);
105702
105702
  init_browser();
105703
- init_home_paths();
105704
105703
  init_pod_lockfile();
105705
105704
  init_pods_install();
105706
105705
  init_swift_host();
105707
105706
  init_swift_package();
105708
105707
  init_swift_root_lock();
105708
+ init_swift_toolchain();
105709
105709
  init_xcode_project();
105710
105710
  APP = "PeachPodDependencies";
105711
105711
  record4 = (value) => value !== null && typeof value === "object" && !Array.isArray(value);
@@ -106697,7 +106697,7 @@ var init_nitro_superset = __esm({
106697
106697
  init_nitroContract();
106698
106698
  init_swift_standin_digest();
106699
106699
  NITRO_SUPERSET_ENTRY_NAME = "superset";
106700
- NITRO_COMPILER_DIGEST = true ? "bbe658f7e2c352f47d2e139b1ee4adb8b1944071676dd2de1401c6f637eaf9f6" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
106700
+ NITRO_COMPILER_DIGEST = true ? "26243d019e44fc31d5805948a001484c567d4054a533e6b14989dc30afef6bf5" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
106701
106701
  nitroSupersetLock = parseLock(nitro_superset_lock_default);
106702
106702
  nitroSupersetKey = (inputs2) => nativeEntryKey({ ...inputs2, compiler: NITRO_COMPILER_DIGEST });
106703
106703
  published = /* @__PURE__ */ new Map();
@@ -107677,7 +107677,7 @@ var init_expo_eager_seam_contract = __esm({
107677
107677
 
107678
107678
  // src/expo-native-compiler-digest.ts
107679
107679
  function expoNativeCompilerDigestValue() {
107680
- return true ? "32128bd460028ed060190bfde6d7773aef3938f8c132b90073f8f8fb3daabe41" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
107680
+ return true ? "1ee4157c2e2c2a3239f846f3b0a62feac47c4edd5286649948b76434f927ec66" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
107681
107681
  }
107682
107682
  var import_node_crypto81;
107683
107683
  var init_expo_native_compiler_digest = __esm({
@@ -109324,6 +109324,10 @@ function installSwiftInputTrace() {
109324
109324
  import_node_path137.default.join(cacheDir(), "swift-builds"),
109325
109325
  import_node_path137.default.join(swiftCacheDir(), "swift-builds"),
109326
109326
  import_node_path137.default.join(swiftCacheDir(), "swift-sdk-views"),
109327
+ import_node_path137.default.join(swiftCacheDir(), "swift-binary-digests"),
109328
+ import_node_path137.default.join(swiftCacheDir(), "swift-xcode-products"),
109329
+ import_node_path137.default.join(swiftCacheDir(), "swift-objc-implementations"),
109330
+ import_node_path137.default.join(swiftCacheDir(), "swift-header-case"),
109327
109331
  swiftRootLocksDir(),
109328
109332
  import_node_path137.default.join(cacheDir(), "swift-tmp"),
109329
109333
  // content-addressed records whose reads renew their timestamps for expiry.
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2745 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2747 | (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.2745 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2747 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  RNX_SCREEN_CAPTURE_VERSION,
4
4
  describeInvalidScreenCapture,
@@ -10,8 +10,8 @@ import {
10
10
  rnxRasterFrames,
11
11
  rnxRasterRegionRequests,
12
12
  selectRnxRasterNodeIds
13
- } from "./esm-chunks/chunk-GYUYO4YT.mjs";
14
- import "./esm-chunks/chunk-OCBYCFDU.mjs";
13
+ } from "./esm-chunks/chunk-VFVDWLZL.mjs";
14
+ import "./esm-chunks/chunk-SZAKV76H.mjs";
15
15
  export {
16
16
  RNX_SCREEN_CAPTURE_VERSION,
17
17
  describeInvalidScreenCapture,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2745 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2747 | (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.2745 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2747 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  AGENT_IDENTITY_MAX_CHARS,
4
4
  RNX_CLOUD_ALL_COMMAND_SCOPES,
@@ -31,8 +31,8 @@ import {
31
31
  readRnxLaunchUrl,
32
32
  rnxCloudCommandScope,
33
33
  rnxCloudScopesAllowCommand
34
- } from "./esm-chunks/chunk-MAITHQ5S.mjs";
35
- import "./esm-chunks/chunk-OCBYCFDU.mjs";
34
+ } from "./esm-chunks/chunk-VBVWVPFV.mjs";
35
+ import "./esm-chunks/chunk-SZAKV76H.mjs";
36
36
  export {
37
37
  AGENT_IDENTITY_MAX_CHARS,
38
38
  RNX_CLOUD_ALL_COMMAND_SCOPES,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2745 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2747 | (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,5 +1,5 @@
1
- /*! peach v0.1.2745 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
- import "./esm-chunks/chunk-OCBYCFDU.mjs";
1
+ /*! peach v0.1.2747 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
+ import "./esm-chunks/chunk-SZAKV76H.mjs";
3
3
 
4
4
  // src/cloud-test-args.ts
5
5
  var CLOUD_TEST_ARGS_MAX_COUNT = 32;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2745 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2747 | (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,10 +1,10 @@
1
- /*! peach v0.1.2745 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2747 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  sleep
4
- } from "./esm-chunks/chunk-V6AO52UA.mjs";
4
+ } from "./esm-chunks/chunk-NGFHBDMP.mjs";
5
5
  import {
6
6
  isRnxScreenCapture
7
- } from "./esm-chunks/chunk-GYUYO4YT.mjs";
7
+ } from "./esm-chunks/chunk-VFVDWLZL.mjs";
8
8
  import {
9
9
  RNX_CLOUD_COMMAND_TYPES,
10
10
  RNX_CLOUD_MAX_ARTIFACT_BYTES,
@@ -14,16 +14,16 @@ import {
14
14
  isRnxCloudCommandType,
15
15
  rnxCloudCommandScope,
16
16
  rnxCloudScopesAllowCommand
17
- } from "./esm-chunks/chunk-MAITHQ5S.mjs";
17
+ } from "./esm-chunks/chunk-VBVWVPFV.mjs";
18
18
  import {
19
19
  rnxPublicBrand
20
- } from "./esm-chunks/chunk-57IBEXZ7.mjs";
20
+ } from "./esm-chunks/chunk-DNPF3SJV.mjs";
21
21
  import {
22
22
  isRecord
23
- } from "./esm-chunks/chunk-GYBNX5MY.mjs";
23
+ } from "./esm-chunks/chunk-R5URHHLY.mjs";
24
24
  import {
25
25
  __publicField
26
- } from "./esm-chunks/chunk-OCBYCFDU.mjs";
26
+ } from "./esm-chunks/chunk-SZAKV76H.mjs";
27
27
 
28
28
  // src/backend-origin.ts
29
29
  var NativeURL = globalThis.URL;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2745 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2747 | (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,14 +1,14 @@
1
- /*! peach v0.1.2745 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2747 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  isValidRuntimeVersion
4
- } from "./esm-chunks/chunk-FLEVN7IJ.mjs";
4
+ } from "./esm-chunks/chunk-ZGKZH72O.mjs";
5
5
  import {
6
6
  findBundleFooter
7
- } from "./esm-chunks/chunk-GUSFQUZD.mjs";
7
+ } from "./esm-chunks/chunk-V5QS3LC7.mjs";
8
8
  import {
9
9
  isRecord
10
- } from "./esm-chunks/chunk-GYBNX5MY.mjs";
11
- import "./esm-chunks/chunk-OCBYCFDU.mjs";
10
+ } from "./esm-chunks/chunk-R5URHHLY.mjs";
11
+ import "./esm-chunks/chunk-SZAKV76H.mjs";
12
12
 
13
13
  // src/nativeViewSourceContract.ts
14
14
  function isNativeViewSource(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2745 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2747 | (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;
@@ -10250,17 +10250,15 @@ var device = {
10250
10250
  const snapshots = [];
10251
10251
  const stepToTime = async (targetMs, { sampledRefresh = false, label = "", composite = true } = {}) => {
10252
10252
  let receipt = currentReceipt;
10253
- const nextFrameTime = () => {
10253
+ const nextFrameTime = (afterMs, frameDurationMs = 1e3 / 60) => {
10254
10254
  if (!nativeAnimationClock || producerFirstFrameMs === null)
10255
- return receipt.virtualTimestampMs + (nextFrameDurationMs ?? 1e3 / 60);
10256
- const producerFrame = producerFrames?.find(
10257
- (frame) => frame.deliveryTimeMs > receipt.virtualTimestampMs + 1e-6
10258
- )?.deliveryTimeMs ?? Infinity;
10255
+ return afterMs + frameDurationMs;
10256
+ const producerFrame = producerFrames?.find((frame) => frame.deliveryTimeMs > afterMs + 1e-6)?.deliveryTimeMs ?? Infinity;
10259
10257
  const baselineFrame = driveStart.virtualTimestampMs + (Math.floor(
10260
- (receipt.virtualTimestampMs - driveStart.virtualTimestampMs + 1e-6) / (1e3 / 60)
10258
+ (afterMs - driveStart.virtualTimestampMs + 1e-6) / (1e3 / 60)
10261
10259
  ) + 1) * (1e3 / 60);
10262
10260
  const managerFrame = nativeAnimationClock.frames.find(
10263
- (frame) => driveStart.virtualTimestampMs + frame.callbackTimeMs > receipt.virtualTimestampMs + 1e-6
10261
+ (frame) => driveStart.virtualTimestampMs + frame.callbackTimeMs > afterMs + 1e-6
10264
10262
  );
10265
10263
  return Math.min(
10266
10264
  producerFrame,
@@ -10273,12 +10271,18 @@ var device = {
10273
10271
  `sample time ${targetMs}ms of ${label} precedes the frames already stepped to ${receipt.virtualTimestampMs}ms (anchor ${driveStart.virtualTimestampMs}ms, producer offset ${producerOffsetMs}ms)`
10274
10272
  );
10275
10273
  }
10276
- while (nextFrameTime() <= targetMs + 1e-6) {
10274
+ const frameLimitMs = targetMs + 1e-6;
10275
+ let refreshMs = nextFrameTime(receipt.virtualTimestampMs, nextFrameDurationMs);
10276
+ while (refreshMs <= frameLimitMs) {
10277
+ const sampled = nextFrameTime(refreshMs) > frameLimitMs && (sampledRefresh || targetMs - refreshMs <= 0.01);
10277
10278
  receipt = await controller.stepFrame(
10278
- nextFrameTime() - receipt.virtualTimestampMs,
10279
- { composite }
10279
+ refreshMs - receipt.virtualTimestampMs,
10280
+ {
10281
+ composite: composite && sampled
10282
+ }
10280
10283
  );
10281
10284
  nextFrameDurationMs = void 0;
10285
+ refreshMs = nextFrameTime(receipt.virtualTimestampMs);
10282
10286
  }
10283
10287
  if (!sampledRefresh && targetMs - receipt.virtualTimestampMs > 0.01) {
10284
10288
  receipt = await controller.stepFrame(
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2745 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2747 | (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;