peachsim 0.1.1848 → 0.1.1850

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 +45 -23
  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 -17
  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 +44 -22
  31. package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
  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 +2 -2
  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 +2 -2
  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 +45 -23
  68. package/dist-lib/swift-compile.cjs +14 -2
  69. package/dist-lib/swift-compile.mjs +14 -2
  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 +39 -17
  77. package/dist-lib/vite.cjs +1 -1
  78. package/dist-lib/worklet-executable.cjs +1 -1
  79. package/dist-lib/worklet-executable.mjs +1 -1
  80. package/package.json +1 -1
  81. package/src/nitro-adapter.lock.json +273 -273
  82. package/src/nitro-superset.lock.json +4 -4
  83. package/src/swift-compile.ts +14 -0
  84. package/src/swift-distribution.lock.json +11 -11
  85. package/src/swift-standins.ts +36 -19
  86. package/src/turbo-runtime.lock.json +21 -21
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1848 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1850 | (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.1848 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1850 | (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.1848 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1850 | (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.1848 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1850 | (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.1848 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1850 | (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.1848 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1850 | (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.1848 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1850 | (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.1848 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1850 | (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.1848 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1850 | (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.1848 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1850 | (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.1848 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1850 | (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.1848 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1850 | (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.1848 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1850 | (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;
@@ -14285,6 +14285,7 @@ function designTimeDiagnostic(output2, files2) {
14285
14285
  // src/swift-distribution-contract.ts
14286
14286
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
14287
14287
  var SWIFT_DISTRIBUTION_MANIFEST = "distribution.json";
14288
+ var SWIFT_DISTRIBUTION_OBJC_SELECTORS = "objc-selectors.json";
14288
14289
  var SWIFT_DISTRIBUTION_HOSTS = [
14289
14290
  "darwin-arm64",
14290
14291
  "linux-x64",
@@ -16805,6 +16806,15 @@ function swiftCompileSdkOptions(moduleRoot, toolchainBin) {
16805
16806
  swiftModuleSdk(moduleRoot).wasmSdkId
16806
16807
  );
16807
16808
  }
16809
+ function swiftObjCSelectorOptions(moduleRoot) {
16810
+ if (!swiftDistributionAt(moduleRoot)) return [];
16811
+ return [
16812
+ "-Xswiftc",
16813
+ "-Xllvm",
16814
+ "-Xswiftc",
16815
+ `-peach-objc-selector-map=${import_node_path34.default.join(moduleRoot, SWIFT_DISTRIBUTION_OBJC_SELECTORS)}`
16816
+ ];
16817
+ }
16808
16818
  function swiftModuleInputFiles(root) {
16809
16819
  if (swiftDistributionAt(root)) return [SWIFT_DISTRIBUTION_MANIFEST];
16810
16820
  const files2 = [
@@ -17389,7 +17399,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
17389
17399
  var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
17390
17400
  var MULTI_MANIFEST_VERSION = 65;
17391
17401
  var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
17392
- var compilerSourceDigest = true ? "e4cea9899c1ac308be330be1b6b24446a8b4a3b0ad15ddc332b194aa16d34970" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
17402
+ var compilerSourceDigest = true ? "266f0a8129486f5fdb6354090f587d7fcd2173e8fd6d97af6d11d9d278388e6f" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
17393
17403
  function swiftArtifactHash(input, release, moduleRoot) {
17394
17404
  const hash = (0, import_node_crypto13.createHash)("sha256");
17395
17405
  hash.update(`swift-compile
@@ -20891,6 +20901,7 @@ async function buildFrameworkProducts(scratch2, args) {
20891
20901
  "--target",
20892
20902
  FRAMEWORK_LINK_TARGET,
20893
20903
  ...swiftCompileSdkOptions(args.moduleRoot, args.toolchainBin),
20904
+ ...swiftObjCSelectorOptions(args.moduleRoot),
20894
20905
  "--swift-sdk",
20895
20906
  args.sdk,
20896
20907
  "-c",
@@ -21291,6 +21302,7 @@ function compileSwiftProjectOnce(input, options) {
21291
21302
  "--package-path",
21292
21303
  root,
21293
21304
  ...swiftCompileSdkOptions(frameworkRoot, options.toolchainBin),
21305
+ ...swiftObjCSelectorOptions(frameworkRoot),
21294
21306
  "--swift-sdk",
21295
21307
  sdk,
21296
21308
  ...nativeToolset ? ["--toolset", import_node_path34.default.join(root, ".peach-target-toolset.json")] : [],
@@ -27388,7 +27400,7 @@ function standinSourceDigest(srcDir = __sootsim_import_meta_dirname) {
27388
27400
  }
27389
27401
  return hash.digest("hex");
27390
27402
  }
27391
- var STANDIN_SOURCE_DIGEST = true ? "e3e8bbde2a79bb2402029c24c15e95c46895a9e5b1d5a69c5d2823436d3a35a9" : standinSourceDigest();
27403
+ var STANDIN_SOURCE_DIGEST = true ? "e98e2bb7bbe0cfe4a996e183ff2159f9bc5c6af52deefef43409fad184ad8725" : standinSourceDigest();
27392
27404
 
27393
27405
  // src/swift-standins.ts
27394
27406
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
@@ -29655,18 +29667,32 @@ ${roots.map((file) => ` header "${file}"`).join("\n")}
29655
29667
  hash.update(import_node_fs57.default.readFileSync(file));
29656
29668
  }
29657
29669
  const id = hash.digest("hex").slice(0, 32);
29670
+ const settle = (value) => {
29671
+ if (typeof value === "string" && found.some((surface) => configured.has(surface.module)))
29672
+ throw new Error(
29673
+ `Configured native framework ${binary2.target} could not be generated: ${value}`
29674
+ );
29675
+ return value;
29676
+ };
29658
29677
  const memo2 = built.get(id);
29659
29678
  if (memo2) {
29660
29679
  import_node_fs57.default.rmSync(work, { recursive: true, force: true });
29661
- return memo2;
29680
+ return settle(memo2);
29662
29681
  }
29663
29682
  const cached2 = import_node_path54.default.join(cacheDir4, "standins", `${id}.json`);
29664
29683
  if (import_node_fs57.default.existsSync(cached2)) {
29665
29684
  const value = JSON.parse(import_node_fs57.default.readFileSync(cached2, "utf8"));
29666
29685
  built.set(id, value);
29667
29686
  import_node_fs57.default.rmSync(work, { recursive: true, force: true });
29668
- return value;
29687
+ return settle(value);
29669
29688
  }
29689
+ const publish = (value) => {
29690
+ import_node_fs57.default.mkdirSync(import_node_path54.default.dirname(cached2), { recursive: true });
29691
+ const pending = `${cached2}.${process.pid}.tmp`;
29692
+ import_node_fs57.default.writeFileSync(pending, JSON.stringify(value));
29693
+ import_node_fs57.default.renameSync(pending, cached2);
29694
+ built.set(id, value);
29695
+ };
29670
29696
  let result;
29671
29697
  try {
29672
29698
  result = [];
@@ -29710,26 +29736,22 @@ ${roots.map((file) => ` header "${file}"`).join("\n")}
29710
29736
  );
29711
29737
  } catch (error) {
29712
29738
  throw new Error(
29713
- `no stand-in for ${surface.module}: ${error instanceof Error && !("stderr" in error) ? error.message : failure(error)}`
29739
+ `no stand-in for ${surface.module}: ${error instanceof Error && !("stderr" in error) ? error.message : failure(error)}`,
29740
+ { cause: error }
29714
29741
  );
29715
29742
  }
29716
29743
  }
29717
- if (typeof result === "string") throw new Error(result);
29718
- import_node_fs57.default.mkdirSync(import_node_path54.default.dirname(cached2), { recursive: true });
29719
- const pending = `${cached2}.${process.pid}.tmp`;
29720
- import_node_fs57.default.writeFileSync(pending, JSON.stringify(result));
29721
- import_node_fs57.default.renameSync(pending, cached2);
29722
- built.set(id, result);
29744
+ publish(result);
29723
29745
  } catch (error) {
29724
29746
  result = error instanceof Error ? error.message : String(error);
29747
+ let cause = error;
29748
+ while (cause instanceof Error && !("code" in cause && typeof cause.code === "string") && !("signal" in cause && typeof cause.signal === "string"))
29749
+ cause = cause.cause;
29750
+ if (!(cause instanceof Error)) publish(result);
29725
29751
  } finally {
29726
29752
  import_node_fs57.default.rmSync(work, { recursive: true, force: true });
29727
29753
  }
29728
- if (typeof result === "string" && found.some((surface) => configured.has(surface.module)))
29729
- throw new Error(
29730
- `Configured native framework ${binary2.target} could not be generated: ${result}`
29731
- );
29732
- return result;
29754
+ return settle(result);
29733
29755
  }
29734
29756
  async function swiftStandins(binaries, toolchain, provided = /* @__PURE__ */ new Set(), behavior = {}) {
29735
29757
  const requested = binaries.filter((binary2) => !provided.has(binary2.target));
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1848 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1850 | (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.1848 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1850 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/bundleGlobalFooter.ts
4
4
  function findBundleFooter(source, prefix) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1848 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1850 | (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;