peachsim 0.1.2742 → 0.1.2743

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 (125) hide show
  1. package/dist-lib/agent-daemon-client.cjs +1 -1
  2. package/dist-lib/agent-events.cjs +1 -1
  3. package/dist-lib/attached-projects.cjs +1 -1
  4. package/dist-lib/auth/shared-session.cjs +1 -1
  5. package/dist-lib/backend-origin.cjs +1 -1
  6. package/dist-lib/beta.cjs +1 -1
  7. package/dist-lib/beta.mjs +2 -2
  8. package/dist-lib/bridge-constants.cjs +1 -1
  9. package/dist-lib/bridge-contract-input.cjs +1 -1
  10. package/dist-lib/bridge-contract-input.mjs +5 -5
  11. package/dist-lib/bridge-contract.cjs +1 -1
  12. package/dist-lib/bridge-contract.mjs +3 -3
  13. package/dist-lib/bundle-channel.cjs +119 -100
  14. package/dist-lib/capture-contract.cjs +1 -1
  15. package/dist-lib/capture-contract.mjs +3 -3
  16. package/dist-lib/cloud-contract.cjs +1 -1
  17. package/dist-lib/cloud-contract.mjs +3 -3
  18. package/dist-lib/cloud-test-args.cjs +1 -1
  19. package/dist-lib/cloud-test-args.mjs +2 -2
  20. package/dist-lib/cloud.cjs +1 -1
  21. package/dist-lib/cloud.mjs +7 -7
  22. package/dist-lib/config.cjs +1 -1
  23. package/dist-lib/config.mjs +5 -5
  24. package/dist-lib/detox/index.cjs +1 -1
  25. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  26. package/dist-lib/esm-chunks/{acorn-I6YLE7RH.mjs → acorn-4LW63VJO.mjs} +3 -3
  27. package/dist-lib/esm-chunks/{chunk-2SC45KUK.mjs → chunk-23OQSLRP.mjs} +128 -109
  28. package/dist-lib/esm-chunks/{chunk-RC3JQV7D.mjs → chunk-2HP5FPCA.mjs} +1 -1
  29. package/dist-lib/esm-chunks/{chunk-GMFZTGVJ.mjs → chunk-6FHNPTCA.mjs} +6 -6
  30. package/dist-lib/esm-chunks/{chunk-4CNYVYQW.mjs → chunk-7NBU6OXB.mjs} +4 -4
  31. package/dist-lib/esm-chunks/{chunk-ZRA35GYC.mjs → chunk-B3F4HKM6.mjs} +5 -5
  32. package/dist-lib/esm-chunks/{chunk-FKC5RBXR.mjs → chunk-BJSA6VP6.mjs} +1 -1
  33. package/dist-lib/esm-chunks/{chunk-OXFGIZC4.mjs → chunk-BNJ5YG7V.mjs} +2 -2
  34. package/dist-lib/esm-chunks/{chunk-VH5KY2GM.mjs → chunk-BQUYNIMY.mjs} +1 -1
  35. package/dist-lib/esm-chunks/{chunk-G44GUBAL.mjs → chunk-BW3KZJV5.mjs} +1 -1
  36. package/dist-lib/esm-chunks/{chunk-YQSNOLNM.mjs → chunk-EAAYQS4L.mjs} +1 -1
  37. package/dist-lib/esm-chunks/{chunk-HJBL2ND3.mjs → chunk-EES2SLJK.mjs} +1 -1
  38. package/dist-lib/esm-chunks/{chunk-Y4Q3W36I.mjs → chunk-GIZQHA6L.mjs} +6 -6
  39. package/dist-lib/esm-chunks/{chunk-QDTQYGJB.mjs → chunk-HOUFNDEV.mjs} +1 -1
  40. package/dist-lib/esm-chunks/{chunk-CFPPESX7.mjs → chunk-JHOZWSFF.mjs} +1 -1
  41. package/dist-lib/esm-chunks/{chunk-6QTRZNLH.mjs → chunk-LVCSLWR2.mjs} +1 -1
  42. package/dist-lib/esm-chunks/{chunk-U262IRGM.mjs → chunk-OEQBNK6V.mjs} +1 -1
  43. package/dist-lib/esm-chunks/{chunk-NWGCI4JC.mjs → chunk-SG7MN2KW.mjs} +3 -3
  44. package/dist-lib/esm-chunks/{chunk-PLXC42XF.mjs → chunk-THJMTM3L.mjs} +1 -1
  45. package/dist-lib/esm-chunks/{chunk-6LMI5DE3.mjs → chunk-THSR72MV.mjs} +1 -1
  46. package/dist-lib/esm-chunks/{chunk-MHRTZ6I7.mjs → chunk-V3SRJIBE.mjs} +1 -1
  47. package/dist-lib/esm-chunks/{chunk-VWRLBFID.mjs → chunk-VJKLZAU2.mjs} +1 -1
  48. package/dist-lib/esm-chunks/{chunk-IVVVYJKG.mjs → chunk-WKGJ6LAU.mjs} +1 -1
  49. package/dist-lib/esm-chunks/{chunk-MXADGMSE.mjs → chunk-XP5F6PNN.mjs} +1 -1
  50. package/dist-lib/esm-chunks/{chunk-GPVGYC45.mjs → chunk-ZLQX4SVV.mjs} +1 -1
  51. package/dist-lib/esm-chunks/{metro-layout-parser-QGTUKU6T.mjs → metro-layout-parser-L57PU3TD.mjs} +3 -3
  52. package/dist-lib/esm-chunks/{swift-package-prebuilt-M2IXDM7B.mjs → swift-package-prebuilt-UNXWJN7B.mjs} +12 -12
  53. package/dist-lib/esm-chunks/{swift-sdk-app-module-4KYBNEBW.mjs → swift-sdk-app-module-DZV3XYCP.mjs} +16 -16
  54. package/dist-lib/esm-chunks/{swift-sdk-image-Z37PPINV.mjs → swift-sdk-image-WRYMP64Z.mjs} +16 -16
  55. package/dist-lib/esm-chunks/{swift-sdk-image-producer-7KFCU6Y6.mjs → swift-sdk-image-producer-D6DOCCCR.mjs} +5 -5
  56. package/dist-lib/expo-swift-bundle.cjs +119 -100
  57. package/dist-lib/expo-swift-metadata.cjs +1 -1
  58. package/dist-lib/expo-swift-metadata.mjs +7 -7
  59. package/dist-lib/home-paths.cjs +1 -1
  60. package/dist-lib/host/bridge-host.cjs +119 -100
  61. package/dist-lib/host/fetch-proxy-handler.cjs +3 -3
  62. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  63. package/dist-lib/host/fetch-proxy-overrides.mjs +2 -2
  64. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  65. package/dist-lib/host/websocket-proxy.cjs +1 -1
  66. package/dist-lib/index.cjs +1 -1
  67. package/dist-lib/kotlin-host.cjs +1 -1
  68. package/dist-lib/menu.cjs +1 -1
  69. package/dist-lib/menu.mjs +3 -3
  70. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  71. package/dist-lib/metro-fingerprint-registry.mjs +3 -3
  72. package/dist-lib/metro-production-bundle.cjs +1 -1
  73. package/dist-lib/metro-production-bundle.mjs +4 -4
  74. package/dist-lib/native-app-identity-project.cjs +1 -1
  75. package/dist-lib/native-app-identity-project.mjs +15 -15
  76. package/dist-lib/native-app-identity.cjs +1 -1
  77. package/dist-lib/native-app-identity.mjs +6 -6
  78. package/dist-lib/native-firebase-metadata.cjs +1 -1
  79. package/dist-lib/native-firebase-metadata.mjs +3 -3
  80. package/dist-lib/pdfium-raster.cjs +1 -1
  81. package/dist-lib/pdfium-raster.mjs +2 -2
  82. package/dist-lib/plist.cjs +1 -1
  83. package/dist-lib/plist.mjs +3 -3
  84. package/dist-lib/profiles.cjs +1 -1
  85. package/dist-lib/public-brand.cjs +1 -1
  86. package/dist-lib/public-origins-lib-esm.json +85 -85
  87. package/dist-lib/public-origins-lib.json +64 -64
  88. package/dist-lib/react-native-host-modules.cjs +1 -1
  89. package/dist-lib/react-native-host-modules.mjs +2 -2
  90. package/dist-lib/reap-browser.cjs +1 -1
  91. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  92. package/dist-lib/sdk.cjs +1 -1
  93. package/dist-lib/sdk.mjs +8 -8
  94. package/dist-lib/skills.cjs +119 -100
  95. package/dist-lib/swift-compile.cjs +115 -96
  96. package/dist-lib/swift-compile.mjs +12 -12
  97. package/dist-lib/swift-package.cjs +1 -1
  98. package/dist-lib/swift-package.mjs +3 -3
  99. package/dist-lib/swift-submit.cjs +1 -1
  100. package/dist-lib/swift-submit.mjs +6 -6
  101. package/dist-lib/swift-svg-raster.cjs +1 -1
  102. package/dist-lib/swift-svg-raster.mjs +2 -2
  103. package/dist-lib/swift-toolchain.cjs +1 -1
  104. package/dist-lib/swift.cjs +1 -1
  105. package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
  106. package/dist-lib/vendor/@ruby/prism/src/nodes.js.cjs +1 -1
  107. package/dist-lib/vendor/@ruby/prism/src/parsePrism.js.cjs +1 -1
  108. package/dist-lib/vendor/acorn.cjs +1 -1
  109. package/dist-lib/vendor/magic-string.cjs +1 -1
  110. package/dist-lib/vendor/stream-json.cjs +1 -1
  111. package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
  112. package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
  113. package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
  114. package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
  115. package/dist-lib/vendor/sucrase.cjs +1 -1
  116. package/dist-lib/vendor/terser.cjs +1 -1
  117. package/dist-lib/vendor/valibot.cjs +1 -1
  118. package/dist-lib/vendor/ws.cjs +1 -1
  119. package/dist-lib/vendor/zod.cjs +1 -1
  120. package/dist-lib/worklet-executable.cjs +1 -1
  121. package/dist-lib/worklet-executable.mjs +3 -3
  122. package/dist-types/packages/peach-engine/src/engine/native-font-dataContract.d.ts +1 -0
  123. package/dist-types/packages/peach-kit/src/ui/hosting-safe-area.d.ts +17 -1
  124. package/package.json +1 -1
  125. package/src/swift-compile.ts +145 -120
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2742 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2743 | (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.2742 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2743 | (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.2742 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2743 | (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.2742 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2743 | (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.2742 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2743 | (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.2742 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2743 | (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.2742 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
- import "./esm-chunks/chunk-6QTRZNLH.mjs";
1
+ /*! peach v0.1.2743 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
+ import "./esm-chunks/chunk-LVCSLWR2.mjs";
3
3
 
4
4
  // src/beta.ts
5
5
  var IS_BETA = true;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2742 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2743 | (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.2742 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2743 | (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.2742 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2743 | (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-NWGCI4JC.mjs";
21
- import "./esm-chunks/chunk-GPVGYC45.mjs";
22
- import "./esm-chunks/chunk-RC3JQV7D.mjs";
23
- import "./esm-chunks/chunk-6QTRZNLH.mjs";
20
+ } from "./esm-chunks/chunk-SG7MN2KW.mjs";
21
+ import "./esm-chunks/chunk-ZLQX4SVV.mjs";
22
+ import "./esm-chunks/chunk-2HP5FPCA.mjs";
23
+ import "./esm-chunks/chunk-LVCSLWR2.mjs";
24
24
  export {
25
25
  BridgeInputError,
26
26
  SEMANTIC_WAIT_MAX_TIMEOUT_MS,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2742 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2743 | (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.2742 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2743 | (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-GPVGYC45.mjs";
17
- import "./esm-chunks/chunk-6QTRZNLH.mjs";
16
+ } from "./esm-chunks/chunk-ZLQX4SVV.mjs";
17
+ import "./esm-chunks/chunk-LVCSLWR2.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.2742 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2743 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -10108,7 +10108,7 @@ var init_swift_objc_sdk_tree = __esm({
10108
10108
 
10109
10109
  // src/swift-compiler-digest.ts
10110
10110
  function swiftArchiveCompilerDigestValue() {
10111
- return true ? "0793e59f1e3cdb2b823e46162b3112e01b180b07a4650b5e43a642bc3094d5ef" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname, "archive");
10111
+ return true ? "e036567f599b9df239e4332b34b546043c5d1c41996348475482e91ed8b42366" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname, "archive");
10112
10112
  }
10113
10113
  var import_node_crypto9, import_node_fs20, import_node_path16, SWIFT_DIGEST_SOURCES, LINKED_IMAGE_SOURCES, SWIFT_ARCHIVE_DIGEST_SOURCES;
10114
10114
  var init_swift_compiler_digest = __esm({
@@ -37164,7 +37164,7 @@ function findTargetForFile(file, byDir, predicate) {
37164
37164
  }
37165
37165
  return void 0;
37166
37166
  }
37167
- function compiledSwiftSources(files2, targets, overlayFrameworks, headers, nativeSourceGlue = false) {
37167
+ function compiledSwiftSources(files2, targets, overlayFrameworks, headers) {
37168
37168
  const ordered = [...targets].sort((a, b) => b.path.length - a.path.length);
37169
37169
  const byDir = indexTargetsByDirectory(ordered);
37170
37170
  const excludeSets = /* @__PURE__ */ new Map();
@@ -37190,7 +37190,7 @@ function compiledSwiftSources(files2, targets, overlayFrameworks, headers, nativ
37190
37190
  const { onWasm, withoutWasm } = swiftTargetArchitectures(targets, swiftSources, headers);
37191
37191
  return new Map(
37192
37192
  [...owners].map(([file, { source, owner }]) => {
37193
- if (nativeSourceGlue && import_node_path55.default.posix.basename(file) === "OneNativeSource.generated.swift")
37193
+ if (import_node_path55.default.posix.basename(file) === "OneNativeSource.generated.swift")
37194
37194
  return [file, source];
37195
37195
  const manifest = /(?:^|\/)Package(?:@swift-[\d.]+)?\.swift$/.test(file);
37196
37196
  if (manifest && (!owner || /^Package(?:@swift-[\d.]+)?\.swift$/.test(file)))
@@ -38715,8 +38715,7 @@ module ${moduleName2}.Swift {
38715
38715
  ([file]) => /\.(?:h|hh|hpp)$/.test(file)
38716
38716
  );
38717
38717
  return headerFiles3.filter(([file]) => file.startsWith(`${directory2}/`)).map(([, contents2]) => contents2);
38718
- },
38719
- input.oneModule
38718
+ }
38720
38719
  );
38721
38720
  const libraryEntryFiles = /* @__PURE__ */ new Map();
38722
38721
  for (const target of [...targets]) {
@@ -39969,9 +39968,10 @@ function removeCaseCollidingModuleArtifacts(modulesDir, keep) {
39969
39968
  (0, import_node_fs55.rmSync)(import_node_path55.default.join(modulesDir, name3), { recursive: true, force: true });
39970
39969
  }
39971
39970
  }
39972
- function readFrameworkProductsReceipt(scratch2, receiptKey) {
39971
+ function readFrameworkProductsReceipt(scratch2, receiptKey, planChangedAt = 0n) {
39973
39972
  const receiptFile2 = import_node_path55.default.join(scratch2, "products-ready", `${receiptKey}.json`);
39974
- if (!(0, import_node_fs55.existsSync)(receiptFile2)) return null;
39973
+ const receiptStat = (0, import_node_fs55.statSync)(receiptFile2, { bigint: true, throwIfNoEntry: false });
39974
+ if (!receiptStat || receiptStat.mtimeNs < planChangedAt) return null;
39975
39975
  let parsed2;
39976
39976
  try {
39977
39977
  parsed2 = v6.parse(
@@ -40095,117 +40095,136 @@ async function buildFrameworkProducts(scratch2, args, allowWrite) {
40095
40095
  const unoptimized = args.input.unoptimized === true;
40096
40096
  const sdkOptions = swiftCompileSdkOptions(args.moduleRoot, args.toolchainBin);
40097
40097
  const selectorOptions = swiftObjCSelectorOptions(args.moduleRoot);
40098
- const receiptKey = (0, import_node_crypto35.createHash)("sha256").update(
40098
+ const receiptKeyFor = (products) => (0, import_node_crypto35.createHash)("sha256").update(
40099
40099
  JSON.stringify([
40100
40100
  "framework-products/v2",
40101
40101
  args.frameworkKey,
40102
40102
  unoptimized,
40103
40103
  args.sdk,
40104
40104
  args.toolchainBin,
40105
- [...linkedTargets.products].sort(),
40105
+ [...products].sort(),
40106
40106
  darwinRecordsMinimum(),
40107
40107
  args.plugins,
40108
40108
  sdkOptions,
40109
40109
  selectorOptions
40110
40110
  ])
40111
40111
  ).digest("hex").slice(0, 32);
40112
+ const receiptKey = receiptKeyFor(linkedTargets.products);
40112
40113
  const ready = readFrameworkProductsReceipt(scratch2, receiptKey);
40113
40114
  if (ready) return ready;
40114
40115
  if (!allowWrite) return;
40115
40116
  const linkRoot = import_node_path55.default.join(scratch2, "link");
40116
- writeFrameworkLinkPackage(linkRoot, args.moduleRoot, linkedTargets.products);
40117
- const frameworkTmp = import_node_path55.default.join(scratch2, "peach-compiler-tmp");
40118
- (0, import_node_fs55.mkdirSync)(frameworkTmp, { recursive: true });
40119
- const jobs = swiftCompilerJobs();
40120
- const targetJobs = jobs >= 4 ? 2 : 1;
40121
- const driverJobs = Math.max(1, Math.floor(jobs / targetJobs));
40122
- const cache = unoptimized ? null : prepareFrameworkCompileCache(
40117
+ const manifest = import_node_path55.default.join(linkRoot, "Package.swift");
40118
+ const manifestStat = (0, import_node_fs55.statSync)(manifest, { bigint: true, throwIfNoEntry: false });
40119
+ const planStat = (0, import_node_fs55.statSync)(import_node_path55.default.join(scratch2, "release.yaml"), {
40120
+ bigint: true,
40121
+ throwIfNoEntry: false
40122
+ });
40123
+ const builtProducts = manifestStat && planStat ? [
40124
+ ...(0, import_node_fs55.readFileSync)(manifest, "utf8").matchAll(
40125
+ /^\s*\.product\(name: "([^"]+)", package:/gm
40126
+ )
40127
+ ].map((match) => match[1]) : [];
40128
+ const reusePlan = manifestStat && planStat && linkedTargets.products.every((product) => builtProducts.includes(product)) && readFrameworkProductsReceipt(
40123
40129
  scratch2,
40124
- args.moduleRoot,
40125
- args.toolchainBin,
40126
- sdkOptions,
40127
- linkedTargets.products
40128
- );
40129
- await runCompiler(
40130
- args.swift,
40131
- [
40132
- "build",
40133
- ...swiftPackageCacheOptions(),
40134
- "--build-system",
40135
- "native",
40136
- "-j",
40137
- String(targetJobs),
40138
- "--package-path",
40139
- linkRoot,
40140
- "--scratch-path",
40130
+ receiptKeyFor(builtProducts),
40131
+ manifestStat.ctimeNs > planStat.ctimeNs ? manifestStat.ctimeNs : planStat.ctimeNs
40132
+ );
40133
+ if (!reusePlan) {
40134
+ writeFrameworkLinkPackage(linkRoot, args.moduleRoot, linkedTargets.products);
40135
+ const frameworkTmp = import_node_path55.default.join(scratch2, "peach-compiler-tmp");
40136
+ (0, import_node_fs55.mkdirSync)(frameworkTmp, { recursive: true });
40137
+ const jobs = swiftCompilerJobs();
40138
+ const targetJobs = jobs >= 4 ? 2 : 1;
40139
+ const driverJobs = Math.max(1, Math.floor(jobs / targetJobs));
40140
+ const cache = unoptimized ? null : prepareFrameworkCompileCache(
40141
40141
  scratch2,
40142
- "--target",
40143
- FRAMEWORK_LINK_TARGET,
40144
- ...sdkOptions,
40145
- ...selectorOptions,
40146
- "--swift-sdk",
40147
- args.sdk,
40148
- "-c",
40149
- "release",
40150
- ...cache ? ["-Xswiftc", "-driver-use-frontend-path", "-Xswiftc", cache.wrapper] : [],
40151
- "-Xswiftc",
40152
- unoptimized ? "-Onone" : "-Osize",
40153
- "-Xswiftc",
40154
- "-no-whole-module-optimization",
40155
- // optimized batches can move specialized definitions between object files.
40156
- ...unoptimized ? ["-Xswiftc", "-incremental"] : [],
40157
- "-Xswiftc",
40158
- "-enable-batch-mode",
40159
- // each batch repeats the same framework diagnostics.
40160
- ...unoptimized ? [] : ["-Xswiftc", "-suppress-warnings"],
40161
- "-Xswiftc",
40162
- "-j",
40163
- "-Xswiftc",
40164
- String(driverJobs),
40165
- // the release link strips all debug info, so none is generated.
40166
- "-Xswiftc",
40167
- "-gnone",
40168
- "-Xcc",
40169
- "-g0",
40170
- "-Xcxx",
40171
- "-g0",
40172
- "-Xswiftc",
40173
- "-num-threads",
40174
- "-Xswiftc",
40175
- "1",
40176
- ...swiftReproducibleBuildFlags([
40177
- [import_node_path55.default.dirname(args.toolchainBin), "toolchain"],
40178
- [args.moduleRoot, "framework"],
40179
- [scratch2, "framework-scratch"]
40180
- ]),
40181
- ...args.plugins.libraries.flatMap((plugin) => [
40142
+ args.moduleRoot,
40143
+ args.toolchainBin,
40144
+ sdkOptions,
40145
+ linkedTargets.products
40146
+ );
40147
+ await runCompiler(
40148
+ args.swift,
40149
+ [
40150
+ "build",
40151
+ ...swiftPackageCacheOptions(),
40152
+ "--build-system",
40153
+ "native",
40154
+ "-j",
40155
+ String(targetJobs),
40156
+ "--package-path",
40157
+ linkRoot,
40158
+ "--scratch-path",
40159
+ scratch2,
40160
+ "--target",
40161
+ FRAMEWORK_LINK_TARGET,
40162
+ ...sdkOptions,
40163
+ ...selectorOptions,
40164
+ "--swift-sdk",
40165
+ args.sdk,
40166
+ "-c",
40167
+ "release",
40168
+ ...cache ? ["-Xswiftc", "-driver-use-frontend-path", "-Xswiftc", cache.wrapper] : [],
40182
40169
  "-Xswiftc",
40183
- "-load-plugin-library",
40170
+ unoptimized ? "-Onone" : "-Osize",
40184
40171
  "-Xswiftc",
40185
- plugin
40186
- ]),
40187
- ...args.plugins.executables.flatMap((plugin) => [
40172
+ "-no-whole-module-optimization",
40173
+ // optimized batches can move specialized definitions between object files.
40174
+ ...unoptimized ? ["-Xswiftc", "-incremental"] : [],
40188
40175
  "-Xswiftc",
40189
- "-load-plugin-executable",
40176
+ "-enable-batch-mode",
40177
+ // each batch repeats the same framework diagnostics.
40178
+ ...unoptimized ? [] : ["-Xswiftc", "-suppress-warnings"],
40190
40179
  "-Xswiftc",
40191
- `${plugin}#ExpoModulesMacros`
40192
- ])
40193
- ],
40194
- // swiftpm hashes TMPDIR into its plan; keep one stable compiler scratch inside the locked slot.
40195
- // the framework build's warnings alone pass the default 1 MiB cap, which kills
40196
- // the build one step from the end.
40197
- {
40198
- ...args.buildOptions,
40199
- temporaryDirectory: frameworkTmp,
40200
- maxBuffer: 64 * 1024 * 1024
40201
- },
40202
- SWIFTPM_PROGRESS,
40203
- SWIFTPM_NOISE
40204
- ).catch((error) => {
40205
- throw new Error(outputOf(error), { cause: error });
40206
- }).finally(() => {
40207
- if (cache) reportFrameworkCompileCacheStats(scratch2, cache.statsFile);
40208
- });
40180
+ "-j",
40181
+ "-Xswiftc",
40182
+ String(driverJobs),
40183
+ // the release link strips all debug info, so none is generated.
40184
+ "-Xswiftc",
40185
+ "-gnone",
40186
+ "-Xcc",
40187
+ "-g0",
40188
+ "-Xcxx",
40189
+ "-g0",
40190
+ "-Xswiftc",
40191
+ "-num-threads",
40192
+ "-Xswiftc",
40193
+ "1",
40194
+ ...swiftReproducibleBuildFlags([
40195
+ [import_node_path55.default.dirname(args.toolchainBin), "toolchain"],
40196
+ [args.moduleRoot, "framework"],
40197
+ [scratch2, "framework-scratch"]
40198
+ ]),
40199
+ ...args.plugins.libraries.flatMap((plugin) => [
40200
+ "-Xswiftc",
40201
+ "-load-plugin-library",
40202
+ "-Xswiftc",
40203
+ plugin
40204
+ ]),
40205
+ ...args.plugins.executables.flatMap((plugin) => [
40206
+ "-Xswiftc",
40207
+ "-load-plugin-executable",
40208
+ "-Xswiftc",
40209
+ `${plugin}#ExpoModulesMacros`
40210
+ ])
40211
+ ],
40212
+ // swiftpm hashes TMPDIR into its plan; keep one stable compiler scratch inside the locked slot.
40213
+ // the framework build's warnings alone pass the default 1 MiB cap, which kills
40214
+ // the build one step from the end.
40215
+ {
40216
+ ...args.buildOptions,
40217
+ temporaryDirectory: frameworkTmp,
40218
+ maxBuffer: 64 * 1024 * 1024
40219
+ },
40220
+ SWIFTPM_PROGRESS,
40221
+ SWIFTPM_NOISE
40222
+ ).catch((error) => {
40223
+ throw new Error(outputOf(error), { cause: error });
40224
+ }).finally(() => {
40225
+ if (cache) reportFrameworkCompileCacheStats(scratch2, cache.statsFile);
40226
+ });
40227
+ }
40209
40228
  const release = import_node_path55.default.join(scratch2, WASM_TRIPLE, "release");
40210
40229
  const linked = frameworkLinkClosure(scratch2, linkedTargets.targets);
40211
40230
  const objects = linked.objects;
@@ -41744,7 +41763,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
41744
41763
  REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
41745
41764
  MULTI_MANIFEST_VERSION = 76;
41746
41765
  SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
41747
- compilerSourceDigest = true ? "07651c3448f918d1873b3ecc1d3db59948c7cbfdd917cd5b69da610a327f857a" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
41766
+ compilerSourceDigest = true ? "c83dc1b17f6e7fc01d5217313795b0276b66d9f33db641855c80c055d7d77edd" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
41748
41767
  nativeCxxCompilerFlags = ["-fno-cxx-modules"];
41749
41768
  MODULE_MAP_RESPONSE_FILE_RUN = 16;
41750
41769
  cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
@@ -106679,7 +106698,7 @@ var init_nitro_superset = __esm({
106679
106698
  init_nitroContract();
106680
106699
  init_swift_standin_digest();
106681
106700
  NITRO_SUPERSET_ENTRY_NAME = "superset";
106682
- NITRO_COMPILER_DIGEST = true ? "044328c5350ebb809f06385360a8f8ac2ddc79127894cab52bbe62745e02eda8" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
106701
+ NITRO_COMPILER_DIGEST = true ? "880e684ade3a6398cfad03a94e2163815fcdc45e9f1be044e82a986570df5d2e" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
106683
106702
  nitroSupersetLock = parseLock(nitro_superset_lock_default);
106684
106703
  nitroSupersetKey = (inputs2) => nativeEntryKey({ ...inputs2, compiler: NITRO_COMPILER_DIGEST });
106685
106704
  published = /* @__PURE__ */ new Map();
@@ -107659,7 +107678,7 @@ var init_expo_eager_seam_contract = __esm({
107659
107678
 
107660
107679
  // src/expo-native-compiler-digest.ts
107661
107680
  function expoNativeCompilerDigestValue() {
107662
- return true ? "77bd2fbb160fc0dbe5d30a609cfd0c890697b189ef38b63db3c6003f98ae219e" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
107681
+ return true ? "5e0423a14cd4a805f390c706e22f3074ba5a6fccf294d23bf6702b83379bff79" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
107663
107682
  }
107664
107683
  var import_node_crypto81;
107665
107684
  var init_expo_native_compiler_digest = __esm({
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2742 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2743 | (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.2742 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2743 | (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-QDTQYGJB.mjs";
14
- import "./esm-chunks/chunk-6QTRZNLH.mjs";
13
+ } from "./esm-chunks/chunk-HOUFNDEV.mjs";
14
+ import "./esm-chunks/chunk-LVCSLWR2.mjs";
15
15
  export {
16
16
  RNX_SCREEN_CAPTURE_VERSION,
17
17
  describeInvalidScreenCapture,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2742 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2743 | (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.2742 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2743 | (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-G44GUBAL.mjs";
35
- import "./esm-chunks/chunk-6QTRZNLH.mjs";
34
+ } from "./esm-chunks/chunk-BW3KZJV5.mjs";
35
+ import "./esm-chunks/chunk-LVCSLWR2.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.2742 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2743 | (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.2742 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
- import "./esm-chunks/chunk-6QTRZNLH.mjs";
1
+ /*! peach v0.1.2743 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
+ import "./esm-chunks/chunk-LVCSLWR2.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.2742 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2743 | (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.2742 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2743 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  sleep
4
- } from "./esm-chunks/chunk-YQSNOLNM.mjs";
4
+ } from "./esm-chunks/chunk-EAAYQS4L.mjs";
5
5
  import {
6
6
  isRnxScreenCapture
7
- } from "./esm-chunks/chunk-QDTQYGJB.mjs";
7
+ } from "./esm-chunks/chunk-HOUFNDEV.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-G44GUBAL.mjs";
17
+ } from "./esm-chunks/chunk-BW3KZJV5.mjs";
18
18
  import {
19
19
  rnxPublicBrand
20
- } from "./esm-chunks/chunk-CFPPESX7.mjs";
20
+ } from "./esm-chunks/chunk-JHOZWSFF.mjs";
21
21
  import {
22
22
  isRecord
23
- } from "./esm-chunks/chunk-RC3JQV7D.mjs";
23
+ } from "./esm-chunks/chunk-2HP5FPCA.mjs";
24
24
  import {
25
25
  __publicField
26
- } from "./esm-chunks/chunk-6QTRZNLH.mjs";
26
+ } from "./esm-chunks/chunk-LVCSLWR2.mjs";
27
27
 
28
28
  // src/backend-origin.ts
29
29
  var NativeURL = globalThis.URL;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2742 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2743 | (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.2742 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2743 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  isValidRuntimeVersion
4
- } from "./esm-chunks/chunk-MHRTZ6I7.mjs";
4
+ } from "./esm-chunks/chunk-V3SRJIBE.mjs";
5
5
  import {
6
6
  findBundleFooter
7
- } from "./esm-chunks/chunk-HJBL2ND3.mjs";
7
+ } from "./esm-chunks/chunk-EES2SLJK.mjs";
8
8
  import {
9
9
  isRecord
10
- } from "./esm-chunks/chunk-RC3JQV7D.mjs";
11
- import "./esm-chunks/chunk-6QTRZNLH.mjs";
10
+ } from "./esm-chunks/chunk-2HP5FPCA.mjs";
11
+ import "./esm-chunks/chunk-LVCSLWR2.mjs";
12
12
 
13
13
  // src/nativeViewSourceContract.ts
14
14
  function isNativeViewSource(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2742 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2743 | (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.2742 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2743 | (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.2742 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2743 | (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-6LMI5DE3.mjs";
26
- import "./chunk-6QTRZNLH.mjs";
25
+ } from "./chunk-THSR72MV.mjs";
26
+ import "./chunk-LVCSLWR2.mjs";
27
27
  export {
28
28
  Node,
29
29
  Parser,