peachsim 0.1.2590 → 0.1.2591

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 (130) hide show
  1. package/dist-lib/agent-daemon-client.cjs +1 -1
  2. package/dist-lib/agent-events.cjs +1 -1
  3. package/dist-lib/attached-projects.cjs +1 -1
  4. package/dist-lib/auth/shared-session.cjs +1 -1
  5. package/dist-lib/backend-origin.cjs +1 -1
  6. package/dist-lib/beta.cjs +1 -1
  7. package/dist-lib/beta.mjs +2 -2
  8. package/dist-lib/bridge-constants.cjs +1 -1
  9. package/dist-lib/bridge-contract-input.cjs +1 -1
  10. package/dist-lib/bridge-contract-input.mjs +5 -5
  11. package/dist-lib/bridge-contract.cjs +1 -1
  12. package/dist-lib/bridge-contract.mjs +3 -3
  13. package/dist-lib/bundle-channel.cjs +323 -93
  14. package/dist-lib/capture-contract.cjs +1 -1
  15. package/dist-lib/capture-contract.mjs +3 -3
  16. package/dist-lib/cloud-contract.cjs +1 -1
  17. package/dist-lib/cloud-contract.mjs +3 -3
  18. package/dist-lib/cloud-test-args.cjs +1 -1
  19. package/dist-lib/cloud-test-args.mjs +2 -2
  20. package/dist-lib/cloud.cjs +1 -1
  21. package/dist-lib/cloud.mjs +7 -7
  22. package/dist-lib/config.cjs +1 -1
  23. package/dist-lib/config.mjs +5 -5
  24. package/dist-lib/detox/index.cjs +1 -1
  25. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  26. package/dist-lib/esm-chunks/{acorn-65FNEARV.mjs → acorn-EMX4WZ72.mjs} +3 -3
  27. package/dist-lib/esm-chunks/{chunk-NZY4GOG5.mjs → chunk-4QHHRGO4.mjs} +1 -1
  28. package/dist-lib/esm-chunks/{chunk-SRFKOU76.mjs → chunk-7627LKJK.mjs} +1 -1
  29. package/dist-lib/esm-chunks/{chunk-BZS5SIYK.mjs → chunk-AKKHSVJ4.mjs} +1 -1
  30. package/dist-lib/esm-chunks/{chunk-WPDY5IAD.mjs → chunk-EGKH2L6J.mjs} +1 -1
  31. package/dist-lib/esm-chunks/{chunk-JG4AANWA.mjs → chunk-ILWFGZWW.mjs} +1 -1
  32. package/dist-lib/esm-chunks/{chunk-SLPXTLBK.mjs → chunk-J676B57D.mjs} +5 -5
  33. package/dist-lib/esm-chunks/{chunk-ADKUIQXX.mjs → chunk-JHXDM3YU.mjs} +1 -1
  34. package/dist-lib/esm-chunks/{chunk-RGC2JNCL.mjs → chunk-MC6NMYWY.mjs} +1 -1
  35. package/dist-lib/esm-chunks/{chunk-HZTK7TP5.mjs → chunk-NX23AMX4.mjs} +1 -1
  36. package/dist-lib/esm-chunks/{chunk-2GUB5OLB.mjs → chunk-Q4NA6PUR.mjs} +3 -3
  37. package/dist-lib/esm-chunks/{chunk-EFKDUMB5.mjs → chunk-QBMFX3J2.mjs} +1 -1
  38. package/dist-lib/esm-chunks/{chunk-462CWTWI.mjs → chunk-RKQZGWX2.mjs} +1 -1
  39. package/dist-lib/esm-chunks/{chunk-5GNGHM5B.mjs → chunk-SOAYP72T.mjs} +1 -1
  40. package/dist-lib/esm-chunks/{chunk-YPPH6F77.mjs → chunk-TFG4LZ5T.mjs} +1 -1
  41. package/dist-lib/esm-chunks/{chunk-OZJ66CXY.mjs → chunk-UIVXVMS5.mjs} +2 -2
  42. package/dist-lib/esm-chunks/{chunk-X2EKFONU.mjs → chunk-UYJXLDCG.mjs} +1 -1
  43. package/dist-lib/esm-chunks/{chunk-N2II5SRJ.mjs → chunk-VD27WNCT.mjs} +4 -4
  44. package/dist-lib/esm-chunks/{chunk-V5TTEXYO.mjs → chunk-VF5WVB3D.mjs} +1 -1
  45. package/dist-lib/esm-chunks/{chunk-WYDRQRJL.mjs → chunk-VRVXRZI4.mjs} +5 -5
  46. package/dist-lib/esm-chunks/{chunk-4VCRUQ36.mjs → chunk-VYZ5DC3M.mjs} +194 -48
  47. package/dist-lib/esm-chunks/{chunk-GBD26EBV.mjs → chunk-YR6DNV76.mjs} +1 -1
  48. package/dist-lib/esm-chunks/{chunk-XE3VHAU2.mjs → chunk-ZL5N6ENT.mjs} +1 -1
  49. package/dist-lib/esm-chunks/{metro-layout-parser-CRI3GMCM.mjs → metro-layout-parser-ANKZARNW.mjs} +3 -3
  50. package/dist-lib/esm-chunks/{swift-package-prebuilt-5XDZ2HZZ.mjs → swift-package-prebuilt-4N5CXBOZ.mjs} +10 -10
  51. package/dist-lib/esm-chunks/{swift-sdk-app-module-6H3G6AXD.mjs → swift-sdk-app-module-5IUSRXYA.mjs} +151 -67
  52. package/dist-lib/esm-chunks/{swift-sdk-image-WAC7GG2R.mjs → swift-sdk-image-7T2LMQS5.mjs} +14 -14
  53. package/dist-lib/esm-chunks/{swift-sdk-image-producer-B3L27QTG.mjs → swift-sdk-image-producer-7QJ3BF6E.mjs} +4 -4
  54. package/dist-lib/expo-swift-bundle.cjs +322 -92
  55. package/dist-lib/expo-swift-metadata.cjs +1 -1
  56. package/dist-lib/expo-swift-metadata.mjs +7 -7
  57. package/dist-lib/home-paths.cjs +1 -1
  58. package/dist-lib/host/bridge-host.cjs +323 -93
  59. package/dist-lib/host/fetch-proxy-handler.cjs +4 -4
  60. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  61. package/dist-lib/host/fetch-proxy-overrides.mjs +2 -2
  62. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  63. package/dist-lib/host/websocket-proxy.cjs +1 -1
  64. package/dist-lib/index.cjs +1 -1
  65. package/dist-lib/kotlin-host.cjs +1 -1
  66. package/dist-lib/menu.cjs +1 -1
  67. package/dist-lib/menu.mjs +3 -3
  68. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  69. package/dist-lib/metro-fingerprint-registry.mjs +3 -3
  70. package/dist-lib/metro-production-bundle.cjs +1 -1
  71. package/dist-lib/metro-production-bundle.mjs +4 -4
  72. package/dist-lib/native-app-identity-project.cjs +2 -2
  73. package/dist-lib/native-app-identity-project.mjs +16 -16
  74. package/dist-lib/native-app-identity.cjs +1 -1
  75. package/dist-lib/native-app-identity.mjs +6 -6
  76. package/dist-lib/native-firebase-metadata.cjs +1 -1
  77. package/dist-lib/native-firebase-metadata.mjs +3 -3
  78. package/dist-lib/pdfium-raster.cjs +1 -1
  79. package/dist-lib/pdfium-raster.mjs +2 -2
  80. package/dist-lib/plist.cjs +1 -1
  81. package/dist-lib/plist.mjs +3 -3
  82. package/dist-lib/profiles.cjs +1 -1
  83. package/dist-lib/public-brand.cjs +1 -1
  84. package/dist-lib/public-origins-lib-esm.json +81 -81
  85. package/dist-lib/public-origins-lib.json +69 -69
  86. package/dist-lib/react-native-host-modules.cjs +1 -1
  87. package/dist-lib/react-native-host-modules.mjs +2 -2
  88. package/dist-lib/reap-browser.cjs +1 -1
  89. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  90. package/dist-lib/sdk.cjs +1 -1
  91. package/dist-lib/sdk.mjs +8 -8
  92. package/dist-lib/skills.cjs +323 -93
  93. package/dist-lib/swift-compile.cjs +320 -90
  94. package/dist-lib/swift-compile.mjs +10 -10
  95. package/dist-lib/swift-package.cjs +1 -1
  96. package/dist-lib/swift-package.mjs +3 -3
  97. package/dist-lib/swift-submit.cjs +1 -1
  98. package/dist-lib/swift-submit.mjs +6 -6
  99. package/dist-lib/swift-svg-raster.cjs +1 -1
  100. package/dist-lib/swift-svg-raster.mjs +2 -2
  101. package/dist-lib/swift-toolchain.cjs +1 -1
  102. package/dist-lib/swift.cjs +1 -1
  103. package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
  104. package/dist-lib/vendor/@ruby/prism/src/nodes.js.cjs +1 -1
  105. package/dist-lib/vendor/@ruby/prism/src/parsePrism.js.cjs +1 -1
  106. package/dist-lib/vendor/@xmldom/xmldom.cjs +1 -1
  107. package/dist-lib/vendor/acorn.cjs +1 -1
  108. package/dist-lib/vendor/bplist-parser.cjs +1 -1
  109. package/dist-lib/vendor/ignore.cjs +1 -1
  110. package/dist-lib/vendor/magic-string.cjs +1 -1
  111. package/dist-lib/vendor/plist.cjs +1 -1
  112. package/dist-lib/vendor/smol-toml.cjs +1 -1
  113. package/dist-lib/vendor/stream-json.cjs +1 -1
  114. package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
  115. package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
  116. package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
  117. package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
  118. package/dist-lib/vendor/sucrase.cjs +1 -1
  119. package/dist-lib/vendor/terser.cjs +1 -1
  120. package/dist-lib/vendor/valibot.cjs +1 -1
  121. package/dist-lib/vendor/ws.cjs +1 -1
  122. package/dist-lib/vendor/zod.cjs +1 -1
  123. package/dist-lib/worklet-executable.cjs +1 -1
  124. package/dist-lib/worklet-executable.mjs +3 -3
  125. package/kotlin/sdk.tar.gz +0 -0
  126. package/package.json +1 -1
  127. package/src/swift-guest-compile.ts +41 -8
  128. package/src/swift-guest-link.ts +3 -0
  129. package/src/swift-guest-source-inputs.ts +158 -30
  130. package/src/swift-sdk-app-module.ts +146 -59
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2590 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2591 | (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;
@@ -31738,6 +31738,7 @@ function linkGuestImages(options2) {
31738
31738
  { stdio: "pipe" }
31739
31739
  );
31740
31740
  finalTrace = linkFinal(projectionObject, callerMap ? void 0 : layoutMap);
31741
+ if (sharedSdk) break;
31741
31742
  const wasm = import_node_fs34.default.readFileSync(finalOutput);
31742
31743
  const actual = guestProjectionRegionCounts(
31743
31744
  images.length,
@@ -32500,6 +32501,85 @@ function clangProducerStamp(file) {
32500
32501
  const stat = (0, import_node_fs35.statSync)(file, { bigint: true });
32501
32502
  return [stat.dev, stat.ino, stat.size, stat.mtimeNs, stat.ctimeNs].join(":");
32502
32503
  }
32504
+ function clangBinaryStamp(file) {
32505
+ const stat = (0, import_node_fs35.statSync)(file, { bigint: true });
32506
+ return [file, stat.size, stat.mtimeNs].join(":");
32507
+ }
32508
+ function clangWrapperStamp(file) {
32509
+ return (0, import_node_crypto21.createHash)("sha256").update((0, import_node_fs35.readFileSync)(file)).digest("hex");
32510
+ }
32511
+ function clangArgsNeedCwd(args) {
32512
+ const pathFlags = /* @__PURE__ */ new Set([
32513
+ "-I",
32514
+ "-isystem",
32515
+ "-iquote",
32516
+ "-F",
32517
+ "-iframework",
32518
+ "-isysroot",
32519
+ "-o",
32520
+ "-MF"
32521
+ ]);
32522
+ const includeFlags = /* @__PURE__ */ new Set(["-include", "-imacros"]);
32523
+ const valueFlags = /* @__PURE__ */ new Set([
32524
+ "-x",
32525
+ "-target",
32526
+ "-MT",
32527
+ "-MQ",
32528
+ "-D",
32529
+ "-U",
32530
+ "-mllvm",
32531
+ "-Xclang",
32532
+ "-arch",
32533
+ "-std"
32534
+ ]);
32535
+ const prefixFlags = [
32536
+ "-I",
32537
+ "-F",
32538
+ "-isystem",
32539
+ "-iquote",
32540
+ "--sysroot=",
32541
+ "-fmodule-map-file=",
32542
+ "-fmodules-cache-path="
32543
+ ];
32544
+ const isRelativePath = (value) => value.length > 0 && !value.startsWith("/") && !value.startsWith("=/") && value !== "-";
32545
+ for (let i = 1; i < args.length; i++) {
32546
+ const arg = args[i];
32547
+ if (pathFlags.has(arg)) {
32548
+ if (isRelativePath(args[++i] ?? "")) return true;
32549
+ continue;
32550
+ }
32551
+ if (includeFlags.has(arg)) {
32552
+ const value = args[++i] ?? "";
32553
+ if (isRelativePath(value) && (value.includes("/") || (0, import_node_fs35.existsSync)(value))) return true;
32554
+ continue;
32555
+ }
32556
+ if (valueFlags.has(arg)) {
32557
+ i++;
32558
+ continue;
32559
+ }
32560
+ if (arg.startsWith("@")) {
32561
+ if (isRelativePath(arg.slice(1))) return true;
32562
+ continue;
32563
+ }
32564
+ if (arg.startsWith("-")) {
32565
+ if (arg.startsWith("-include") && arg.length > 8) {
32566
+ const value = arg.slice(8);
32567
+ if (isRelativePath(value) && (value.includes("/") || (0, import_node_fs35.existsSync)(value)))
32568
+ return true;
32569
+ continue;
32570
+ }
32571
+ for (const prefix of prefixFlags) {
32572
+ if (arg.startsWith(prefix) && arg.length > prefix.length) {
32573
+ if (isRelativePath(arg.slice(prefix.length))) return true;
32574
+ break;
32575
+ }
32576
+ }
32577
+ continue;
32578
+ }
32579
+ if (isRelativePath(arg)) return true;
32580
+ }
32581
+ return false;
32582
+ }
32503
32583
  function validateClangLinkOptions(flags) {
32504
32584
  for (let index = 0; index < flags.length; index++) {
32505
32585
  const flag = flags[index];
@@ -32579,7 +32659,7 @@ function sourceGuestClangLinkOptions(options2) {
32579
32659
  let clang;
32580
32660
  let clangStamp;
32581
32661
  let wrapperStamp;
32582
- for (const [index, file] of [...wanted].entries()) {
32662
+ for (const file of wanted) {
32583
32663
  const command = commands.get(file);
32584
32664
  if (!command) throw new Error(`missing source object producer ${file}`);
32585
32665
  if (command.tool === "shell") {
@@ -32593,12 +32673,12 @@ function sourceGuestClangLinkOptions(options2) {
32593
32673
  throw new Error(`unsupported source object producer ${file}`);
32594
32674
  const key2 = (0, import_node_crypto21.createHash)("sha256").update(
32595
32675
  JSON.stringify([
32596
- "clang-link-options/v1",
32597
- process.cwd(),
32676
+ "clang-link-options/v2",
32677
+ clangArgsNeedCwd(command.args) ? process.cwd() : null,
32598
32678
  driverEnvironment,
32599
32679
  command.args,
32600
- clangStamp ??= clangProducerStamp(clang),
32601
- compiler === clang ? null : wrapperStamp ??= clangProducerStamp(compiler),
32680
+ clangStamp ??= clangBinaryStamp(clang),
32681
+ compiler === clang ? null : wrapperStamp ??= clangWrapperStamp(compiler),
32602
32682
  clangProducerStamp(file)
32603
32683
  ])
32604
32684
  ).digest("hex");
@@ -32613,31 +32693,44 @@ function sourceGuestClangLinkOptions(options2) {
32613
32693
  continue;
32614
32694
  }
32615
32695
  result.set(file, []);
32616
- const args = command.args.slice(1).filter((arg) => arg !== "-c");
32617
32696
  const targetBuild = import_node_path33.default.relative(options2.buildDirectory, file).split(import_node_path33.default.sep).findLast((part) => part !== ".build" && part.endsWith(".build"));
32618
- const outputDirectory = import_node_path33.default.join(
32619
- options2.directory,
32620
- targetBuild ?? import_node_path33.default.basename(import_node_path33.default.dirname(file))
32621
- );
32622
- (0, import_node_fs35.mkdirSync)(outputDirectory, { recursive: true });
32623
- const output = import_node_path33.default.join(outputDirectory, `clang-link-${index}.ll`);
32624
- for (const flag of ["-o", "-MF"]) {
32625
- const index2 = args.lastIndexOf(flag);
32626
- if (index2 < 0 || index2 + 1 >= args.length)
32627
- throw new Error(`missing clang ${flag} for ${file}`);
32628
- args[index2 + 1] = flag === "-o" ? output : `${output}.d`;
32697
+ const args = [];
32698
+ let sawOutput = false;
32699
+ let explicitModuleName = false;
32700
+ for (let i = 1; i < command.args.length; i++) {
32701
+ const arg = command.args[i];
32702
+ if (arg === "-c" || arg === "-MD" || arg === "-MMD" || arg === "-MP") continue;
32703
+ if (arg === "-MF" || arg === "-MT" || arg === "-MQ") {
32704
+ if (i + 1 >= command.args.length)
32705
+ throw new Error(`missing clang ${arg} for ${file}`);
32706
+ i++;
32707
+ continue;
32708
+ }
32709
+ if (arg === "-o") {
32710
+ if (i + 1 >= command.args.length) throw new Error(`missing clang -o for ${file}`);
32711
+ i++;
32712
+ args.push("-o", "-");
32713
+ sawOutput = true;
32714
+ continue;
32715
+ }
32716
+ if (arg.startsWith("-fmodule-name=")) explicitModuleName = true;
32717
+ args.push(arg);
32718
+ }
32719
+ if (!sawOutput) throw new Error(`missing clang -o for ${file}`);
32720
+ if (compiler !== clang && targetBuild && !explicitModuleName) {
32721
+ args.unshift(`-fmodule-name=${targetBuild.slice(0, -".build".length)}`);
32629
32722
  }
32630
32723
  replays.push({
32631
32724
  file,
32632
32725
  compiler: command.args[0],
32633
32726
  args: [...args, "-S", "-emit-llvm", "-Xclang", "-disable-llvm-passes"],
32634
- output,
32635
32727
  cacheFile,
32636
32728
  key: key2
32637
32729
  });
32638
32730
  }
32639
32731
  if (replays.length === 0) return result;
32640
32732
  const plan = import_node_path33.default.join(options2.directory, "clang-link-replays.json");
32733
+ const resultsPath = import_node_path33.default.join(options2.directory, "clang-link-results.json");
32641
32734
  (0, import_node_fs35.writeFileSync)(
32642
32735
  plan,
32643
32736
  JSON.stringify(replays.map(({ compiler, args }) => [compiler, ...args]))
@@ -32650,12 +32743,16 @@ function sourceGuestClangLinkOptions(options2) {
32650
32743
  ...process.env,
32651
32744
  [PEACH_FORKED_SCRIPT_ENV]: "1",
32652
32745
  PEACH_CLANG_REPLAYS: plan,
32746
+ PEACH_CLANG_RESULTS: resultsPath,
32653
32747
  PEACH_CLANG_JOBS: String(options2.jobs)
32654
32748
  }
32655
32749
  });
32750
+ const replayMetadata = JSON.parse((0, import_node_fs35.readFileSync)(resultsPath, "utf8"));
32751
+ if (!Array.isArray(replayMetadata) || replayMetadata.length !== replays.length || !replayMetadata.every((item) => typeof item === "string"))
32752
+ throw new Error("invalid clang link replay results");
32656
32753
  (0, import_node_fs35.mkdirSync)(cacheDirectory, { recursive: true });
32657
- for (const { file, output, cacheFile, key: key2 } of replays) {
32658
- const flags = clangIrLinkOptions((0, import_node_fs35.readFileSync)(output, "utf8"));
32754
+ for (const [index, { file, cacheFile, key: key2 }] of replays.entries()) {
32755
+ const flags = clangIrLinkOptions(replayMetadata[index]);
32659
32756
  validateClangLinkOptions(flags);
32660
32757
  const temporary = `${cacheFile}.${process.pid}`;
32661
32758
  (0, import_node_fs35.writeFileSync)(temporary, JSON.stringify({ key: key2, flags }));
@@ -32893,22 +32990,47 @@ var init_swift_guest_source_inputs = __esm({
32893
32990
  CLANG_TARGET_MODULE_WRAPPER = ".peach-clang";
32894
32991
  PARALLEL_REPLAY = `
32895
32992
  const { spawn } = require('node:child_process')
32896
- const commands = JSON.parse(require('node:fs').readFileSync(process.env.PEACH_CLANG_REPLAYS, 'utf8'))
32993
+ const fs = require('node:fs')
32994
+ const commands = JSON.parse(fs.readFileSync(process.env.PEACH_CLANG_REPLAYS, 'utf8'))
32995
+ const results = new Array(commands.length)
32897
32996
  let next = 0
32898
32997
  const run = () => {
32899
32998
  if (next >= commands.length) return Promise.resolve()
32900
- const [file, ...args] = commands[next++]
32999
+ const index = next++
33000
+ const [file, ...args] = commands[index]
32901
33001
  return new Promise((resolve, reject) => {
32902
- const child = spawn(file, args, { stdio: 'inherit' })
33002
+ const child = spawn(file, args, { stdio: ['ignore', 'pipe', 'inherit'] })
33003
+ const metadata = []
33004
+ let pending = ''
33005
+ child.stdout.setEncoding('utf8')
33006
+ child.stdout.on('data', (chunk) => {
33007
+ const text = pending + chunk
33008
+ let start = 0
33009
+ for (let nl = text.indexOf('\\n'); nl !== -1; nl = text.indexOf('\\n', start)) {
33010
+ if (text.charCodeAt(start) === 33) metadata.push(text.slice(start, nl))
33011
+ start = nl + 1
33012
+ }
33013
+ pending = text.slice(start)
33014
+ })
32903
33015
  child.on('error', reject)
32904
- child.on('close', (code) => (code === 0 ? resolve() : reject(new Error('clang link replay failed: ' + file))))
33016
+ child.on('close', (code) => {
33017
+ if (pending.charCodeAt(0) === 33) metadata.push(pending)
33018
+ if (code === 0) {
33019
+ results[index] = metadata.join('\\n')
33020
+ resolve()
33021
+ } else reject(new Error('clang link replay failed: ' + file))
33022
+ })
32905
33023
  }).then(run)
32906
33024
  }
32907
33025
  const jobs = Math.max(1, Number(process.env.PEACH_CLANG_JOBS) || 1)
32908
- Promise.all(Array.from({ length: jobs }, run)).catch((error) => {
32909
- console.error(error.message)
32910
- process.exit(1)
32911
- })
33026
+ Promise.all(Array.from({ length: jobs }, run))
33027
+ .then(() => {
33028
+ fs.writeFileSync(process.env.PEACH_CLANG_RESULTS, JSON.stringify(results))
33029
+ })
33030
+ .catch((error) => {
33031
+ console.error(error.message)
33032
+ process.exit(1)
33033
+ })
32912
33034
  `;
32913
33035
  }
32914
33036
  });
@@ -36617,6 +36739,7 @@ __export(swift_sdk_app_module_exports, {
36617
36739
  readSwiftSdkUsage: () => readSwiftSdkUsage,
36618
36740
  selectSwiftSdkData: () => selectSwiftSdkData,
36619
36741
  swiftAppModuleInputs: () => swiftAppModuleInputs,
36742
+ swiftSdkProjectionSpans: () => swiftSdkProjectionSpans,
36620
36743
  writeSwiftSdkAppLink: () => writeSwiftSdkAppLink
36621
36744
  });
36622
36745
  async function buildSwiftAppModule(options2) {
@@ -36732,15 +36855,18 @@ async function compileSdkForwarders(inputs2, sdk2, toolchainBin, output, project
36732
36855
  index++;
36733
36856
  }
36734
36857
  const errno = tls.errno;
36858
+ let declaredErrno = false;
36735
36859
  for (const name3 of referenced) {
36736
36860
  const offset = tls[name3];
36737
36861
  if (offset === void 0 || defined.has(name3)) continue;
36738
36862
  if (errno === void 0 || signatures.__errno_location !== ":j")
36739
36863
  throw new Error("the sdk image has no errno to find its thread block by");
36740
- if (!lines.some((line) => line.startsWith("char *__peach_errno(")))
36864
+ if (!declaredErrno) {
36865
+ declaredErrno = true;
36741
36866
  lines.push(
36742
36867
  `__attribute__((import_module("env"), import_name("__errno_location"))) char *__peach_errno(void);`
36743
36868
  );
36869
+ }
36744
36870
  lines.push(
36745
36871
  `__attribute__((weak)) _Thread_local char t${index} __asm__(${literal3(name3)});`,
36746
36872
  `__attribute__((used)) long long h${index}(void) __asm__(${literal3(SDK_TLS_HELPER + name3)});`,
@@ -37116,6 +37242,20 @@ function resolveSdkReferences(source, sdk2, forwarders) {
37116
37242
  symbols.filter((symbol2) => symbol2.kind === 0 && symbol2.name.startsWith(SDK_TLS_HELPER)).map((symbol2) => [symbol2.name.slice(SDK_TLS_HELPER.length), symbol2.index])
37117
37243
  );
37118
37244
  const segments = guestWasmDataSegments(bytes, false);
37245
+ const segmentsByOffset = [...segments].sort((a, b) => a.offset - b.offset);
37246
+ const segmentNameSet = new Set(segmentNames);
37247
+ const findSegmentByOffset = (at, size2) => {
37248
+ let lo = 0;
37249
+ let hi = segmentsByOffset.length - 1;
37250
+ while (lo <= hi) {
37251
+ const mid = lo + hi >> 1;
37252
+ const entry = segmentsByOffset[mid];
37253
+ if (at < entry.offset) hi = mid - 1;
37254
+ else if (at >= entry.offset + entry.length) lo = mid + 1;
37255
+ else return at + size2 <= entry.offset + entry.length ? entry : void 0;
37256
+ }
37257
+ return void 0;
37258
+ };
37119
37259
  const tdata = segmentNames.indexOf(".tdata");
37120
37260
  const tlsTemplate = tdata < 0 ? void 0 : passiveSegments(bytes)[tdata];
37121
37261
  const tlsStart = tlsTemplate && tlsTemplate.byteOffset - bytes.byteOffset;
@@ -37180,7 +37320,7 @@ function resolveSdkReferences(source, sdk2, forwarders) {
37180
37320
  const encoding = width.width;
37181
37321
  if (kind === "address" && target.id === 11 && encoding === "u64" && addend === 0n) {
37182
37322
  const section2 = OBJC_SECTION_BOUNDARY.exec(name3)?.[1];
37183
- if (section2 && !segmentNames.includes(section2)) {
37323
+ if (section2 && !segmentNameSet.has(section2)) {
37184
37324
  bytes.fill(0, at, at + 8);
37185
37325
  continue;
37186
37326
  }
@@ -37192,9 +37332,7 @@ function resolveSdkReferences(source, sdk2, forwarders) {
37192
37332
  if (tlsStart !== void 0 && at >= tlsStart && at < tlsStart + tlsTemplate.length)
37193
37333
  linkage.tls.push(at - tlsStart, size2, value);
37194
37334
  else {
37195
- const segment3 = segments.find(
37196
- (entry) => at >= entry.offset && at + size2 <= entry.offset + entry.length
37197
- );
37335
+ const segment3 = findSegmentByOffset(at, size2);
37198
37336
  if (!segment3)
37199
37337
  throw new Error(`Swift SDK relocation has no load address for ${name3}`);
37200
37338
  linkage.data.push(segment3.address + at - segment3.offset, size2, value);
@@ -37238,15 +37376,29 @@ function resolveSdkReferences(source, sdk2, forwarders) {
37238
37376
  }
37239
37377
  }
37240
37378
  }
37241
- const entries2 = imports2.map((entry) => {
37379
+ const encodedNameBuf = (name3) => {
37380
+ const raw2 = Buffer.from(name3, "utf8");
37381
+ const len = uleb4(raw2.length);
37382
+ const out = Buffer.allocUnsafe(len.length + raw2.length);
37383
+ for (let i = 0; i < len.length; i++) out[i] = len[i];
37384
+ raw2.copy(out, len.length);
37385
+ return out;
37386
+ };
37387
+ const importParts = [];
37388
+ let importEntryCount = imports2.length + 1;
37389
+ for (const entry of imports2) {
37242
37390
  const slot = entry.kind === 0 && entry.module === "env" ? functionSlots.get(entry.name) : void 0;
37243
- return [
37244
- ...encodedName2(slot === void 0 ? entry.module : NATIVE_SDK_IMPORT_MODULE),
37245
- ...encodedName2(slot === void 0 ? entry.name : String(slot)),
37246
- ...bytes.subarray(entry.start, entry.end)
37247
- ];
37248
- });
37249
- entries2.push([...encodedName2("env"), ...encodedName2("__stack_pointer"), 3, 126, 1]);
37391
+ importParts.push(
37392
+ encodedNameBuf(slot === void 0 ? entry.module : NATIVE_SDK_IMPORT_MODULE),
37393
+ encodedNameBuf(slot === void 0 ? entry.name : String(slot)),
37394
+ bytes.subarray(entry.start, entry.end)
37395
+ );
37396
+ }
37397
+ importParts.push(
37398
+ encodedNameBuf("env"),
37399
+ encodedNameBuf("__stack_pointer"),
37400
+ Buffer.from([3, 126, 1])
37401
+ );
37250
37402
  const tags = sections.find((section2) => section2.id === 13);
37251
37403
  if (tags) {
37252
37404
  const r = wasmReader(bytes, tags.start);
@@ -37261,15 +37413,18 @@ function resolveSdkReferences(source, sdk2, forwarders) {
37261
37413
  throw new Error(
37262
37414
  `Swift app defines an exception tag the sdk does not own: ${name3}`
37263
37415
  );
37264
- entries2.push([
37265
- ...encodedName2("env"),
37266
- ...encodedName2(name3),
37267
- 4,
37268
- ...bytes.subarray(start, r.at)
37269
- ]);
37416
+ importParts.push(
37417
+ encodedNameBuf("env"),
37418
+ encodedNameBuf(name3),
37419
+ Buffer.from([4]),
37420
+ bytes.subarray(start, r.at)
37421
+ );
37422
+ importEntryCount++;
37270
37423
  }
37271
37424
  }
37272
- const globals = [];
37425
+ const globalParts = [
37426
+ Buffer.from(uleb4(globalCount - 1 + syntheticGlobals.length))
37427
+ ];
37273
37428
  for (let index = 0; index < globalCount; index++) {
37274
37429
  const start = gr.at;
37275
37430
  const type = gr.byte();
@@ -37281,12 +37436,12 @@ function resolveSdkReferences(source, sdk2, forwarders) {
37281
37436
  if (gr.byte() !== 11) throw new Error("app global initializer has no end");
37282
37437
  if (index === 0) continue;
37283
37438
  const value = got.get(index);
37284
- if (value === void 0) globals.push(...bytes.subarray(start, gr.at));
37285
- else globals.push(type, 1, type === 126 ? 66 : 65, 0, 11);
37439
+ if (value === void 0) globalParts.push(bytes.subarray(start, gr.at));
37440
+ else globalParts.push(Buffer.from([type, 1, type === 126 ? 66 : 65, 0, 11]));
37286
37441
  }
37287
37442
  for (const type of syntheticGlobals) {
37288
37443
  const zero = type === 125 ? [67, 0, 0, 0, 0] : type === 124 ? [68, 0, 0, 0, 0, 0, 0, 0, 0] : [type === 126 ? 66 : 65, 0];
37289
- globals.push(type, 1, ...zero, 11);
37444
+ globalParts.push(Buffer.from([type, 1, ...zero, 11]));
37290
37445
  }
37291
37446
  const exportSection = sections.find((s) => s.id === 7);
37292
37447
  if (!exportSection) throw new Error("app link has no exports");
@@ -37309,24 +37464,21 @@ function resolveSdkReferences(source, sdk2, forwarders) {
37309
37464
  throw new Error("Swift app exceeds its reserved static memory range");
37310
37465
  }
37311
37466
  }
37467
+ const exportParts = [
37468
+ Buffer.from(uleb4(exportCount + 1 + got.size)),
37469
+ bytes.subarray(originalExportsStart, exportSection.end)
37470
+ ];
37471
+ for (const [index, value] of got) {
37472
+ exportParts.push(
37473
+ encodedNameBuf(`${NATIVE_SDK_GLOBAL_PREFIX}${value}.${index}`),
37474
+ Buffer.from([3, ...uleb4(index)])
37475
+ );
37476
+ }
37477
+ exportParts.push(encodedNameBuf("__indirect_function_table"), Buffer.from([1, 0]));
37312
37478
  const replaced = /* @__PURE__ */ new Map([
37313
- [2, [...uleb4(entries2.length), ...entries2.flat()]],
37314
- [6, [...uleb4(globalCount - 1 + syntheticGlobals.length), ...globals]],
37315
- [
37316
- 7,
37317
- [
37318
- ...uleb4(exportCount + 1 + got.size),
37319
- ...bytes.subarray(originalExportsStart, exportSection.end),
37320
- ...[...got].flatMap(([index, value]) => [
37321
- ...encodedName2(`${NATIVE_SDK_GLOBAL_PREFIX}${value}.${index}`),
37322
- 3,
37323
- ...uleb4(index)
37324
- ]),
37325
- ...encodedName2("__indirect_function_table"),
37326
- 1,
37327
- 0
37328
- ]
37329
- ]
37479
+ [2, Buffer.concat([Buffer.from(uleb4(importEntryCount)), ...importParts])],
37480
+ [6, Buffer.concat(globalParts)],
37481
+ [7, Buffer.concat(exportParts)]
37330
37482
  ]);
37331
37483
  const rebuiltCode = expanded.length ? expandSdkRelocations(
37332
37484
  bytes,
@@ -37338,9 +37490,13 @@ function resolveSdkReferences(source, sdk2, forwarders) {
37338
37490
  if (s === tags || s.name === "linking" || s.name?.startsWith("reloc.") || s.name === ".swift1_autolink_entries")
37339
37491
  continue;
37340
37492
  const payload = replaced.get(s.id);
37341
- parts.push(
37342
- s.id === 10 && rebuiltCode ? rebuiltCode : payload ? Uint8Array.from([s.id, ...uleb4(payload.length), ...payload]) : bytes.subarray(s.offset, s.end)
37343
- );
37493
+ if (s.id === 10 && rebuiltCode) {
37494
+ parts.push(rebuiltCode);
37495
+ } else if (payload) {
37496
+ parts.push(Buffer.from([s.id, ...uleb4(payload.length)]), payload);
37497
+ } else {
37498
+ parts.push(bytes.subarray(s.offset, s.end));
37499
+ }
37344
37500
  }
37345
37501
  return { bytes: Buffer.concat(parts), linkage };
37346
37502
  }
@@ -37438,6 +37594,49 @@ function readSwiftSdkUsage(mapFile, linkedFile, sdkObjects) {
37438
37594
  constructors: [...new Set(constructorKeys(map2, (0, import_node_fs44.readFileSync)(linkedFile)))]
37439
37595
  };
37440
37596
  }
37597
+ function swiftSdkProjectionSpans(sdk2, imageFor) {
37598
+ const { manifest, block: block2 } = readSwiftSdkManifest(sdk2);
37599
+ const guestObjects = manifest.guestObjects;
37600
+ if (!guestObjects) return [];
37601
+ const { strings: strings7 } = manifest;
37602
+ const fields = block2("pieces");
37603
+ const ordered = [];
37604
+ for (let i = 0; i < fields.length; i += SWIFT_SDK_PIECE_FIELDS) {
37605
+ const size2 = fields[i + 1];
37606
+ if (!size2) continue;
37607
+ ordered.push({
37608
+ address: fields[i],
37609
+ size: size2,
37610
+ object: strings7[fields[i + 3]]
37611
+ });
37612
+ }
37613
+ ordered.sort((a, b) => a.address - b.address);
37614
+ const imageOf = (object7) => {
37615
+ const product = guestObjects[object7]?.product;
37616
+ return product === void 0 ? void 0 : imageFor(object7, product);
37617
+ };
37618
+ const spans = [];
37619
+ for (let index = 0; index < ordered.length; index++) {
37620
+ const { object: object7, address, size: size2 } = ordered[index];
37621
+ const image = imageOf(object7);
37622
+ if (image === void 0) continue;
37623
+ let next = index + 1;
37624
+ while (next < ordered.length && ordered[next].address < address + size2) next++;
37625
+ const end = ordered[next]?.address ?? address + size2;
37626
+ spans.push({ image, space: "linear-memory", address, length: end - address });
37627
+ }
37628
+ const functionKeys = block2("functions");
37629
+ const slots = block2("functionSlots");
37630
+ for (let index = 0; index < functionKeys.length; index++) {
37631
+ const slot = slots[index];
37632
+ if (!slot) continue;
37633
+ const key2 = strings7[functionKeys[index]];
37634
+ const image = imageOf(key2.slice(0, key2.indexOf(":")));
37635
+ if (image !== void 0)
37636
+ spans.push({ image, space: "function-table", address: slot, length: 1 });
37637
+ }
37638
+ return spans;
37639
+ }
37441
37640
  function selectSwiftSdkData(sdk2, usage, linkage, projection) {
37442
37641
  const { manifest, block: block2, segments } = readSwiftSdkManifest(sdk2);
37443
37642
  const { strings: strings7 } = manifest;
@@ -37460,15 +37659,24 @@ function selectSwiftSdkData(sdk2, usage, linkage, projection) {
37460
37659
  });
37461
37660
  }
37462
37661
  const memory = new Map(segments.map((segment3) => [segment3.name, segment3]));
37463
- const read = (address2, size2) => {
37662
+ let lastSegment = segments[0];
37663
+ const segmentAt = (address2, size2) => {
37664
+ if (lastSegment && address2 >= lastSegment.address && address2 + size2 <= lastSegment.address + lastSegment.data.length)
37665
+ return lastSegment;
37464
37666
  for (const segment3 of segments)
37465
- if (address2 >= segment3.address && address2 + size2 <= segment3.address + segment3.data.length)
37466
- return segment3.data.subarray(
37467
- address2 - segment3.address,
37468
- address2 - segment3.address + size2
37469
- );
37667
+ if (address2 >= segment3.address && address2 + size2 <= segment3.address + segment3.data.length) {
37668
+ lastSegment = segment3;
37669
+ return segment3;
37670
+ }
37470
37671
  return void 0;
37471
37672
  };
37673
+ const read = (address2, size2) => {
37674
+ const segment3 = segmentAt(address2, size2);
37675
+ return segment3?.data.subarray(
37676
+ address2 - segment3.address,
37677
+ address2 - segment3.address + size2
37678
+ );
37679
+ };
37472
37680
  const appSectionsByObject = /* @__PURE__ */ new Map();
37473
37681
  const appSections = /* @__PURE__ */ new Set();
37474
37682
  const appSymbols = /* @__PURE__ */ new Set();
@@ -37574,9 +37782,7 @@ function selectSwiftSdkData(sdk2, usage, linkage, projection) {
37574
37782
  const classAddress = Number(
37575
37783
  new DataView(field.buffer, field.byteOffset, 8).getBigUint64(0, true)
37576
37784
  );
37577
- const segment3 = segments.find(
37578
- ({ address: address3, data }) => classAddress >= address3 && classAddress < address3 + data.length
37579
- );
37785
+ const segment3 = segmentAt(classAddress, 1);
37580
37786
  if (!segment3) continue;
37581
37787
  const start = classAddress - segment3.address;
37582
37788
  const end = segment3.data.indexOf(0, start);
@@ -37784,7 +37990,7 @@ function selectSwiftSdkData(sdk2, usage, linkage, projection) {
37784
37990
  if (current2)
37785
37991
  runs.push({
37786
37992
  address: current2.address,
37787
- bytes: Uint8Array.from(Buffer.concat(current2.parts))
37993
+ bytes: Buffer.concat(current2.parts)
37788
37994
  });
37789
37995
  };
37790
37996
  for (const piece of loaded4) {
@@ -38202,13 +38408,19 @@ async function compileGuestLink(options2) {
38202
38408
  const selectedSource = source.artifacts.filter(
38203
38409
  (artifact) => selected.has(import_node_path43.default.resolve(rewritten.get(artifact.path) ?? artifact.path))
38204
38410
  );
38411
+ const admittedCores = Number(process.env.TM_EXEC_CPU_CORES);
38412
+ const linuxMemory = process.env.TM_EXEC_ADMITTED === "1" && process.env.LINUX_BUILD_SCOPE ? Number(process.env.TM_EXEC_LINUX_MEMORY_MAX) : NaN;
38413
+ const clangReplayJobs = Number.isInteger(admittedCores) && admittedCores > 0 ? Math.min(
38414
+ admittedCores,
38415
+ Number.isSafeInteger(linuxMemory) && linuxMemory > 0 ? Math.max(options2.jobs, Math.floor(linuxMemory / (512 * 1024 ** 2))) : Math.max(options2.jobs, admittedCores)
38416
+ ) : options2.jobs;
38205
38417
  const clangOptions2 = sourceGuestClangLinkOptions({
38206
38418
  buildDirectory: options2.buildDirectory,
38207
38419
  directory: directory2,
38208
38420
  toolchainBin: options2.toolchainBin,
38209
38421
  swiftCompiler: options2.swiftCompiler,
38210
38422
  objects: selectedSource.map((artifact) => artifact.path),
38211
- jobs: options2.jobs
38423
+ jobs: clangReplayJobs
38212
38424
  });
38213
38425
  const links = sourceGuestRuntimeLinks({
38214
38426
  toolchainBin: options2.toolchainBin,
@@ -38390,7 +38602,8 @@ async function compileGuestLink(options2) {
38390
38602
  createSwiftSdkBinding: createSwiftSdkBinding2,
38391
38603
  finishSwiftAppModule: finishSwiftAppModule2,
38392
38604
  linkSwiftAppModule: linkSwiftAppModule2,
38393
- readSwiftSdkUsage: readSwiftSdkUsage2
38605
+ readSwiftSdkUsage: readSwiftSdkUsage2,
38606
+ swiftSdkProjectionSpans: swiftSdkProjectionSpans2
38394
38607
  } = await Promise.resolve().then(() => (init_swift_sdk_app_module(), swift_sdk_app_module_exports));
38395
38608
  const project2 = options2.project;
38396
38609
  const work = project2 ? (0, import_node_fs45.mkdtempSync)(import_node_path43.default.join(directory2, "app-module-")) : import_node_path43.default.join(directory2, "app-module");
@@ -38412,7 +38625,28 @@ async function compileGuestLink(options2) {
38412
38625
  }
38413
38626
  const usage = readSwiftSdkUsage2(result.mapPath, options2.output, sdkObjectKeys);
38414
38627
  const linkedModule = import_node_path43.default.join(work, "app.wasm");
38628
+ const sdkSpans = swiftSdkProjectionSpans2(
38629
+ sdk2,
38630
+ (object7, product) => sdkObjectImages.get(object7) ?? sdkProductImages.get(product)
38631
+ );
38415
38632
  let storage = reserved2;
38633
+ if (sdkSpans.length > 0) {
38634
+ const sdkCounts = guestProjectionRegionCounts(storage.images.length, sdkSpans);
38635
+ storage = reserveGuestProjectionStorage(
38636
+ storage.images,
38637
+ storage.capacities.map((capacity, index) => ({
38638
+ ...capacity,
38639
+ regions: capacity.regions + sdkCounts[index] + 16
38640
+ }))
38641
+ );
38642
+ const projectionSource = import_node_path43.default.join(work, "projection.c");
38643
+ (0, import_node_fs45.writeFileSync)(projectionSource, storage.source);
38644
+ (0, import_node_child_process27.execFileSync)(
38645
+ import_node_path43.default.join(options2.toolchainBin, "clang"),
38646
+ [...clangOptions, "-c", projectionSource, "-o", projectionObject],
38647
+ { stdio: "pipe" }
38648
+ );
38649
+ }
38416
38650
  for (; ; ) {
38417
38651
  const link = await linkSwiftAppModule2({
38418
38652
  objects: [...owners.keys()],
@@ -38450,11 +38684,7 @@ async function compileGuestLink(options2) {
38450
38684
  bindingRows.set((address - values.address) / 8, value);
38451
38685
  } else data.push(address, size2, value);
38452
38686
  }
38453
- const sdkSpans = [];
38454
- const binding = createSwiftSdkBinding2({ ...link.linkage, data }, sdk2, usage, {
38455
- imageFor: (object7, product) => sdkObjectImages.get(object7) ?? sdkProductImages.get(product),
38456
- spans: sdkSpans
38457
- });
38687
+ const binding = createSwiftSdkBinding2({ ...link.linkage, data }, sdk2, usage);
38458
38688
  const linked = (0, import_node_fs45.readFileSync)(
38459
38689
  project2 ? projectOutputFile(work, linkedModule, project2) : linkedModule
38460
38690
  );
@@ -46009,7 +46239,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
46009
46239
  REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
46010
46240
  MULTI_MANIFEST_VERSION = 76;
46011
46241
  SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
46012
- compilerSourceDigest = true ? "7b91fa4405159335b5484c82700e001e4c27abf15621b724ea8af4edea693f66" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
46242
+ compilerSourceDigest = true ? "d4cf22b53d08266bf9bd0238bffe899805f62daeb3d628664ee351830e496cda" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
46013
46243
  nativeCxxCompilerFlags = ["-fno-cxx-modules"];
46014
46244
  MODULE_MAP_RESPONSE_FILE_RUN = 16;
46015
46245
  cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
@@ -86445,7 +86675,7 @@ var init_swift_standin_digest = __esm({
86445
86675
  STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
86446
86676
  SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
86447
86677
  standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
86448
- STANDIN_SOURCE_DIGEST = true ? "a3bcdfe9c9957355a59c2c26155470c89a2abb30907aeeaaf1de8463aa74fc8c" : standinSourceDigest();
86678
+ STANDIN_SOURCE_DIGEST = true ? "a8f701d93728e07278999e87ca0ce8629c73067b6c4382393bfa6705a275114b" : standinSourceDigest();
86449
86679
  }
86450
86680
  });
86451
86681
 
@@ -102889,7 +103119,7 @@ var init_nitro_superset = __esm({
102889
103119
  init_nitroContract();
102890
103120
  init_swift_standin_digest();
102891
103121
  NITRO_SUPERSET_ENTRY_NAME = "superset";
102892
- NITRO_COMPILER_DIGEST = true ? "ffe0ab1580ebcb5a184764bfb3b3650342c8644057a95423913e7078c208f318" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
103122
+ NITRO_COMPILER_DIGEST = true ? "0ce63814b4a72a014a0388c3792cede09d8d1cae4f69a18e904584487588222d" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
102893
103123
  nitroSupersetLock = parseLock(nitro_superset_lock_default);
102894
103124
  nitroSupersetKey = (inputs2) => nativeEntryKey({ ...inputs2, compiler: NITRO_COMPILER_DIGEST });
102895
103125
  published = /* @__PURE__ */ new Map();
@@ -103756,7 +103986,7 @@ var init_expo_eager_seam_contract = __esm({
103756
103986
 
103757
103987
  // src/expo-native-compiler-digest.ts
103758
103988
  function expoNativeCompilerDigestValue() {
103759
- return true ? "a8b60651de79588c6c5143dd2545ccd8e3b858acd992f46b35ba3de883118ac5" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
103989
+ return true ? "fac25d497603de6d36f5104099d949e505b050f78be3ed12989ae494db25b470" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
103760
103990
  }
103761
103991
  var import_node_crypto78;
103762
103992
  var init_expo_native_compiler_digest = __esm({
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2590 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2591 | (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;