peachsim 0.1.2273 → 0.1.2275

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 (109) hide show
  1. package/cli/bridge-flow-runner.ts +4 -1
  2. package/cli/outbound-endpoints.ts +12 -0
  3. package/detox/gestures.ts +3 -1
  4. package/detox/index.ts +109 -29
  5. package/dist-lib/agent-daemon-client.cjs +1 -1
  6. package/dist-lib/agent-events.cjs +1 -1
  7. package/dist-lib/attached-projects.cjs +1 -1
  8. package/dist-lib/auth/shared-session.cjs +1 -1
  9. package/dist-lib/backend-origin.cjs +1 -1
  10. package/dist-lib/beta.cjs +1 -1
  11. package/dist-lib/beta.mjs +1 -1
  12. package/dist-lib/bridge-constants.cjs +1 -1
  13. package/dist-lib/bridge-contract-input.cjs +1 -1
  14. package/dist-lib/bridge-contract-input.mjs +1 -1
  15. package/dist-lib/bridge-contract.cjs +1 -1
  16. package/dist-lib/bridge-contract.mjs +1 -1
  17. package/dist-lib/bundle-channel.cjs +74 -14
  18. package/dist-lib/capture-contract.cjs +1 -1
  19. package/dist-lib/capture-contract.mjs +1 -1
  20. package/dist-lib/cloud-contract.cjs +1 -1
  21. package/dist-lib/cloud-contract.mjs +1 -1
  22. package/dist-lib/cloud-test-args.cjs +1 -1
  23. package/dist-lib/cloud-test-args.mjs +1 -1
  24. package/dist-lib/cloud.cjs +1 -1
  25. package/dist-lib/cloud.mjs +1 -1
  26. package/dist-lib/config.cjs +1 -1
  27. package/dist-lib/config.mjs +1 -1
  28. package/dist-lib/detox/index.cjs +64 -11
  29. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  30. package/dist-lib/expo-swift-bundle.cjs +68 -11
  31. package/dist-lib/expo-swift-metadata.cjs +1 -1
  32. package/dist-lib/expo-swift-metadata.mjs +1 -1
  33. package/dist-lib/home-paths.cjs +1 -1
  34. package/dist-lib/host/bridge-host.cjs +74 -14
  35. package/dist-lib/host/fetch-proxy-handler.cjs +6 -7
  36. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  37. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  38. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  39. package/dist-lib/host/websocket-proxy.cjs +1 -1
  40. package/dist-lib/index.cjs +6 -7
  41. package/dist-lib/jump-to-source-babel.cjs +1 -1
  42. package/dist-lib/jump-to-source-native.cjs +1 -1
  43. package/dist-lib/kotlin-host.cjs +1 -1
  44. package/dist-lib/menu.cjs +1 -1
  45. package/dist-lib/menu.mjs +1 -1
  46. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  47. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  48. package/dist-lib/metro-production-bundle.cjs +1 -1
  49. package/dist-lib/metro-production-bundle.mjs +1 -1
  50. package/dist-lib/metro.cjs +6 -7
  51. package/dist-lib/native-app-identity-project.cjs +3 -3
  52. package/dist-lib/native-app-identity-project.mjs +3 -3
  53. package/dist-lib/native-app-identity.cjs +1 -1
  54. package/dist-lib/native-app-identity.mjs +1 -1
  55. package/dist-lib/native-firebase-metadata.cjs +1 -1
  56. package/dist-lib/native-firebase-metadata.mjs +1 -1
  57. package/dist-lib/pdfium-raster.cjs +1 -1
  58. package/dist-lib/pdfium-raster.mjs +1 -1
  59. package/dist-lib/plist.cjs +1 -1
  60. package/dist-lib/plist.mjs +1 -1
  61. package/dist-lib/profiles.cjs +1 -1
  62. package/dist-lib/public-brand.cjs +1 -1
  63. package/dist-lib/public-origins-lib-esm.json +24 -24
  64. package/dist-lib/public-origins-lib.json +53 -53
  65. package/dist-lib/react-native-host-modules.cjs +1 -1
  66. package/dist-lib/react-native-host-modules.mjs +1 -1
  67. package/dist-lib/reap-browser.cjs +1 -1
  68. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  69. package/dist-lib/sdk.cjs +1 -1
  70. package/dist-lib/sdk.mjs +1 -1
  71. package/dist-lib/skills.cjs +84 -19
  72. package/dist-lib/swift-compile.cjs +31 -2
  73. package/dist-lib/swift-compile.mjs +31 -2
  74. package/dist-lib/swift-package.cjs +1 -1
  75. package/dist-lib/swift-package.mjs +1 -1
  76. package/dist-lib/swift-submit.cjs +1 -1
  77. package/dist-lib/swift-submit.mjs +1 -1
  78. package/dist-lib/swift-toolchain.cjs +30 -1
  79. package/dist-lib/swift.cjs +1 -1
  80. package/dist-lib/vite-swift.cjs +33 -4
  81. package/dist-lib/vite.cjs +6 -7
  82. package/dist-lib/worklet-executable.cjs +1 -1
  83. package/dist-lib/worklet-executable.mjs +1 -1
  84. package/dist-types/packages/peach-engine/src/cli-companion.d.ts +1 -1
  85. package/dist-types/packages/peach-engine/src/engine/scene-table.d.ts +9 -1
  86. package/dist-types/packages/peach-engine/src/engine/scroll-momentum-math.d.ts +3 -5
  87. package/dist-types/packages/peach-engine/src/engine/scroll-platform.d.ts +127 -37
  88. package/dist-types/packages/peach-engine/src/engine/scroll-range.d.ts +4 -1
  89. package/dist-types/packages/peach-engine/src/engine/scroll-velocity.d.ts +2 -1
  90. package/dist-types/packages/peach-engine/src/engine/scroll.d.ts +1 -1
  91. package/dist-types/packages/peach-engine/src/platform/personality.d.ts +112 -0
  92. package/dist-types/packages/peach-engine/src/render-worker/compositor-protocol.d.ts +4 -0
  93. package/dist-types/packages/peach-engine/src/render-worker/native-ui-protocol.d.ts +3 -28
  94. package/dist-types/packages/peach-engine/src/render-worker/webgpu-wire-protocol.d.ts +0 -1
  95. package/dist-types/packages/peach-engine/src/settings/schema.d.ts +1 -0
  96. package/dist-types/packages/peach-globals/src/lockstepCaptureBridgeContract.d.ts +9 -0
  97. package/dist-types/packages/peach-globals/src/testBridgeContract.d.ts +12 -5
  98. package/dist-types/packages/peach-globals/src/webViewBridgeContract.d.ts +7 -0
  99. package/kotlin/sdk.tar.gz +0 -0
  100. package/package.json +1 -1
  101. package/runtime-companion.json +1 -1
  102. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKSourceRevision.h +3 -3
  103. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKWorkoutRouteBuilder.h +2 -1
  104. package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKWorkoutRouteQuery.h +3 -2
  105. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPasteConfigurationSupporting.h +1 -1
  106. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h +1 -1
  107. package/src/nitro-compile.ts +4 -0
  108. package/src/swift-toolchain.ts +37 -0
  109. package/src/turbo-source.ts +32 -4
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2273 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2275 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  var __defProp = Object.defineProperty;
3
3
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4
4
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2273 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2275 | (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.2273 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2275 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // ../contrast-runtime-delivery/src/version.ts
4
4
  function isValidRuntimeVersion(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2273 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2275 | (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;
@@ -2475,7 +2475,7 @@ function isValidRuntimeVersion(value) {
2475
2475
  }
2476
2476
 
2477
2477
  // runtime-companion.json
2478
- var runtime_companion_default = { abi: 1, sha256: "afe6d94b406c8cfdc744686167ab73462564318da7eb7b51a437759af0e32f7c", file: "node/cli-afe6d94b406c8cfdc744686167ab73462564318da7eb7b51a437759af0e32f7c.cjs" };
2478
+ var runtime_companion_default = { abi: 1, sha256: "6a03f19d3f1cc74ffb32c491c983f6961cb6e11a559fa4943655bbcc786cda84", file: "node/cli-6a03f19d3f1cc74ffb32c491c983f6961cb6e11a559fa4943655bbcc786cda84.cjs" };
2479
2479
 
2480
2480
  // src/answeredNativePackages.ts
2481
2481
  var import_node_async_hooks = require("node:async_hooks");
@@ -7362,7 +7362,7 @@ async function dragScrollNode(page, node, pixels, direction, startPositionX, sta
7362
7362
  let recognitionSootSimY = startSootSimY;
7363
7363
  let endSootSimX = startSootSimX;
7364
7364
  let endSootSimY = startSootSimY;
7365
- const slop = getCliRuntime().engine_scroll_platform.scrollTouchSlop(DETOX_PLATFORM, 1);
7365
+ const slop = getCliRuntime().platform_personality.platformPersonality(DETOX_PLATFORM).scroll.touchSlop(1);
7366
7366
  const travel = pixels + slop;
7367
7367
  switch (direction) {
7368
7368
  case "down":
@@ -10900,11 +10900,33 @@ var device = {
10900
10900
  }
10901
10901
  let producerOffsetMs = 0;
10902
10902
  let nextFrameDurationMs = input.hold?.firstFrameOffsetMs;
10903
- if (input.producerWitness) {
10904
- if (input.anchorAtTouch !== "up" || !driveStart.tenantFrame?.guestClockFrozen)
10905
- throw new Error(
10906
- "producer witness requires a frozen delivered release clock"
10907
- );
10903
+ if (input.producerWitness && (input.anchorAtTouch !== "up" || !driveStart.tenantFrame?.guestClockFrozen))
10904
+ throw new Error("producer witness requires a frozen delivered release clock");
10905
+ const nativeAnimationClock = input.producerWitness?.nativeAnimationClock;
10906
+ const producerFrames = input.producerWitness?.nativeProducerFrames?.map(
10907
+ (frame) => ({
10908
+ deliveryTimeMs: driveStart.virtualTimestampMs + frame.deliveryTimeMs,
10909
+ elapsedMs: frame.elapsedMs
10910
+ })
10911
+ );
10912
+ const producerFirstFrameMs = producerFrames?.[0]?.deliveryTimeMs ?? (input.producerWitness ? driveStart.virtualTimestampMs + input.producerWitness.nativeFirstFrameOffsetMs : null);
10913
+ const screenAnimationClock = nativeAnimationClock ? await controller.setScreenTransitionClock({
10914
+ startTimeMs: driveStart.virtualTimestampMs + nativeAnimationClock.startTimeMs,
10915
+ headerStartTimeMs: driveStart.virtualTimestampMs + nativeAnimationClock.headerStartTimeMs,
10916
+ frames: nativeAnimationClock.frames.map((frame) => ({
10917
+ callbackTimeMs: driveStart.virtualTimestampMs + frame.callbackTimeMs,
10918
+ timestampMs: driveStart.virtualTimestampMs + frame.timestampMs
10919
+ }))
10920
+ }) : null;
10921
+ if (nativeAnimationClock) {
10922
+ const test = captureWindow.SootSim?.bridges?.test;
10923
+ const entries = await test?.readProducerFrameCapture();
10924
+ const entry = entries?.[0];
10925
+ if (!test || entries?.length !== 1 || !entry || !producerFrames?.length)
10926
+ throw new Error("native frame replay requires one mounted producer");
10927
+ await test.replayProducerFrameClock(entry.id, producerFrames);
10928
+ }
10929
+ if (input.producerWitness && !nativeAnimationClock) {
10908
10930
  const test = captureWindow.SootSim?.bridges?.test;
10909
10931
  if (!test) throw new Error("producer witness requires the test bridge");
10910
10932
  let witnessed = false;
@@ -10921,7 +10943,7 @@ var device = {
10921
10943
  producerOffsetMs = entry.firstFrameMs - driveStart.virtualTimestampMs - input.producerWitness.nativeFirstFrameOffsetMs;
10922
10944
  if (1e3 / 60 + producerOffsetMs <= 0)
10923
10945
  throw new Error(
10924
- `producer alignment precedes the next guest refresh: guest first callback ${entry.firstFrameMs - driveStart.virtualTimestampMs}ms after release, native first callback ${input.producerWitness.nativeFirstFrameOffsetMs}ms after release`
10946
+ `producer alignment precedes the next guest refresh: guest registered ${entry.registeredMs - driveStart.virtualTimestampMs}ms after release, guest first callback ${entry.firstFrameMs - driveStart.virtualTimestampMs}ms after release, native first callback ${input.producerWitness.nativeFirstFrameOffsetMs}ms after release`
10925
10947
  );
10926
10948
  nextFrameDurationMs = 1e3 / 60 + producerOffsetMs;
10927
10949
  witnessed = true;
@@ -10937,6 +10959,8 @@ var device = {
10937
10959
  const value = (await test.findByTestId(input.producerWitness.testId))?.accessibilityValue?.text;
10938
10960
  const times = value?.split(",").map(Number);
10939
10961
  if (times?.length === 6 && times.every(Number.isFinite)) {
10962
+ if (!driveStart.tenantFrame)
10963
+ throw new Error("producer witness has no tenant release frame");
10940
10964
  const guestInputMs = driveStart.tenantFrame.guestNowMs;
10941
10965
  if (Math.abs(times[0] * 1e3 - guestInputMs) > 0.01 || times[1] < times[0] || times[2] < times[1] || times[5] < times[0] || times[5] > times[2])
10942
10966
  throw new Error(
@@ -11067,13 +11091,33 @@ var device = {
11067
11091
  const snapshots = [];
11068
11092
  const stepToTime = async (targetMs, sampledRefresh = false, label = "") => {
11069
11093
  let receipt = currentReceipt;
11094
+ const nextFrameTime = () => {
11095
+ if (!nativeAnimationClock || producerFirstFrameMs === null)
11096
+ return receipt.virtualTimestampMs + (nextFrameDurationMs ?? 1e3 / 60);
11097
+ const producerFrame = producerFrames?.find(
11098
+ (frame) => frame.deliveryTimeMs > receipt.virtualTimestampMs + 1e-6
11099
+ )?.deliveryTimeMs ?? Infinity;
11100
+ const baselineFrame = driveStart.virtualTimestampMs + (Math.floor(
11101
+ (receipt.virtualTimestampMs - driveStart.virtualTimestampMs + 1e-6) / (1e3 / 60)
11102
+ ) + 1) * (1e3 / 60);
11103
+ const managerFrame = nativeAnimationClock.frames.find(
11104
+ (frame) => driveStart.virtualTimestampMs + frame.callbackTimeMs > receipt.virtualTimestampMs + 1e-6
11105
+ );
11106
+ return Math.min(
11107
+ producerFrame,
11108
+ baselineFrame,
11109
+ managerFrame ? driveStart.virtualTimestampMs + managerFrame.callbackTimeMs : Infinity
11110
+ );
11111
+ };
11070
11112
  if (targetMs < receipt.virtualTimestampMs - 0.01) {
11071
11113
  throw new Error(
11072
11114
  `sample time ${targetMs}ms of ${label} precedes the frames already stepped to ${receipt.virtualTimestampMs}ms (anchor ${driveStart.virtualTimestampMs}ms, producer offset ${producerOffsetMs}ms)`
11073
11115
  );
11074
11116
  }
11075
- while (receipt.virtualTimestampMs + (nextFrameDurationMs ?? 1e3 / 60) <= targetMs + 0.01) {
11076
- receipt = await controller.stepFrame(nextFrameDurationMs);
11117
+ while (nextFrameTime() <= targetMs + 1e-6) {
11118
+ receipt = await controller.stepFrame(
11119
+ nextFrameTime() - receipt.virtualTimestampMs
11120
+ );
11077
11121
  nextFrameDurationMs = void 0;
11078
11122
  }
11079
11123
  if (!sampledRefresh && targetMs - receipt.virtualTimestampMs > 0.01) {
@@ -11353,6 +11397,13 @@ var device = {
11353
11397
  await new Promise((resolve3) => setTimeout(resolve3, 0));
11354
11398
  }
11355
11399
  const stats = input.workletFrameTimestampsSeconds ? await pairedPeerStats() : null;
11400
+ if (nativeAnimationClock) {
11401
+ const entries = await captureWindow.SootSim?.bridges?.test?.readProducerFrameCapture();
11402
+ const entry = entries?.[0];
11403
+ if (entries?.length !== 1 || !entry || entry.firstFrameMs === null || producerFirstFrameMs === null || Math.abs(entry.firstFrameMs - producerFirstFrameMs) > 1e-3)
11404
+ throw new Error("guest producer did not follow its witnessed frame clock");
11405
+ producerFrameWitness = entry;
11406
+ }
11356
11407
  return {
11357
11408
  workletFirstDelivery: stats ? {
11358
11409
  first: stats.nativeFrameFirstTimestampMs,
@@ -11360,6 +11411,7 @@ var device = {
11360
11411
  } : null,
11361
11412
  inputReceipts: controller.inputReceipts,
11362
11413
  producerFrameWitness,
11414
+ screenAnimationClock,
11363
11415
  anchors: anchorRecords,
11364
11416
  driveStart: {
11365
11417
  frameIndex: driveStart.frameIndex,
@@ -11474,6 +11526,7 @@ var device = {
11474
11526
  return {
11475
11527
  inputReceipts: capture.inputReceipts,
11476
11528
  producerFrameWitness: capture.producerFrameWitness,
11529
+ screenAnimationClock: capture.screenAnimationClock,
11477
11530
  anchors: capture.anchors,
11478
11531
  driveStart: capture.driveStart,
11479
11532
  frames: writeFastScreenshotFrames(namePrefix, capture.frames),
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2273 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2275 | (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.2273 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2275 | (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;
@@ -5107,7 +5107,7 @@ var swiftCoverageProvenance;
5107
5107
  var init_provenance = __esm({
5108
5108
  "src/swift-coverage/provenance.ts"() {
5109
5109
  "use strict";
5110
- swiftCoverageProvenance = true ? JSON.parse('{"swift-coverage/indexdump.ts":"0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412","swift-coverage/indexing.ts":"633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272","swift-coverage/types.ts":"bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1","swift-coverage/source.ts":"c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee","swift-coverage/package.ts":"1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b","swift-coverage/xcode.ts":"65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa","swift-coverage/xcode-assets.ts":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"8e6020d17d24474150a5a50d042aca6261819ef75c79680a287a66f395909915","swift-coverage/xcode-strings.ts":"f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"bfde06f157f52d3dd76577b3c6059c95c0393180b054ced773624ea89558992b","swift-package.ts":"338cfef9a34a930206ac2e1a8a90b85c8d61f776d9a41e6445dc18e0c5385cdb","swift-source-file.ts":"93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94","swift-toolchain.ts":"f9751713ef9572a900ea7108b4c88fbe3f3d012ad82e58863007b2a3ffce4b68","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1","xcode-project.ts":"774c42f06f8d5c1f3f3a09f94379db2046af0016f1fcd6cbe595a9c2da5dcf95","xcode-target-members.ts":"d49af77a690cff481b38333b5f63f6600123b1bb57f410b0adb298b010d2047b","xcode-json-project.ts":"41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6","openstep-plist.ts":"74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3"}') : swiftCoverageSourceDigests((0, import_node_path.join)(__sootsim_import_meta_dirname, ".."));
5110
+ swiftCoverageProvenance = true ? JSON.parse('{"swift-coverage/indexdump.ts":"0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412","swift-coverage/indexing.ts":"633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272","swift-coverage/types.ts":"bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1","swift-coverage/source.ts":"c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee","swift-coverage/package.ts":"1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b","swift-coverage/xcode.ts":"65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa","swift-coverage/xcode-assets.ts":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"8e6020d17d24474150a5a50d042aca6261819ef75c79680a287a66f395909915","swift-coverage/xcode-strings.ts":"f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"bfde06f157f52d3dd76577b3c6059c95c0393180b054ced773624ea89558992b","swift-package.ts":"338cfef9a34a930206ac2e1a8a90b85c8d61f776d9a41e6445dc18e0c5385cdb","swift-source-file.ts":"93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94","swift-toolchain.ts":"b60efa4eb7516378344cb7c48216aea5fa36590ace91a698655b48cfd0db96fe","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1","xcode-project.ts":"774c42f06f8d5c1f3f3a09f94379db2046af0016f1fcd6cbe595a9c2da5dcf95","xcode-target-members.ts":"d49af77a690cff481b38333b5f63f6600123b1bb57f410b0adb298b010d2047b","xcode-json-project.ts":"41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6","openstep-plist.ts":"74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3"}') : swiftCoverageSourceDigests((0, import_node_path.join)(__sootsim_import_meta_dirname, ".."));
5111
5111
  }
5112
5112
  });
5113
5113
 
@@ -8233,6 +8233,7 @@ function swiftSdkPayloadChecksum(bundle) {
8233
8233
  if (cached2?.stamp !== stamp) {
8234
8234
  cached2 = { stamp, checksum: swiftFileChecksum(file) };
8235
8235
  sdkFileHashes.set(file, cached2);
8236
+ sdkFilesHashed++;
8236
8237
  }
8237
8238
  hash.update(
8238
8239
  JSON.stringify([relative3, "file", Number(stat.mode & 0o111n), cached2.checksum]) + "\n"
@@ -8257,10 +8258,36 @@ function verifySwiftSdk(swift, sdk2) {
8257
8258
  `Swift SDK ${sdk2.wasmSdkId} has no verified archive binding for ${sdk2.wasmSdkChecksum}. Hydrate it with installSwiftWasmSdk before compiling.`
8258
8259
  );
8259
8260
  const receipt = JSON.parse(import_node_fs30.default.readFileSync(file, "utf8"));
8261
+ const stamps = file.replace(/\.json$/, ".files.json");
8262
+ if (!loadedSdkHashFiles.has(stamps)) {
8263
+ loadedSdkHashFiles.add(stamps);
8264
+ const saved = import_node_fs30.default.existsSync(stamps) ? JSON.parse(import_node_fs30.default.readFileSync(stamps, "utf8")) : null;
8265
+ if (saved && typeof saved === "object") {
8266
+ for (const [entry, value] of Object.entries(saved))
8267
+ if (Array.isArray(value) && typeof value[0] === "string" && typeof value[1] === "string")
8268
+ sdkFileHashes.set(entry, { stamp: value[0], checksum: value[1] });
8269
+ }
8270
+ }
8271
+ const hashedBefore = sdkFilesHashed;
8260
8272
  if (!receipt || typeof receipt !== "object" || !("wasmSdkId" in receipt) || receipt.wasmSdkId !== sdk2.wasmSdkId || !("wasmSdkChecksum" in receipt) || receipt.wasmSdkChecksum !== sdk2.wasmSdkChecksum || !("payloadChecksum" in receipt) || receipt.payloadChecksum !== swiftSdkPayloadChecksum(bundle))
8261
8273
  throw new Error(
8262
8274
  `Swift SDK ${sdk2.wasmSdkId} installed payload differs from its verified archive ${sdk2.wasmSdkChecksum}`
8263
8275
  );
8276
+ if (sdkFilesHashed === hashedBefore) return;
8277
+ const temporary = `${stamps}.${process.pid}.tmp`;
8278
+ try {
8279
+ import_node_fs30.default.writeFileSync(
8280
+ temporary,
8281
+ JSON.stringify(
8282
+ Object.fromEntries(
8283
+ [...sdkFileHashes].filter(([entry]) => entry.startsWith(bundle + import_node_path25.default.sep)).map(([entry, { stamp, checksum }]) => [entry, [stamp, checksum]])
8284
+ )
8285
+ )
8286
+ );
8287
+ import_node_fs30.default.renameSync(temporary, stamps);
8288
+ } finally {
8289
+ import_node_fs30.default.rmSync(temporary, { force: true });
8290
+ }
8264
8291
  }
8265
8292
  function installSwiftSdkArchive(swift, sdk2, archive) {
8266
8293
  validateSwiftSdkIdentity(sdk2);
@@ -8527,7 +8554,7 @@ function swiftCompilerInstall(release) {
8527
8554
  ]
8528
8555
  };
8529
8556
  }
8530
- var import_node_child_process13, import_node_crypto10, import_node_fs30, import_node_os5, import_node_path25, import_node_url3, import_node_util6, SWIFT_HOST_COMPILER_RELEASE, SWIFT_HOST_COMPILER_ID, compilerArchives, linuxRuntimeLibs, SWIFT_PRIVATE_DISTRIBUTION_ENV, SWIFT_AUTOLINK_LINKER, BUILDERS_ROOT_ENV, agentBuildersRoot, scratch, linuxLibraryPath, linuxHostSdkRoot, listedSdks, sdkBundles, sdkFileHashes, verifiedCompilers;
8557
+ var import_node_child_process13, import_node_crypto10, import_node_fs30, import_node_os5, import_node_path25, import_node_url3, import_node_util6, SWIFT_HOST_COMPILER_RELEASE, SWIFT_HOST_COMPILER_ID, compilerArchives, linuxRuntimeLibs, SWIFT_PRIVATE_DISTRIBUTION_ENV, SWIFT_AUTOLINK_LINKER, BUILDERS_ROOT_ENV, agentBuildersRoot, scratch, linuxLibraryPath, linuxHostSdkRoot, listedSdks, sdkBundles, sdkFileHashes, sdkFilesHashed, loadedSdkHashFiles, verifiedCompilers;
8531
8558
  var init_swift_toolchain = __esm({
8532
8559
  "src/swift-toolchain.ts"() {
8533
8560
  "use strict";
@@ -8810,6 +8837,8 @@ var init_swift_toolchain = __esm({
8810
8837
  listedSdks = /* @__PURE__ */ new Set();
8811
8838
  sdkBundles = /* @__PURE__ */ new Map();
8812
8839
  sdkFileHashes = /* @__PURE__ */ new Map();
8840
+ sdkFilesHashed = 0;
8841
+ loadedSdkHashFiles = /* @__PURE__ */ new Set();
8813
8842
  verifiedCompilers = /* @__PURE__ */ new Map();
8814
8843
  }
8815
8844
  });
@@ -25165,7 +25194,7 @@ int EXUpdatesApplyBSDiffPatch(const char * _Nonnull oldFilePath,
25165
25194
  REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
25166
25195
  MULTI_MANIFEST_VERSION = 68;
25167
25196
  SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
25168
- compilerSourceDigest = true ? "344d6e89c2ee7f5228ccf31a6be0c1366904d145c73cd31062c481e5410a4187" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
25197
+ compilerSourceDigest = true ? "fe19f1476f87e3d8d3dfbe1671a9da2c86ce91839a457c72fe2364bc375699b2" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
25169
25198
  nativeCxxCompilerFlags = ["-fno-cxx-modules"];
25170
25199
  cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
25171
25200
  cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
@@ -29300,7 +29329,7 @@ var init_swift_standin_digest = __esm({
29300
29329
  STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
29301
29330
  SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
29302
29331
  standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
29303
- STANDIN_SOURCE_DIGEST = true ? "c4178088419ff254271d3b739cc0d5c196fb4044efb839fd0bf5675b2bde1327" : standinSourceDigest();
29332
+ STANDIN_SOURCE_DIGEST = true ? "e50e15b51e04a8baf3bead1d63950c4e56b018ae4b82457dcd899c53ed0b974a" : standinSourceDigest();
29304
29333
  }
29305
29334
  });
29306
29335
 
@@ -44134,6 +44163,38 @@ void dispatchToJSThread(dispatch_block_t block) {
44134
44163
  }
44135
44164
  } // namespace
44136
44165
 
44166
+ static CGFloat peachScreenBrightness = 0.5;
44167
+
44168
+ @implementation UIScreen (PeachTurboRuntime)
44169
+ + (UIScreen *)mainScreen {
44170
+ static UIScreen *screen = nil;
44171
+ if (!screen) screen = [[UIScreen alloc] init];
44172
+ return screen;
44173
+ }
44174
+ - (CGFloat)brightness {
44175
+ return peachScreenBrightness;
44176
+ }
44177
+ - (void)setBrightness:(CGFloat)value {
44178
+ peachScreenBrightness = value;
44179
+ }
44180
+ @end
44181
+
44182
+ static BOOL peachIdleTimerDisabled = NO;
44183
+
44184
+ @implementation UIApplication (PeachTurboRuntime)
44185
+ + (UIApplication *)sharedApplication {
44186
+ static UIApplication *app = nil;
44187
+ if (!app) app = [[UIApplication alloc] init];
44188
+ return app;
44189
+ }
44190
+ - (BOOL)isIdleTimerDisabled {
44191
+ return peachIdleTimerDisabled;
44192
+ }
44193
+ - (void)setIdleTimerDisabled:(BOOL)disabled {
44194
+ peachIdleTimerDisabled = disabled;
44195
+ }
44196
+ @end
44197
+
44137
44198
  // React Native's own modules register before any provider's, and RCTBridge.mm
44138
44199
  // creates the registry's queue in the first RCTRegisterModule. the engine
44139
44200
  // supplies those modules, so a process whose providers register none (codegen
@@ -44250,9 +44311,6 @@ ${moduleProviders ? `- (id<RCTModuleProvider>)getModuleProvider:(const char *)na
44250
44311
 
44251
44312
  @end
44252
44313
 
44253
- // UIKitCore: the key window and root view controller an app delegate makes at launch
44254
- extern "C" void PeachLaunchReactNativeWindow(void);
44255
-
44256
44314
  extern "C" void peachTurboInitialize() {
44257
44315
  objc_create_block_classes_as_subclasses_of([NSObject class]);
44258
44316
  if (Class blockClass = NSClassFromString(@"_NSBlock")) {
@@ -44266,7 +44324,6 @@ extern "C" void peachTurboInitialize() {
44266
44324
  static_cast<uint32_t *>((__bridge void *)mainQueueClass)[4] &= ~2048u;
44267
44325
  *reinterpret_cast<void **>(&_dispatch_main_q) = (__bridge void *)mainQueueClass;
44268
44326
  }
44269
- PeachLaunchReactNativeWindow();
44270
44327
  auto& runtime = peach::jsi_runtime::create(
44271
44328
  [] { invoker->drain(); },
44272
44329
  [] {
@@ -44960,7 +45017,7 @@ var init_react_native_core = __esm({
44960
45017
  init_swift_distribution();
44961
45018
  init_swift_package();
44962
45019
  init_swiftContract();
44963
- recipe = true ? "95c43b6522d2611bfb11c1f6e191409cf1e5dd9af931c679be03191dc600d01c" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
45020
+ recipe = true ? "4639768c70ada4c4bab053ea7917512ac1e98bc7b1f9adc1f95635279d6ba363" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
44964
45021
  strings4 = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
44965
45022
  building = /* @__PURE__ */ new Map();
44966
45023
  }
@@ -50338,7 +50395,7 @@ init_swift_native_pin();
50338
50395
  init_xcode_project();
50339
50396
  var EXPO_NATIVE_ENTRY_NAME = "ios";
50340
50397
  function expoNativeCompilerDigestValue() {
50341
- return true ? "afe99a55659a08ad5836eb7c1e0593d36d1a8225f71a054a2b8183293a7478c9" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
50398
+ return true ? "a7ccefe34247632d0296e69b423578edd26346ac5082623574ebc7e04de8c8a7" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
50342
50399
  }
50343
50400
  var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
50344
50401
  function readSources(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2273 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2275 | (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.2273 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2275 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // ../peach-globals/src/bundle-global-footer.ts
4
4
  function findBundleFooter(source, prefix) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2273 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2275 | (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.2273 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2275 | (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;
@@ -14155,7 +14155,7 @@ var swiftCoverageProvenance;
14155
14155
  var init_provenance = __esm({
14156
14156
  "src/swift-coverage/provenance.ts"() {
14157
14157
  "use strict";
14158
- swiftCoverageProvenance = true ? JSON.parse('{"swift-coverage/indexdump.ts":"0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412","swift-coverage/indexing.ts":"633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272","swift-coverage/types.ts":"bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1","swift-coverage/source.ts":"c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee","swift-coverage/package.ts":"1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b","swift-coverage/xcode.ts":"65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa","swift-coverage/xcode-assets.ts":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"8e6020d17d24474150a5a50d042aca6261819ef75c79680a287a66f395909915","swift-coverage/xcode-strings.ts":"f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"bfde06f157f52d3dd76577b3c6059c95c0393180b054ced773624ea89558992b","swift-package.ts":"338cfef9a34a930206ac2e1a8a90b85c8d61f776d9a41e6445dc18e0c5385cdb","swift-source-file.ts":"93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94","swift-toolchain.ts":"f9751713ef9572a900ea7108b4c88fbe3f3d012ad82e58863007b2a3ffce4b68","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1","xcode-project.ts":"774c42f06f8d5c1f3f3a09f94379db2046af0016f1fcd6cbe595a9c2da5dcf95","xcode-target-members.ts":"d49af77a690cff481b38333b5f63f6600123b1bb57f410b0adb298b010d2047b","xcode-json-project.ts":"41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6","openstep-plist.ts":"74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3"}') : swiftCoverageSourceDigests((0, import_node_path.join)(__sootsim_import_meta_dirname, ".."));
14158
+ swiftCoverageProvenance = true ? JSON.parse('{"swift-coverage/indexdump.ts":"0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412","swift-coverage/indexing.ts":"633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272","swift-coverage/types.ts":"bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1","swift-coverage/source.ts":"c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee","swift-coverage/package.ts":"1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b","swift-coverage/xcode.ts":"65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa","swift-coverage/xcode-assets.ts":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"8e6020d17d24474150a5a50d042aca6261819ef75c79680a287a66f395909915","swift-coverage/xcode-strings.ts":"f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"bfde06f157f52d3dd76577b3c6059c95c0393180b054ced773624ea89558992b","swift-package.ts":"338cfef9a34a930206ac2e1a8a90b85c8d61f776d9a41e6445dc18e0c5385cdb","swift-source-file.ts":"93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94","swift-toolchain.ts":"b60efa4eb7516378344cb7c48216aea5fa36590ace91a698655b48cfd0db96fe","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1","xcode-project.ts":"774c42f06f8d5c1f3f3a09f94379db2046af0016f1fcd6cbe595a9c2da5dcf95","xcode-target-members.ts":"d49af77a690cff481b38333b5f63f6600123b1bb57f410b0adb298b010d2047b","xcode-json-project.ts":"41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6","openstep-plist.ts":"74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3"}') : swiftCoverageSourceDigests((0, import_node_path.join)(__sootsim_import_meta_dirname, ".."));
14159
14159
  }
14160
14160
  });
14161
14161
 
@@ -17281,6 +17281,7 @@ function swiftSdkPayloadChecksum(bundle) {
17281
17281
  if (cached3?.stamp !== stamp) {
17282
17282
  cached3 = { stamp, checksum: swiftFileChecksum(file) };
17283
17283
  sdkFileHashes.set(file, cached3);
17284
+ sdkFilesHashed++;
17284
17285
  }
17285
17286
  hash.update(
17286
17287
  JSON.stringify([relative4, "file", Number(stat2.mode & 0o111n), cached3.checksum]) + "\n"
@@ -17305,10 +17306,36 @@ function verifySwiftSdk(swift, sdk2) {
17305
17306
  `Swift SDK ${sdk2.wasmSdkId} has no verified archive binding for ${sdk2.wasmSdkChecksum}. Hydrate it with installSwiftWasmSdk before compiling.`
17306
17307
  );
17307
17308
  const receipt = JSON.parse(import_node_fs33.default.readFileSync(file, "utf8"));
17309
+ const stamps = file.replace(/\.json$/, ".files.json");
17310
+ if (!loadedSdkHashFiles.has(stamps)) {
17311
+ loadedSdkHashFiles.add(stamps);
17312
+ const saved = import_node_fs33.default.existsSync(stamps) ? JSON.parse(import_node_fs33.default.readFileSync(stamps, "utf8")) : null;
17313
+ if (saved && typeof saved === "object") {
17314
+ for (const [entry, value] of Object.entries(saved))
17315
+ if (Array.isArray(value) && typeof value[0] === "string" && typeof value[1] === "string")
17316
+ sdkFileHashes.set(entry, { stamp: value[0], checksum: value[1] });
17317
+ }
17318
+ }
17319
+ const hashedBefore = sdkFilesHashed;
17308
17320
  if (!receipt || typeof receipt !== "object" || !("wasmSdkId" in receipt) || receipt.wasmSdkId !== sdk2.wasmSdkId || !("wasmSdkChecksum" in receipt) || receipt.wasmSdkChecksum !== sdk2.wasmSdkChecksum || !("payloadChecksum" in receipt) || receipt.payloadChecksum !== swiftSdkPayloadChecksum(bundle))
17309
17321
  throw new Error(
17310
17322
  `Swift SDK ${sdk2.wasmSdkId} installed payload differs from its verified archive ${sdk2.wasmSdkChecksum}`
17311
17323
  );
17324
+ if (sdkFilesHashed === hashedBefore) return;
17325
+ const temporary = `${stamps}.${process.pid}.tmp`;
17326
+ try {
17327
+ import_node_fs33.default.writeFileSync(
17328
+ temporary,
17329
+ JSON.stringify(
17330
+ Object.fromEntries(
17331
+ [...sdkFileHashes].filter(([entry]) => entry.startsWith(bundle + import_node_path29.default.sep)).map(([entry, { stamp, checksum }]) => [entry, [stamp, checksum]])
17332
+ )
17333
+ )
17334
+ );
17335
+ import_node_fs33.default.renameSync(temporary, stamps);
17336
+ } finally {
17337
+ import_node_fs33.default.rmSync(temporary, { force: true });
17338
+ }
17312
17339
  }
17313
17340
  function installSwiftSdkArchive(swift, sdk2, archive) {
17314
17341
  validateSwiftSdkIdentity(sdk2);
@@ -17575,7 +17602,7 @@ function swiftCompilerInstall(release) {
17575
17602
  ]
17576
17603
  };
17577
17604
  }
17578
- var import_node_child_process14, import_node_crypto12, import_node_fs33, import_node_os5, import_node_path29, import_node_url3, import_node_util6, SWIFT_HOST_COMPILER_RELEASE, SWIFT_HOST_COMPILER_ID, compilerArchives, linuxRuntimeLibs, SWIFT_PRIVATE_DISTRIBUTION_ENV, SWIFT_AUTOLINK_LINKER, BUILDERS_ROOT_ENV, agentBuildersRoot, scratch, linuxLibraryPath, linuxHostSdkRoot, listedSdks, sdkBundles, sdkFileHashes, verifiedCompilers;
17605
+ var import_node_child_process14, import_node_crypto12, import_node_fs33, import_node_os5, import_node_path29, import_node_url3, import_node_util6, SWIFT_HOST_COMPILER_RELEASE, SWIFT_HOST_COMPILER_ID, compilerArchives, linuxRuntimeLibs, SWIFT_PRIVATE_DISTRIBUTION_ENV, SWIFT_AUTOLINK_LINKER, BUILDERS_ROOT_ENV, agentBuildersRoot, scratch, linuxLibraryPath, linuxHostSdkRoot, listedSdks, sdkBundles, sdkFileHashes, sdkFilesHashed, loadedSdkHashFiles, verifiedCompilers;
17579
17606
  var init_swift_toolchain = __esm({
17580
17607
  "src/swift-toolchain.ts"() {
17581
17608
  "use strict";
@@ -17858,6 +17885,8 @@ var init_swift_toolchain = __esm({
17858
17885
  listedSdks = /* @__PURE__ */ new Set();
17859
17886
  sdkBundles = /* @__PURE__ */ new Map();
17860
17887
  sdkFileHashes = /* @__PURE__ */ new Map();
17888
+ sdkFilesHashed = 0;
17889
+ loadedSdkHashFiles = /* @__PURE__ */ new Set();
17861
17890
  verifiedCompilers = /* @__PURE__ */ new Map();
17862
17891
  }
17863
17892
  });
@@ -34238,7 +34267,7 @@ int EXUpdatesApplyBSDiffPatch(const char * _Nonnull oldFilePath,
34238
34267
  REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
34239
34268
  MULTI_MANIFEST_VERSION = 68;
34240
34269
  SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
34241
- compilerSourceDigest = true ? "344d6e89c2ee7f5228ccf31a6be0c1366904d145c73cd31062c481e5410a4187" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
34270
+ compilerSourceDigest = true ? "fe19f1476f87e3d8d3dfbe1671a9da2c86ce91839a457c72fe2364bc375699b2" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
34242
34271
  nativeCxxCompilerFlags = ["-fno-cxx-modules"];
34243
34272
  cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
34244
34273
  cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
@@ -38717,7 +38746,7 @@ var init_swift_standin_digest = __esm({
38717
38746
  STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
38718
38747
  SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
38719
38748
  standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
38720
- STANDIN_SOURCE_DIGEST = true ? "c4178088419ff254271d3b739cc0d5c196fb4044efb839fd0bf5675b2bde1327" : standinSourceDigest();
38749
+ STANDIN_SOURCE_DIGEST = true ? "e50e15b51e04a8baf3bead1d63950c4e56b018ae4b82457dcd899c53ed0b974a" : standinSourceDigest();
38721
38750
  }
38722
38751
  });
38723
38752
 
@@ -54402,6 +54431,38 @@ void dispatchToJSThread(dispatch_block_t block) {
54402
54431
  }
54403
54432
  } // namespace
54404
54433
 
54434
+ static CGFloat peachScreenBrightness = 0.5;
54435
+
54436
+ @implementation UIScreen (PeachTurboRuntime)
54437
+ + (UIScreen *)mainScreen {
54438
+ static UIScreen *screen = nil;
54439
+ if (!screen) screen = [[UIScreen alloc] init];
54440
+ return screen;
54441
+ }
54442
+ - (CGFloat)brightness {
54443
+ return peachScreenBrightness;
54444
+ }
54445
+ - (void)setBrightness:(CGFloat)value {
54446
+ peachScreenBrightness = value;
54447
+ }
54448
+ @end
54449
+
54450
+ static BOOL peachIdleTimerDisabled = NO;
54451
+
54452
+ @implementation UIApplication (PeachTurboRuntime)
54453
+ + (UIApplication *)sharedApplication {
54454
+ static UIApplication *app = nil;
54455
+ if (!app) app = [[UIApplication alloc] init];
54456
+ return app;
54457
+ }
54458
+ - (BOOL)isIdleTimerDisabled {
54459
+ return peachIdleTimerDisabled;
54460
+ }
54461
+ - (void)setIdleTimerDisabled:(BOOL)disabled {
54462
+ peachIdleTimerDisabled = disabled;
54463
+ }
54464
+ @end
54465
+
54405
54466
  // React Native's own modules register before any provider's, and RCTBridge.mm
54406
54467
  // creates the registry's queue in the first RCTRegisterModule. the engine
54407
54468
  // supplies those modules, so a process whose providers register none (codegen
@@ -54518,9 +54579,6 @@ ${moduleProviders ? `- (id<RCTModuleProvider>)getModuleProvider:(const char *)na
54518
54579
 
54519
54580
  @end
54520
54581
 
54521
- // UIKitCore: the key window and root view controller an app delegate makes at launch
54522
- extern "C" void PeachLaunchReactNativeWindow(void);
54523
-
54524
54582
  extern "C" void peachTurboInitialize() {
54525
54583
  objc_create_block_classes_as_subclasses_of([NSObject class]);
54526
54584
  if (Class blockClass = NSClassFromString(@"_NSBlock")) {
@@ -54534,7 +54592,6 @@ extern "C" void peachTurboInitialize() {
54534
54592
  static_cast<uint32_t *>((__bridge void *)mainQueueClass)[4] &= ~2048u;
54535
54593
  *reinterpret_cast<void **>(&_dispatch_main_q) = (__bridge void *)mainQueueClass;
54536
54594
  }
54537
- PeachLaunchReactNativeWindow();
54538
54595
  auto& runtime = peach::jsi_runtime::create(
54539
54596
  [] { invoker->drain(); },
54540
54597
  [] {
@@ -55501,7 +55558,7 @@ var init_react_native_core = __esm({
55501
55558
  init_swift_distribution();
55502
55559
  init_swift_package();
55503
55560
  init_swiftContract();
55504
- recipe = true ? "95c43b6522d2611bfb11c1f6e191409cf1e5dd9af931c679be03191dc600d01c" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
55561
+ recipe = true ? "4639768c70ada4c4bab053ea7917512ac1e98bc7b1f9adc1f95635279d6ba363" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
55505
55562
  strings4 = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
55506
55563
  building = /* @__PURE__ */ new Map();
55507
55564
  }
@@ -55646,7 +55703,7 @@ var init_nitro_superset = __esm({
55646
55703
  init_nitroContract();
55647
55704
  init_swift_standin_digest();
55648
55705
  NITRO_SUPERSET_ENTRY_NAME = "superset";
55649
- NITRO_COMPILER_DIGEST = true ? "4b28278dc87af1a3cc9af911fe3660a45b6c9e1683a67b66920c8aff39108496" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
55706
+ NITRO_COMPILER_DIGEST = true ? "66b678c054d628ddf6833aecfffe38e1e38bf8b7939e92a6eac41bd53727af6e" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
55650
55707
  nitroSupersetLock = parseLock(nitro_superset_lock_default);
55651
55708
  nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
55652
55709
  published2 = /* @__PURE__ */ new Map();
@@ -55667,7 +55724,7 @@ var init_nitro_superset = __esm({
55667
55724
  var runtime_companion_default;
55668
55725
  var init_runtime_companion = __esm({
55669
55726
  "runtime-companion.json"() {
55670
- runtime_companion_default = { abi: 1, sha256: "afe6d94b406c8cfdc744686167ab73462564318da7eb7b51a437759af0e32f7c", file: "node/cli-afe6d94b406c8cfdc744686167ab73462564318da7eb7b51a437759af0e32f7c.cjs" };
55727
+ runtime_companion_default = { abi: 1, sha256: "6a03f19d3f1cc74ffb32c491c983f6961cb6e11a559fa4943655bbcc786cda84", file: "node/cli-6a03f19d3f1cc74ffb32c491c983f6961cb6e11a559fa4943655bbcc786cda84.cjs" };
55671
55728
  }
55672
55729
  });
55673
55730
 
@@ -65288,7 +65345,7 @@ init_swift_native_pin();
65288
65345
  init_xcode_project();
65289
65346
  var EXPO_NATIVE_ENTRY_NAME = "ios";
65290
65347
  function expoNativeCompilerDigestValue() {
65291
- return true ? "afe99a55659a08ad5836eb7c1e0593d36d1a8225f71a054a2b8183293a7478c9" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
65348
+ return true ? "a7ccefe34247632d0296e69b423578edd26346ac5082623574ebc7e04de8c8a7" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
65292
65349
  }
65293
65350
  var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
65294
65351
  function readSources(value) {
@@ -69207,6 +69264,10 @@ function collectNitroCompileInput(collection, adapter, dependencies, iosDeployme
69207
69264
  ...target,
69208
69265
  swiftFlags: [
69209
69266
  "-enable-bare-slash-regex",
69267
+ "-Xfrontend",
69268
+ "-import-module",
69269
+ "-Xfrontend",
69270
+ "Foundation",
69210
69271
  ...ndebug.flatMap((flag) => ["-Xcc", flag]),
69211
69272
  ...target.swiftFlags ?? []
69212
69273
  ]
@@ -75261,7 +75322,6 @@ var LAZY_STUB_PATTERNS = [
75261
75322
  "@react-native-ml-kit/text-recognition",
75262
75323
  "@react-native-segmented-control/segmented-control",
75263
75324
  "@react-native-seoul/naver-login",
75264
- "@renegades/react-native-tickle",
75265
75325
  "@rnw-community/react-native-payments",
75266
75326
  "@rudderstack/rudder-integration-firebase-react-native",
75267
75327
  "@rudderstack/rudder-sdk-react-native",