peachsim 0.1.794 → 0.1.796

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 (76) 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/agent-identity.cjs +1 -1
  4. package/dist-lib/agent-sessions.cjs +1 -1
  5. package/dist-lib/attached-projects.cjs +1 -1
  6. package/dist-lib/auth/shared-session.cjs +1 -1
  7. package/dist-lib/backend-origin.cjs +1 -1
  8. package/dist-lib/beta.cjs +1 -1
  9. package/dist-lib/beta.mjs +1 -1
  10. package/dist-lib/bridge-constants.cjs +1 -1
  11. package/dist-lib/bridge-contract-input.cjs +1 -1
  12. package/dist-lib/bridge-contract-input.mjs +1 -1
  13. package/dist-lib/bridge-contract.cjs +1 -1
  14. package/dist-lib/bridge-contract.mjs +1 -1
  15. package/dist-lib/bundle-channel.cjs +31 -25
  16. package/dist-lib/capture-contract.cjs +1 -1
  17. package/dist-lib/capture-contract.mjs +1 -1
  18. package/dist-lib/cli-constants.cjs +1 -1
  19. package/dist-lib/cloud-contract.cjs +1 -1
  20. package/dist-lib/cloud-contract.mjs +1 -1
  21. package/dist-lib/cloud-test-args.cjs +1 -1
  22. package/dist-lib/cloud-test-args.mjs +1 -1
  23. package/dist-lib/cloud.cjs +1 -1
  24. package/dist-lib/cloud.mjs +1 -1
  25. package/dist-lib/config.cjs +1 -1
  26. package/dist-lib/detox/index.cjs +1 -1
  27. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  28. package/dist-lib/expo-swift-bundle.cjs +31 -25
  29. package/dist-lib/expo-swift-metadata.cjs +1 -1
  30. package/dist-lib/expo-swift-metadata.mjs +1 -1
  31. package/dist-lib/home-paths.cjs +1 -1
  32. package/dist-lib/host/bridge-host.cjs +31 -25
  33. package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
  34. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  35. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  36. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  37. package/dist-lib/host/websocket-proxy.cjs +1 -1
  38. package/dist-lib/index.cjs +1 -1
  39. package/dist-lib/jump-to-source-babel.cjs +1 -1
  40. package/dist-lib/jump-to-source-native.cjs +1 -1
  41. package/dist-lib/kotlin-host.cjs +1 -1
  42. package/dist-lib/menu.cjs +1 -1
  43. package/dist-lib/menu.mjs +1 -1
  44. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  45. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  46. package/dist-lib/metro-production-bundle.cjs +1 -1
  47. package/dist-lib/metro-production-bundle.mjs +1 -1
  48. package/dist-lib/metro.cjs +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/plist.cjs +1 -1
  54. package/dist-lib/plist.mjs +1 -1
  55. package/dist-lib/profiles.cjs +1 -1
  56. package/dist-lib/public-brand.cjs +1 -1
  57. package/dist-lib/react-native-host-modules.cjs +1 -1
  58. package/dist-lib/react-native-host-modules.mjs +1 -1
  59. package/dist-lib/render-mode.cjs +1 -1
  60. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  61. package/dist-lib/sdk.cjs +1 -1
  62. package/dist-lib/sdk.mjs +1 -1
  63. package/dist-lib/skills.cjs +31 -25
  64. package/dist-lib/swift-compile.cjs +1 -1
  65. package/dist-lib/swift-compile.mjs +1 -1
  66. package/dist-lib/swift-package.cjs +1 -1
  67. package/dist-lib/swift-package.mjs +1 -1
  68. package/dist-lib/swift-submit.cjs +1 -1
  69. package/dist-lib/swift-submit.mjs +1 -1
  70. package/dist-lib/swift-toolchain.cjs +1 -1
  71. package/dist-lib/swift.cjs +1 -1
  72. package/dist-lib/vite-swift.cjs +12 -12
  73. package/dist-lib/vite.cjs +1 -1
  74. package/package.json +1 -3
  75. package/src/expo-swift-host.ts +26 -17
  76. package/src/swift-distribution.lock.json +11 -11
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
package/dist-lib/beta.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
package/dist-lib/beta.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (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
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (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
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (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
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -2099,24 +2099,24 @@ var swift_distribution_lock_default;
2099
2099
  var init_swift_distribution_lock = __esm({
2100
2100
  "src/swift-distribution.lock.json"() {
2101
2101
  swift_distribution_lock_default = {
2102
- id: "487239d0e061dfaa",
2102
+ id: "1a431e89764e8cfa",
2103
2103
  release: "swift-6.3-RELEASE",
2104
- wasmSdkId: "swift-6.3-RELEASE_wasm-peach-41921598-peach-209157d6",
2105
- wasmSdkUrl: "https://r2.sootsim.com/swift-wasm-sdk/swift-6.3-RELEASE_wasm-peach-41921598-peach-209157d6.artifactbundle.tar.gz",
2106
- wasmSdkChecksum: "2b291ff21683ba1063c7362fd5a244fe22af704315f20563abd68c8b4a19b089",
2107
- source: "a3d70fe1a5bcc462e1362c11285327d180e54e28",
2104
+ wasmSdkId: "swift-6.3-RELEASE_wasm-peach-41921598-peach-f2d7f5d4",
2105
+ wasmSdkUrl: "https://r2.sootsim.com/swift-wasm-sdk/swift-6.3-RELEASE_wasm-peach-41921598-peach-f2d7f5d4.artifactbundle.tar.gz",
2106
+ wasmSdkChecksum: "7471b1c145aba62bb9f696aa4d0cd1657cbd9bc7637811b2e6bda1f650553f8d",
2107
+ source: "90d77cf86a77ba84839e5885e1c354a4976f825f",
2108
2108
  hosts: {
2109
2109
  "darwin-arm64": {
2110
- sha256: "361390f1d2f9fee9577fc2253ce67ad40b09bb7946e8e6f3e034f3dc6670fd5b",
2111
- size: 31682452
2110
+ sha256: "ae344e0c60631747c512785d3232be4bc3066d3edbc2916616d43f2a8ee9d759",
2111
+ size: 36453618
2112
2112
  },
2113
2113
  "linux-x64": {
2114
- sha256: "d36ab74f444591458f72dc1d0c3c4032ee1620585a12ce3635fbd6adb8c9a0c8",
2115
- size: 31688001
2114
+ sha256: "16d8f064eaec39e35ee969719481d1f709e9dd08b7112dd83c7c0b8c0b447922",
2115
+ size: 36458677
2116
2116
  },
2117
2117
  "linux-arm64": {
2118
- sha256: "b3f167eb3cbfcf06f1ccf43e3b2cdd94c1a949a0d5ffea03a065a724d306caea",
2119
- size: 31686984
2118
+ sha256: "942892104d80b351b2dc9b414ba72695542ed3b066e0fe9e98d8e42ac760c8df",
2119
+ size: 36457909
2120
2120
  }
2121
2121
  }
2122
2122
  };
@@ -8492,8 +8492,9 @@ async function compileExpoSwiftModules(root, base, publishArtifact) {
8492
8492
  });
8493
8493
  continue;
8494
8494
  }
8495
+ const packagePath = import_node_path15.default.join(import_node_os9.default.tmpdir(), "peach-expo-swift", key2, unit.moduleId);
8496
+ let stamp;
8495
8497
  try {
8496
- const packagePath = import_node_path15.default.join(import_node_os9.default.tmpdir(), "peach-expo-swift", key2, unit.moduleId);
8497
8498
  syncSwiftTree(
8498
8499
  packagePath,
8499
8500
  new Map(
@@ -8503,7 +8504,7 @@ async function compileExpoSwiftModules(root, base, publishArtifact) {
8503
8504
  ])
8504
8505
  )
8505
8506
  );
8506
- const stamp = sourceStamp(packagePath, module2.root);
8507
+ stamp = sourceStamp(packagePath, module2.root);
8507
8508
  const failed = failedCompilations.get(packagePath);
8508
8509
  if (failed?.stamp === stamp) {
8509
8510
  result.failures.push({
@@ -8513,23 +8514,28 @@ async function compileExpoSwiftModules(root, base, publishArtifact) {
8513
8514
  continue;
8514
8515
  }
8515
8516
  failedCompilations.delete(packagePath);
8516
- await artifactFor(projectFor(packagePath), EXPO_SWIFT_ENTRY, module2.root).catch(
8517
- (error) => {
8518
- const diagnostic = error instanceof Error ? error.message : String(error);
8519
- if (/^.+:\d+(?::\d+)?: error:/m.test(diagnostic) && sourceStamp(packagePath, module2.root) === stamp)
8520
- failedCompilations.set(packagePath, { stamp, diagnostic });
8521
- throw error;
8522
- }
8523
- );
8517
+ await artifactFor(projectFor(packagePath), EXPO_SWIFT_ENTRY, module2.root);
8524
8518
  linked.push(unit);
8525
8519
  } catch (error) {
8526
8520
  const diagnostic = error instanceof Error ? error.message : String(error);
8527
- const sourceErrors = diagnostic.match(/^.+:\d+(?::\d+)?: error:.*$/gm);
8528
- if (publishArtifact && !sourceErrors && !(error instanceof SwiftMissingModulesError))
8521
+ const appPaths = Object.values(unit.files).flatMap((source) => {
8522
+ const match = /^#sourceLocation\(file: (".*"), line: 1\)$/m.exec(source);
8523
+ if (!match) return [];
8524
+ const file = JSON.parse(match[1]);
8525
+ return typeof file === "string" ? [file] : [];
8526
+ });
8527
+ const sourceErrors = (diagnostic.match(/^.+:\d+(?::\d+)?: error:.*$/gm) ?? []).filter((line) => appPaths.some((file) => line.startsWith(`${file}:`)));
8528
+ if (publishArtifact && sourceErrors.length === 0 && !(error instanceof SwiftMissingModulesError))
8529
8529
  throw error;
8530
+ if (sourceErrors.length && module2 && stamp && sourceStamp(packagePath, module2.root) === stamp) {
8531
+ failedCompilations.set(packagePath, {
8532
+ stamp,
8533
+ diagnostic: sourceErrors.join("\n")
8534
+ });
8535
+ }
8530
8536
  result.failures.push({
8531
8537
  namespace: unit.moduleId,
8532
- diagnostic: sourceErrors ? sourceErrors.join("\n") : diagnostic
8538
+ diagnostic: sourceErrors.length ? sourceErrors.join("\n") : diagnostic
8533
8539
  });
8534
8540
  }
8535
8541
  }
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (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
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/cloud-contract.ts
4
4
  var RNX_CLOUD_MAX_ARTIFACT_BYTES = 20 * 1024 * 1024;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (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
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (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
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -3392,24 +3392,24 @@ var DAEMON_LOCKFILE_MAX_BYTES = 16 * 1024;
3392
3392
 
3393
3393
  // src/swift-distribution.lock.json
3394
3394
  var swift_distribution_lock_default = {
3395
- id: "487239d0e061dfaa",
3395
+ id: "1a431e89764e8cfa",
3396
3396
  release: "swift-6.3-RELEASE",
3397
- wasmSdkId: "swift-6.3-RELEASE_wasm-peach-41921598-peach-209157d6",
3398
- wasmSdkUrl: "https://r2.sootsim.com/swift-wasm-sdk/swift-6.3-RELEASE_wasm-peach-41921598-peach-209157d6.artifactbundle.tar.gz",
3399
- wasmSdkChecksum: "2b291ff21683ba1063c7362fd5a244fe22af704315f20563abd68c8b4a19b089",
3400
- source: "a3d70fe1a5bcc462e1362c11285327d180e54e28",
3397
+ wasmSdkId: "swift-6.3-RELEASE_wasm-peach-41921598-peach-f2d7f5d4",
3398
+ wasmSdkUrl: "https://r2.sootsim.com/swift-wasm-sdk/swift-6.3-RELEASE_wasm-peach-41921598-peach-f2d7f5d4.artifactbundle.tar.gz",
3399
+ wasmSdkChecksum: "7471b1c145aba62bb9f696aa4d0cd1657cbd9bc7637811b2e6bda1f650553f8d",
3400
+ source: "90d77cf86a77ba84839e5885e1c354a4976f825f",
3401
3401
  hosts: {
3402
3402
  "darwin-arm64": {
3403
- sha256: "361390f1d2f9fee9577fc2253ce67ad40b09bb7946e8e6f3e034f3dc6670fd5b",
3404
- size: 31682452
3403
+ sha256: "ae344e0c60631747c512785d3232be4bc3066d3edbc2916616d43f2a8ee9d759",
3404
+ size: 36453618
3405
3405
  },
3406
3406
  "linux-x64": {
3407
- sha256: "d36ab74f444591458f72dc1d0c3c4032ee1620585a12ce3635fbd6adb8c9a0c8",
3408
- size: 31688001
3407
+ sha256: "16d8f064eaec39e35ee969719481d1f709e9dd08b7112dd83c7c0b8c0b447922",
3408
+ size: 36458677
3409
3409
  },
3410
3410
  "linux-arm64": {
3411
- sha256: "b3f167eb3cbfcf06f1ccf43e3b2cdd94c1a949a0d5ffea03a065a724d306caea",
3412
- size: 31686984
3411
+ sha256: "942892104d80b351b2dc9b414ba72695542ed3b066e0fe9e98d8e42ac760c8df",
3412
+ size: 36457909
3413
3413
  }
3414
3414
  }
3415
3415
  };
@@ -8307,8 +8307,9 @@ async function compileExpoSwiftModules(root, base, publishArtifact) {
8307
8307
  });
8308
8308
  continue;
8309
8309
  }
8310
+ const packagePath = import_node_path15.default.join(import_node_os9.default.tmpdir(), "peach-expo-swift", key2, unit.moduleId);
8311
+ let stamp;
8310
8312
  try {
8311
- const packagePath = import_node_path15.default.join(import_node_os9.default.tmpdir(), "peach-expo-swift", key2, unit.moduleId);
8312
8313
  syncSwiftTree(
8313
8314
  packagePath,
8314
8315
  new Map(
@@ -8318,7 +8319,7 @@ async function compileExpoSwiftModules(root, base, publishArtifact) {
8318
8319
  ])
8319
8320
  )
8320
8321
  );
8321
- const stamp = sourceStamp(packagePath, module2.root);
8322
+ stamp = sourceStamp(packagePath, module2.root);
8322
8323
  const failed = failedCompilations.get(packagePath);
8323
8324
  if (failed?.stamp === stamp) {
8324
8325
  result.failures.push({
@@ -8328,23 +8329,28 @@ async function compileExpoSwiftModules(root, base, publishArtifact) {
8328
8329
  continue;
8329
8330
  }
8330
8331
  failedCompilations.delete(packagePath);
8331
- await artifactFor(projectFor(packagePath), EXPO_SWIFT_ENTRY, module2.root).catch(
8332
- (error) => {
8333
- const diagnostic = error instanceof Error ? error.message : String(error);
8334
- if (/^.+:\d+(?::\d+)?: error:/m.test(diagnostic) && sourceStamp(packagePath, module2.root) === stamp)
8335
- failedCompilations.set(packagePath, { stamp, diagnostic });
8336
- throw error;
8337
- }
8338
- );
8332
+ await artifactFor(projectFor(packagePath), EXPO_SWIFT_ENTRY, module2.root);
8339
8333
  linked.push(unit);
8340
8334
  } catch (error) {
8341
8335
  const diagnostic = error instanceof Error ? error.message : String(error);
8342
- const sourceErrors = diagnostic.match(/^.+:\d+(?::\d+)?: error:.*$/gm);
8343
- if (publishArtifact && !sourceErrors && !(error instanceof SwiftMissingModulesError))
8336
+ const appPaths = Object.values(unit.files).flatMap((source) => {
8337
+ const match = /^#sourceLocation\(file: (".*"), line: 1\)$/m.exec(source);
8338
+ if (!match) return [];
8339
+ const file = JSON.parse(match[1]);
8340
+ return typeof file === "string" ? [file] : [];
8341
+ });
8342
+ const sourceErrors = (diagnostic.match(/^.+:\d+(?::\d+)?: error:.*$/gm) ?? []).filter((line) => appPaths.some((file) => line.startsWith(`${file}:`)));
8343
+ if (publishArtifact && sourceErrors.length === 0 && !(error instanceof SwiftMissingModulesError))
8344
8344
  throw error;
8345
+ if (sourceErrors.length && module2 && stamp && sourceStamp(packagePath, module2.root) === stamp) {
8346
+ failedCompilations.set(packagePath, {
8347
+ stamp,
8348
+ diagnostic: sourceErrors.join("\n")
8349
+ });
8350
+ }
8345
8351
  result.failures.push({
8346
8352
  namespace: unit.moduleId,
8347
- diagnostic: sourceErrors ? sourceErrors.join("\n") : diagnostic
8353
+ diagnostic: sourceErrors.length ? sourceErrors.join("\n") : diagnostic
8348
8354
  });
8349
8355
  }
8350
8356
  }
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/expoSwiftContract.ts
4
4
  function record(value) {
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -12652,24 +12652,24 @@ init_home_paths();
12652
12652
 
12653
12653
  // src/swift-distribution.lock.json
12654
12654
  var swift_distribution_lock_default = {
12655
- id: "487239d0e061dfaa",
12655
+ id: "1a431e89764e8cfa",
12656
12656
  release: "swift-6.3-RELEASE",
12657
- wasmSdkId: "swift-6.3-RELEASE_wasm-peach-41921598-peach-209157d6",
12658
- wasmSdkUrl: "https://r2.sootsim.com/swift-wasm-sdk/swift-6.3-RELEASE_wasm-peach-41921598-peach-209157d6.artifactbundle.tar.gz",
12659
- wasmSdkChecksum: "2b291ff21683ba1063c7362fd5a244fe22af704315f20563abd68c8b4a19b089",
12660
- source: "a3d70fe1a5bcc462e1362c11285327d180e54e28",
12657
+ wasmSdkId: "swift-6.3-RELEASE_wasm-peach-41921598-peach-f2d7f5d4",
12658
+ wasmSdkUrl: "https://r2.sootsim.com/swift-wasm-sdk/swift-6.3-RELEASE_wasm-peach-41921598-peach-f2d7f5d4.artifactbundle.tar.gz",
12659
+ wasmSdkChecksum: "7471b1c145aba62bb9f696aa4d0cd1657cbd9bc7637811b2e6bda1f650553f8d",
12660
+ source: "90d77cf86a77ba84839e5885e1c354a4976f825f",
12661
12661
  hosts: {
12662
12662
  "darwin-arm64": {
12663
- sha256: "361390f1d2f9fee9577fc2253ce67ad40b09bb7946e8e6f3e034f3dc6670fd5b",
12664
- size: 31682452
12663
+ sha256: "ae344e0c60631747c512785d3232be4bc3066d3edbc2916616d43f2a8ee9d759",
12664
+ size: 36453618
12665
12665
  },
12666
12666
  "linux-x64": {
12667
- sha256: "d36ab74f444591458f72dc1d0c3c4032ee1620585a12ce3635fbd6adb8c9a0c8",
12668
- size: 31688001
12667
+ sha256: "16d8f064eaec39e35ee969719481d1f709e9dd08b7112dd83c7c0b8c0b447922",
12668
+ size: 36458677
12669
12669
  },
12670
12670
  "linux-arm64": {
12671
- sha256: "b3f167eb3cbfcf06f1ccf43e3b2cdd94c1a949a0d5ffea03a065a724d306caea",
12672
- size: 31686984
12671
+ sha256: "942892104d80b351b2dc9b414ba72695542ed3b066e0fe9e98d8e42ac760c8df",
12672
+ size: 36457909
12673
12673
  }
12674
12674
  }
12675
12675
  };
@@ -17425,8 +17425,9 @@ async function compileExpoSwiftModules(root, base, publishArtifact) {
17425
17425
  });
17426
17426
  continue;
17427
17427
  }
17428
+ const packagePath = import_node_path20.default.join(import_node_os9.default.tmpdir(), "peach-expo-swift", key2, unit.moduleId);
17429
+ let stamp;
17428
17430
  try {
17429
- const packagePath = import_node_path20.default.join(import_node_os9.default.tmpdir(), "peach-expo-swift", key2, unit.moduleId);
17430
17431
  syncSwiftTree(
17431
17432
  packagePath,
17432
17433
  new Map(
@@ -17436,7 +17437,7 @@ async function compileExpoSwiftModules(root, base, publishArtifact) {
17436
17437
  ])
17437
17438
  )
17438
17439
  );
17439
- const stamp = sourceStamp(packagePath, module2.root);
17440
+ stamp = sourceStamp(packagePath, module2.root);
17440
17441
  const failed = failedCompilations.get(packagePath);
17441
17442
  if (failed?.stamp === stamp) {
17442
17443
  result.failures.push({
@@ -17446,23 +17447,28 @@ async function compileExpoSwiftModules(root, base, publishArtifact) {
17446
17447
  continue;
17447
17448
  }
17448
17449
  failedCompilations.delete(packagePath);
17449
- await artifactFor(projectFor(packagePath), EXPO_SWIFT_ENTRY, module2.root).catch(
17450
- (error) => {
17451
- const diagnostic = error instanceof Error ? error.message : String(error);
17452
- if (/^.+:\d+(?::\d+)?: error:/m.test(diagnostic) && sourceStamp(packagePath, module2.root) === stamp)
17453
- failedCompilations.set(packagePath, { stamp, diagnostic });
17454
- throw error;
17455
- }
17456
- );
17450
+ await artifactFor(projectFor(packagePath), EXPO_SWIFT_ENTRY, module2.root);
17457
17451
  linked.push(unit);
17458
17452
  } catch (error) {
17459
17453
  const diagnostic = error instanceof Error ? error.message : String(error);
17460
- const sourceErrors = diagnostic.match(/^.+:\d+(?::\d+)?: error:.*$/gm);
17461
- if (publishArtifact && !sourceErrors && !(error instanceof SwiftMissingModulesError))
17454
+ const appPaths = Object.values(unit.files).flatMap((source) => {
17455
+ const match = /^#sourceLocation\(file: (".*"), line: 1\)$/m.exec(source);
17456
+ if (!match) return [];
17457
+ const file = JSON.parse(match[1]);
17458
+ return typeof file === "string" ? [file] : [];
17459
+ });
17460
+ const sourceErrors = (diagnostic.match(/^.+:\d+(?::\d+)?: error:.*$/gm) ?? []).filter((line) => appPaths.some((file) => line.startsWith(`${file}:`)));
17461
+ if (publishArtifact && sourceErrors.length === 0 && !(error instanceof SwiftMissingModulesError))
17462
17462
  throw error;
17463
+ if (sourceErrors.length && module2 && stamp && sourceStamp(packagePath, module2.root) === stamp) {
17464
+ failedCompilations.set(packagePath, {
17465
+ stamp,
17466
+ diagnostic: sourceErrors.join("\n")
17467
+ });
17468
+ }
17463
17469
  result.failures.push({
17464
17470
  namespace: unit.moduleId,
17465
- diagnostic: sourceErrors ? sourceErrors.join("\n") : diagnostic
17471
+ diagnostic: sourceErrors.length ? sourceErrors.join("\n") : diagnostic
17466
17472
  });
17467
17473
  }
17468
17474
  }
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/host/fetch-proxy-overrides.ts
4
4
  var FETCH_PROXY_NATIVE_USER_AGENT_HEADER = "x-sootsim-native-user-agent";
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
package/dist-lib/menu.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
package/dist-lib/menu.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/public-brand.ts
4
4
  var name = "Peach";
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/is-record.ts
4
4
  function isRecord(value) {
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/metro-production-bundle.ts
4
4
  var RNXSIM_METRO_MODULE_PATHS_PREFIX = "globalThis.__sootsimModulePaths=";
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/native-app-identity.ts
4
4
  var NATIVE_APP_IDENTITY_PREFIX = "globalThis.__sootsimNativeAppIdentity=";
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/native-firebase-metadata.ts
4
4
  var PREFIX = "globalThis.__peachNativeFirebaseConfig=";
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/plist.ts
4
4
  import plist from "plist";
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/react-native-host-modules.ts
4
4
  var REACT_NATIVE_PASSTHROUGH_SPECIFIERS = [
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
package/dist-lib/sdk.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
package/dist-lib/sdk.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (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
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -31100,24 +31100,24 @@ var swift_distribution_lock_default;
31100
31100
  var init_swift_distribution_lock = __esm({
31101
31101
  "src/swift-distribution.lock.json"() {
31102
31102
  swift_distribution_lock_default = {
31103
- id: "487239d0e061dfaa",
31103
+ id: "1a431e89764e8cfa",
31104
31104
  release: "swift-6.3-RELEASE",
31105
- wasmSdkId: "swift-6.3-RELEASE_wasm-peach-41921598-peach-209157d6",
31106
- wasmSdkUrl: "https://r2.sootsim.com/swift-wasm-sdk/swift-6.3-RELEASE_wasm-peach-41921598-peach-209157d6.artifactbundle.tar.gz",
31107
- wasmSdkChecksum: "2b291ff21683ba1063c7362fd5a244fe22af704315f20563abd68c8b4a19b089",
31108
- source: "a3d70fe1a5bcc462e1362c11285327d180e54e28",
31105
+ wasmSdkId: "swift-6.3-RELEASE_wasm-peach-41921598-peach-f2d7f5d4",
31106
+ wasmSdkUrl: "https://r2.sootsim.com/swift-wasm-sdk/swift-6.3-RELEASE_wasm-peach-41921598-peach-f2d7f5d4.artifactbundle.tar.gz",
31107
+ wasmSdkChecksum: "7471b1c145aba62bb9f696aa4d0cd1657cbd9bc7637811b2e6bda1f650553f8d",
31108
+ source: "90d77cf86a77ba84839e5885e1c354a4976f825f",
31109
31109
  hosts: {
31110
31110
  "darwin-arm64": {
31111
- sha256: "361390f1d2f9fee9577fc2253ce67ad40b09bb7946e8e6f3e034f3dc6670fd5b",
31112
- size: 31682452
31111
+ sha256: "ae344e0c60631747c512785d3232be4bc3066d3edbc2916616d43f2a8ee9d759",
31112
+ size: 36453618
31113
31113
  },
31114
31114
  "linux-x64": {
31115
- sha256: "d36ab74f444591458f72dc1d0c3c4032ee1620585a12ce3635fbd6adb8c9a0c8",
31116
- size: 31688001
31115
+ sha256: "16d8f064eaec39e35ee969719481d1f709e9dd08b7112dd83c7c0b8c0b447922",
31116
+ size: 36458677
31117
31117
  },
31118
31118
  "linux-arm64": {
31119
- sha256: "b3f167eb3cbfcf06f1ccf43e3b2cdd94c1a949a0d5ffea03a065a724d306caea",
31120
- size: 31686984
31119
+ sha256: "942892104d80b351b2dc9b414ba72695542ed3b066e0fe9e98d8e42ac760c8df",
31120
+ size: 36457909
31121
31121
  }
31122
31122
  }
31123
31123
  };
@@ -37313,8 +37313,9 @@ async function compileExpoSwiftModules(root, base, publishArtifact) {
37313
37313
  });
37314
37314
  continue;
37315
37315
  }
37316
+ const packagePath = import_node_path20.default.join(import_node_os9.default.tmpdir(), "peach-expo-swift", key2, unit.moduleId);
37317
+ let stamp;
37316
37318
  try {
37317
- const packagePath = import_node_path20.default.join(import_node_os9.default.tmpdir(), "peach-expo-swift", key2, unit.moduleId);
37318
37319
  syncSwiftTree(
37319
37320
  packagePath,
37320
37321
  new Map(
@@ -37324,7 +37325,7 @@ async function compileExpoSwiftModules(root, base, publishArtifact) {
37324
37325
  ])
37325
37326
  )
37326
37327
  );
37327
- const stamp = sourceStamp(packagePath, module2.root);
37328
+ stamp = sourceStamp(packagePath, module2.root);
37328
37329
  const failed = failedCompilations.get(packagePath);
37329
37330
  if (failed?.stamp === stamp) {
37330
37331
  result.failures.push({
@@ -37334,23 +37335,28 @@ async function compileExpoSwiftModules(root, base, publishArtifact) {
37334
37335
  continue;
37335
37336
  }
37336
37337
  failedCompilations.delete(packagePath);
37337
- await artifactFor(projectFor(packagePath), EXPO_SWIFT_ENTRY, module2.root).catch(
37338
- (error) => {
37339
- const diagnostic = error instanceof Error ? error.message : String(error);
37340
- if (/^.+:\d+(?::\d+)?: error:/m.test(diagnostic) && sourceStamp(packagePath, module2.root) === stamp)
37341
- failedCompilations.set(packagePath, { stamp, diagnostic });
37342
- throw error;
37343
- }
37344
- );
37338
+ await artifactFor(projectFor(packagePath), EXPO_SWIFT_ENTRY, module2.root);
37345
37339
  linked.push(unit);
37346
37340
  } catch (error) {
37347
37341
  const diagnostic = error instanceof Error ? error.message : String(error);
37348
- const sourceErrors = diagnostic.match(/^.+:\d+(?::\d+)?: error:.*$/gm);
37349
- if (publishArtifact && !sourceErrors && !(error instanceof SwiftMissingModulesError))
37342
+ const appPaths = Object.values(unit.files).flatMap((source) => {
37343
+ const match = /^#sourceLocation\(file: (".*"), line: 1\)$/m.exec(source);
37344
+ if (!match) return [];
37345
+ const file = JSON.parse(match[1]);
37346
+ return typeof file === "string" ? [file] : [];
37347
+ });
37348
+ const sourceErrors = (diagnostic.match(/^.+:\d+(?::\d+)?: error:.*$/gm) ?? []).filter((line) => appPaths.some((file) => line.startsWith(`${file}:`)));
37349
+ if (publishArtifact && sourceErrors.length === 0 && !(error instanceof SwiftMissingModulesError))
37350
37350
  throw error;
37351
+ if (sourceErrors.length && module2 && stamp && sourceStamp(packagePath, module2.root) === stamp) {
37352
+ failedCompilations.set(packagePath, {
37353
+ stamp,
37354
+ diagnostic: sourceErrors.join("\n")
37355
+ });
37356
+ }
37351
37357
  result.failures.push({
37352
37358
  namespace: unit.moduleId,
37353
- diagnostic: sourceErrors ? sourceErrors.join("\n") : diagnostic
37359
+ diagnostic: sourceErrors.length ? sourceErrors.join("\n") : diagnostic
37354
37360
  });
37355
37361
  }
37356
37362
  }
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/swift-compile.ts
4
4
  import { execFile as execFile2, execFileSync } from "node:child_process";
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/swift-package.ts
4
4
  function isSwiftManifestFile(file) {
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/swift-submit.ts
4
4
  var SWIFT_COMPILE_PATH = "/api/swift-compile";
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -4196,24 +4196,24 @@ function runExtractor(command, args) {
4196
4196
 
4197
4197
  // src/swift-distribution.lock.json
4198
4198
  var swift_distribution_lock_default = {
4199
- id: "487239d0e061dfaa",
4199
+ id: "1a431e89764e8cfa",
4200
4200
  release: "swift-6.3-RELEASE",
4201
- wasmSdkId: "swift-6.3-RELEASE_wasm-peach-41921598-peach-209157d6",
4202
- wasmSdkUrl: "https://r2.sootsim.com/swift-wasm-sdk/swift-6.3-RELEASE_wasm-peach-41921598-peach-209157d6.artifactbundle.tar.gz",
4203
- wasmSdkChecksum: "2b291ff21683ba1063c7362fd5a244fe22af704315f20563abd68c8b4a19b089",
4204
- source: "a3d70fe1a5bcc462e1362c11285327d180e54e28",
4201
+ wasmSdkId: "swift-6.3-RELEASE_wasm-peach-41921598-peach-f2d7f5d4",
4202
+ wasmSdkUrl: "https://r2.sootsim.com/swift-wasm-sdk/swift-6.3-RELEASE_wasm-peach-41921598-peach-f2d7f5d4.artifactbundle.tar.gz",
4203
+ wasmSdkChecksum: "7471b1c145aba62bb9f696aa4d0cd1657cbd9bc7637811b2e6bda1f650553f8d",
4204
+ source: "90d77cf86a77ba84839e5885e1c354a4976f825f",
4205
4205
  hosts: {
4206
4206
  "darwin-arm64": {
4207
- sha256: "361390f1d2f9fee9577fc2253ce67ad40b09bb7946e8e6f3e034f3dc6670fd5b",
4208
- size: 31682452
4207
+ sha256: "ae344e0c60631747c512785d3232be4bc3066d3edbc2916616d43f2a8ee9d759",
4208
+ size: 36453618
4209
4209
  },
4210
4210
  "linux-x64": {
4211
- sha256: "d36ab74f444591458f72dc1d0c3c4032ee1620585a12ce3635fbd6adb8c9a0c8",
4212
- size: 31688001
4211
+ sha256: "16d8f064eaec39e35ee969719481d1f709e9dd08b7112dd83c7c0b8c0b447922",
4212
+ size: 36458677
4213
4213
  },
4214
4214
  "linux-arm64": {
4215
- sha256: "b3f167eb3cbfcf06f1ccf43e3b2cdd94c1a949a0d5ffea03a065a724d306caea",
4216
- size: 31686984
4215
+ sha256: "942892104d80b351b2dc9b414ba72695542ed3b066e0fe9e98d8e42ac760c8df",
4216
+ size: 36457909
4217
4217
  }
4218
4218
  }
4219
4219
  };
package/dist-lib/vite.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.794 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.796 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "peachsim",
3
- "version": "0.1.794",
3
+ "version": "0.1.796",
4
4
  "description": "Vite and Metro plugins, testing drivers, and SDK exports for peach.",
5
5
  "author": "Tamagui LLC",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -69,7 +69,6 @@
69
69
  "./expo-swift-bundle": {
70
70
  "types": "./src/expo-swift-bundle.ts",
71
71
  "source": "./src/expo-swift-bundle.ts",
72
- "bun": "./src/expo-swift-bundle.ts",
73
72
  "default": "./dist-lib/expo-swift-bundle.cjs"
74
73
  },
75
74
  "./expo-swift-metadata": {
@@ -310,7 +309,6 @@
310
309
  "./package.json": "./package.json",
311
310
  "./bundle-channel": {
312
311
  "source": "./src/bundle-channel.mjs",
313
- "bun": "./src/bundle-channel.mjs",
314
312
  "default": "./dist-lib/bundle-channel.cjs"
315
313
  }
316
314
  },
@@ -254,8 +254,9 @@ export async function compileExpoSwiftModules(
254
254
  })
255
255
  continue
256
256
  }
257
+ const packagePath = path.join(os.tmpdir(), 'peach-expo-swift', key, unit.moduleId)
258
+ let stamp: string | undefined
257
259
  try {
258
- const packagePath = path.join(os.tmpdir(), 'peach-expo-swift', key, unit.moduleId)
259
260
  // preserve the compiler's input stamp across unchanged reloads.
260
261
  // only this adapter's build copy is synchronized; app sources are read only.
261
262
  syncSwiftTree(
@@ -267,7 +268,7 @@ export async function compileExpoSwiftModules(
267
268
  ]),
268
269
  ),
269
270
  )
270
- const stamp = sourceStamp(packagePath, module.root)
271
+ stamp = sourceStamp(packagePath, module.root)
271
272
  const failed = failedCompilations.get(packagePath)
272
273
  if (failed?.stamp === stamp) {
273
274
  result.failures.push({
@@ -277,31 +278,39 @@ export async function compileExpoSwiftModules(
277
278
  continue
278
279
  }
279
280
  failedCompilations.delete(packagePath)
280
- await artifactFor(projectFor(packagePath), EXPO_SWIFT_ENTRY, module.root).catch(
281
- (error: unknown) => {
282
- const diagnostic = error instanceof Error ? error.message : String(error)
283
- // retain actual source diagnostics, not a timeout or infrastructure failure.
284
- if (
285
- /^.+:\d+(?::\d+)?: error:/m.test(diagnostic) &&
286
- sourceStamp(packagePath, module.root) === stamp
287
- )
288
- failedCompilations.set(packagePath, { stamp, diagnostic })
289
- throw error
290
- },
291
- )
281
+ await artifactFor(projectFor(packagePath), EXPO_SWIFT_ENTRY, module.root)
292
282
  linked.push(unit)
293
283
  } catch (error) {
294
284
  const diagnostic = error instanceof Error ? error.message : String(error)
295
- const sourceErrors = diagnostic.match(/^.+:\d+(?::\d+)?: error:.*$/gm)
285
+ const appPaths = Object.values(unit.files).flatMap((source) => {
286
+ const match = /^#sourceLocation\(file: (".*"), line: 1\)$/m.exec(source)
287
+ if (!match) return []
288
+ const file: unknown = JSON.parse(match[1]!)
289
+ return typeof file === 'string' ? [file] : []
290
+ })
291
+ const sourceErrors = (
292
+ diagnostic.match(/^.+:\d+(?::\d+)?: error:.*$/gm) ?? []
293
+ ).filter((line) => appPaths.some((file) => line.startsWith(`${file}:`)))
296
294
  if (
297
295
  publishArtifact &&
298
- !sourceErrors &&
296
+ sourceErrors.length === 0 &&
299
297
  !(error instanceof SwiftMissingModulesError)
300
298
  )
301
299
  throw error
300
+ if (
301
+ sourceErrors.length &&
302
+ module &&
303
+ stamp &&
304
+ sourceStamp(packagePath, module.root) === stamp
305
+ ) {
306
+ failedCompilations.set(packagePath, {
307
+ stamp,
308
+ diagnostic: sourceErrors.join('\n'),
309
+ })
310
+ }
302
311
  result.failures.push({
303
312
  namespace: unit.moduleId,
304
- diagnostic: sourceErrors ? sourceErrors.join('\n') : diagnostic,
313
+ diagnostic: sourceErrors.length ? sourceErrors.join('\n') : diagnostic,
305
314
  })
306
315
  }
307
316
  }
@@ -1,22 +1,22 @@
1
1
  {
2
- "id": "487239d0e061dfaa",
2
+ "id": "1a431e89764e8cfa",
3
3
  "release": "swift-6.3-RELEASE",
4
- "wasmSdkId": "swift-6.3-RELEASE_wasm-peach-41921598-peach-209157d6",
5
- "wasmSdkUrl": "https://r2.sootsim.com/swift-wasm-sdk/swift-6.3-RELEASE_wasm-peach-41921598-peach-209157d6.artifactbundle.tar.gz",
6
- "wasmSdkChecksum": "2b291ff21683ba1063c7362fd5a244fe22af704315f20563abd68c8b4a19b089",
7
- "source": "a3d70fe1a5bcc462e1362c11285327d180e54e28",
4
+ "wasmSdkId": "swift-6.3-RELEASE_wasm-peach-41921598-peach-f2d7f5d4",
5
+ "wasmSdkUrl": "https://r2.sootsim.com/swift-wasm-sdk/swift-6.3-RELEASE_wasm-peach-41921598-peach-f2d7f5d4.artifactbundle.tar.gz",
6
+ "wasmSdkChecksum": "7471b1c145aba62bb9f696aa4d0cd1657cbd9bc7637811b2e6bda1f650553f8d",
7
+ "source": "90d77cf86a77ba84839e5885e1c354a4976f825f",
8
8
  "hosts": {
9
9
  "darwin-arm64": {
10
- "sha256": "361390f1d2f9fee9577fc2253ce67ad40b09bb7946e8e6f3e034f3dc6670fd5b",
11
- "size": 31682452
10
+ "sha256": "ae344e0c60631747c512785d3232be4bc3066d3edbc2916616d43f2a8ee9d759",
11
+ "size": 36453618
12
12
  },
13
13
  "linux-x64": {
14
- "sha256": "d36ab74f444591458f72dc1d0c3c4032ee1620585a12ce3635fbd6adb8c9a0c8",
15
- "size": 31688001
14
+ "sha256": "16d8f064eaec39e35ee969719481d1f709e9dd08b7112dd83c7c0b8c0b447922",
15
+ "size": 36458677
16
16
  },
17
17
  "linux-arm64": {
18
- "sha256": "b3f167eb3cbfcf06f1ccf43e3b2cdd94c1a949a0d5ffea03a065a724d306caea",
19
- "size": 31686984
18
+ "sha256": "942892104d80b351b2dc9b414ba72695542ed3b066e0fe9e98d8e42ac760c8df",
19
+ "size": 36457909
20
20
  }
21
21
  }
22
22
  }