peachsim 0.1.2750 → 0.1.2752

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 (131) hide show
  1. package/cli/catalog/meta.ts +3 -2
  2. package/cli/catalog/routes.ts +0 -4
  3. package/dist-lib/agent-daemon-client.cjs +1 -1
  4. package/dist-lib/agent-events.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 +2 -2
  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 +5 -5
  13. package/dist-lib/bridge-contract.cjs +1 -1
  14. package/dist-lib/bridge-contract.mjs +3 -3
  15. package/dist-lib/bundle-channel.cjs +42 -27
  16. package/dist-lib/capture-contract.cjs +1 -1
  17. package/dist-lib/capture-contract.mjs +3 -3
  18. package/dist-lib/cloud-contract.cjs +1 -1
  19. package/dist-lib/cloud-contract.mjs +3 -3
  20. package/dist-lib/cloud-test-args.cjs +1 -1
  21. package/dist-lib/cloud-test-args.mjs +2 -2
  22. package/dist-lib/cloud.cjs +1 -1
  23. package/dist-lib/cloud.mjs +7 -7
  24. package/dist-lib/config.cjs +1 -1
  25. package/dist-lib/config.mjs +5 -5
  26. package/dist-lib/detox/index.cjs +1 -1
  27. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  28. package/dist-lib/esm-chunks/{acorn-N4VI4QZK.mjs → acorn-NQIU2KSK.mjs} +3 -3
  29. package/dist-lib/esm-chunks/{chunk-MAMIXCI5.mjs → chunk-3JD2BJQO.mjs} +1 -1
  30. package/dist-lib/esm-chunks/{chunk-JUTI255Y.mjs → chunk-3V7MKVO5.mjs} +1 -1
  31. package/dist-lib/esm-chunks/{chunk-MXSIZVP4.mjs → chunk-4CAPPLL3.mjs} +1 -1
  32. package/dist-lib/esm-chunks/{chunk-JHKTMGDX.mjs → chunk-75PHCYFF.mjs} +1 -1
  33. package/dist-lib/esm-chunks/{chunk-CHEDBVLD.mjs → chunk-7BTHY6M5.mjs} +1 -1
  34. package/dist-lib/esm-chunks/{chunk-WFIMLF4V.mjs → chunk-DYOHNE42.mjs} +3 -3
  35. package/dist-lib/esm-chunks/{chunk-EX2VSYZK.mjs → chunk-ELG3ZB34.mjs} +1 -1
  36. package/dist-lib/esm-chunks/{chunk-HCXTAQCM.mjs → chunk-G4EOUNIB.mjs} +2 -2
  37. package/dist-lib/esm-chunks/{chunk-WCW7V4OL.mjs → chunk-GJYEUG7O.mjs} +1 -1
  38. package/dist-lib/esm-chunks/{chunk-JEXKX2TI.mjs → chunk-JQZRDQHT.mjs} +1 -1
  39. package/dist-lib/esm-chunks/{chunk-TQMPWPVG.mjs → chunk-KLTK57JY.mjs} +1 -1
  40. package/dist-lib/esm-chunks/{chunk-XN6UUZIU.mjs → chunk-LM55WUFH.mjs} +1 -1
  41. package/dist-lib/esm-chunks/{chunk-2BMYR3ZR.mjs → chunk-LMNG5IGA.mjs} +5 -5
  42. package/dist-lib/esm-chunks/{chunk-TB5MMPGM.mjs → chunk-M2CBFY2N.mjs} +1 -1
  43. package/dist-lib/esm-chunks/{chunk-CXE5NEBF.mjs → chunk-MCJWJO3X.mjs} +53 -37
  44. package/dist-lib/esm-chunks/{chunk-4FYKJLQJ.mjs → chunk-MLNFMKQO.mjs} +1 -1
  45. package/dist-lib/esm-chunks/{chunk-XXFYJUTH.mjs → chunk-NBBDQHGN.mjs} +4 -4
  46. package/dist-lib/esm-chunks/{chunk-5IRY7HKS.mjs → chunk-NKH33QJN.mjs} +6 -6
  47. package/dist-lib/esm-chunks/{chunk-XAXJNU6P.mjs → chunk-NZVNJM6N.mjs} +1 -1
  48. package/dist-lib/esm-chunks/{chunk-Z7JZDI2Y.mjs → chunk-OOP5ANRK.mjs} +1 -1
  49. package/dist-lib/esm-chunks/{chunk-AI53YLOQ.mjs → chunk-ORMUX6BU.mjs} +1 -1
  50. package/dist-lib/esm-chunks/{chunk-R4SOMFHI.mjs → chunk-QHKPXXFG.mjs} +6 -6
  51. package/dist-lib/esm-chunks/{chunk-2HCN2HSH.mjs → chunk-TXDCLNET.mjs} +1 -1
  52. package/dist-lib/esm-chunks/{chunk-35D3DZBT.mjs → chunk-ZEFB3IEI.mjs} +1 -1
  53. package/dist-lib/esm-chunks/{metro-layout-parser-F2ASN2KN.mjs → metro-layout-parser-LCCGCCLL.mjs} +3 -3
  54. package/dist-lib/esm-chunks/{swift-package-prebuilt-23P4IY46.mjs → swift-package-prebuilt-MM7NAD5J.mjs} +12 -12
  55. package/dist-lib/esm-chunks/{swift-sdk-app-module-LY6FZGCJ.mjs → swift-sdk-app-module-CZHGEJ7G.mjs} +16 -16
  56. package/dist-lib/esm-chunks/{swift-sdk-image-D2GRAJBV.mjs → swift-sdk-image-GPUPCGKC.mjs} +16 -16
  57. package/dist-lib/esm-chunks/{swift-sdk-image-producer-FSERHDDL.mjs → swift-sdk-image-producer-OQHEDGAK.mjs} +5 -5
  58. package/dist-lib/expo-swift-bundle.cjs +42 -27
  59. package/dist-lib/expo-swift-metadata.cjs +1 -1
  60. package/dist-lib/expo-swift-metadata.mjs +7 -7
  61. package/dist-lib/home-paths.cjs +1 -1
  62. package/dist-lib/host/bridge-host.cjs +42 -27
  63. package/dist-lib/host/fetch-proxy-handler.cjs +3 -3
  64. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  65. package/dist-lib/host/fetch-proxy-overrides.mjs +2 -2
  66. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  67. package/dist-lib/host/websocket-proxy.cjs +1 -1
  68. package/dist-lib/index.cjs +1 -1
  69. package/dist-lib/kotlin-host.cjs +1 -1
  70. package/dist-lib/menu.cjs +1 -1
  71. package/dist-lib/menu.mjs +3 -3
  72. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  73. package/dist-lib/metro-fingerprint-registry.mjs +3 -3
  74. package/dist-lib/metro-production-bundle.cjs +1 -1
  75. package/dist-lib/metro-production-bundle.mjs +4 -4
  76. package/dist-lib/native-app-identity-project.cjs +1 -1
  77. package/dist-lib/native-app-identity-project.mjs +15 -15
  78. package/dist-lib/native-app-identity.cjs +1 -1
  79. package/dist-lib/native-app-identity.mjs +6 -6
  80. package/dist-lib/native-firebase-metadata.cjs +1 -1
  81. package/dist-lib/native-firebase-metadata.mjs +3 -3
  82. package/dist-lib/pdfium-raster.cjs +1 -1
  83. package/dist-lib/pdfium-raster.mjs +2 -2
  84. package/dist-lib/plist.cjs +1 -1
  85. package/dist-lib/plist.mjs +3 -3
  86. package/dist-lib/profiles.cjs +1 -1
  87. package/dist-lib/public-brand.cjs +1 -1
  88. package/dist-lib/public-origins-lib-esm.json +85 -85
  89. package/dist-lib/public-origins-lib.json +64 -64
  90. package/dist-lib/react-native-host-modules.cjs +1 -1
  91. package/dist-lib/react-native-host-modules.mjs +2 -2
  92. package/dist-lib/reap-browser.cjs +1 -1
  93. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  94. package/dist-lib/sdk.cjs +1 -1
  95. package/dist-lib/sdk.mjs +8 -8
  96. package/dist-lib/skills.cjs +45 -29
  97. package/dist-lib/swift-compile.cjs +41 -24
  98. package/dist-lib/swift-compile.mjs +14 -12
  99. package/dist-lib/swift-package.cjs +1 -1
  100. package/dist-lib/swift-package.mjs +3 -3
  101. package/dist-lib/swift-submit.cjs +1 -1
  102. package/dist-lib/swift-submit.mjs +6 -6
  103. package/dist-lib/swift-svg-raster.cjs +1 -1
  104. package/dist-lib/swift-svg-raster.mjs +2 -2
  105. package/dist-lib/swift-toolchain.cjs +1 -1
  106. package/dist-lib/swift.cjs +1 -1
  107. package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
  108. package/dist-lib/vendor/@ruby/prism/src/nodes.js.cjs +1 -1
  109. package/dist-lib/vendor/@ruby/prism/src/parsePrism.js.cjs +1 -1
  110. package/dist-lib/vendor/acorn.cjs +1 -1
  111. package/dist-lib/vendor/magic-string.cjs +1 -1
  112. package/dist-lib/vendor/stream-json.cjs +1 -1
  113. package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
  114. package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
  115. package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
  116. package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
  117. package/dist-lib/vendor/sucrase.cjs +1 -1
  118. package/dist-lib/vendor/terser.cjs +1 -1
  119. package/dist-lib/vendor/valibot.cjs +1 -1
  120. package/dist-lib/vendor/ws.cjs +1 -1
  121. package/dist-lib/vendor/zod.cjs +1 -1
  122. package/dist-lib/worklet-executable.cjs +1 -1
  123. package/dist-lib/worklet-executable.mjs +3 -3
  124. package/dist-types/packages/peach-engine/src/engine/generated/realization-record.d.ts +3 -2
  125. package/dist-types/packages/peach-engine/src/engine/native-app-font-registry.d.ts +55 -0
  126. package/dist-types/packages/peach-engine/src/render-worker/compositor-runtime/realizationContract.d.ts +1 -1
  127. package/dist-types/packages/peach-engine/src/render-worker/compositor-runtime/types.d.ts +2 -0
  128. package/dist-types/packages/peach-engine/src/render-worker/compositor-widget-assets.d.ts +22 -0
  129. package/package.json +1 -1
  130. package/skills/contrast/SKILL.md +0 -1
  131. package/src/swift-compile.ts +46 -35
