peachsim 0.1.2379 → 0.1.2382

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 +40 -26
  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 +39 -25
  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 +40 -26
  31. package/dist-lib/host/fetch-proxy-handler.cjs +4 -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 +4 -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 +4 -4
  47. package/dist-lib/native-app-identity-project.cjs +2 -2
  48. package/dist-lib/native-app-identity-project.mjs +2 -2
  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 +40 -26
  68. package/dist-lib/swift-compile.cjs +12 -5
  69. package/dist-lib/swift-compile.mjs +12 -5
  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 +31 -19
  77. package/dist-lib/vite.cjs +4 -4
  78. package/dist-lib/worklet-executable.cjs +1 -1
  79. package/dist-lib/worklet-executable.mjs +1 -1
  80. package/kotlin/sdk.tar.gz +0 -0
  81. package/node-runtime.json +1 -1
  82. package/package.json +1 -1
  83. package/src/expo-swift-host.ts +5 -3
  84. package/src/react-native-core-build.ts +3 -2
  85. package/src/swift-compile.ts +14 -8
  86. package/src/swift-host.ts +24 -20
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2379 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2382 | (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.2379 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2382 | (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.2379 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2382 | (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.2379 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2382 | (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.2379 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2382 | (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.2379 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2382 | (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.2379 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2382 | (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.2379 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2382 | (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.2379 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2382 | (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.2379 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2382 | (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.2379 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2382 | (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.2379 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2382 | (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.2379 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2382 | (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;
@@ -31802,6 +31802,10 @@ function emitSwiftPackageManifest(args) {
31802
31802
  const overlayFlags = swiftCrossImportFlags(moduleRoot, Boolean(distribution)).map((flag) => `, ${JSON.stringify(flag)}`).join("");
31803
31803
  const executable = targets.find((target) => target.executable);
31804
31804
  if (!executable) throw new Error("swift-compile: no executable target to emit");
31805
+ const targetNames = new Set(targets.map((target) => target.name));
31806
+ const executableArchives = [...args.libraries ?? []].flatMap(
31807
+ ([name3, library]) => targetNames.has(name3) ? [] : [library]
31808
+ );
31805
31809
  const linkedNativeModules = [...args.native?.entries() ?? []].flatMap(
31806
31810
  ([name3, value]) => value.clang ? [name3] : []
31807
31811
  );
@@ -31955,11 +31959,14 @@ function emitSwiftPackageManifest(args) {
31955
31959
  const linkedLibraries = (target.linkedLibraries ?? []).map(
31956
31960
  (name3) => `.linkedLibrary(${JSON.stringify(name3)})`
31957
31961
  );
31962
+ const targetArchive = args.libraries?.get(target.name);
31963
+ const archives = [
31964
+ ...targetArchive ? [targetArchive] : [],
31965
+ ...target === executable ? executableArchives : []
31966
+ ];
31958
31967
  const librarySettings = [
31959
31968
  ...linkedLibraries,
31960
- ...args.libraries?.has(target.name) ? [
31961
- `.unsafeFlags(${flagArray(`[${JSON.stringify(args.libraries.get(target.name))}]`)})`
31962
- ] : []
31969
+ ...archives.length ? [`.unsafeFlags(${flagArray(JSON.stringify(archives))})`] : []
31963
31970
  ];
31964
31971
  const link = target.executable ? `,
31965
31972
  linkerSettings: [
@@ -35957,7 +35964,7 @@ int EXUpdatesApplyBSDiffPatch(const char * _Nonnull oldFilePath,
35957
35964
  REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
35958
35965
  MULTI_MANIFEST_VERSION = 69;
35959
35966
  SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
35960
- compilerSourceDigest = true ? "db3b95b8a2cd040ed0ec438c7c57fd9aba0686ce3dee134980a029e17aea31ad" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
35967
+ compilerSourceDigest = true ? "7d6f914e0fa45023e39a96f6b22a9b77a3805c230d28c1614ccf77e8cda77665" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
35961
35968
  nativeCxxCompilerFlags = ["-fno-cxx-modules"];
35962
35969
  cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
35963
35970
  cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
@@ -50495,7 +50502,7 @@ var init_swift_standin_digest = __esm({
50495
50502
  STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
50496
50503
  SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
50497
50504
  standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
50498
- STANDIN_SOURCE_DIGEST = true ? "1a156181b1550b7c61389b36094a8e95b8f4e40dfc5a486a465b0716f12dafd8" : standinSourceDigest();
50505
+ STANDIN_SOURCE_DIGEST = true ? "762c4967fecca300c01dc513758217fca907a14a03c418d63d2cfcbfd7486c9d" : standinSourceDigest();
50499
50506
  }
50500
50507
  });
50501
50508
 
@@ -57291,16 +57298,19 @@ function standinLibraries(binaries, standins, rootDir, toolchain) {
57291
57298
  import_node_fs85.default.mkdirSync(dir, { recursive: true });
57292
57299
  const library = import_node_path85.default.join(dir, `lib${standin.module}.a`);
57293
57300
  if (!import_node_fs85.default.existsSync(library)) import_node_fs85.default.writeFileSync(library, bytes);
57294
- linked.set(library, [standin]);
57301
+ linked.set(library, { name: standin.module, standins: [standin] });
57295
57302
  }
57296
57303
  for (const binary2 of binaries) {
57297
57304
  const modules = standins.filter(
57298
57305
  (standin) => standin.target === binary2.target && !standin.prebuilt && (`${standin.module}.c` in standin.files || `${standin.module}.cpp` in standin.files)
57299
57306
  );
57300
- if (modules.length === 0) continue;
57307
+ if (modules.length === 0 && !binary2.rustCrate) continue;
57301
57308
  const library = standinLibrary(binary2, rootDir, toolchain);
57302
57309
  if (!library) continue;
57303
- linked.set(library, modules);
57310
+ linked.set(library, {
57311
+ name: modules[0]?.module ?? swiftTargetModuleName(binary2.target),
57312
+ standins: modules
57313
+ });
57304
57314
  }
57305
57315
  return linked;
57306
57316
  }
@@ -57340,16 +57350,18 @@ function packageSnapshot(project2, entry, moduleRoot) {
57340
57350
  );
57341
57351
  const layout2 = xcodeLayout(project2.packagePath);
57342
57352
  const pin2 = moduleRoot ? swiftDistributionAt(moduleRoot) ?? JSON.parse(import_node_fs85.default.readFileSync(import_node_path85.default.join(moduleRoot, "toolchain.json"), "utf8")) : null;
57343
- const linked = layout2 ? standinLibraries(
57344
- layout2.binaries,
57345
- layout2.standins,
57346
- layout2.app.rootDir,
57347
- pin2 && moduleRoot ? { moduleRoot, release: pin2.release } : void 0
57348
- ) : /* @__PURE__ */ new Map();
57353
+ const linked = layout2 ? [
57354
+ ...standinLibraries(
57355
+ layout2.binaries,
57356
+ layout2.standins,
57357
+ layout2.app.rootDir,
57358
+ pin2 && moduleRoot ? { moduleRoot, release: pin2.release } : void 0
57359
+ )
57360
+ ] : [];
57349
57361
  const files2 = packageSources(
57350
57362
  project2.packagePath,
57351
57363
  Boolean(project2.hosted),
57352
- new Set([...linked.values()].flat())
57364
+ new Set(linked.flatMap(([, { standins }]) => standins))
57353
57365
  );
57354
57366
  Object.assign(files2, project2.nativeFiles);
57355
57367
  const native = nativeSourceDescriptor(project2.packagePath);
@@ -57451,12 +57463,12 @@ function packageSnapshot(project2, entry, moduleRoot) {
57451
57463
  ])
57452
57464
  ]
57453
57465
  } : {},
57454
- ...linked.size > 0 || project2.libraries ? {
57466
+ ...linked.length > 0 || project2.libraries ? {
57455
57467
  libraries: {
57456
57468
  ...project2.libraries,
57457
57469
  ...Object.fromEntries(
57458
- [...linked].map(([library, [first]]) => [
57459
- first.module,
57470
+ linked.map(([library, { name: name3 }]) => [
57471
+ name3,
57460
57472
  import_node_fs85.default.readFileSync(library).toString("base64")
57461
57473
  ])
57462
57474
  )
@@ -63257,7 +63269,7 @@ async function buildReactNativeCore(project2, reactNativeRoot, mode, moduleRoot)
63257
63269
  producer.files["Sources/PeachCoreProducerHost/include/PeachCoreProducerHost.h"] = "#pragma once\n";
63258
63270
  producer.files["Sources/PeachCoreProducerHost/Dispatch.m"] = "#import <dispatch/dispatch.h>\nvoid peachTurboDispatchAsync(dispatch_block_t block) { dispatch_async(dispatch_get_main_queue(), block); }\n";
63259
63271
  }
63260
- const input = collectTurboCompileInput(producer, null, floor);
63272
+ const input = { ...collectTurboCompileInput(producer, null, floor), optimize: false };
63261
63273
  input.files[input.entry] = input.entry.endsWith(".swift") ? "@main struct PeachCoreProducer { static func main() {} }\n" : "int main() { return 0; }\n";
63262
63274
  const { compiler: _compiler, recipe: _recipe, ...nativeInputs } = entry.inputs;
63263
63275
  const buildRoot = import_node_path90.default.join(
@@ -63541,7 +63553,7 @@ var init_react_native_core = __esm({
63541
63553
  init_swift_distribution();
63542
63554
  init_swift_package();
63543
63555
  init_swiftContract();
63544
- recipe = true ? "b6dde8c8eae8967beb175e8d5b9f585d060bc8aaad48a9e3473f05381be6f1a2" : reactNativeCoreDigest(__sootsim_import_meta_dirname);
63556
+ recipe = true ? "001a7b655dd7e7159ffd4ccf0bded8179bce9b48b6d0f5c3b56c41bdaaa78340" : reactNativeCoreDigest(__sootsim_import_meta_dirname);
63545
63557
  strings3 = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
63546
63558
  building = /* @__PURE__ */ new Map();
63547
63559
  }
@@ -64816,7 +64828,7 @@ var init_nitro_superset = __esm({
64816
64828
  init_nitroContract();
64817
64829
  init_swift_standin_digest();
64818
64830
  NITRO_SUPERSET_ENTRY_NAME = "superset";
64819
- NITRO_COMPILER_DIGEST = true ? "0e132b79d4c2ed04067458484c54de8b9dcdc842f8aa80604fb2c55ae2c2875a" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
64831
+ NITRO_COMPILER_DIGEST = true ? "38b3e4458677b821a8f3ba6ca2f6e430e73362795380b935ae4f8367f31c3dcb" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
64820
64832
  nitroSupersetLock = parseLock(nitro_superset_lock_default);
64821
64833
  nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
64822
64834
  published = /* @__PURE__ */ new Map();
@@ -66055,7 +66067,7 @@ var init_expo_native_compiler_digest = __esm({
66055
66067
 
66056
66068
  // src/expo-native-prebuilt.ts
66057
66069
  function expoNativeCompilerDigestValue() {
66058
- return true ? "2f1eb5f86d546910a16da331333901062d974fcff64410af486ac98712ececa9" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
66070
+ return true ? "b96f394d7402014e1585ab28eeb3e138f99e4241e51cb8eb3ea50aa95c767a26" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
66059
66071
  }
66060
66072
  function readSources(value) {
66061
66073
  const sources = isRecord(value) ? value.sources : null;
@@ -68968,7 +68980,9 @@ async function compileExpoSwiftModulesTraced(root, base2, publishArtifact, optio
68968
68980
  root,
68969
68981
  toolchain
68970
68982
  );
68971
- const linkedStandins = new Set([...linkedLibraries.values()].flat());
68983
+ const linkedStandins = new Set(
68984
+ [...linkedLibraries.values()].flatMap(({ standins }) => standins)
68985
+ );
68972
68986
  for (const standin of built2.standins)
68973
68987
  for (const [name3, source] of Object.entries(standin.files)) {
68974
68988
  const file = `${SWIFT_STANDINS_DIR}/${standin.module}/${name3}`;
@@ -68991,8 +69005,8 @@ async function compileExpoSwiftModulesTraced(root, base2, publishArtifact, optio
68991
69005
  libraries.set(unit2, {
68992
69006
  ...libraries.get(unit2),
68993
69007
  ...Object.fromEntries(
68994
- [...linkedLibraries].map(([library, [first]]) => [
68995
- first.module,
69008
+ [...linkedLibraries].map(([library, { name: name3 }]) => [
69009
+ name3,
68996
69010
  import_node_fs102.default.readFileSync(library).toString("base64")
68997
69011
  ])
68998
69012
  )
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2379 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2382 | (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.2379 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2382 | (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.2379 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2382 | (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.2379 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2382 | (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.2379 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2382 | (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.2379 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2382 | (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.2379 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2382 | (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.2379 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2382 | (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.2379 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2382 | (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.2379 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2382 | (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.2379 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2382 | (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.2379 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2382 | (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.2379 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2382 | (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;
@@ -25592,6 +25592,10 @@ function emitSwiftPackageManifest(args) {
25592
25592
  const overlayFlags = swiftCrossImportFlags(moduleRoot, Boolean(distribution)).map((flag) => `, ${JSON.stringify(flag)}`).join("");
25593
25593
  const executable = targets.find((target) => target.executable);
25594
25594
  if (!executable) throw new Error("swift-compile: no executable target to emit");
25595
+ const targetNames = new Set(targets.map((target) => target.name));
25596
+ const executableArchives = [...args.libraries ?? []].flatMap(
25597
+ ([name3, library]) => targetNames.has(name3) ? [] : [library]
25598
+ );
25595
25599
  const linkedNativeModules = [...args.native?.entries() ?? []].flatMap(
25596
25600
  ([name3, value]) => value.clang ? [name3] : []
25597
25601
  );
@@ -25745,11 +25749,14 @@ function emitSwiftPackageManifest(args) {
25745
25749
  const linkedLibraries = (target.linkedLibraries ?? []).map(
25746
25750
  (name3) => `.linkedLibrary(${JSON.stringify(name3)})`
25747
25751
  );
25752
+ const targetArchive = args.libraries?.get(target.name);
25753
+ const archives = [
25754
+ ...targetArchive ? [targetArchive] : [],
25755
+ ...target === executable ? executableArchives : []
25756
+ ];
25748
25757
  const librarySettings = [
25749
25758
  ...linkedLibraries,
25750
- ...args.libraries?.has(target.name) ? [
25751
- `.unsafeFlags(${flagArray(`[${JSON.stringify(args.libraries.get(target.name))}]`)})`
25752
- ] : []
25759
+ ...archives.length ? [`.unsafeFlags(${flagArray(JSON.stringify(archives))})`] : []
25753
25760
  ];
25754
25761
  const link = target.executable ? `,
25755
25762
  linkerSettings: [
@@ -29747,7 +29754,7 @@ int EXUpdatesApplyBSDiffPatch(const char * _Nonnull oldFilePath,
29747
29754
  REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
29748
29755
  MULTI_MANIFEST_VERSION = 69;
29749
29756
  SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
29750
- compilerSourceDigest = true ? "db3b95b8a2cd040ed0ec438c7c57fd9aba0686ce3dee134980a029e17aea31ad" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
29757
+ compilerSourceDigest = true ? "7d6f914e0fa45023e39a96f6b22a9b77a3805c230d28c1614ccf77e8cda77665" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
29751
29758
  nativeCxxCompilerFlags = ["-fno-cxx-modules"];
29752
29759
  cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
29753
29760
  cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
@@ -33990,7 +33997,7 @@ var init_swift_standin_digest = __esm({
33990
33997
  STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
33991
33998
  SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
33992
33999
  standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
33993
- STANDIN_SOURCE_DIGEST = true ? "1a156181b1550b7c61389b36094a8e95b8f4e40dfc5a486a465b0716f12dafd8" : standinSourceDigest();
34000
+ STANDIN_SOURCE_DIGEST = true ? "762c4967fecca300c01dc513758217fca907a14a03c418d63d2cfcbfd7486c9d" : standinSourceDigest();
33994
34001
  }
33995
34002
  });
33996
34003
 
@@ -44842,16 +44849,19 @@ function standinLibraries(binaries, standins, rootDir, toolchain) {
44842
44849
  import_node_fs85.default.mkdirSync(dir, { recursive: true });
44843
44850
  const library = import_node_path83.default.join(dir, `lib${standin.module}.a`);
44844
44851
  if (!import_node_fs85.default.existsSync(library)) import_node_fs85.default.writeFileSync(library, bytes);
44845
- linked.set(library, [standin]);
44852
+ linked.set(library, { name: standin.module, standins: [standin] });
44846
44853
  }
44847
44854
  for (const binary2 of binaries) {
44848
44855
  const modules = standins.filter(
44849
44856
  (standin) => standin.target === binary2.target && !standin.prebuilt && (`${standin.module}.c` in standin.files || `${standin.module}.cpp` in standin.files)
44850
44857
  );
44851
- if (modules.length === 0) continue;
44858
+ if (modules.length === 0 && !binary2.rustCrate) continue;
44852
44859
  const library = standinLibrary(binary2, rootDir, toolchain);
44853
44860
  if (!library) continue;
44854
- linked.set(library, modules);
44861
+ linked.set(library, {
44862
+ name: modules[0]?.module ?? swiftTargetModuleName(binary2.target),
44863
+ standins: modules
44864
+ });
44855
44865
  }
44856
44866
  return linked;
44857
44867
  }
@@ -44891,16 +44901,18 @@ function packageSnapshot(project, entry, moduleRoot) {
44891
44901
  );
44892
44902
  const layout2 = xcodeLayout(project.packagePath);
44893
44903
  const pin2 = moduleRoot ? swiftDistributionAt(moduleRoot) ?? JSON.parse(import_node_fs85.default.readFileSync(import_node_path83.default.join(moduleRoot, "toolchain.json"), "utf8")) : null;
44894
- const linked = layout2 ? standinLibraries(
44895
- layout2.binaries,
44896
- layout2.standins,
44897
- layout2.app.rootDir,
44898
- pin2 && moduleRoot ? { moduleRoot, release: pin2.release } : void 0
44899
- ) : /* @__PURE__ */ new Map();
44904
+ const linked = layout2 ? [
44905
+ ...standinLibraries(
44906
+ layout2.binaries,
44907
+ layout2.standins,
44908
+ layout2.app.rootDir,
44909
+ pin2 && moduleRoot ? { moduleRoot, release: pin2.release } : void 0
44910
+ )
44911
+ ] : [];
44900
44912
  const files2 = packageSources(
44901
44913
  project.packagePath,
44902
44914
  Boolean(project.hosted),
44903
- new Set([...linked.values()].flat())
44915
+ new Set(linked.flatMap(([, { standins }]) => standins))
44904
44916
  );
44905
44917
  Object.assign(files2, project.nativeFiles);
44906
44918
  const native = nativeSourceDescriptor(project.packagePath);
@@ -45002,12 +45014,12 @@ function packageSnapshot(project, entry, moduleRoot) {
45002
45014
  ])
45003
45015
  ]
45004
45016
  } : {},
45005
- ...linked.size > 0 || project.libraries ? {
45017
+ ...linked.length > 0 || project.libraries ? {
45006
45018
  libraries: {
45007
45019
  ...project.libraries,
45008
45020
  ...Object.fromEntries(
45009
- [...linked].map(([library, [first]]) => [
45010
- first.module,
45021
+ linked.map(([library, { name: name3 }]) => [
45022
+ name3,
45011
45023
  import_node_fs85.default.readFileSync(library).toString("base64")
45012
45024
  ])
45013
45025
  )
@@ -50270,7 +50282,7 @@ async function buildReactNativeCore(project, reactNativeRoot, mode, moduleRoot)
50270
50282
  producer.files["Sources/PeachCoreProducerHost/include/PeachCoreProducerHost.h"] = "#pragma once\n";
50271
50283
  producer.files["Sources/PeachCoreProducerHost/Dispatch.m"] = "#import <dispatch/dispatch.h>\nvoid peachTurboDispatchAsync(dispatch_block_t block) { dispatch_async(dispatch_get_main_queue(), block); }\n";
50272
50284
  }
50273
- const input = collectTurboCompileInput(producer, null, floor);
50285
+ const input = { ...collectTurboCompileInput(producer, null, floor), optimize: false };
50274
50286
  input.files[input.entry] = input.entry.endsWith(".swift") ? "@main struct PeachCoreProducer { static func main() {} }\n" : "int main() { return 0; }\n";
50275
50287
  const { compiler: _compiler, recipe: _recipe, ...nativeInputs } = entry.inputs;
50276
50288
  const buildRoot = import_node_path87.default.join(
@@ -50504,7 +50516,7 @@ var init_react_native_core = __esm({
50504
50516
  init_swift_distribution();
50505
50517
  init_swift_package();
50506
50518
  init_swiftContract();
50507
- recipe = true ? "b6dde8c8eae8967beb175e8d5b9f585d060bc8aaad48a9e3473f05381be6f1a2" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
50519
+ recipe = true ? "001a7b655dd7e7159ffd4ccf0bded8179bce9b48b6d0f5c3b56c41bdaaa78340" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
50508
50520
  strings4 = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
50509
50521
  building = /* @__PURE__ */ new Map();
50510
50522
  }
@@ -56342,7 +56354,7 @@ init_swift_native_pin();
56342
56354
  init_xcode_project();
56343
56355
  var EXPO_NATIVE_ENTRY_NAME = "ios";
56344
56356
  function expoNativeCompilerDigestValue() {
56345
- return true ? "2f1eb5f86d546910a16da331333901062d974fcff64410af486ac98712ececa9" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
56357
+ return true ? "b96f394d7402014e1585ab28eeb3e138f99e4241e51cb8eb3ea50aa95c767a26" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
56346
56358
  }
56347
56359
  var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
56348
56360
  function readSources(value) {
@@ -59282,7 +59294,9 @@ async function compileExpoSwiftModulesTraced(root, base, publishArtifact, option
59282
59294
  root,
59283
59295
  toolchain
59284
59296
  );
59285
- const linkedStandins = new Set([...linkedLibraries.values()].flat());
59297
+ const linkedStandins = new Set(
59298
+ [...linkedLibraries.values()].flatMap(({ standins }) => standins)
59299
+ );
59286
59300
  for (const standin of built2.standins)
59287
59301
  for (const [name3, source] of Object.entries(standin.files)) {
59288
59302
  const file = `${SWIFT_STANDINS_DIR}/${standin.module}/${name3}`;
@@ -59305,8 +59319,8 @@ async function compileExpoSwiftModulesTraced(root, base, publishArtifact, option
59305
59319
  libraries.set(unit2, {
59306
59320
  ...libraries.get(unit2),
59307
59321
  ...Object.fromEntries(
59308
- [...linkedLibraries].map(([library, [first]]) => [
59309
- first.module,
59322
+ [...linkedLibraries].map(([library, { name: name3 }]) => [
59323
+ name3,
59310
59324
  import_node_fs90.default.readFileSync(library).toString("base64")
59311
59325
  ])
59312
59326
  )
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2379 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2382 | (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.2379 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2382 | (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.2379 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2382 | (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;