peachsim 0.1.2390 → 0.1.2391

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 (86) 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 +1 -1
  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 +1 -1
  11. package/dist-lib/bridge-contract.cjs +1 -1
  12. package/dist-lib/bridge-contract.mjs +1 -1
  13. package/dist-lib/bundle-channel.cjs +43 -28
  14. package/dist-lib/capture-contract.cjs +1 -1
  15. package/dist-lib/capture-contract.mjs +1 -1
  16. package/dist-lib/cloud-contract.cjs +1 -1
  17. package/dist-lib/cloud-contract.mjs +1 -1
  18. package/dist-lib/cloud-test-args.cjs +1 -1
  19. package/dist-lib/cloud-test-args.mjs +1 -1
  20. package/dist-lib/cloud.cjs +1 -1
  21. package/dist-lib/cloud.mjs +1 -1
  22. package/dist-lib/config.cjs +1 -1
  23. package/dist-lib/config.mjs +1 -1
  24. package/dist-lib/detox/index.cjs +1 -1
  25. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  26. package/dist-lib/expo-swift-bundle.cjs +42 -27
  27. package/dist-lib/expo-swift-metadata.cjs +1 -1
  28. package/dist-lib/expo-swift-metadata.mjs +1 -1
  29. package/dist-lib/home-paths.cjs +1 -1
  30. package/dist-lib/host/bridge-host.cjs +43 -28
  31. package/dist-lib/host/fetch-proxy-handler.cjs +6 -4
  32. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  33. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  34. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  35. package/dist-lib/host/websocket-proxy.cjs +1 -1
  36. package/dist-lib/index.cjs +6 -4
  37. package/dist-lib/jump-to-source-babel.cjs +1 -1
  38. package/dist-lib/jump-to-source-native.cjs +1 -1
  39. package/dist-lib/kotlin-host.cjs +1 -1
  40. package/dist-lib/menu.cjs +1 -1
  41. package/dist-lib/menu.mjs +1 -1
  42. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  43. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  44. package/dist-lib/metro-production-bundle.cjs +1 -1
  45. package/dist-lib/metro-production-bundle.mjs +1 -1
  46. package/dist-lib/metro.cjs +6 -4
  47. package/dist-lib/native-app-identity-project.cjs +1 -1
  48. package/dist-lib/native-app-identity-project.mjs +1 -1
  49. package/dist-lib/native-app-identity.cjs +1 -1
  50. package/dist-lib/native-app-identity.mjs +1 -1
  51. package/dist-lib/native-firebase-metadata.cjs +1 -1
  52. package/dist-lib/native-firebase-metadata.mjs +1 -1
  53. package/dist-lib/pdfium-raster.cjs +1 -1
  54. package/dist-lib/pdfium-raster.mjs +1 -1
  55. package/dist-lib/plist.cjs +1 -1
  56. package/dist-lib/plist.mjs +1 -1
  57. package/dist-lib/profiles.cjs +1 -1
  58. package/dist-lib/public-brand.cjs +1 -1
  59. package/dist-lib/public-origins-lib-esm.json +24 -24
  60. package/dist-lib/public-origins-lib.json +53 -53
  61. package/dist-lib/react-native-host-modules.cjs +1 -1
  62. package/dist-lib/react-native-host-modules.mjs +1 -1
  63. package/dist-lib/reap-browser.cjs +1 -1
  64. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  65. package/dist-lib/sdk.cjs +1 -1
  66. package/dist-lib/sdk.mjs +1 -1
  67. package/dist-lib/skills.cjs +43 -28
  68. package/dist-lib/swift-compile.cjs +1 -1
  69. package/dist-lib/swift-compile.mjs +1 -1
  70. package/dist-lib/swift-package.cjs +1 -1
  71. package/dist-lib/swift-package.mjs +1 -1
  72. package/dist-lib/swift-submit.cjs +1 -1
  73. package/dist-lib/swift-submit.mjs +1 -1
  74. package/dist-lib/swift-toolchain.cjs +1 -1
  75. package/dist-lib/swift.cjs +1 -1
  76. package/dist-lib/vite-swift.cjs +40 -25
  77. package/dist-lib/vite.cjs +6 -4
  78. package/dist-lib/worklet-executable.cjs +1 -1
  79. package/dist-lib/worklet-executable.mjs +1 -1
  80. package/dist-types/packages/peach-engine/src/engine/metalDirectContract.d.ts +5 -0
  81. package/kotlin/sdk.tar.gz +0 -0
  82. package/node-runtime.json +1 -1
  83. package/package.json +1 -1
  84. package/src/swift-host.ts +5 -5
  85. package/src/swift-shipped-binaries.ts +17 -6
  86. package/src/swift-standins.ts +39 -23
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2390 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2391 | (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.2390 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2391 | (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.2390 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2391 | (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.2390 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2391 | (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.2390 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2391 | (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.2390 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2391 | (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,4 +1,4 @@
1
- /*! peach v0.1.2390 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2391 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/beta.ts
4
4
  var IS_BETA = true;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2390 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2391 | (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.2390 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2391 | (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.2390 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2391 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/bridge-contract.ts
4
4
  var SIM_LONG_PRESS_MAX_MS = 5e3;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2390 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2391 | (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.2390 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2391 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/bridge-contract.ts
4
4
  var REFUSED_PERFORM_STEP_TYPES = [
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2390 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2391 | (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;
@@ -49701,17 +49701,23 @@ var init_swift_shipped_archives = __esm({
49701
49701
  });
49702
49702
 
49703
49703
  // src/swift-shipped-binaries.ts
49704
+ function shippedBinaryModule(target, checksum) {
49705
+ if (checksum === null) return void 0;
49706
+ const namedArchive = SHIPPED_ARCHIVES.get(target);
49707
+ return namedArchive === void 0 ? SHIPPED_MODULES.get(checksum) : namedArchive === checksum ? target : void 0;
49708
+ }
49704
49709
  function shippedBinaryDiffers(target, checksum) {
49705
- const shipped = SHIPPED_ARCHIVES.get(target);
49706
- return checksum !== null && (shipped !== void 0 ? checksum !== shipped : !SHIPPED_CHECKSUMS.has(checksum));
49710
+ return checksum !== null && shippedBinaryModule(target, checksum) === void 0;
49707
49711
  }
49708
- var SHIPPED_ARCHIVES, SHIPPED_CHECKSUMS;
49712
+ var SHIPPED_ARCHIVES, SHIPPED_MODULES;
49709
49713
  var init_swift_shipped_binaries = __esm({
49710
49714
  "src/swift-shipped-binaries.ts"() {
49711
49715
  "use strict";
49712
49716
  init_swift_shipped_archives();
49713
49717
  SHIPPED_ARCHIVES = new Map(Object.entries(swift_shipped_archives_default));
49714
- SHIPPED_CHECKSUMS = new Set(SHIPPED_ARCHIVES.values());
49718
+ SHIPPED_MODULES = new Map(
49719
+ [...SHIPPED_ARCHIVES].map(([module2, checksum]) => [checksum, module2])
49720
+ );
49715
49721
  }
49716
49722
  });
49717
49723
 
@@ -50516,7 +50522,7 @@ var init_swift_standin_digest = __esm({
50516
50522
  STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
50517
50523
  SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
50518
50524
  standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
50519
- STANDIN_SOURCE_DIGEST = true ? "4a21735d60d5c3e629b478af2bb3e725e89a01e8291b31fcc4e4f3174d7c9b4f" : standinSourceDigest();
50525
+ STANDIN_SOURCE_DIGEST = true ? "3c93e5440ff0828fc1e035dff8cce915089f5b3726b02df1f1556611efa5e055" : standinSourceDigest();
50520
50526
  }
50521
50527
  });
50522
50528
 
@@ -53609,15 +53615,27 @@ ${roots.map((file) => ` header "${file}"`).join("\n")}
53609
53615
  }
53610
53616
  return settle(result);
53611
53617
  }
53612
- function standinModuleSources(binaries, candidates) {
53613
- const byModule = new Map(
53614
- candidates.map((candidate) => [swiftTargetModuleName(candidate.target), candidate])
53615
- );
53618
+ function standinDependencies(binaries, packages, provided) {
53619
+ const byModule = /* @__PURE__ */ new Map();
53620
+ for (const candidate of packages.binaries) {
53621
+ if (candidate.reached) continue;
53622
+ const module2 = shippedBinaryModule(candidate.target, candidate.checksum);
53623
+ if (module2 !== void 0 && provided.has(module2)) byModule.set(module2, candidate);
53624
+ }
53625
+ for (const candidate of packages.moduleSources)
53626
+ byModule.set(swiftTargetModuleName(candidate.target), candidate);
53616
53627
  const shipped = /* @__PURE__ */ new Set();
53617
53628
  const pending = [];
53618
53629
  const read = (dir, sources) => sources.flatMap(
53619
53630
  (source) => swiftImportNames(import_node_fs81.default.readFileSync(import_node_path81.default.join(dir, source), "utf8"))
53620
53631
  );
53632
+ const binarySurfaces = (binary2) => {
53633
+ try {
53634
+ return surfaces(swiftBinaryFramework(binary2).dir, binary2.target);
53635
+ } catch {
53636
+ return [];
53637
+ }
53638
+ };
53621
53639
  for (const binary2 of binaries) {
53622
53640
  if (binary2.placeholder !== void 0) {
53623
53641
  shipped.add(swiftTargetModuleName(binary2.target));
@@ -53625,13 +53643,7 @@ function standinModuleSources(binaries, candidates) {
53625
53643
  continue;
53626
53644
  }
53627
53645
  if (binary2.publicHeaders !== void 0) continue;
53628
- let found;
53629
- try {
53630
- found = surfaces(swiftBinaryFramework(binary2).dir, binary2.target);
53631
- } catch {
53632
- continue;
53633
- }
53634
- for (const surface of found) {
53646
+ for (const surface of binarySurfaces(binary2)) {
53635
53647
  shipped.add(surface.module);
53636
53648
  pending.push(...surfaceImports(surface));
53637
53649
  }
@@ -53641,7 +53653,9 @@ function standinModuleSources(binaries, candidates) {
53641
53653
  const candidate = byModule.get(module2);
53642
53654
  if (!candidate || shipped.has(module2) || selected.has(module2)) continue;
53643
53655
  selected.set(module2, candidate);
53644
- pending.push(...read(candidate.dir, candidate.moduleSources?.sources ?? []));
53656
+ pending.push(
53657
+ ...candidate.moduleSources ? read(candidate.dir, candidate.moduleSources.sources) : binarySurfaces(candidate).flatMap(surfaceImports)
53658
+ );
53645
53659
  }
53646
53660
  return [...selected.values()];
53647
53661
  }
@@ -53681,12 +53695,12 @@ function gapText(gap) {
53681
53695
  return text6.length > 600 ? `${text6.slice(0, 600)}\u2026` : text6;
53682
53696
  }
53683
53697
  async function buildStandins(binaries, toolchain, provided, behavior) {
53684
- const requested = binaries.filter(
53685
- (binary2) => !provided.has(binary2.target) || shippedBinaryDiffers(binary2.target, binary2.checksum)
53686
- );
53687
- if (requested.length === 0) return { standins: [], gaps: /* @__PURE__ */ new Map() };
53698
+ if (binaries.every(
53699
+ (binary2) => provided.has(binary2.target) && !shippedBinaryDiffers(binary2.target, binary2.checksum)
53700
+ ))
53701
+ return { standins: [], gaps: /* @__PURE__ */ new Map() };
53688
53702
  if (process.platform === "darwin" && process.env.TM_EXEC_BUILD_PLATFORM !== "mac" && process.env.TM_SESSION && process.env.CI !== "true" && toolchain.moduleRoot === sourceSwiftCheckout() && !swiftDistributionAt(toolchain.moduleRoot))
53689
- return sourceStandins(requested, toolchain, provided, behavior);
53703
+ return sourceStandins(binaries, toolchain, provided, behavior);
53690
53704
  const standins = [];
53691
53705
  const gaps = /* @__PURE__ */ new Map();
53692
53706
  import_node_fs81.default.mkdirSync(cacheDir4, { recursive: true });
@@ -55927,6 +55941,7 @@ async function swiftPackages(entry, app) {
55927
55941
  const standinArtifact = (binary2) => binary2.publicHeaders === void 0 || binary2.unloweredSources !== void 0;
55928
55942
  const artifacts = reached.filter(standinArtifact);
55929
55943
  if (entry.moduleRoot && entry.provided && artifacts.length > 0) {
55944
+ const { provided } = entry;
55930
55945
  const resolved = swiftModuleToolchain(entry.moduleRoot);
55931
55946
  const toolchain = {
55932
55947
  moduleRoot: entry.moduleRoot,
@@ -55950,7 +55965,7 @@ async function swiftPackages(entry, app) {
55950
55965
  );
55951
55966
  const standinInputs = [
55952
55967
  ...cxxArtifacts,
55953
- ...standinModuleSources(cxxArtifacts, cached2.packages.moduleSources)
55968
+ ...standinDependencies(cxxArtifacts, cached2.packages, provided)
55954
55969
  ];
55955
55970
  const generation = standinGenerationInputs(standinInputs, toolchain, entry.behavior);
55956
55971
  if (cached2.standinKey !== generation) {
@@ -55960,7 +55975,7 @@ async function swiftPackages(entry, app) {
55960
55975
  const built2 = await swiftStandins(
55961
55976
  standinInputs,
55962
55977
  toolchain,
55963
- new Set([...entry.provided].filter((name3) => !replaced.has(name3))),
55978
+ new Set([...provided].filter((name3) => !replaced.has(name3))),
55964
55979
  entry.behavior
55965
55980
  );
55966
55981
  cached2.packages = await resolveSwiftPackagesAsync({
@@ -55971,7 +55986,7 @@ async function swiftPackages(entry, app) {
55971
55986
  // an artifact with neither a stand-in nor a gap ships only modules
55972
55987
  // peach provides, so a wrapper target that groups it still compiles
55973
55988
  provided: /* @__PURE__ */ new Set([
55974
- ...entry.provided,
55989
+ ...provided,
55975
55990
  ...cxxArtifacts.map((binary2) => binary2.target).filter((target) => !built2.gaps.has(target))
55976
55991
  ]),
55977
55992
  standinTargets: new Set(
@@ -64843,7 +64858,7 @@ var init_nitro_superset = __esm({
64843
64858
  init_nitroContract();
64844
64859
  init_swift_standin_digest();
64845
64860
  NITRO_SUPERSET_ENTRY_NAME = "superset";
64846
- NITRO_COMPILER_DIGEST = true ? "3850bd0ed6a53b6884a892f2931f95bce16c9ebfde267321be9b146a2e7b88e2" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
64861
+ NITRO_COMPILER_DIGEST = true ? "8207e24a442c696cc47e4712f3213fa1144763c3ccf976462b033a0827532f99" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
64847
64862
  nitroSupersetLock = parseLock(nitro_superset_lock_default);
64848
64863
  nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
64849
64864
  published = /* @__PURE__ */ new Map();
@@ -66082,7 +66097,7 @@ var init_expo_native_compiler_digest = __esm({
66082
66097
 
66083
66098
  // src/expo-native-prebuilt.ts
66084
66099
  function expoNativeCompilerDigestValue() {
66085
- return true ? "c0a9caa08d93ceace645e91aa241a482f2e38e14d7423cee7a2d4d92a65d1793" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
66100
+ return true ? "c98d2615a3dd271e0cfd9e45035ce3bc1cf95ec1851b8859b242a36343b6dcba" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
66086
66101
  }
66087
66102
  function readSources(value) {
66088
66103
  const sources = isRecord(value) ? value.sources : null;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2390 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2391 | (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.2390 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2391 | (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.2390 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2391 | (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.2390 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2391 | (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.2390 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2391 | (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.2390 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2391 | (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.2390 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2391 | (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.2390 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2391 | (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.2390 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2391 | (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.2390 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2391 | (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.2390 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2391 | (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.2390 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2391 | (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.2390 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2391 | (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;
@@ -34009,7 +34009,7 @@ var init_swift_standin_digest = __esm({
34009
34009
  STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
34010
34010
  SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
34011
34011
  standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
34012
- STANDIN_SOURCE_DIGEST = true ? "4a21735d60d5c3e629b478af2bb3e725e89a01e8291b31fcc4e4f3174d7c9b4f" : standinSourceDigest();
34012
+ STANDIN_SOURCE_DIGEST = true ? "3c93e5440ff0828fc1e035dff8cce915089f5b3726b02df1f1556611efa5e055" : standinSourceDigest();
34013
34013
  }
34014
34014
  });
34015
34015
 
@@ -34881,17 +34881,23 @@ var init_swift_shipped_archives = __esm({
34881
34881
  });
34882
34882
 
34883
34883
  // src/swift-shipped-binaries.ts
34884
+ function shippedBinaryModule(target, checksum) {
34885
+ if (checksum === null) return void 0;
34886
+ const namedArchive = SHIPPED_ARCHIVES.get(target);
34887
+ return namedArchive === void 0 ? SHIPPED_MODULES.get(checksum) : namedArchive === checksum ? target : void 0;
34888
+ }
34884
34889
  function shippedBinaryDiffers(target, checksum) {
34885
- const shipped = SHIPPED_ARCHIVES.get(target);
34886
- return checksum !== null && (shipped !== void 0 ? checksum !== shipped : !SHIPPED_CHECKSUMS.has(checksum));
34890
+ return checksum !== null && shippedBinaryModule(target, checksum) === void 0;
34887
34891
  }
34888
- var SHIPPED_ARCHIVES, SHIPPED_CHECKSUMS;
34892
+ var SHIPPED_ARCHIVES, SHIPPED_MODULES;
34889
34893
  var init_swift_shipped_binaries = __esm({
34890
34894
  "src/swift-shipped-binaries.ts"() {
34891
34895
  "use strict";
34892
34896
  init_swift_shipped_archives();
34893
34897
  SHIPPED_ARCHIVES = new Map(Object.entries(swift_shipped_archives_default));
34894
- SHIPPED_CHECKSUMS = new Set(SHIPPED_ARCHIVES.values());
34898
+ SHIPPED_MODULES = new Map(
34899
+ [...SHIPPED_ARCHIVES].map(([module2, checksum]) => [checksum, module2])
34900
+ );
34895
34901
  }
34896
34902
  });
34897
34903
 
@@ -38780,15 +38786,27 @@ ${roots.map((file) => ` header "${file}"`).join("\n")}
38780
38786
  }
38781
38787
  return settle(result);
38782
38788
  }
38783
- function standinModuleSources(binaries, candidates) {
38784
- const byModule = new Map(
38785
- candidates.map((candidate) => [swiftTargetModuleName(candidate.target), candidate])
38786
- );
38789
+ function standinDependencies(binaries, packages, provided) {
38790
+ const byModule = /* @__PURE__ */ new Map();
38791
+ for (const candidate of packages.binaries) {
38792
+ if (candidate.reached) continue;
38793
+ const module2 = shippedBinaryModule(candidate.target, candidate.checksum);
38794
+ if (module2 !== void 0 && provided.has(module2)) byModule.set(module2, candidate);
38795
+ }
38796
+ for (const candidate of packages.moduleSources)
38797
+ byModule.set(swiftTargetModuleName(candidate.target), candidate);
38787
38798
  const shipped = /* @__PURE__ */ new Set();
38788
38799
  const pending = [];
38789
38800
  const read = (dir, sources) => sources.flatMap(
38790
38801
  (source) => swiftImportNames(import_node_fs78.default.readFileSync(import_node_path76.default.join(dir, source), "utf8"))
38791
38802
  );
38803
+ const binarySurfaces = (binary2) => {
38804
+ try {
38805
+ return surfaces(swiftBinaryFramework(binary2).dir, binary2.target);
38806
+ } catch {
38807
+ return [];
38808
+ }
38809
+ };
38792
38810
  for (const binary2 of binaries) {
38793
38811
  if (binary2.placeholder !== void 0) {
38794
38812
  shipped.add(swiftTargetModuleName(binary2.target));
@@ -38796,13 +38814,7 @@ function standinModuleSources(binaries, candidates) {
38796
38814
  continue;
38797
38815
  }
38798
38816
  if (binary2.publicHeaders !== void 0) continue;
38799
- let found;
38800
- try {
38801
- found = surfaces(swiftBinaryFramework(binary2).dir, binary2.target);
38802
- } catch {
38803
- continue;
38804
- }
38805
- for (const surface of found) {
38817
+ for (const surface of binarySurfaces(binary2)) {
38806
38818
  shipped.add(surface.module);
38807
38819
  pending.push(...surfaceImports(surface));
38808
38820
  }
@@ -38812,7 +38824,9 @@ function standinModuleSources(binaries, candidates) {
38812
38824
  const candidate = byModule.get(module2);
38813
38825
  if (!candidate || shipped.has(module2) || selected.has(module2)) continue;
38814
38826
  selected.set(module2, candidate);
38815
- pending.push(...read(candidate.dir, candidate.moduleSources?.sources ?? []));
38827
+ pending.push(
38828
+ ...candidate.moduleSources ? read(candidate.dir, candidate.moduleSources.sources) : binarySurfaces(candidate).flatMap(surfaceImports)
38829
+ );
38816
38830
  }
38817
38831
  return [...selected.values()];
38818
38832
  }
@@ -38852,12 +38866,12 @@ function gapText(gap) {
38852
38866
  return text6.length > 600 ? `${text6.slice(0, 600)}\u2026` : text6;
38853
38867
  }
38854
38868
  async function buildStandins(binaries, toolchain, provided, behavior) {
38855
- const requested = binaries.filter(
38856
- (binary2) => !provided.has(binary2.target) || shippedBinaryDiffers(binary2.target, binary2.checksum)
38857
- );
38858
- if (requested.length === 0) return { standins: [], gaps: /* @__PURE__ */ new Map() };
38869
+ if (binaries.every(
38870
+ (binary2) => provided.has(binary2.target) && !shippedBinaryDiffers(binary2.target, binary2.checksum)
38871
+ ))
38872
+ return { standins: [], gaps: /* @__PURE__ */ new Map() };
38859
38873
  if (process.platform === "darwin" && process.env.TM_EXEC_BUILD_PLATFORM !== "mac" && process.env.TM_SESSION && process.env.CI !== "true" && toolchain.moduleRoot === sourceSwiftCheckout() && !swiftDistributionAt(toolchain.moduleRoot))
38860
- return sourceStandins(requested, toolchain, provided, behavior);
38874
+ return sourceStandins(binaries, toolchain, provided, behavior);
38861
38875
  const standins = [];
38862
38876
  const gaps = /* @__PURE__ */ new Map();
38863
38877
  import_node_fs78.default.mkdirSync(cacheDir4, { recursive: true });
@@ -43476,6 +43490,7 @@ async function swiftPackages(entry, app) {
43476
43490
  const standinArtifact = (binary2) => binary2.publicHeaders === void 0 || binary2.unloweredSources !== void 0;
43477
43491
  const artifacts = reached.filter(standinArtifact);
43478
43492
  if (entry.moduleRoot && entry.provided && artifacts.length > 0) {
43493
+ const { provided } = entry;
43479
43494
  const resolved = swiftModuleToolchain(entry.moduleRoot);
43480
43495
  const toolchain = {
43481
43496
  moduleRoot: entry.moduleRoot,
@@ -43499,7 +43514,7 @@ async function swiftPackages(entry, app) {
43499
43514
  );
43500
43515
  const standinInputs = [
43501
43516
  ...cxxArtifacts,
43502
- ...standinModuleSources(cxxArtifacts, cached2.packages.moduleSources)
43517
+ ...standinDependencies(cxxArtifacts, cached2.packages, provided)
43503
43518
  ];
43504
43519
  const generation = standinGenerationInputs(standinInputs, toolchain, entry.behavior);
43505
43520
  if (cached2.standinKey !== generation) {
@@ -43509,7 +43524,7 @@ async function swiftPackages(entry, app) {
43509
43524
  const built2 = await swiftStandins(
43510
43525
  standinInputs,
43511
43526
  toolchain,
43512
- new Set([...entry.provided].filter((name3) => !replaced.has(name3))),
43527
+ new Set([...provided].filter((name3) => !replaced.has(name3))),
43513
43528
  entry.behavior
43514
43529
  );
43515
43530
  cached2.packages = await resolveSwiftPackagesAsync({
@@ -43520,7 +43535,7 @@ async function swiftPackages(entry, app) {
43520
43535
  // an artifact with neither a stand-in nor a gap ships only modules
43521
43536
  // peach provides, so a wrapper target that groups it still compiles
43522
43537
  provided: /* @__PURE__ */ new Set([
43523
- ...entry.provided,
43538
+ ...provided,
43524
43539
  ...cxxArtifacts.map((binary2) => binary2.target).filter((target) => !built2.gaps.has(target))
43525
43540
  ]),
43526
43541
  standinTargets: new Set(
@@ -56369,7 +56384,7 @@ init_swift_native_pin();
56369
56384
  init_xcode_project();
56370
56385
  var EXPO_NATIVE_ENTRY_NAME = "ios";
56371
56386
  function expoNativeCompilerDigestValue() {
56372
- return true ? "c0a9caa08d93ceace645e91aa241a482f2e38e14d7423cee7a2d4d92a65d1793" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
56387
+ return true ? "c98d2615a3dd271e0cfd9e45035ce3bc1cf95ec1851b8859b242a36343b6dcba" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
56373
56388
  }
56374
56389
  var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
56375
56390
  function readSources(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2390 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2391 | (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.2390 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2391 | (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.2390 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2391 | (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;