peachsim 0.1.2532 → 0.1.2534

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 (129) hide show
  1. package/detox/index.ts +16 -6
  2. package/dist-lib/agent-daemon-client.cjs +1 -1
  3. package/dist-lib/agent-events.cjs +1 -1
  4. package/dist-lib/attached-projects.cjs +1 -1
  5. package/dist-lib/auth/shared-session.cjs +1 -1
  6. package/dist-lib/backend-origin.cjs +1 -1
  7. package/dist-lib/beta.cjs +1 -1
  8. package/dist-lib/beta.mjs +2 -2
  9. package/dist-lib/bridge-constants.cjs +1 -1
  10. package/dist-lib/bridge-contract-input.cjs +1 -1
  11. package/dist-lib/bridge-contract-input.mjs +5 -5
  12. package/dist-lib/bridge-contract.cjs +1 -1
  13. package/dist-lib/bridge-contract.mjs +3 -3
  14. package/dist-lib/bundle-channel.cjs +63 -9
  15. package/dist-lib/capture-contract.cjs +1 -1
  16. package/dist-lib/capture-contract.mjs +3 -3
  17. package/dist-lib/cloud-contract.cjs +1 -1
  18. package/dist-lib/cloud-contract.mjs +3 -3
  19. package/dist-lib/cloud-test-args.cjs +1 -1
  20. package/dist-lib/cloud-test-args.mjs +2 -2
  21. package/dist-lib/cloud.cjs +1 -1
  22. package/dist-lib/cloud.mjs +7 -7
  23. package/dist-lib/config.cjs +1 -1
  24. package/dist-lib/config.mjs +5 -5
  25. package/dist-lib/detox/index.cjs +9 -6
  26. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  27. package/dist-lib/esm-chunks/{acorn-TZ5PF3KN.mjs → acorn-GB67SLNU.mjs} +3 -3
  28. package/dist-lib/esm-chunks/{chunk-42SSRZYU.mjs → chunk-2PUDNDU7.mjs} +1 -1
  29. package/dist-lib/esm-chunks/{chunk-ZHGKXGBN.mjs → chunk-65RCRIMW.mjs} +1 -1
  30. package/dist-lib/esm-chunks/{chunk-5QYIUNH4.mjs → chunk-6EGZPYF5.mjs} +1 -1
  31. package/dist-lib/esm-chunks/{chunk-ID63CARL.mjs → chunk-75RKEQ6M.mjs} +4 -4
  32. package/dist-lib/esm-chunks/{chunk-J4BQEGDW.mjs → chunk-AW5DPA3H.mjs} +1 -1
  33. package/dist-lib/esm-chunks/{chunk-JBDDB6NG.mjs → chunk-CAIVF3PI.mjs} +3 -3
  34. package/dist-lib/esm-chunks/{chunk-XS6UNGOO.mjs → chunk-EKZXXZNX.mjs} +1 -1
  35. package/dist-lib/esm-chunks/{chunk-5MPQROQI.mjs → chunk-GPA3KEFG.mjs} +1 -1
  36. package/dist-lib/esm-chunks/{chunk-CLSNUKAZ.mjs → chunk-GUX4YTIU.mjs} +1 -1
  37. package/dist-lib/esm-chunks/{chunk-UHYLBEKZ.mjs → chunk-HXSB45EC.mjs} +1 -1
  38. package/dist-lib/esm-chunks/{chunk-2XASNK6T.mjs → chunk-KNOHRPR5.mjs} +1 -1
  39. package/dist-lib/esm-chunks/{chunk-ZZ6DQAJY.mjs → chunk-KORHX5QS.mjs} +1 -1
  40. package/dist-lib/esm-chunks/{chunk-2MKQPSDN.mjs → chunk-LZ76GN6Q.mjs} +1 -1
  41. package/dist-lib/esm-chunks/{chunk-NCQGQ6PA.mjs → chunk-NIZ6J346.mjs} +1 -1
  42. package/dist-lib/esm-chunks/{chunk-IOTWFHYU.mjs → chunk-RUPB6BBQ.mjs} +27 -15
  43. package/dist-lib/esm-chunks/{chunk-YGCMYVJ5.mjs → chunk-UWAHIEUH.mjs} +5 -5
  44. package/dist-lib/esm-chunks/{chunk-O6O4F2TV.mjs → chunk-W2E3WW5J.mjs} +1 -1
  45. package/dist-lib/esm-chunks/{chunk-Q3P3TYU7.mjs → chunk-W5QP7KUQ.mjs} +5 -5
  46. package/dist-lib/esm-chunks/{chunk-6NED5Q2N.mjs → chunk-WXRYCPQZ.mjs} +1 -1
  47. package/dist-lib/esm-chunks/{chunk-AWTELPIZ.mjs → chunk-XPTK6MCE.mjs} +1 -1
  48. package/dist-lib/esm-chunks/{chunk-G5BCU5ZO.mjs → chunk-YVLL46OY.mjs} +2 -2
  49. package/dist-lib/esm-chunks/{metro-layout-parser-QE6OG7ST.mjs → metro-layout-parser-DRSCLVZZ.mjs} +3 -3
  50. package/dist-lib/esm-chunks/{swift-package-prebuilt-GSQHH7HN.mjs → swift-package-prebuilt-V5BV4JOC.mjs} +10 -10
  51. package/dist-lib/esm-chunks/{swift-sdk-app-module-Y6SPJUF6.mjs → swift-sdk-app-module-IF4ZL6UH.mjs} +13 -13
  52. package/dist-lib/esm-chunks/{swift-sdk-image-RLJ2JW6P.mjs → swift-sdk-image-L7IJHF2J.mjs} +13 -13
  53. package/dist-lib/esm-chunks/{swift-sdk-image-producer-YOUR3PUP.mjs → swift-sdk-image-producer-NLBMGMMU.mjs} +4 -4
  54. package/dist-lib/expo-swift-bundle.cjs +62 -8
  55. package/dist-lib/expo-swift-metadata.cjs +1 -1
  56. package/dist-lib/expo-swift-metadata.mjs +7 -7
  57. package/dist-lib/home-paths.cjs +1 -1
  58. package/dist-lib/host/bridge-host.cjs +63 -9
  59. package/dist-lib/host/fetch-proxy-handler.cjs +5 -5
  60. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  61. package/dist-lib/host/fetch-proxy-overrides.mjs +2 -2
  62. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  63. package/dist-lib/host/websocket-proxy.cjs +1 -1
  64. package/dist-lib/index.cjs +1 -1
  65. package/dist-lib/kotlin-host.cjs +1 -1
  66. package/dist-lib/menu.cjs +1 -1
  67. package/dist-lib/menu.mjs +3 -3
  68. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  69. package/dist-lib/metro-fingerprint-registry.mjs +3 -3
  70. package/dist-lib/metro-production-bundle.cjs +1 -1
  71. package/dist-lib/metro-production-bundle.mjs +4 -4
  72. package/dist-lib/native-app-identity-project.cjs +2 -2
  73. package/dist-lib/native-app-identity-project.mjs +15 -15
  74. package/dist-lib/native-app-identity.cjs +1 -1
  75. package/dist-lib/native-app-identity.mjs +6 -6
  76. package/dist-lib/native-firebase-metadata.cjs +1 -1
  77. package/dist-lib/native-firebase-metadata.mjs +3 -3
  78. package/dist-lib/pdfium-raster.cjs +1 -1
  79. package/dist-lib/pdfium-raster.mjs +2 -2
  80. package/dist-lib/plist.cjs +1 -1
  81. package/dist-lib/plist.mjs +3 -3
  82. package/dist-lib/profiles.cjs +1 -1
  83. package/dist-lib/public-brand.cjs +1 -1
  84. package/dist-lib/public-origins-lib-esm.json +79 -79
  85. package/dist-lib/public-origins-lib.json +69 -69
  86. package/dist-lib/react-native-host-modules.cjs +1 -1
  87. package/dist-lib/react-native-host-modules.mjs +2 -2
  88. package/dist-lib/reap-browser.cjs +1 -1
  89. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  90. package/dist-lib/sdk.cjs +1 -1
  91. package/dist-lib/sdk.mjs +7 -7
  92. package/dist-lib/skills.cjs +63 -9
  93. package/dist-lib/swift-compile.cjs +16 -4
  94. package/dist-lib/swift-compile.mjs +10 -10
  95. package/dist-lib/swift-package.cjs +1 -1
  96. package/dist-lib/swift-package.mjs +3 -3
  97. package/dist-lib/swift-submit.cjs +1 -1
  98. package/dist-lib/swift-submit.mjs +5 -5
  99. package/dist-lib/swift-svg-raster.cjs +1 -1
  100. package/dist-lib/swift-svg-raster.mjs +2 -2
  101. package/dist-lib/swift-toolchain.cjs +1 -1
  102. package/dist-lib/swift.cjs +1 -1
  103. package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
  104. package/dist-lib/vendor/@ruby/prism/src/nodes.js.cjs +1 -1
  105. package/dist-lib/vendor/@ruby/prism/src/parsePrism.js.cjs +1 -1
  106. package/dist-lib/vendor/@xmldom/xmldom.cjs +1 -1
  107. package/dist-lib/vendor/acorn.cjs +1 -1
  108. package/dist-lib/vendor/bplist-parser.cjs +1 -1
  109. package/dist-lib/vendor/ignore.cjs +1 -1
  110. package/dist-lib/vendor/magic-string.cjs +1 -1
  111. package/dist-lib/vendor/plist.cjs +1 -1
  112. package/dist-lib/vendor/smol-toml.cjs +1 -1
  113. package/dist-lib/vendor/stream-json.cjs +1 -1
  114. package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
  115. package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
  116. package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
  117. package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
  118. package/dist-lib/vendor/sucrase.cjs +1 -1
  119. package/dist-lib/vendor/terser.cjs +1 -1
  120. package/dist-lib/vendor/valibot.cjs +1 -1
  121. package/dist-lib/vendor/ws.cjs +1 -1
  122. package/dist-lib/vendor/zod.cjs +1 -1
  123. package/dist-lib/worklet-executable.cjs +1 -1
  124. package/dist-lib/worklet-executable.mjs +3 -3
  125. package/dist-types/packages/peach-engine/src/engine/native-layout.d.ts +1 -0
  126. package/kotlin/sdk.tar.gz +0 -0
  127. package/package.json +1 -1
  128. package/src/swift-compile.ts +18 -2
  129. package/src/turbo-source.ts +43 -1