@@ -1,10 +1,10 @@
1
- /*! peach v0.1.2750 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2752 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  acquireSwiftRootReadHold,
4
4
  hasLiveSwiftRootReaders,
5
5
  retainSwiftRootReadHold,
6
6
  withSwiftRootLock
7
- } from "./chunk-HCXTAQCM.mjs";
7
+ } from "./chunk-G4EOUNIB.mjs";
8
8
  import {
9
9
  CORE_FOUNDATION_OVERLAY_GLOBALS,
10
10
  NATIVE_GRAPH_SDK_VERSION,
@@ -55,7 +55,7 @@ import {
55
55
  withoutImportedSdkEnumForwards,
56
56
  withoutSwiftDeclarations,
57
57
  writeBuildFile
58
- } from "./chunk-R4SOMFHI.mjs";
58
+ } from "./chunk-QHKPXXFG.mjs";
59
59
  import {
60
60
  SWIFT_AUTOLINK_LINKER,
61
61
  SWIFT_CACHE_HOLD_MARKER,
@@ -72,7 +72,7 @@ import {
72
72
  wasmThreadLinkFlags,
73
73
  windowAdmission,
74
74
  writeSwiftAutolinkLinker
75
- } from "./chunk-TQMPWPVG.mjs";
75
+ } from "./chunk-KLTK57JY.mjs";
76
76
  import {
77
77
  SWIFT_BINARY_TREES_DIR,
78
78
  SWIFT_NATIVE_INPUT_ROOT,
@@ -87,7 +87,7 @@ import {
87
87
  isSwiftResourcePath,
88
88
  isSwiftSourceLinkGraph,
89
89
  swiftProjectFilesProblems
90
- } from "./chunk-35D3DZBT.mjs";
90
+ } from "./chunk-ZEFB3IEI.mjs";
91
91
  import {
92
92
  OBJC_RESOURCE_ACCESSOR_BODY,
93
93
  OBJC_RESOURCE_ACCESSOR_HEADER,
@@ -110,16 +110,16 @@ import {
110
110
  swiftPackagePartition,
111
111
  swiftTargetModuleName,
112
112
  withoutGlogModuleMap
113
- } from "./chunk-XAXJNU6P.mjs";
113
+ } from "./chunk-NZVNJM6N.mjs";
114
114
  import {
115
115
  rnxPublicBrand
116
- } from "./chunk-TB5MMPGM.mjs";
116
+ } from "./chunk-M2CBFY2N.mjs";
117
117
  import {
118
118
  isRecord
119
- } from "./chunk-EX2VSYZK.mjs";
119
+ } from "./chunk-ELG3ZB34.mjs";
120
120
  import {
121
121
  __publicField
122
- } from "./chunk-JUTI255Y.mjs";
122
+ } from "./chunk-3V7MKVO5.mjs";
123
123
 
124
124
  // src/swift-compile.ts
125
125
  import {
@@ -14470,7 +14470,7 @@ async function compileGuestLink(options) {
14470
14470
  };
14471
14471
  const sdk = options.sdkImage;
14472
14472
  const sdkCallers = sdk.sdkInterface.guestCallers;
14473
- const sdkObjects = (await import("./swift-sdk-image-D2GRAJBV.mjs")).readSwiftSdkManifestIndex(
14473
+ const sdkObjects = (await import("./swift-sdk-image-GPUPCGKC.mjs")).readSwiftSdkManifestIndex(
14474
14474
  sdk
14475
14475
  ).guestObjects;
14476
14476
  if (!sdkCallers || !sdkObjects)
@@ -14770,7 +14770,7 @@ async function compileGuestLink(options) {
14770
14770
  swiftAppModuleThunkSection,
14771
14771
  swiftSdkProjectionSpans,
14772
14772
  writeSwiftSdkAppLink
14773
- } = await import("./swift-sdk-app-module-LY6FZGCJ.mjs");
14773
+ } = await import("./swift-sdk-app-module-CZHGEJ7G.mjs");
14774
14774
  const project = options.project;
14775
14775
  const work = project ? mkdtempSync2(path14.join(directory, "app-module-")) : path14.join(directory, "app-module");
14776
14776
  if (project) chownSync(work, project.uid, project.gid);
@@ -16743,10 +16743,14 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
16743
16743
  var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
16744
16744
  var MULTI_MANIFEST_VERSION = 76;
16745
16745
  var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
16746
- var compilerSourceDigest = true ? "9e800b4e5695e0ea16860a945e2ba4dd9efa69f299d64b77b74c6197d9d31df6" : swiftCompilerSourceDigest(import.meta.dirname);
16746
+ var compilerSourceDigest = true ? "7126b714db080f74c8b5d70de4bcaea4907ff12448bcee71d16d3f26dd635739" : swiftCompilerSourceDigest(import.meta.dirname);
16747
16747
  function swiftArtifactHash(input, release, moduleRoot) {
16748
16748
  return swiftCompileInputHash(input, release).update(swiftModuleDigest(moduleRoot)).digest("hex");
16749
16749
  }
16750
+ function swiftSdkArtifactHash(sourceHash, sdkImageKey) {
16751
+ return createHash16("sha256").update(`${sourceHash}
16752
+ sdk module ${sdkImageKey}`).digest("hex");
16753
+ }
16750
16754
  function sha256Digest(value) {
16751
16755
  if (typeof Bun !== "undefined")
16752
16756
  return new Bun.CryptoHasher("sha256").update(value).digest();
@@ -20871,6 +20875,12 @@ var SWIFT_BUILD_ROOT_SLOTS = 4;
20871
20875
  var SWIFT_BUILD_ROOT_SHAPE = ".peach-build-shape";
20872
20876
  function swiftFrameworkSlotCount(unoptimized) {
20873
20877
  const base = unoptimized ? SWIFT_FRAMEWORK_UNOPTIMIZED_SLOTS : SWIFT_FRAMEWORK_SLOTS;
20878
+ if (process.platform === "darwin") {
20879
+ const gib = os3.totalmem() / (1024 * 1024 * 1024);
20880
+ if (gib >= 120) return unoptimized ? 8 : 16;
20881
+ if (gib >= 56) return unoptimized ? 6 : 12;
20882
+ return base;
20883
+ }
20874
20884
  if (process.platform !== "linux") return base;
20875
20885
  const cores = os3.availableParallelism();
20876
20886
  return unoptimized ? Math.min(8, Math.max(base, Math.floor(cores / 16))) : Math.min(16, Math.max(base, Math.floor(cores / 8)));
@@ -20990,26 +21000,32 @@ async function withSwiftFrameworkSlot(frameworkKey, release, moduleRoot, signal,
20990
21000
  changesBySlotKey.set(cacheKey, changes);
20991
21001
  return changes;
20992
21002
  };
20993
- const rankSlots = (now) => slots.map((slot, index) => {
20994
- const slotKey = swiftFrameworkSlotKey(slot);
20995
- const mtimeMs = slotMtimeMs(slot);
20996
- if (slotKey === null)
20997
- return { slot, index, tier: 1, changes: Infinity, own: false, mtimeMs };
20998
- if (swiftFrameworkSlotRelease(slot) !== release)
20999
- return { slot, index, tier: 3, changes: Infinity, own: false, mtimeMs };
21000
- const changes = changedInputsFor(slot, slotKey);
21001
- const isOwn = own(slot);
21002
- const tier = hasPendingForeignHandoff(slot, now) ? 2 : 0;
21003
- return { slot, index, tier, changes, own: isOwn, mtimeMs };
21004
- }).sort((left, right) => {
21005
- if (left.tier !== right.tier) return left.tier - right.tier;
21006
- if (left.tier === 0)
21007
- return left.changes - right.changes || Number(right.own) - Number(left.own) || left.mtimeMs - right.mtimeMs;
21008
- if (left.tier === 1) return left.index - right.index;
21009
- if (left.tier === 2)
21010
- return left.mtimeMs - right.mtimeMs || left.changes - right.changes;
21011
- return left.mtimeMs - right.mtimeMs;
21012
- });
21003
+ const rankSlots = (now) => {
21004
+ const keyCounts = /* @__PURE__ */ new Map();
21005
+ const candidates = slots.map((slot, index) => {
21006
+ const slotKey = swiftFrameworkSlotKey(slot);
21007
+ const mtimeMs = slotMtimeMs(slot);
21008
+ if (slotKey === null)
21009
+ return { slot, index, tier: 1, changes: Infinity, own: false, mtimeMs, slotKey };
21010
+ if (swiftFrameworkSlotRelease(slot) !== release)
21011
+ return { slot, index, tier: 3, changes: Infinity, own: false, mtimeMs, slotKey };
21012
+ const changes = changedInputsFor(slot, slotKey);
21013
+ const isOwn = own(slot);
21014
+ const tier = hasPendingForeignHandoff(slot, now) ? 2 : 0;
21015
+ if (tier === 0) keyCounts.set(slotKey, (keyCounts.get(slotKey) ?? 0) + 1);
21016
+ return { slot, index, tier, changes, own: isOwn, mtimeMs, slotKey };
21017
+ });
21018
+ const duplicate = (key) => Number((keyCounts.get(key) ?? 0) > 1);
21019
+ return candidates.sort((left, right) => {
21020
+ if (left.tier !== right.tier) return left.tier - right.tier;
21021
+ if (left.tier === 0)
21022
+ return left.changes - right.changes || duplicate(right.slotKey) - duplicate(left.slotKey) || Number(right.own) - Number(left.own) || left.mtimeMs - right.mtimeMs;
21023
+ if (left.tier === 1) return left.index - right.index;
21024
+ if (left.tier === 2)
21025
+ return left.mtimeMs - right.mtimeMs || left.changes - right.changes;
21026
+ return left.mtimeMs - right.mtimeMs;
21027
+ });
21028
+ };
21013
21029
  let announced = false;
