peachsim 0.1.2269 → 0.1.2271

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 (114) hide show
  1. package/cli/app-catalog.ts +13 -5
  2. package/cli/bridge-flow-runner.ts +1 -1
  3. package/cli/commands/control.ts +10 -1
  4. package/cli/commands/flow.ts +117 -23
  5. package/cli/commands/record.ts +4 -1
  6. package/cli/commands/shell-url.ts +10 -2
  7. package/cli/commands/upload.ts +49 -39
  8. package/detox/index.ts +8 -4
  9. package/dist-lib/agent-daemon-client.cjs +1 -1
  10. package/dist-lib/agent-events.cjs +1 -1
  11. package/dist-lib/attached-projects.cjs +1 -1
  12. package/dist-lib/auth/shared-session.cjs +1 -1
  13. package/dist-lib/backend-origin.cjs +1 -1
  14. package/dist-lib/beta.cjs +1 -1
  15. package/dist-lib/beta.mjs +1 -1
  16. package/dist-lib/bridge-constants.cjs +1 -1
  17. package/dist-lib/bridge-contract-input.cjs +1 -1
  18. package/dist-lib/bridge-contract-input.mjs +1 -1
  19. package/dist-lib/bridge-contract.cjs +1 -1
  20. package/dist-lib/bridge-contract.mjs +1 -1
  21. package/dist-lib/bundle-channel.cjs +70 -72
  22. package/dist-lib/capture-contract.cjs +1 -1
  23. package/dist-lib/capture-contract.mjs +1 -1
  24. package/dist-lib/cloud-contract.cjs +1 -1
  25. package/dist-lib/cloud-contract.mjs +1 -1
  26. package/dist-lib/cloud-test-args.cjs +1 -1
  27. package/dist-lib/cloud-test-args.mjs +1 -1
  28. package/dist-lib/cloud.cjs +1 -1
  29. package/dist-lib/cloud.mjs +1 -1
  30. package/dist-lib/config.cjs +1 -1
  31. package/dist-lib/config.mjs +1 -1
  32. package/dist-lib/detox/index.cjs +8 -5
  33. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  34. package/dist-lib/expo-swift-bundle.cjs +49 -59
  35. package/dist-lib/expo-swift-metadata.cjs +1 -1
  36. package/dist-lib/expo-swift-metadata.mjs +1 -1
  37. package/dist-lib/home-paths.cjs +1 -1
  38. package/dist-lib/host/bridge-host.cjs +82 -76
  39. package/dist-lib/host/fetch-proxy-handler.cjs +6 -6
  40. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  41. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  42. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  43. package/dist-lib/host/websocket-proxy.cjs +1 -1
  44. package/dist-lib/index.cjs +6 -6
  45. package/dist-lib/jump-to-source-babel.cjs +1 -1
  46. package/dist-lib/jump-to-source-native.cjs +1 -1
  47. package/dist-lib/kotlin-host.cjs +9 -5
  48. package/dist-lib/menu.cjs +1 -1
  49. package/dist-lib/menu.mjs +1 -1
  50. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  51. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  52. package/dist-lib/metro-production-bundle.cjs +1 -1
  53. package/dist-lib/metro-production-bundle.mjs +1 -1
  54. package/dist-lib/metro.cjs +6 -6
  55. package/dist-lib/native-app-identity-project.cjs +3 -3
  56. package/dist-lib/native-app-identity-project.mjs +3 -3
  57. package/dist-lib/native-app-identity.cjs +1 -1
  58. package/dist-lib/native-app-identity.mjs +1 -1
  59. package/dist-lib/native-firebase-metadata.cjs +1 -1
  60. package/dist-lib/native-firebase-metadata.mjs +1 -1
  61. package/dist-lib/pdfium-raster.cjs +1 -1
  62. package/dist-lib/pdfium-raster.mjs +1 -1
  63. package/dist-lib/plist.cjs +1 -1
  64. package/dist-lib/plist.mjs +1 -1
  65. package/dist-lib/profiles.cjs +1 -1
  66. package/dist-lib/public-brand.cjs +1 -1
  67. package/dist-lib/public-origins-lib-esm.json +24 -24
  68. package/dist-lib/public-origins-lib.json +53 -53
  69. package/dist-lib/react-native-host-modules.cjs +1 -1
  70. package/dist-lib/react-native-host-modules.mjs +1 -1
  71. package/dist-lib/reap-browser.cjs +1 -1
  72. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  73. package/dist-lib/sdk.cjs +1 -1
  74. package/dist-lib/sdk.mjs +1 -1
  75. package/dist-lib/skills.cjs +102 -84
  76. package/dist-lib/swift-compile.cjs +23 -12
  77. package/dist-lib/swift-compile.mjs +23 -12
  78. package/dist-lib/swift-package.cjs +1 -1
  79. package/dist-lib/swift-package.mjs +1 -1
  80. package/dist-lib/swift-submit.cjs +2 -2
  81. package/dist-lib/swift-submit.mjs +2 -2
  82. package/dist-lib/swift-toolchain.cjs +22 -11
  83. package/dist-lib/swift.cjs +1 -1
  84. package/dist-lib/vite-swift.cjs +26 -15
  85. package/dist-lib/vite.cjs +6 -6
  86. package/dist-lib/worklet-executable.cjs +1 -1
  87. package/dist-lib/worklet-executable.mjs +1 -1
  88. package/dist-types/packages/peach-engine/src/engine/layout-engine.d.ts +1 -1
  89. package/dist-types/packages/peach-engine/src/engine/render-damage.d.ts +1 -0
  90. package/dist-types/packages/peach-engine/src/engine/yoga-layout.d.ts +1 -0
  91. package/dist-types/packages/peach-globals/src/index.d.ts +1 -1
  92. package/dist-types/packages/peach-globals/src/recordingBridgeContract.d.ts +12 -0
  93. package/dist-types/packages/peach-kit/src/capabilities.d.ts +1 -0
  94. package/dist-types/packages/peach-kit/src/ui/hosting-safe-area.d.ts +1 -0
  95. package/dist-types/packages/peach-kit/src/ui/popover-placement.d.ts +1 -0
  96. package/java-platform/licenses/android.txt +6 -3
  97. package/java-platform/licenses/openjdk.txt +5 -4
  98. package/kotlin/sdk.tar.gz +0 -0
  99. package/package.json +1 -1
  100. package/runtime-companion.json +1 -1
  101. package/src/desktop-host-delivery.ts +22 -6
  102. package/src/expo-pod-prebuilt.ts +29 -3
  103. package/src/guest-bundle.ts +1 -0
  104. package/src/kotlin-host.ts +8 -4
  105. package/src/native-package-slice-build.ts +156 -96
  106. package/src/nitro-adapter.lock.json +279 -279
  107. package/src/nitro-superset.lock.json +4 -4
  108. package/src/package-tree-digest.ts +33 -10
  109. package/src/swift-distribution.lock.json +12 -11
  110. package/src/swift-submit.ts +2 -1
  111. package/src/swift-toolchain.ts +24 -10
  112. package/src/turbo-compile.ts +5 -1
  113. package/src/turbo-runtime.lock.json +22 -22
  114. package/src/turbo-source.ts +4 -32
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2269 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2271 | (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.2269 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2271 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/capture-contract.ts
4
4
  var RNX_SCREEN_CAPTURE_VERSION = 1;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2269 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2271 | (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.2269 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2271 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/cloud-contract.ts
4
4
  var RNX_CLOUD_MAX_ARTIFACT_BYTES = 40761776;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2269 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2271 | (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.2269 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2271 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/cloud-test-args.ts
4
4
  var CLOUD_TEST_ARGS_MAX_COUNT = 32;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2269 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2271 | (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.2269 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2271 | (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.2269 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2271 | (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.2269 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2271 | (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.2269 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2271 | (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: "d02533327d5a71a81c4402948c16014a41f69aaec3e413f48e4dbf3b9a2be677", file: "node/cli-d02533327d5a71a81c4402948c16014a41f69aaec3e413f48e4dbf3b9a2be677.cjs" };
2478
+ var runtime_companion_default = { abi: 1, sha256: "67493d7de4bb11712f0306f9697f039af53d359140b56023af67beabb7cdbcb0", file: "node/cli-67493d7de4bb11712f0306f9697f039af53d359140b56023af67beabb7cdbcb0.cjs" };
2479
2479
 
2480
2480
  // src/answeredNativePackages.ts
2481
2481
  var import_node_async_hooks = require("node:async_hooks");
@@ -10581,9 +10581,12 @@ var device = {
10581
10581
  const nativeStagesPath = nativeCheckpoint && path6.join(nativeCheckpoint, "stages.json");
10582
10582
  const nativeRecord = nativeStagesPath && fs4.existsSync(nativeStagesPath) ? JSON.parse(fs4.readFileSync(nativeStagesPath, "utf8")) : null;
10583
10583
  const nativeStages = nativeRecord?.stages ?? [];
10584
- const onsetChangePercent = Math.max(
10585
- proofObserver.motionChangeDefinition.minimumChangePercent,
10586
- nativeRecord?.videoTriggerDetection?.changedPixelPercent ?? 0
10584
+ const onsetChangePercent = Math.min(
10585
+ Math.max(
10586
+ proofObserver.motionChangeDefinition.minimumChangePercent,
10587
+ nativeRecord?.videoTriggerDetection?.changedPixelPercent ?? 0
10588
+ ),
10589
+ 99.9
10587
10590
  );
10588
10591
  const pairedStages = stages.map((stage) => {
10589
10592
  if (DETOX_PLATFORM !== "ios") return stage;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2269 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2271 | (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.2269 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2271 | (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;
@@ -1374,7 +1374,7 @@ var init_swift_submit = __esm({
1374
1374
  MAX_SWIFT_COMPILE_IMAGES = 256;
1375
1375
  MAX_SWIFT_COMPILE_IMAGE_BYTES = 4 * 1024 * 1024;
1376
1376
  MAX_SWIFT_COMPILE_IMAGE_TOTAL_BYTES = 16 * 1024 * 1024;
1377
- SWIFT_HOST_ABI = 72;
1377
+ SWIFT_HOST_ABI = 73;
1378
1378
  POLL_INTERVAL_MS = 1500;
1379
1379
  }
1380
1380
  });
@@ -5101,7 +5101,7 @@ var swiftCoverageProvenance;
5101
5101
  var init_provenance = __esm({
5102
5102
  "src/swift-coverage/provenance.ts"() {
5103
5103
  "use strict";
5104
- 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":"8deef5a824ed49209458a4b398cd8e88df260a0c8f1894d568279f6211866547","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, ".."));
5104
+ 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, ".."));
5105
5105
  }
5106
5106
  });
5107
5107
 
@@ -8157,16 +8157,20 @@ ${swiftInstallSteps(release, sdk2)}`
8157
8157
  );
8158
8158
  }
8159
8159
  const swift = import_node_path25.default.join(bin, "swift");
8160
- const sdks = (0, import_node_child_process13.execFileSync)(swift, ["sdk", "list", ...swiftSdkOptions()], {
8161
- encoding: "utf8",
8162
- env: swiftEnvironment(),
8163
- stdio: ["ignore", "pipe", "pipe"]
8164
- });
8165
- if (!sdks.split("\n").some((line) => line.trim() === sdk2.wasmSdkId)) {
8166
- throw new Error(
8167
- `peach compiles Swift with the ${sdk2.wasmSdkId} SDK, which ${swift} does not have.
8160
+ const listed = [swift, sdk2.wasmSdkId, ...swiftSdkOptions()].join("\0");
8161
+ if (!listedSdks.has(listed)) {
8162
+ const sdks = (0, import_node_child_process13.execFileSync)(swift, ["sdk", "list", ...swiftSdkOptions()], {
8163
+ encoding: "utf8",
8164
+ env: swiftEnvironment(),
8165
+ stdio: ["ignore", "pipe", "pipe"]
8166
+ });
8167
+ if (!sdks.split("\n").some((line) => line.trim() === sdk2.wasmSdkId)) {
8168
+ throw new Error(
8169
+ `peach compiles Swift with the ${sdk2.wasmSdkId} SDK, which ${swift} does not have.
8168
8170
  ${swiftSdkInstallStep(release, sdk2)}`
8169
- );
8171
+ );
8172
+ }
8173
+ listedSdks.add(listed);
8170
8174
  }
8171
8175
  try {
8172
8176
  verifySwiftSdk(swift, sdk2);
@@ -8182,6 +8186,9 @@ function validateSwiftSdkIdentity(sdk2) {
8182
8186
  throw new Error("invalid Swift SDK identity or checksum");
8183
8187
  }
8184
8188
  function swiftSdkBundle(swift, id, options) {
8189
+ const key2 = [swift, id, ...options].join("\0");
8190
+ const known = sdkBundles.get(key2);
8191
+ if (known && import_node_fs30.default.existsSync(known)) return known;
8185
8192
  const configuration = (0, import_node_child_process13.execFileSync)(
8186
8193
  swift,
8187
8194
  ["sdk", "configure", ...options, "--show-configuration", id, "wasm64-unknown-wasip1"],
@@ -8197,7 +8204,9 @@ function swiftSdkBundle(swift, id, options) {
8197
8204
  throw new Error(`Swift SDK ${id} is outside an artifact bundle`);
8198
8205
  bundle = parent;
8199
8206
  }
8200
- return import_node_fs30.default.realpathSync(bundle);
8207
+ const resolved = import_node_fs30.default.realpathSync(bundle);
8208
+ sdkBundles.set(key2, resolved);
8209
+ return resolved;
8201
8210
  }
8202
8211
  function swiftSdkPayloadChecksum(bundle) {
8203
8212
  const hash = (0, import_node_crypto10.createHash)("sha256");
@@ -8512,7 +8521,7 @@ function swiftCompilerInstall(release) {
8512
8521
  ]
8513
8522
  };
8514
8523
  }
8515
- 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, sdkFileHashes, verifiedCompilers;
8524
+ 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;
8516
8525
  var init_swift_toolchain = __esm({
8517
8526
  "src/swift-toolchain.ts"() {
8518
8527
  "use strict";
@@ -8792,6 +8801,8 @@ var init_swift_toolchain = __esm({
8792
8801
  SWIFT_PRIVATE_DISTRIBUTION_ENV = "PEACH_SWIFT_PRIVATE_DISTRIBUTION";
8793
8802
  SWIFT_AUTOLINK_LINKER = ".peach-wasm-ld";
8794
8803
  BUILDERS_ROOT_ENV = "CONTRAST_BUILDERS_ROOT";
8804
+ listedSdks = /* @__PURE__ */ new Set();
8805
+ sdkBundles = /* @__PURE__ */ new Map();
8795
8806
  sdkFileHashes = /* @__PURE__ */ new Map();
8796
8807
  verifiedCompilers = /* @__PURE__ */ new Map();
8797
8808
  }
@@ -25142,7 +25153,7 @@ int EXUpdatesApplyBSDiffPatch(const char * _Nonnull oldFilePath,
25142
25153
  REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
25143
25154
  MULTI_MANIFEST_VERSION = 68;
25144
25155
  SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
25145
- compilerSourceDigest = true ? "05dbb1273689060748700777894c639c73bea2e6da20eaf47e8040b26ff859cf" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
25156
+ compilerSourceDigest = true ? "bc384e05829330ac85b4cd23cd2a41bb18fa4c35b7008ba98d417b716f3a0605" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
25146
25157
  nativeCxxCompilerFlags = ["-fno-cxx-modules"];
25147
25158
  cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
25148
25159
  cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
@@ -29277,7 +29288,7 @@ var init_swift_standin_digest = __esm({
29277
29288
  STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
29278
29289
  SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
29279
29290
  standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
29280
- STANDIN_SOURCE_DIGEST = true ? "f548e83c6abe8dd5a2c941c3e6dda49428b276f3d10495535e97a14aca44c0cc" : standinSourceDigest();
29291
+ STANDIN_SOURCE_DIGEST = true ? "efd773c339d9f0cdb93189d322832bca352dd0d701338e88d3dbd8abdebfa05c" : standinSourceDigest();
29281
29292
  }
29282
29293
  });
29283
29294
 
@@ -44103,38 +44114,6 @@ void dispatchToJSThread(dispatch_block_t block) {
44103
44114
  }
44104
44115
  } // namespace
44105
44116
 
44106
- static CGFloat peachScreenBrightness = 0.5;
44107
-
44108
- @implementation UIScreen (PeachTurboRuntime)
44109
- + (UIScreen *)mainScreen {
44110
- static UIScreen *screen = nil;
44111
- if (!screen) screen = [[UIScreen alloc] init];
44112
- return screen;
44113
- }
44114
- - (CGFloat)brightness {
44115
- return peachScreenBrightness;
44116
- }
44117
- - (void)setBrightness:(CGFloat)value {
44118
- peachScreenBrightness = value;
44119
- }
44120
- @end
44121
-
44122
- static BOOL peachIdleTimerDisabled = NO;
44123
-
44124
- @implementation UIApplication (PeachTurboRuntime)
44125
- + (UIApplication *)sharedApplication {
44126
- static UIApplication *app = nil;
44127
- if (!app) app = [[UIApplication alloc] init];
44128
- return app;
44129
- }
44130
- - (BOOL)isIdleTimerDisabled {
44131
- return peachIdleTimerDisabled;
44132
- }
44133
- - (void)setIdleTimerDisabled:(BOOL)disabled {
44134
- peachIdleTimerDisabled = disabled;
44135
- }
44136
- @end
44137
-
44138
44117
  // React Native's own modules register before any provider's, and RCTBridge.mm
44139
44118
  // creates the registry's queue in the first RCTRegisterModule. the engine
44140
44119
  // supplies those modules, so a process whose providers register none (codegen
@@ -44251,6 +44230,9 @@ ${moduleProviders ? `- (id<RCTModuleProvider>)getModuleProvider:(const char *)na
44251
44230
 
44252
44231
  @end
44253
44232
 
44233
+ // UIKitCore: the key window and root view controller an app delegate makes at launch
44234
+ extern "C" void PeachLaunchReactNativeWindow(void);
44235
+
44254
44236
  extern "C" void peachTurboInitialize() {
44255
44237
  objc_create_block_classes_as_subclasses_of([NSObject class]);
44256
44238
  if (Class blockClass = NSClassFromString(@"_NSBlock")) {
@@ -44264,6 +44246,7 @@ extern "C" void peachTurboInitialize() {
44264
44246
  static_cast<uint32_t *>((__bridge void *)mainQueueClass)[4] &= ~2048u;
44265
44247
  *reinterpret_cast<void **>(&_dispatch_main_q) = (__bridge void *)mainQueueClass;
44266
44248
  }
44249
+ PeachLaunchReactNativeWindow();
44267
44250
  auto& runtime = peach::jsi_runtime::create(
44268
44251
  [] { invoker->drain(); },
44269
44252
  [] {
@@ -44957,7 +44940,7 @@ var init_react_native_core = __esm({
44957
44940
  init_swift_distribution();
44958
44941
  init_swift_package();
44959
44942
  init_swiftContract();
44960
- recipe = true ? "6b67c6a71d4bea968d2b12089709b9f559c04bdd32fd1b13d97069d439205d8e" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
44943
+ recipe = true ? "f25e6eebbd94a819a8b56491f6d54aa97b8d96b6a98e78011e85be546a8cb2bd" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
44961
44944
  strings4 = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
44962
44945
  building = /* @__PURE__ */ new Map();
44963
44946
  }
@@ -50301,26 +50284,33 @@ var import_node_fs62 = require("node:fs");
50301
50284
  var import_promises6 = require("node:fs/promises");
50302
50285
  var import_node_path60 = require("node:path");
50303
50286
  var READ_AHEAD = 64;
50304
- async function packageTreeDigest(root) {
50287
+ function hashPackageTree(root, options) {
50305
50288
  const files2 = [];
50306
50289
  const walk3 = (directory2, relative3) => {
50307
50290
  for (const entry of (0, import_node_fs62.readdirSync)(directory2, { withFileTypes: true }).sort(
50308
- (a, b) => a.name.localeCompare(b.name)
50291
+ (a, b) => options.compareNames(a.name, b.name)
50309
50292
  )) {
50310
50293
  if (entry.name === "node_modules") continue;
50311
50294
  const path75 = `${relative3}${entry.name}`;
50312
50295
  if (entry.isDirectory()) walk3((0, import_node_path60.join)(directory2, entry.name), `${path75}/`);
50313
- else if (entry.isFile()) files2.push(path75);
50296
+ else if (entry.isFile() && !options.skipFile?.(entry.name)) files2.push(path75);
50314
50297
  }
50315
50298
  };
50316
50299
  walk3(root, "");
50317
50300
  const hash = (0, import_node_crypto29.createHash)("sha256");
50318
- for (let start = 0; start < files2.length; start += READ_AHEAD) {
50319
- const batch = files2.slice(start, start + READ_AHEAD);
50320
- const bytes = await Promise.all(batch.map((file) => (0, import_promises6.readFile)((0, import_node_path60.join)(root, file))));
50321
- batch.forEach((file, index) => hash.update(`${file}\0`).update(bytes[index]));
50322
- }
50323
- return hash.digest("hex");
50301
+ return (async () => {
50302
+ for (let start = 0; start < files2.length; start += READ_AHEAD) {
50303
+ const batch = files2.slice(start, start + READ_AHEAD);
50304
+ const bytes = await Promise.all(batch.map((file) => (0, import_promises6.readFile)((0, import_node_path60.join)(root, file))));
50305
+ batch.forEach((file, index) => hash.update(`${file}\0`).update(bytes[index]));
50306
+ }
50307
+ return hash.digest("hex");
50308
+ })();
50309
+ }
50310
+ function packageTreeDigest(root) {
50311
+ return hashPackageTree(root, {
50312
+ compareNames: (left, right) => left.localeCompare(right)
50313
+ });
50324
50314
  }
50325
50315
 
50326
50316
  // src/expo-native-prebuilt.ts
@@ -50328,7 +50318,7 @@ init_swift_native_pin();
50328
50318
  init_xcode_project();
50329
50319
  var EXPO_NATIVE_ENTRY_NAME = "ios";
50330
50320
  function expoNativeCompilerDigestValue() {
50331
- return true ? "dc9231a527fdc6ab4d8537af070a2c12b41a0e558ffe49d321ba058383d2f9c6" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
50321
+ return true ? "a5371e10fd5d8f845d28f566ebd9f08691fc15b3f3e8f94ca3e16637f7a0227a" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
50332
50322
  }
50333
50323
  var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
50334
50324
  function readSources(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2269 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2271 | (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.2269 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2271 | (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.2269 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2271 | (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;