package/detox/index.ts CHANGED
@@ -2967,8 +2967,8 @@ export const device = {
2967
2967
  nativeAnimationClock?: NativeScreenTransitionClock
2968
2968
  nativeProducerFrames?: FrameProducerClockSample[]
2969
2969
  }
2970
- // witnessed input replays native delivered times and samples the
2971
- // declared offsets directly, as the native lane does.
2970
+ // witnessed input replays the native delivery and commit clocks even
2971
+ // when stage offsets measure from a later visible onset.
2972
2972
  witnessedInput?: boolean
2973
2973
  rootFrame?: { height: number; width: number; x: number; y: number } | null
2974
2974
  settleMs?: number
@@ -3012,6 +3012,7 @@ export const device = {
3012
3012
  minimumChangePercent: number
3013
3013
  rootFrame: { height: number; width: number; x: number; y: number } | null
3014
3014
  totalPixels: number
3015
+ touchToOnsetMs?: number
3015
3016
  frameIndex: number
3016
3017
  virtualTimestampMs: number
3017
3018
  } | null
@@ -3161,6 +3162,7 @@ export const device = {
3161
3162
  frameIndex: number
3162
3163
  minimumChangePercent: number
3163
3164
  totalPixels: number
3165
+ touchToOnsetMs?: number
3164
3166
  virtualTimestampMs: number
3165
3167
  } | null