21014
21030
  for (; ; ) {
21015
21031
  signal?.throwIfAborted();
@@ -21274,7 +21290,7 @@ async function compileSwiftProjectOnce(sources, options) {
21274
21290
  const distribution = swiftDistributionAt(moduleRoot);
21275
21291
  const mirrorDistribution = options.linkOnly || options.project ? null : distribution;
21276
21292
  if (distribution) refreshSwiftCacheHold(moduleRoot);
21277
- const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-23P4IY46.mjs")).useSwiftPackagePrebuilts(
21293
+ const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-MM7NAD5J.mjs")).useSwiftPackagePrebuilts(
21278
21294
  sources,
21279
21295
  moduleRoot,
21280
21296
  options.toolchainBin
@@ -21287,7 +21303,7 @@ async function compileSwiftProjectOnce(sources, options) {
21287
21303
  sources: path23.join(root, "Sources", "App"),
21288
21304
  multi: compileTargets(input).length > 0
21289
21305
  };
21290
- const sdkImage = options.linkOnly ? void 0 : await (await import("./swift-sdk-image-D2GRAJBV.mjs")).buildSwiftSdkImage(
21306
+ const sdkImage = options.linkOnly ? void 0 : await (await import("./swift-sdk-image-GPUPCGKC.mjs")).buildSwiftSdkImage(
21291
21307
  moduleRoot,
21292
21308
  !!guestGraph,
21293
21309
  distribution ? [] : linkedFrameworkTargets(moduleRoot, input).imports,
@@ -21296,8 +21312,7 @@ async function compileSwiftProjectOnce(sources, options) {
21296
21312
  const inputHash = swiftCompileInputHash(input, options.release);
21297
21313
  const moduleDigest = swiftModuleDigest(moduleRoot);
21298
21314
  const sourceHash = inputHash.copy().update(moduleDigest).digest("hex");
21299
- const hash = sdkImage ? createHash16("sha256").update(`${sourceHash}
21300
- sdk module ${sdkImage.key}`).digest("hex") : sourceHash;
21315
+ const hash = sdkImage ? swiftSdkArtifactHash(sourceHash, sdkImage.key) : sourceHash;
21301
21316
  const frameworkKey = swiftProjectBuildKey(moduleRoot, options.release);
21302
21317
  const sharedRoot = path23.join(swiftCacheDir(), "swift-projects", hash);
21303
21318
  const report = (message) => {
@@ -22007,7 +22022,7 @@ ${compatShape}` : "";
22007
22022
  });
22008
22023
  sdkAsset = { key: sdkImage.key, sha256: sdkImage.sha256, binding };
22009
22024
  } else {
22010
- const { buildSwiftAppModule } = await import("./swift-sdk-app-module-LY6FZGCJ.mjs");
22025
+ const { buildSwiftAppModule } = await import("./swift-sdk-app-module-CZHGEJ7G.mjs");
22011
22026
  const binding = await buildSwiftAppModule({
22012
22027
  buildRoot: root2,
22013
22028
  toolchainBin: options.toolchainBin,
@@ -22114,6 +22129,7 @@ export {
22114
22129
  MULTI_MANIFEST_VERSION,
22115
22130
  compilerSourceDigest,
22116
22131
  swiftArtifactHash,
22132
+ swiftSdkArtifactHash,
22117
22133
  swiftCrossImportFlags,
22118
22134
  emitSwiftPackageManifest,
22119
22135
  syncSwiftTree,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2750 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2752 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/bridge-contract.ts
4
4
  var REFUSED_PERFORM_STEP_TYPES = [
@@ -1,13 +1,13 @@
1
- /*! peach v0.1.2750 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2752 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  isSwiftImageVariants
4
- } from "./chunk-2HCN2HSH.mjs";
4
+ } from "./chunk-TXDCLNET.mjs";
5
5
  import {
6
6
  findBundleFooter
7
- } from "./chunk-Z7JZDI2Y.mjs";
7
+ } from "./chunk-OOP5ANRK.mjs";
8
8
  import {
9
9
  isRecord
10
- } from "./chunk-EX2VSYZK.mjs";
10
+ } from "./chunk-ELG3ZB34.mjs";
11
11
 
12
12
  // src/android-string-value.ts
13
13
  function compileAndroidStringValue(text, where) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2750 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2752 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  DARWIN_RECORDS_PREFIX,
4
4
  KEEP_WASM_NAMES,
@@ -31,22 +31,22 @@ import {
31
31
  swiftSdkImageScope,
32
32
  unslottedFunctions,
33
33
  wasmSections
34
- } from "./chunk-CXE5NEBF.mjs";
34
+ } from "./chunk-MCJWJO3X.mjs";
35
35
  import {
36
36
  withSwiftRootLock,
37
37
  withSwiftRootReadHolds
38
- } from "./chunk-HCXTAQCM.mjs";
38
+ } from "./chunk-G4EOUNIB.mjs";
39
39
  import {
40
40
  swiftDistributionAt,
41
41
  swiftModuleDigest,
42
42
  swiftModuleToolchain,
43
43
  swiftSdkPaths
44
- } from "./chunk-R4SOMFHI.mjs";
44
+ } from "./chunk-QHKPXXFG.mjs";
45
45
  import {
46
46
  SWIFT_WASM_TRIPLE,
47
47
  sourceSwiftCheckout,
48
48
  swiftCacheDir
49
- } from "./chunk-TQMPWPVG.mjs";
49
+ } from "./chunk-KLTK57JY.mjs";
50
50
 
51
51
  // src/swift-sdk-image.ts
52
52
  import { execFile } from "node:child_process";
@@ -225,7 +225,7 @@ async function buildSwiftSdkImage(moduleRoot, scopedLookups = false, frameworkIm
225
225
  const existing = cached(directory, key);
226
226
  if (existing) return existing;
227
227
  if (!options?.producer && !swiftDistributionAt(moduleRoot) && path.resolve(moduleRoot) === sourceSwiftCheckout() && process.platform === "linux" && process.env.TM_SESSION) {
228
- const { produceSwiftSdkImage } = await import("./swift-sdk-image-producer-FSERHDDL.mjs");
228
+ const { produceSwiftSdkImage } = await import("./swift-sdk-image-producer-OQHEDGAK.mjs");
229
229
  await produceSwiftSdkImage({
230
230
  moduleRoot,
231
231
  key,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2750 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2752 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/swift-package.ts
4
4
  function swiftManifestSettings(target) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2750 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2752 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // ../peach-globals/src/bundle-global-footer.ts
4
4
  function findBundleFooter(source, prefix) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2750 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2752 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/capture-contract.ts
4
4
  var RNX_SCREEN_CAPTURE_VERSION = 1;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2750 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2752 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  SWIFT_CACHE_HOLD_MARKER,
4
4
  SWIFT_WASM_TRIPLE,
@@ -12,19 +12,19 @@ import {
12
12
  terminateProcessGroup,
13
13
  wasmThreadFlags,
14
14
  windowAdmission
15
- } from "./chunk-TQMPWPVG.mjs";
15
+ } from "./chunk-KLTK57JY.mjs";
16
16
  import {
17
17
  isSwiftResourcePath
18
- } from "./chunk-35D3DZBT.mjs";
18
+ } from "./chunk-ZEFB3IEI.mjs";
19
19
  import {
20
20
  swiftManifestDeclarations
21
- } from "./chunk-XAXJNU6P.mjs";
21
+ } from "./chunk-NZVNJM6N.mjs";
22
22
  import {
23
23
  isRecord
24
- } from "./chunk-EX2VSYZK.mjs";
24
+ } from "./chunk-ELG3ZB34.mjs";
25
25
  import {
26
26
  __publicField
27
- } from "./chunk-JUTI255Y.mjs";
27
+ } from "./chunk-3V7MKVO5.mjs";
28
28
 
29
29
  // src/write-build-file.ts
30
30
  import { mkdirSync, readFileSync, statSync, writeFileSync } from "node:fs";
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2750 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2752 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/assetCatalogContract.ts
4
4
  function isSwiftImageVariants(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2750 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2752 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/swiftContract.ts
4
4
  function isSwiftSourceLinkGraph(value) {
@@ -1,5 +1,5 @@
1
- /*! peach v0.1.2750 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
- import "./chunk-JUTI255Y.mjs";
1
+ /*! peach v0.1.2752 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
+ import "./chunk-3V7MKVO5.mjs";
3
3
 
4
4
  // src/metro-layout-parser.ts
5
5
  var whitespace = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/y;
@@ -8,7 +8,7 @@ var lineBreak = /[\r\n\u2028\u2029]/;
8
8
  var metroLayoutParser;
9
9
  async function loadMetroLayoutParser() {
10
10
  if (metroLayoutParser) return metroLayoutParser;
11
- const { Parser } = await import("./acorn-N4VI4QZK.mjs");
11
+ const { Parser } = await import("./acorn-NQIU2KSK.mjs");
12
12
  metroLayoutParser = Parser.extend(
13
13
  (Base) => {
14
14
  const parseFunctionBody = Reflect.get(Base.prototype, "parseFunctionBody");
@@ -1,27 +1,27 @@
1
- /*! peach v0.1.2750 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2752 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  compileTargets,
4
4
  fetchNativeEntry,
5
5
  nativeEntryKey,
6
6
  swiftAvailableModules
7
- } from "./chunk-CXE5NEBF.mjs";
8
- import "./chunk-HCXTAQCM.mjs";
7
+ } from "./chunk-MCJWJO3X.mjs";
8
+ import "./chunk-G4EOUNIB.mjs";
9
9
  import {
10
10
  swiftDistributionAt,
11
11
  swiftImportNames
12
- } from "./chunk-R4SOMFHI.mjs";
13
- import "./chunk-TQMPWPVG.mjs";
12
+ } from "./chunk-QHKPXXFG.mjs";
13
+ import "./chunk-KLTK57JY.mjs";
14
14
  import {
15
15
  SWIFT_REMOTE_PACKAGES_DIR
16
- } from "./chunk-35D3DZBT.mjs";
16
+ } from "./chunk-ZEFB3IEI.mjs";
17
17
  import {
18
18
  manifestCalls
19
- } from "./chunk-XAXJNU6P.mjs";
20
- import "./chunk-2HCN2HSH.mjs";
21
- import "./chunk-TB5MMPGM.mjs";
22
- import "./chunk-XN6UUZIU.mjs";
23
- import "./chunk-EX2VSYZK.mjs";
24
- import "./chunk-JUTI255Y.mjs";
19
+ } from "./chunk-NZVNJM6N.mjs";
20
+ import "./chunk-TXDCLNET.mjs";
21
+ import "./chunk-M2CBFY2N.mjs";
22
+ import "./chunk-LM55WUFH.mjs";
23
+ import "./chunk-ELG3ZB34.mjs";
24
+ import "./chunk-3V7MKVO5.mjs";
25
25
 
26
26
  // src/swift-package-prebuilt.ts
27
27
  import { createHash } from "node:crypto";
@@ -1,10 +1,10 @@
1
- /*! peach v0.1.2750 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2752 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  SWIFT_SDK_APP_MEMORY_BASE,
4
4
  SWIFT_SDK_MEMORY_BASE,
5
5
  SWIFT_SDK_PIECE_FIELDS,
6
6
  readSwiftSdkManifest
7
- } from "./chunk-5IRY7HKS.mjs";
7
+ } from "./chunk-NKH33QJN.mjs";
8
8
  import {
9
9
  ADDEND_RELOCATIONS,
10
10
  KEEP_WASM_NAMES,
@@ -33,22 +33,22 @@ import {
33
33
  wasmReader,
34
34
  wasmSections,
35
35
  writeWasmCustomSection
36
- } from "./chunk-CXE5NEBF.mjs";
37
- import "./chunk-HCXTAQCM.mjs";
38
- import "./chunk-2BMYR3ZR.mjs";
39
- import "./chunk-WCW7V4OL.mjs";
40
- import "./chunk-CHEDBVLD.mjs";
41
- import "./chunk-R4SOMFHI.mjs";
36
+ } from "./chunk-MCJWJO3X.mjs";
37
+ import "./chunk-G4EOUNIB.mjs";
38
+ import "./chunk-LMNG5IGA.mjs";
39
+ import "./chunk-GJYEUG7O.mjs";
40
+ import "./chunk-7BTHY6M5.mjs";
41
+ import "./chunk-QHKPXXFG.mjs";
42
42
  import {
43
43
  SWIFT_WASM_TRIPLE
44
- } from "./chunk-TQMPWPVG.mjs";
45
- import "./chunk-35D3DZBT.mjs";
46
- import "./chunk-XAXJNU6P.mjs";
47
- import "./chunk-2HCN2HSH.mjs";
48
- import "./chunk-TB5MMPGM.mjs";
49
- import "./chunk-XN6UUZIU.mjs";
50
- import "./chunk-EX2VSYZK.mjs";
51
- import "./chunk-JUTI255Y.mjs";
44
+ } from "./chunk-KLTK57JY.mjs";
45
+ import "./chunk-ZEFB3IEI.mjs";
46
+ import "./chunk-NZVNJM6N.mjs";
47
+ import "./chunk-TXDCLNET.mjs";
48
+ import "./chunk-M2CBFY2N.mjs";
49
+ import "./chunk-LM55WUFH.mjs";
50
+ import "./chunk-ELG3ZB34.mjs";
51
+ import "./chunk-3V7MKVO5.mjs";
52
52
 
53
53
  // src/swift-sdk-app-module.ts
54
54
  import { execFile } from "node:child_process";
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2750 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2752 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  SWIFT_SDK_APP_MEMORY_BASE,
4
4
  SWIFT_SDK_IMAGE_BUNDLE,
@@ -13,21 +13,21 @@ import {
13
13
  swiftSdkImageFile,
14
14
  swiftSdkImageKey,
15
15
  swiftSdkImageProducts
16
- } from "./chunk-5IRY7HKS.mjs";
17
- import "./chunk-CXE5NEBF.mjs";
18
- import "./chunk-HCXTAQCM.mjs";
19
- import "./chunk-2BMYR3ZR.mjs";
20
- import "./chunk-WCW7V4OL.mjs";
21
- import "./chunk-CHEDBVLD.mjs";
22
- import "./chunk-R4SOMFHI.mjs";
23
- import "./chunk-TQMPWPVG.mjs";
24
- import "./chunk-35D3DZBT.mjs";
25
- import "./chunk-XAXJNU6P.mjs";
26
- import "./chunk-2HCN2HSH.mjs";
27
- import "./chunk-TB5MMPGM.mjs";
28
- import "./chunk-XN6UUZIU.mjs";
29
- import "./chunk-EX2VSYZK.mjs";
30
- import "./chunk-JUTI255Y.mjs";
16
+ } from "./chunk-NKH33QJN.mjs";
17
+ import "./chunk-MCJWJO3X.mjs";
18
+ import "./chunk-G4EOUNIB.mjs";
19
+ import "./chunk-LMNG5IGA.mjs";
20
+ import "./chunk-GJYEUG7O.mjs";
21
+ import "./chunk-7BTHY6M5.mjs";
22
+ import "./chunk-QHKPXXFG.mjs";
23
+ import "./chunk-KLTK57JY.mjs";
24
+ import "./chunk-ZEFB3IEI.mjs";
25
+ import "./chunk-NZVNJM6N.mjs";
26
+ import "./chunk-TXDCLNET.mjs";
27
+ import "./chunk-M2CBFY2N.mjs";
28
+ import "./chunk-LM55WUFH.mjs";
29
+ import "./chunk-ELG3ZB34.mjs";
30
+ import "./chunk-3V7MKVO5.mjs";
31
31
  export {
32
32
  SWIFT_SDK_APP_MEMORY_BASE,
33
33
  SWIFT_SDK_IMAGE_BUNDLE,
@@ -1,15 +1,15 @@
1
- /*! peach v0.1.2750 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2752 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  withSwiftRootLock
4
- } from "./chunk-HCXTAQCM.mjs";
4
+ } from "./chunk-G4EOUNIB.mjs";
5
5
  import {
6
6
  swiftCacheDir,
7
7
  windowAdmission
8
- } from "./chunk-TQMPWPVG.mjs";
8
+ } from "./chunk-KLTK57JY.mjs";
9
9
  import {
10
10
  isRecord
11
- } from "./chunk-EX2VSYZK.mjs";
12
- import "./chunk-JUTI255Y.mjs";
11
+ } from "./chunk-ELG3ZB34.mjs";
12
+ import "./chunk-3V7MKVO5.mjs";
13
13
 
14
14
  // src/swift-sdk-image-producer.ts
15
15
  import { execFile, execFileSync } from "node:child_process";
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2750 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2752 | (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;
@@ -19571,7 +19571,7 @@ var init_react_native_core_digest = __esm({
19571
19571
 
19572
19572
  // src/swift-compiler-digest.ts
19573
19573
  function swiftArchiveCompilerDigestValue() {
19574
- return true ? "99ae71a024c1f7e48133d193acd1d2f2b0738fcbc5e5291800fd396afb31897b" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname, "archive");
19574
+ return true ? "7d34cb42faecc2a888b1f196b1fd323049bd63ef08d0687708c834ab9b8c18c1" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname, "archive");
19575
19575
  }
19576
19576
  var import_node_crypto16, import_node_fs32, import_node_path31, SWIFT_DIGEST_SOURCES, LINKED_IMAGE_SOURCES, SWIFT_ARCHIVE_DIGEST_SOURCES;
19577
19577
  var init_swift_compiler_digest = __esm({
@@ -19723,7 +19723,7 @@ var init_swift_standin_digest = __esm({
19723
19723
 
19724
19724
  // src/expo-native-compiler-digest.ts
19725
19725
  function expoNativeCompilerDigestValue() {
19726
- return true ? "a2d90034f2bc6d1a540690b2d744cae70ef045af1fe41290c11a025eb5fae6ea" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
19726
+ return true ? "d9af1f1fa253a3e3daf354a5a8473732618b4a814b55ed46604982345d9c7930" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
19727
19727
  }
19728
19728
  var import_node_crypto18;
19729
19729
  var init_expo_native_compiler_digest = __esm({
@@ -44860,6 +44860,10 @@ function swiftTargetDependencies(files2, targets, frameworks = OPTIONAL_FRAMEWOR
44860
44860
  }
44861
44861
  return siblings;
44862
44862
  }
44863
+ function swiftSdkArtifactHash(sourceHash, sdkImageKey) {
44864
+ return (0, import_node_crypto45.createHash)("sha256").update(`${sourceHash}
44865
+ sdk module ${sdkImageKey}`).digest("hex");
44866
+ }
44863
44867
  function sha256Digest(value) {
44864
44868
  if (typeof Bun !== "undefined")
44865
44869
  return new Bun.CryptoHasher("sha256").update(value).digest();
@@ -48816,6 +48820,12 @@ ${args.frameworkKey}`,
48816
48820
  }
48817
48821
  function swiftFrameworkSlotCount(unoptimized) {
48818
48822
  const base = unoptimized ? SWIFT_FRAMEWORK_UNOPTIMIZED_SLOTS : SWIFT_FRAMEWORK_SLOTS;
48823
+ if (process.platform === "darwin") {
48824
+ const gib = import_node_os17.default.totalmem() / (1024 * 1024 * 1024);
48825
+ if (gib >= 120) return unoptimized ? 8 : 16;
48826
+ if (gib >= 56) return unoptimized ? 6 : 12;
48827
+ return base;
48828
+ }
48819
48829
  if (process.platform !== "linux") return base;
48820
48830
  const cores = import_node_os17.default.availableParallelism();
48821
48831
  return unoptimized ? Math.min(8, Math.max(base, Math.floor(cores / 16))) : Math.min(16, Math.max(base, Math.floor(cores / 8)));
@@ -48934,26 +48944,32 @@ async function withSwiftFrameworkSlot(frameworkKey, release, moduleRoot, signal,
48934
48944
  changesBySlotKey.set(cacheKey, changes);
48935
48945
  return changes;
48936
48946
  };
48937
- const rankSlots = (now) => slots.map((slot, index) => {
48938
- const slotKey = swiftFrameworkSlotKey(slot);
48939
- const mtimeMs = slotMtimeMs(slot);
48940
- if (slotKey === null)
48941
- return { slot, index, tier: 1, changes: Infinity, own: false, mtimeMs };
48942
- if (swiftFrameworkSlotRelease(slot) !== release)
48943
- return { slot, index, tier: 3, changes: Infinity, own: false, mtimeMs };
48944
- const changes = changedInputsFor(slot, slotKey);
48945
- const isOwn = own2(slot);
48946
- const tier = hasPendingForeignHandoff(slot, now) ? 2 : 0;
48947
- return { slot, index, tier, changes, own: isOwn, mtimeMs };
48948
- }).sort((left, right) => {
48949
- if (left.tier !== right.tier) return left.tier - right.tier;
48950
- if (left.tier === 0)
48951
- return left.changes - right.changes || Number(right.own) - Number(left.own) || left.mtimeMs - right.mtimeMs;
48952
- if (left.tier === 1) return left.index - right.index;
48953
- if (left.tier === 2)
48954
- return left.mtimeMs - right.mtimeMs || left.changes - right.changes;
48955
- return left.mtimeMs - right.mtimeMs;
48956
- });
48947
+ const rankSlots = (now) => {
48948
+ const keyCounts = /* @__PURE__ */ new Map();
48949
+ const candidates = slots.map((slot, index) => {
48950
+ const slotKey = swiftFrameworkSlotKey(slot);
48951
+ const mtimeMs = slotMtimeMs(slot);
48952
+ if (slotKey === null)
48953
+ return { slot, index, tier: 1, changes: Infinity, own: false, mtimeMs, slotKey };
48954
+ if (swiftFrameworkSlotRelease(slot) !== release)
48955
+ return { slot, index, tier: 3, changes: Infinity, own: false, mtimeMs, slotKey };
48956
+ const changes = changedInputsFor(slot, slotKey);
48957
+ const isOwn = own2(slot);
48958
+ const tier = hasPendingForeignHandoff(slot, now) ? 2 : 0;
48959
+ if (tier === 0) keyCounts.set(slotKey, (keyCounts.get(slotKey) ?? 0) + 1);
48960
+ return { slot, index, tier, changes, own: isOwn, mtimeMs, slotKey };
48961
+ });
48962
+ const duplicate = (key2) => Number((keyCounts.get(key2) ?? 0) > 1);
48963
+ return candidates.sort((left, right) => {
48964
+ if (left.tier !== right.tier) return left.tier - right.tier;
48965
+ if (left.tier === 0)
48966
+ return left.changes - right.changes || duplicate(right.slotKey) - duplicate(left.slotKey) || Number(right.own) - Number(left.own) || left.mtimeMs - right.mtimeMs;
48967
+ if (left.tier === 1) return left.index - right.index;
48968
+ if (left.tier === 2)
48969
+ return left.mtimeMs - right.mtimeMs || left.changes - right.changes;
48970
+ return left.mtimeMs - right.mtimeMs;
48971
+ });
48972
+ };
48957
48973
  let announced = false;
48958
48974
  for (; ; ) {
48959
48975
  signal?.throwIfAborted();
@@ -49240,8 +49256,7 @@ async function compileSwiftProjectOnce(sources, options2) {
49240
49256
  const inputHash = swiftCompileInputHash(input, options2.release);
49241
49257
  const moduleDigest = swiftModuleDigest(moduleRoot);
49242
49258
  const sourceHash = inputHash.copy().update(moduleDigest).digest("hex");
49243
- const hash = sdkImage ? (0, import_node_crypto45.createHash)("sha256").update(`${sourceHash}
49244
- sdk module ${sdkImage.key}`).digest("hex") : sourceHash;
49259
+ const hash = sdkImage ? swiftSdkArtifactHash(sourceHash, sdkImage.key) : sourceHash;
49245
49260
  const frameworkKey = swiftProjectBuildKey(moduleRoot, options2.release);
49246
49261
  const sharedRoot = import_node_path70.default.join(swiftCacheDir(), "swift-projects", hash);
49247
49262
  const report = (message) => {
@@ -50224,7 +50239,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
50224
50239
  REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
50225
50240
  MULTI_MANIFEST_VERSION = 76;
50226
50241
  SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
50227
- compilerSourceDigest = true ? "9e800b4e5695e0ea16860a945e2ba4dd9efa69f299d64b77b74c6197d9d31df6" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
50242
+ compilerSourceDigest = true ? "7126b714db080f74c8b5d70de4bcaea4907ff12448bcee71d16d3f26dd635739" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
50228
50243
  nativeCxxCompilerFlags = ["-fno-cxx-modules"];
50229
50244
  MODULE_MAP_RESPONSE_FILE_RUN = 16;
50230
50245
  cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
@@ -105610,7 +105625,7 @@ var init_nitro_superset = __esm({
105610
105625
  init_nitroContract();
105611
105626
  init_swift_standin_digest();
105612
105627
  NITRO_SUPERSET_ENTRY_NAME = "superset";
105613
- NITRO_COMPILER_DIGEST = true ? "2bd4530ba3bae000e41dcb8e8c3d99b7cef19a11f4e14afedde939ee1f14828f" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
105628
+ NITRO_COMPILER_DIGEST = true ? "ca2030b7c71ef879e37c8ca49227a2cd07b6151d678058bd4056f44eba54bf84" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
105614
105629
  nitroSupersetLock = parseLock(nitro_superset_lock_default);
105615
105630
  nitroSupersetKey = (inputs2) => nativeEntryKey({ ...inputs2, compiler: NITRO_COMPILER_DIGEST });
105616
105631
  published2 = /* @__PURE__ */ new Map();