3166
3168
  }> = page.evaluate(
@@ -3516,7 +3518,10 @@ export const device = {
3516
3518
  label: 'SootSim visible-change detector',
3517
3519
  width: bounds.width,
3518
3520
  })
3519
- if (measurement.passedMinimum) {
3521
+ if (
3522
+ measurement.passedMinimum &&
3523
+ (!input.witnessedInput || releaseReceipt())
3524
+ ) {
3520
3525
  previousBitmap?.close()
3521
3526
  previousBitmap = null
3522
3527
  visibleStart = receipt
@@ -3919,7 +3924,8 @@ export const device = {
3919
3924
  Boolean(input.producerWitness || input.witnessedInput || input.hold) &&
3920
3925
  !(
3921
3926
  input.witnessedInput &&
3922
- driveStart.virtualTimestampMs + holdScheduleMs.at(-1)! <= targetMs
3927
+ controller.initialFrame.virtualTimestampMs + holdScheduleMs.at(-1)! <=
3928
+ targetMs
3923
3929
  )
3924
3930
  let receipt = await stepToTime(targetMs, sampledRefresh, stage.label)
3925
3931
  // the simulator composites a touch's commit between refreshes, so the
@@ -3932,7 +3938,7 @@ export const device = {
3932
3938
  if (shown !== undefined && controller.inputReceipts.length < shown) {
3933
3939
  receipt = await controller.flushFrame({
3934
3940
  inputThroughMs:
3935
- driveStart.virtualTimestampMs + holdScheduleMs[shown - 1]!,
3941
+ controller.initialFrame.virtualTimestampMs + holdScheduleMs[shown - 1]!,
3936
3942
  })
3937
3943
  currentReceipt = receipt
3938
3944
  }
@@ -4299,6 +4305,9 @@ export const device = {
4299
4305
  throw new Error('guest producer did not follow its witnessed frame clock')
4300
4306
  producerFrameWitness = entry
4301
4307
  }
4308
+ const baselineTimeMs = controller.initialFrame.virtualTimestampMs
4309
+ const onsetElapsedMs =
4310
+ (visibleStart?.virtualTimestampMs ?? baselineTimeMs) - baselineTimeMs
4302
4311
  return {
4303
4312
  workletFirstDelivery: stats
4304
4313
  ? {
@@ -4320,7 +4329,7 @@ export const device = {
4320
4329
  visibleChangeDetection:
4321
4330
  visibleStart && detectedMeasurement
4322
4331
  ? {
4323
- actualMs: (visibleStart.frameIndex * 1000) / 60,
4332
+ actualMs: onsetElapsedMs,
4324
4333
  changedPixelPercent: detectedMeasurement.changePercent,
4325
4334
  changedPixels: detectedMeasurement.changePixels,
4326
4335
  channelThreshold: input.motionChangeDefinition.channelThreshold,
@@ -4328,6 +4337,7 @@ export const device = {
4328
4337
  totalPixels: detectedMeasurement.totalPixels,
4329
4338
  frameIndex: visibleStart.frameIndex,
4330
4339
  virtualTimestampMs: visibleStart.virtualTimestampMs,
4340
+ ...(input.witnessedInput ? { touchToOnsetMs: onsetElapsedMs } : {}),
4331
4341
  }
4332
4342
  : null,
4333
4343
  }
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2532 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2534 | (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.2532 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2534 | (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.2532 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2534 | (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.2532 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2534 | (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.2532 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2534 | (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.2532 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2534 | (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.2532 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
- import "./esm-chunks/chunk-J4BQEGDW.mjs";
1
+ /*! peach v0.1.2534 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
+ import "./esm-chunks/chunk-AW5DPA3H.mjs";
3
3
 
4
4
  // src/beta.ts
5
5
  var IS_BETA = true;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2532 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2534 | (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.2532 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2534 | (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.2532 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2534 | (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-JBDDB6NG.mjs";
21
- import "./esm-chunks/chunk-2XASNK6T.mjs";
22
- import "./esm-chunks/chunk-5QYIUNH4.mjs";
23
- import "./esm-chunks/chunk-J4BQEGDW.mjs";
20
+ } from "./esm-chunks/chunk-CAIVF3PI.mjs";
21
+ import "./esm-chunks/chunk-KNOHRPR5.mjs";
22
+ import "./esm-chunks/chunk-6EGZPYF5.mjs";
23
+ import "./esm-chunks/chunk-AW5DPA3H.mjs";
24
24
  export {
25
25
  BridgeInputError,
26
26
  SEMANTIC_WAIT_MAX_TIMEOUT_MS,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2532 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2534 | (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.2532 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2534 | (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-2XASNK6T.mjs";
17
- import "./esm-chunks/chunk-J4BQEGDW.mjs";
16
+ } from "./esm-chunks/chunk-KNOHRPR5.mjs";
17
+ import "./esm-chunks/chunk-AW5DPA3H.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.2532 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2534 | (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;
@@ -39104,7 +39104,11 @@ async function runCompiler(command, args, options2, stream = false, quiet) {
39104
39104
  signal?.throwIfAborted();
39105
39105
  const launch = {
39106
39106
  cwd: options2.cwd,
39107
- env: { ...swiftEnvironment(options2.env), ...options2.confined },
39107
+ env: {
39108
+ ...swiftEnvironment(options2.env),
39109
+ ...options2.temporaryDirectory ? { TMPDIR: options2.temporaryDirectory } : {},
39110
+ ...options2.confined
39111
+ },
39108
39112
  uid: options2.uid,
39109
39113
  gid: options2.gid,
39110
39114
  detached: true,
@@ -44426,12 +44430,17 @@ sdk module ${sdkImage.key}`).digest("hex") : sourceHash;
44426
44430
  compiler.PEACH_SWIFTC = import_node_path52.default.join(options2.toolchainBin, "swiftc");
44427
44431
  }
44428
44432
  const projectProcess = options2.project ? prepareSwiftProjectProcess(root, options2.project) : void 0;
44433
+ const temporaryDirectory = projectProcess ? void 0 : import_node_path52.default.join(root, ".build", "peach-compiler-tmp");
44429
44434
  const appOptions = projectProcess ? {
44430
44435
  ...buildOptions,
44431
44436
  uid: projectProcess.uid,
44432
44437
  gid: projectProcess.gid,
44433
44438
  confined: { ...projectProcess.env, ...compiler }
44434
- } : { ...buildOptions, env: { ...buildOptions.env, ...compiler } };
44439
+ } : {
44440
+ ...buildOptions,
44441
+ temporaryDirectory,
44442
+ env: { ...buildOptions.env, ...compiler }
44443
+ };
44435
44444
  const unprepared = preparation.targetFailures.map(
44436
44445
  (failure2) => `error: target ${failure2}`
44437
44446
  );
@@ -44725,6 +44734,7 @@ sdk module ${sdkImage.key}`).digest("hex") : sourceHash;
44725
44734
  runApp
44726
44735
  ) : runApp();
44727
44736
  try {
44737
+ if (temporaryDirectory) (0, import_node_fs53.mkdirSync)(temporaryDirectory, { recursive: true });
44728
44738
  await compileApp();
44729
44739
  } catch (error) {
44730
44740
  const output2 = outputOf(error);
@@ -44757,6 +44767,8 @@ sdk module ${sdkImage.key}`).digest("hex") : sourceHash;
44757
44767
  );
44758
44768
  }
44759
44769
  } finally {
44770
+ if (temporaryDirectory)
44771
+ (0, import_node_fs53.rmSync)(temporaryDirectory, { recursive: true, force: true });
44760
44772
  if (options2.project) endSwiftProjectProcesses(options2.project);
44761
44773
  }
44762
44774
  if (unprepared.length) throw new Error(unprepared.join("\n"));
@@ -45116,7 +45128,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
45116
45128
  REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
45117
45129
  MULTI_MANIFEST_VERSION = 76;
45118
45130
  SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
45119
- compilerSourceDigest = true ? "b7aa9066a364228922879c080f57036fb8de90c0ca5b7ad84255f5466b91cfc5" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
45131
+ compilerSourceDigest = true ? "adb515f9946182c8d5bc35b2ffeb4698734e2cdf1baad88e2e2d2bf4ea442b24" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
45120
45132
  nativeCxxCompilerFlags = ["-fno-cxx-modules"];
45121
45133
  MODULE_MAP_RESPONSE_FILE_RUN = 16;
45122
45134
  cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
@@ -85551,7 +85563,7 @@ var init_swift_standin_digest = __esm({
85551
85563
  STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
85552
85564
  SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
85553
85565
  standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
85554
- STANDIN_SOURCE_DIGEST = true ? "be20560a468d2ee5d36d79fbde6a1907b8d97f72cba8352d139716d1624eea6b" : standinSourceDigest();
85566
+ STANDIN_SOURCE_DIGEST = true ? "3c0d3091fecc74c357d2001cc5200e0f35cd0bd9e211202c2ea5e93c1c5ecdf1" : standinSourceDigest();
85555
85567
  }
85556
85568
  });
85557
85569
 
@@ -98117,6 +98129,9 @@ struct PeachFabricView {
98117
98129
  };
98118
98130
  PeachFabricComponents *fabricComponents;
98119
98131
  RCTComponentViewRegistry *fabricRegistry;
98132
+ // RCTMountingManager notifies the views that observe its transactions
98133
+ RCTMountingTransactionObserverCoordinator fabricObservers;
98134
+ react::MountingTransaction::Number fabricTransactions = 0;
98120
98135
  std::shared_ptr<react::ContextContainer> fabricContext;
98121
98136
  react::ComponentDescriptorRegistry::Shared fabricDescriptors;
98122
98137
  std::shared_ptr<react::CallInvoker> fabricInvoker;
@@ -98666,6 +98681,7 @@ ${paper ? ` // the interop's state carries its coordinator, which only the sh
98666
98681
  ` : ""} family->getEventEmitter()->setEnabled(true);
98667
98682
  UIView<RCTComponentViewProtocol> *componentView =
98668
98683
  [fabricRegistry dequeueComponentViewWithComponentHandle:view.handle tag:tag].view;
98684
+ fabricObservers.registerViewComponentDescriptor([fabricRegistry componentViewDescriptorWithTag:tag], -1);
98669
98685
  UIView *slotView = [[UIView alloc] initWithFrame:CGRectZero];
98670
98686
  slotView.clipsToBounds = NO;
98671
98687
  slotView.opaque = NO;
@@ -98738,6 +98754,7 @@ ${paper ? ` // the interop's state carries its coordinator, which only the sh
98738
98754
  }
98739
98755
  view.family->getEventEmitter()->setEnabled(false);
98740
98756
  RCTComponentViewDescriptor descriptor = [fabricRegistry componentViewDescriptorWithTag:tag];
98757
+ fabricObservers.unregisterViewComponentDescriptor(descriptor, -1);
98741
98758
  for (const auto &[hostId, viewTag] : fabricTagAliases) {
98742
98759
  if (viewTag != tag) continue;
98743
98760
  detachFabricChildren(hostId);
@@ -98813,6 +98830,37 @@ ${paper ? ` // the interop's state carries its coordinator, which only the sh
98813
98830
  auto desired = next.find(parent);
98814
98831
  if (desired == next.end() || previous != desired->second) changedParents.push_back(parent);
98815
98832
  }
98833
+ // the mutations RCTMountingManager hands the views observing its
98834
+ // transactions, such as a stack that pushes the screens mounted into it
98835
+ react::ShadowViewMutationList mutations;
98836
+ auto shadow = [](UIView *view) {
98837
+ react::ShadowView shadow;
98838
+ shadow.tag = static_cast<react::Tag>(view.tag);
98839
+ return shadow;
98840
+ };
98841
+ for (int parent : changedParents) {
98842
+ const auto &previous = fabricChildren.at(parent);
98843
+ const auto parentTag = static_cast<react::Tag>(fabricPeers.at(parent).tag);
98844
+ for (size_t index = previous.size(); index > 0; --index)
98845
+ mutations.push_back(react::ShadowViewMutation::RemoveMutation(
98846
+ parentTag, shadow(fabricPeers.at(previous[index - 1])), static_cast<int>(index - 1)));
98847
+ }
98848
+ for (const auto &[id, peer] : fabricPeers)
98849
+ if (!active.count(id) && peer.tag) mutations.push_back(react::ShadowViewMutation::DeleteMutation(shadow(peer)));
98850
+ for (const auto &[id, children] : next) {
98851
+ auto mounted = fabricChildren.find(id);
98852
+ if (mounted != fabricChildren.end() && mounted->second == children) continue;
98853
+ const auto parentTag = static_cast<react::Tag>(fabricPeers.at(id).tag);
98854
+ for (size_t index = 0; index < children.size(); ++index)
98855
+ mutations.push_back(react::ShadowViewMutation::InsertMutation(
98856
+ parentTag, shadow(fabricPeers.at(children[index])), static_cast<int>(index)));
98857
+ }
98858
+ std::optional<react::MountingTransaction> transaction;
98859
+ const react::SurfaceTelemetry telemetry;
98860
+ if (!mutations.empty()) {
98861
+ transaction.emplace(-1, ++fabricTransactions, std::move(mutations), react::TransactionTelemetry{});
98862
+ fabricObservers.notifyObserversMountingTransactionWillMount(*transaction, telemetry);
98863
+ }
98816
98864
  for (int parent : changedParents) detachFabricChildren(parent);
98817
98865
  for (auto it = fabricPeers.begin(); it != fabricPeers.end();) {
98818
98866
  if (active.count(it->first)) ++it;
@@ -98837,6 +98885,7 @@ ${paper ? ` // the interop's state carries its coordinator, which only the sh
98837
98885
  }
98838
98886
  fabricChildren[id] = std::move(desired->second);
98839
98887
  }
98888
+ if (transaction) fabricObservers.notifyObserversMountingTransactionDidMount(*transaction, telemetry);
98840
98889
  for (int id : roots) [fabricPeers.at(id) layoutIfNeeded];
98841
98890
  std::vector<jsi::Value> results;
98842
98891
  for (int hostId : active) {
@@ -98878,7 +98927,7 @@ ${paper ? ` // the interop's state carries its coordinator, which only the sh
98878
98927
  method("readOffsets", 0, [](jsi::Runtime &rt, const jsi::Value &, const jsi::Value *, size_t) -> jsi::Value {
98879
98928
  applyFabricFocus();
98880
98929
  std::vector<double> packed;
98881
- packed.reserve(fabricViews.size() * 3 + 3);
98930
+ packed.reserve(fabricViews.size() * 4 + 4);
98882
98931
  for (const auto &entry : fabricViews) {
98883
98932
  int tag = entry.first;
98884
98933
  UIView<RCTComponentViewProtocol> *componentView = [fabricRegistry componentViewDescriptorWithTag:tag].view;
@@ -98890,6 +98939,9 @@ ${paper ? ` // the interop's state carries its coordinator, which only the sh
98890
98939
  packed.push_back(static_cast<double>(tag));
98891
98940
  packed.push_back(dx);
98892
98941
  packed.push_back(dy);
98942
+ // a view its native parent took out of the window draws nothing, as
98943
+ // UINavigationController does to a covered screen
98944
+ packed.push_back(componentView._peachDrawsInFabricSlot && !componentView.window ? 0.0 : 1.0);
98893
98945
  }
98894
98946
  UIWindow *kw = UIApplication.sharedApplication.keyWindow ?: RCTKeyWindow();
98895
98947
  UIView *rootView = kw ? kw.rootViewController.viewIfLoaded : nil;
@@ -98898,6 +98950,7 @@ ${paper ? ` // the interop's state carries its coordinator, which only the sh
98898
98950
  packed.push_back(0.0);
98899
98951
  packed.push_back(rootFrame.origin.x);
98900
98952
  packed.push_back(rootFrame.origin.y);
98953
+ packed.push_back(1.0);
98901
98954
  jsi::Array out(rt, packed.size());
98902
98955
  for (size_t i = 0; i < packed.size(); i++) {
98903
98956
  out.setValueAtIndex(rt, i, jsi::Value(packed[i]));
@@ -99136,6 +99189,7 @@ class JsCallInvoker final : public react::CallInvoker {
99136
99189
  #import <React/RCTComponentViewFactory.h>
99137
99190
  #import <React/RCTComponentViewProtocol.h>
99138
99191
  #import <React/RCTComponentViewRegistry.h>
99192
+ #import <React/RCTMountingTransactionObserverCoordinator.h>
99139
99193
  #import <React/RCTViewComponentView.h>
99140
99194
  #import <ReactCommon/RCTTurboModule.h>
99141
99195
  #include <ReactCommon/CallInvoker.h>
@@ -100455,7 +100509,7 @@ var init_react_native_core = __esm({
100455
100509
  init_swift_distribution();
100456
100510
  init_swift_package();
100457
100511
  init_swiftContract();
100458
- recipe = true ? "b82a829c3491cbd76f8e400906349226a7ee455970ef249f9c41adc87541e84b" : reactNativeCoreDigest(__sootsim_import_meta_dirname);
100512
+ recipe = true ? "4b5808b540a8d1bfc9b2e82932f6ace09685eb41f7c377b580eda3da84c865d3" : reactNativeCoreDigest(__sootsim_import_meta_dirname);
100459
100513
  strings3 = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
100460
100514
  building = /* @__PURE__ */ new Map();
100461
100515
  }
@@ -101675,7 +101729,7 @@ var init_nitro_superset = __esm({
101675
101729
  init_nitroContract();
101676
101730
  init_swift_standin_digest();
101677
101731
  NITRO_SUPERSET_ENTRY_NAME = "superset";
101678
- NITRO_COMPILER_DIGEST = true ? "2b1e914e9850db8013c67cf7a8b6a970c630d972564e5f41e95f31f4741eac16" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
101732
+ NITRO_COMPILER_DIGEST = true ? "b05cb9cc96801743a91db95fbb6cd740b4e2ddd8c4e62c506df3caa5a91fa507" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
101679
101733
  nitroSupersetLock = parseLock(nitro_superset_lock_default);
101680
101734
  nitroSupersetKey = (inputs2) => nativeEntryKey({ ...inputs2, compiler: NITRO_COMPILER_DIGEST });
101681
101735
  published = /* @__PURE__ */ new Map();
@@ -102542,7 +102596,7 @@ var init_expo_eager_seam_contract = __esm({
102542
102596
 
102543
102597
  // src/expo-native-compiler-digest.ts
102544
102598
  function expoNativeCompilerDigestValue() {
102545
- return true ? "6ae403511f84eba5c83f122d113a783f85d9a84f0d9244f0417c74ac2653b21d" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
102599
+ return true ? "7dc2dd50bdd4ad24011b4dab9032bcb7adbe0d573ffd5a0fb7110e6a0aa8c385" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
102546
102600
  }
102547
102601
  var import_node_crypto77;
102548
102602
  var init_expo_native_compiler_digest = __esm({
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2532 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2534 | (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.2532 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2534 | (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-NCQGQ6PA.mjs";
14
- import "./esm-chunks/chunk-J4BQEGDW.mjs";
13
+ } from "./esm-chunks/chunk-NIZ6J346.mjs";
14
+ import "./esm-chunks/chunk-AW5DPA3H.mjs";
15
15
  export {
16
16
  RNX_SCREEN_CAPTURE_VERSION,
17
17
  describeInvalidScreenCapture,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2532 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2534 | (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.2532 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2534 | (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-XS6UNGOO.mjs";
35
- import "./esm-chunks/chunk-J4BQEGDW.mjs";
34
+ } from "./esm-chunks/chunk-EKZXXZNX.mjs";
35
+ import "./esm-chunks/chunk-AW5DPA3H.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.2532 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2534 | (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.2532 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
- import "./esm-chunks/chunk-J4BQEGDW.mjs";
1
+ /*! peach v0.1.2534 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
+ import "./esm-chunks/chunk-AW5DPA3H.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.2532 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2534 | (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.2532 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2534 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  sleep
4
- } from "./esm-chunks/chunk-ZZ6DQAJY.mjs";
4
+ } from "./esm-chunks/chunk-KORHX5QS.mjs";
5
5
  import {
6
6
  isRnxScreenCapture
7
- } from "./esm-chunks/chunk-NCQGQ6PA.mjs";
7
+ } from "./esm-chunks/chunk-NIZ6J346.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-XS6UNGOO.mjs";
17
+ } from "./esm-chunks/chunk-EKZXXZNX.mjs";
18
18
  import {
19
19
  rnxPublicBrand
20
- } from "./esm-chunks/chunk-AWTELPIZ.mjs";
20
+ } from "./esm-chunks/chunk-XPTK6MCE.mjs";
21
21
  import {
22
22
  isRecord
23
- } from "./esm-chunks/chunk-5QYIUNH4.mjs";
23
+ } from "./esm-chunks/chunk-6EGZPYF5.mjs";
24
24
  import {
25
25
  __publicField
26
- } from "./esm-chunks/chunk-J4BQEGDW.mjs";
26
+ } from "./esm-chunks/chunk-AW5DPA3H.mjs";
27
27
 
28
28
  // src/backend-origin.ts
29
29
  var NativeURL = globalThis.URL;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2532 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2534 | (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.2532 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2534 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  isValidRuntimeVersion
4
- } from "./esm-chunks/chunk-42SSRZYU.mjs";
4
+ } from "./esm-chunks/chunk-2PUDNDU7.mjs";
5
5
  import {
6
6
  findBundleFooter
7
- } from "./esm-chunks/chunk-ZHGKXGBN.mjs";
7
+ } from "./esm-chunks/chunk-65RCRIMW.mjs";
8
8
  import {
9
9
  isRecord
10
- } from "./esm-chunks/chunk-5QYIUNH4.mjs";
11
- import "./esm-chunks/chunk-J4BQEGDW.mjs";
10
+ } from "./esm-chunks/chunk-6EGZPYF5.mjs";
11
+ import "./esm-chunks/chunk-AW5DPA3H.mjs";
12
12
 
13
13
  // src/nativeViewSourceContract.ts
14
14
  function isNativeViewSource(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2532 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2534 | (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;
@@ -13359,7 +13359,7 @@ var device = {
13359
13359
  label: "SootSim visible-change detector",
13360
13360
  width: bounds.width
13361
13361
  });
13362
- if (measurement.passedMinimum) {
13362
+ if (measurement.passedMinimum && (!input.witnessedInput || releaseReceipt())) {
13363
13363
  previousBitmap?.close();
13364
13364
  previousBitmap = null;
13365
13365
  visibleStart = receipt;
@@ -13646,7 +13646,7 @@ var device = {
13646
13646
  return receipt;
13647
13647
  };
13648
13648
  const sampleAt = async (stage, anchorReceipt, anchorId, targetMs) => {
13649
- const sampledRefresh = Boolean(input.producerWitness || input.witnessedInput || input.hold) && !(input.witnessedInput && driveStart.virtualTimestampMs + holdScheduleMs.at(-1) <= targetMs);
13649
+ const sampledRefresh = Boolean(input.producerWitness || input.witnessedInput || input.hold) && !(input.witnessedInput && controller.initialFrame.virtualTimestampMs + holdScheduleMs.at(-1) <= targetMs);
13650
13650
  let receipt = await stepToTime(targetMs, sampledRefresh, stage.label);
13651
13651
  const shown = input.witnessedInput ? stage.nativeTouchesShown : void 0;
13652
13652
  if (shown !== void 0 && controller.inputReceipts.length > shown)
@@ -13655,7 +13655,7 @@ var device = {
13655
13655
  );
13656
13656
  if (shown !== void 0 && controller.inputReceipts.length < shown) {
13657
13657
  receipt = await controller.flushFrame({
13658
- inputThroughMs: driveStart.virtualTimestampMs + holdScheduleMs[shown - 1]
13658
+ inputThroughMs: controller.initialFrame.virtualTimestampMs + holdScheduleMs[shown - 1]
13659
13659
  });
13660
13660
  currentReceipt = receipt;
13661
13661
  }
@@ -13932,6 +13932,8 @@ var device = {
13932
13932
  throw new Error("guest producer did not follow its witnessed frame clock");
13933
13933
  producerFrameWitness = entry;
13934
13934
  }
13935
+ const baselineTimeMs = controller.initialFrame.virtualTimestampMs;
13936
+ const onsetElapsedMs = (visibleStart?.virtualTimestampMs ?? baselineTimeMs) - baselineTimeMs;
13935
13937
  return {
13936
13938
  workletFirstDelivery: stats ? {
13937
13939
  first: stats.nativeFrameFirstTimestampMs,
@@ -13949,14 +13951,15 @@ var device = {
13949
13951
  },
13950
13952
  frames: snapshots.map(encode),
13951
13953
  visibleChangeDetection: visibleStart && detectedMeasurement ? {
13952
- actualMs: visibleStart.frameIndex * 1e3 / 60,
13954
+ actualMs: onsetElapsedMs,
13953
13955
  changedPixelPercent: detectedMeasurement.changePercent,
13954
13956
  changedPixels: detectedMeasurement.changePixels,
13955
13957
  channelThreshold: input.motionChangeDefinition.channelThreshold,
13956
13958
  minimumChangePercent: input.onsetChangePercent,
13957
13959
  totalPixels: detectedMeasurement.totalPixels,
13958
13960
  frameIndex: visibleStart.frameIndex,
13959
- virtualTimestampMs: visibleStart.virtualTimestampMs
13961
+ virtualTimestampMs: visibleStart.virtualTimestampMs,
13962
+ ...input.witnessedInput ? { touchToOnsetMs: onsetElapsedMs } : {}
13960
13963
  } : null
13961
13964
  };
13962
13965
  } finally {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2532 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2534 | (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.2532 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2534 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  Node,
4
4
  Parser,
@@ -22,8 +22,8 @@ import {
22
22
  types,
23
23
  types$1,
24
24
  version
25
- } from "./chunk-5MPQROQI.mjs";
26
- import "./chunk-J4BQEGDW.mjs";
25
+ } from "./chunk-GPA3KEFG.mjs";
26
+ import "./chunk-AW5DPA3H.mjs";
27
27
  export {
28
28
  Node,
29
29
  Parser,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2532 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2534 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // ../contrast-runtime-delivery/src/version.ts
4
4
  function isValidRuntimeVersion(value) {