peachsim 0.1.2688 → 0.1.2690

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 (125) 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 +30 -28
  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-QJJWJ74A.mjs → acorn-7NECUOQL.mjs} +3 -3
  27. package/dist-lib/esm-chunks/{chunk-5LR4TEKW.mjs → chunk-2C4HDS5K.mjs} +1 -1
  28. package/dist-lib/esm-chunks/{chunk-MLMEW7RE.mjs → chunk-5PMTWOLF.mjs} +6 -6
  29. package/dist-lib/esm-chunks/{chunk-CNHBDKNE.mjs → chunk-7P2EJJFY.mjs} +71 -60
  30. package/dist-lib/esm-chunks/{chunk-G7Y6LNW6.mjs → chunk-AGEHGE4W.mjs} +5 -5
  31. package/dist-lib/esm-chunks/{chunk-JH5JQA6K.mjs → chunk-CE4CI5FU.mjs} +3 -3
  32. package/dist-lib/esm-chunks/{chunk-AETOLJYO.mjs → chunk-CZOPH62Q.mjs} +1 -1
  33. package/dist-lib/esm-chunks/{chunk-RM4WIT6P.mjs → chunk-GR7CUPIC.mjs} +4 -4
  34. package/dist-lib/esm-chunks/{chunk-S56SQJ2P.mjs → chunk-HOVIMQVO.mjs} +1 -1
  35. package/dist-lib/esm-chunks/{chunk-BKVRX3MC.mjs → chunk-ID74LXQF.mjs} +1 -1
  36. package/dist-lib/esm-chunks/{chunk-LKUMUFA2.mjs → chunk-LO7HH7BH.mjs} +15 -21
  37. package/dist-lib/esm-chunks/{chunk-RSGYHFRW.mjs → chunk-MYSQV4YK.mjs} +1 -1
  38. package/dist-lib/esm-chunks/{chunk-AD6NIYUH.mjs → chunk-OFJYTZNL.mjs} +1 -1
  39. package/dist-lib/esm-chunks/{chunk-442RUXW7.mjs → chunk-RPH46F3J.mjs} +2 -2
  40. package/dist-lib/esm-chunks/{chunk-EDRLCABQ.mjs → chunk-SJQMU53M.mjs} +1 -1
  41. package/dist-lib/esm-chunks/{chunk-CQCEUTO3.mjs → chunk-SMUFAUA2.mjs} +1 -1
  42. package/dist-lib/esm-chunks/{chunk-JE57Q2CY.mjs → chunk-T6GYFGP3.mjs} +1 -1
  43. package/dist-lib/esm-chunks/{chunk-HEVMEIZI.mjs → chunk-TGZK7Q33.mjs} +1 -1
  44. package/dist-lib/esm-chunks/{chunk-6H3D2XM3.mjs → chunk-TKDSXDNO.mjs} +1 -1
  45. package/dist-lib/esm-chunks/{chunk-3JMEFQOH.mjs → chunk-VT3KFJLL.mjs} +1 -1
  46. package/dist-lib/esm-chunks/{chunk-H4U42O6Z.mjs → chunk-VVJ4B44L.mjs} +1 -1
  47. package/dist-lib/esm-chunks/{chunk-SGWOCWBM.mjs → chunk-VZW3Z5J3.mjs} +1 -1
  48. package/dist-lib/esm-chunks/{chunk-J3DIW4TR.mjs → chunk-YA25KY54.mjs} +1 -1
  49. package/dist-lib/esm-chunks/{chunk-433F3HOZ.mjs → chunk-ZFE3NYDB.mjs} +1 -1
  50. package/dist-lib/esm-chunks/{chunk-LGH6FOXV.mjs → chunk-ZK3YJNAA.mjs} +1 -1
  51. package/dist-lib/esm-chunks/{metro-layout-parser-AQC4YZAY.mjs → metro-layout-parser-P5M3VLPS.mjs} +3 -3
  52. package/dist-lib/esm-chunks/{swift-package-prebuilt-QCLYMHWK.mjs → swift-package-prebuilt-LDSEGNPH.mjs} +12 -12
  53. package/dist-lib/esm-chunks/{swift-sdk-app-module-AGXU4OHM.mjs → swift-sdk-app-module-OCQEJPVW.mjs} +16 -16
  54. package/dist-lib/esm-chunks/{swift-sdk-image-3RCB4ZV3.mjs → swift-sdk-image-HCOK3M44.mjs} +16 -16
  55. package/dist-lib/esm-chunks/{swift-sdk-image-producer-GSEGACMU.mjs → swift-sdk-image-producer-M3LWXZRI.mjs} +5 -5
  56. package/dist-lib/expo-swift-bundle.cjs +30 -28
  57. package/dist-lib/expo-swift-metadata.cjs +1 -1
  58. package/dist-lib/expo-swift-metadata.mjs +7 -7
  59. package/dist-lib/home-paths.cjs +1 -1
  60. package/dist-lib/host/bridge-host.cjs +30 -28
  61. package/dist-lib/host/fetch-proxy-handler.cjs +96 -80
  62. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  63. package/dist-lib/host/fetch-proxy-overrides.mjs +2 -2
  64. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  65. package/dist-lib/host/websocket-proxy.cjs +1 -1
  66. package/dist-lib/index.cjs +1 -1
  67. package/dist-lib/kotlin-host.cjs +1 -1
  68. package/dist-lib/menu.cjs +1 -1
  69. package/dist-lib/menu.mjs +3 -3
  70. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  71. package/dist-lib/metro-fingerprint-registry.mjs +3 -3
  72. package/dist-lib/metro-production-bundle.cjs +1 -1
  73. package/dist-lib/metro-production-bundle.mjs +4 -4
  74. package/dist-lib/native-app-identity-project.cjs +1 -1
  75. package/dist-lib/native-app-identity-project.mjs +15 -15
  76. package/dist-lib/native-app-identity.cjs +1 -1
  77. package/dist-lib/native-app-identity.mjs +6 -6
  78. package/dist-lib/native-firebase-metadata.cjs +1 -1
  79. package/dist-lib/native-firebase-metadata.mjs +3 -3
  80. package/dist-lib/pdfium-raster.cjs +1 -1
  81. package/dist-lib/pdfium-raster.mjs +2 -2
  82. package/dist-lib/plist.cjs +1 -1
  83. package/dist-lib/plist.mjs +3 -3
  84. package/dist-lib/profiles.cjs +1 -1
  85. package/dist-lib/public-brand.cjs +1 -1
  86. package/dist-lib/public-origins-lib-esm.json +87 -87
  87. package/dist-lib/public-origins-lib.json +65 -64
  88. package/dist-lib/react-native-host-modules.cjs +1 -1
  89. package/dist-lib/react-native-host-modules.mjs +2 -2
  90. package/dist-lib/reap-browser.cjs +1 -1
  91. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  92. package/dist-lib/sdk.cjs +1 -1
  93. package/dist-lib/sdk.mjs +8 -8
  94. package/dist-lib/skills.cjs +30 -28
  95. package/dist-lib/swift-compile.cjs +27 -25
  96. package/dist-lib/swift-compile.mjs +12 -12
  97. package/dist-lib/swift-package.cjs +1 -1
  98. package/dist-lib/swift-package.mjs +3 -3
  99. package/dist-lib/swift-submit.cjs +1 -1
  100. package/dist-lib/swift-submit.mjs +6 -6
  101. package/dist-lib/swift-svg-raster.cjs +1 -1
  102. package/dist-lib/swift-svg-raster.mjs +2 -2
  103. package/dist-lib/swift-toolchain.cjs +1 -1
  104. package/dist-lib/swift.cjs +1 -1
  105. package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
  106. package/dist-lib/vendor/@ruby/prism/src/nodes.js.cjs +1 -1
  107. package/dist-lib/vendor/@ruby/prism/src/parsePrism.js.cjs +1 -1
  108. package/dist-lib/vendor/acorn.cjs +1 -1
  109. package/dist-lib/vendor/magic-string.cjs +1 -1
  110. package/dist-lib/vendor/stream-json.cjs +1 -1
  111. package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
  112. package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
  113. package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
  114. package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
  115. package/dist-lib/vendor/sucrase.cjs +1 -1
  116. package/dist-lib/vendor/terser.cjs +1 -1
  117. package/dist-lib/vendor/valibot.cjs +1 -1
  118. package/dist-lib/vendor/ws.cjs +1 -1
  119. package/dist-lib/vendor/zod.cjs +1 -1
  120. package/dist-lib/worklet-executable.cjs +1 -1
  121. package/dist-lib/worklet-executable.mjs +3 -3
  122. package/package.json +1 -1
  123. package/src/swift-compile.ts +24 -24
  124. package/src/swift-sdk-image-recipe.ts +1 -0
  125. package/src/swift-sdk-image.ts +6 -1
@@ -1,11 +1,11 @@
1
- /*! peach v0.1.2688 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2690 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  acquireSwiftRootReadHold,
4
4
  hasLiveSwiftRootReaders,
5
5
  retainSwiftRootReadHold,
6
6
  waitForNoSwiftRootReaders,
7
7
  withSwiftRootLock
8
- } from "./chunk-442RUXW7.mjs";
8
+ } from "./chunk-RPH46F3J.mjs";
9
9
  import {
10
10
  CORE_FOUNDATION_OVERLAY_GLOBALS,
11
11
  NATIVE_GRAPH_SDK_VERSION,
@@ -56,7 +56,7 @@ import {
56
56
  withoutImportedSdkEnumForwards,
57
57
  withoutSwiftDeclarations,
58
58
  writeBuildFile
59
- } from "./chunk-MLMEW7RE.mjs";
59
+ } from "./chunk-5PMTWOLF.mjs";
60
60
  import {
61
61
  SWIFT_AUTOLINK_LINKER,
62
62
  SWIFT_CACHE_HOLD_MARKER,
@@ -73,7 +73,7 @@ import {
73
73
  wasmThreadLinkFlags,
74
74
  windowAdmission,
75
75
  writeSwiftAutolinkLinker
76
- } from "./chunk-AD6NIYUH.mjs";
76
+ } from "./chunk-OFJYTZNL.mjs";
77
77
  import {
78
78
  SWIFT_BINARY_TREES_DIR,
79
79
  SWIFT_NATIVE_INPUT_ROOT,
@@ -88,7 +88,7 @@ import {
88
88
  isSwiftResourcePath,
89
89
  isSwiftSourceLinkGraph,
90
90
  swiftProjectFilesProblems
91
- } from "./chunk-LGH6FOXV.mjs";
91
+ } from "./chunk-ZK3YJNAA.mjs";
92
92
  import {
93
93
  OBJC_RESOURCE_ACCESSOR_BODY,
94
94
  OBJC_RESOURCE_ACCESSOR_HEADER,
@@ -111,20 +111,20 @@ import {
111
111
  swiftPackagePartition,
112
112
  swiftTargetModuleName,
113
113
  withoutGlogModuleMap
114
- } from "./chunk-433F3HOZ.mjs";
114
+ } from "./chunk-ZFE3NYDB.mjs";
115
115
  import {
116
116
  rnxPublicBrand
117
- } from "./chunk-AETOLJYO.mjs";
117
+ } from "./chunk-CZOPH62Q.mjs";
118
118
  import {
119
119
  isRecord
120
- } from "./chunk-CQCEUTO3.mjs";
120
+ } from "./chunk-SMUFAUA2.mjs";
121
121
  import {
122
122
  __publicField
123
- } from "./chunk-5LR4TEKW.mjs";
123
+ } from "./chunk-2C4HDS5K.mjs";
124
124
 
125
125
  // src/swift-compile.ts
126
126
  import { spawn as spawn2 } from "node:child_process";
127
- import { createHash as createHash15, randomUUID as randomUUID4 } from "node:crypto";
127
+ import { createHash as createHash16, randomUUID as randomUUID4 } from "node:crypto";
128
128
  import {
129
129
  chmodSync as chmodSync3,
130
130
  copyFileSync as copyFileSync2,
@@ -14360,7 +14360,7 @@ async function compileGuestLink(options) {
14360
14360
  };
14361
14361
  const sdk = options.sdkImage;
14362
14362
  const sdkCallers = sdk.sdkInterface.guestCallers;
14363
- const sdkObjects = (await import("./swift-sdk-image-3RCB4ZV3.mjs")).readSwiftSdkManifestIndex(
14363
+ const sdkObjects = (await import("./swift-sdk-image-HCOK3M44.mjs")).readSwiftSdkManifestIndex(
14364
14364
  sdk
14365
14365
  ).guestObjects;
14366
14366
  if (!sdkCallers || !sdkObjects)
@@ -14659,7 +14659,7 @@ async function compileGuestLink(options) {
14659
14659
  readSwiftSdkUsage,
14660
14660
  swiftAppModuleThunkSection,
14661
14661
  swiftSdkProjectionSpans
14662
- } = await import("./swift-sdk-app-module-AGXU4OHM.mjs");
14662
+ } = await import("./swift-sdk-app-module-OCQEJPVW.mjs");
14663
14663
  const project = options.project;
14664
14664
  const work = project ? mkdtempSync2(path14.join(directory, "app-module-")) : path14.join(directory, "app-module");
14665
14665
  if (project) chownSync(work, project.uid, project.gid);
@@ -15695,6 +15695,15 @@ function swiftReproducibleBuildFlags(roots) {
15695
15695
  ]);
15696
15696
  }
15697
15697
 
15698
+ // src/swift-sdk-image-recipe.ts
15699
+ import { createHash as createHash15 } from "node:crypto";
15700
+ var SWIFT_SDK_IMAGE_VERSION = 13;
15701
+ var SOURCE_SWIFT_FRAMEWORK_RECIPE = "swift-framework/v3";
15702
+ var swiftSdkImageScope = (scopedLookups) => scopedLookups ? "guest image scopes 9\n" : "unscoped constructor order 1\n";
15703
+ var SWIFT_SDK_IMAGE_RECIPE = createHash15("sha256").update(`swift-sdk-image
15704
+ ${SWIFT_SDK_IMAGE_VERSION}
15705
+ `).update(WASM_LOWER_IDENTITY).update(swiftSdkImageScope(false)).update(swiftSdkImageScope(true)).digest("hex").slice(0, 16);
15706
+
15698
15707
  // src/swift-source-closure.ts
15699
15708
  function collectSwiftSourceClosure(files, roots, swiftCodeMask2, extensionMembersOnly) {
15700
15709
  const sources = /* @__PURE__ */ new Map();
@@ -16104,7 +16113,8 @@ async function ensureMacroPlugins(moduleRoot, toolchainBin, release, signal, lea
16104
16113
  return { libraries, executables };
16105
16114
  }
16106
16115
  function swiftProjectBuildKey(moduleRoot, release) {
16107
- return createHash15("sha256").update(`swift-framework/v2\0${release}\0${swiftModuleSdk(moduleRoot).wasmSdkId}`).update(swiftModuleDigest(moduleRoot)).digest("hex").slice(0, 32);
16116
+ const recipe = swiftDistributionAt(moduleRoot) ? "swift-framework/v2" : SOURCE_SWIFT_FRAMEWORK_RECIPE;
16117
+ return createHash16("sha256").update(`${recipe}\0${release}\0${swiftModuleSdk(moduleRoot).wasmSdkId}`).update(swiftModuleDigest(moduleRoot)).digest("hex").slice(0, 32);
16108
16118
  }
16109
16119
  var SYSTEM_MODULE_LIBRARIES = {
16110
16120
  "sqlite3.h": "sqlite3",
@@ -16476,7 +16486,7 @@ function distributionClangModuleOptions(root, modules) {
16476
16486
  function providedModulesPath(root, modules, excluded) {
16477
16487
  if (!excluded || excluded.size === 0) return modules;
16478
16488
  const entries2 = readdirSync4(modules).filter((entry) => !excluded.has(entry.replace(/\..*$/, ""))).sort();
16479
- const key = createHash15("sha256").update(JSON.stringify([modules, entries2])).update([...excluded].sort().join("\0")).digest("hex").slice(0, 16);
16489
+ const key = createHash16("sha256").update(JSON.stringify([modules, entries2])).update([...excluded].sort().join("\0")).digest("hex").slice(0, 16);
16480
16490
  const directory = path23.join(root, `.peach-modules-${key}`);
16481
16491
  const complete = path23.join(directory, ".complete");
16482
16492
  if (!existsSync9(complete)) {
@@ -16588,17 +16598,17 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
16588
16598
  var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
16589
16599
  var MULTI_MANIFEST_VERSION = 76;
16590
16600
  var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
16591
- var compilerSourceDigest = true ? "dcd0189f8bf1a7fc415f2c92825f8b3bbc2089ae9697ffcb50cc9a7e65e99990" : swiftCompilerSourceDigest(import.meta.dirname);
16601
+ var compilerSourceDigest = true ? "954395d95b11c219514be98b0e601b2c1383cfc671f49ea869c85646d527594e" : swiftCompilerSourceDigest(import.meta.dirname);
16592
16602
  function swiftArtifactHash(input, release, moduleRoot) {
16593
16603
  return swiftCompileInputHash(input, release).update(swiftModuleDigest(moduleRoot)).digest("hex");
16594
16604
  }
16595
16605
  function sha256Digest(value) {
16596
16606
  if (typeof Bun !== "undefined")
16597
16607
  return new Bun.CryptoHasher("sha256").update(value).digest();
16598
- return createHash15("sha256").update(value).digest();
16608
+ return createHash16("sha256").update(value).digest();
16599
16609
  }
16600
16610
  function swiftCompileInputHash(input, release) {
16601
- const hash = createHash15("sha256");
16611
+ const hash = createHash16("sha256");
16602
16612
  hash.update(`swift-compile
16603
16613
  ${release}
16604
16614
  `);
@@ -16810,7 +16820,7 @@ function emitSwiftPackageManifest(args) {
16810
16820
  ].join("\n") + "\n";
16811
16821
  distributionLinkPath = distributionLink.path.replace(
16812
16822
  /\.rsp$/,
16813
- `-${createHash15("sha256").update(list).digest("hex").slice(0, 12)}.rsp`
16823
+ `-${createHash16("sha256").update(list).digest("hex").slice(0, 12)}.rsp`
16814
16824
  );
16815
16825
  distributionLink.files.set(distributionLinkPath, list);
16816
16826
  }
@@ -16831,7 +16841,7 @@ function emitSwiftPackageManifest(args) {
16831
16841
  const endRun = () => {
16832
16842
  if (run2.length >= MODULE_MAP_RESPONSE_FILE_RUN) {
16833
16843
  const lines = run2.map((flag) => JSON.stringify(flag)).join("\n") + "\n";
16834
- const digest2 = createHash15("sha256").update(lines).digest("hex");
16844
+ const digest2 = createHash16("sha256").update(lines).digest("hex");
16835
16845
  const file2 = path23.join(args.root, ".peach-clang-arguments", `${digest2}.rsp`);
16836
16846
  args.files.set(file2, lines);
16837
16847
  flags.push(`@${file2}`);
@@ -16855,7 +16865,7 @@ function emitSwiftPackageManifest(args) {
16855
16865
  }
16856
16866
  endRun();
16857
16867
  const content = JSON.stringify(flags);
16858
- const digest = createHash15("sha256").update(content).digest("hex");
16868
+ const digest = createHash16("sha256").update(content).digest("hex");
16859
16869
  const file = path23.join(args.root, ".peach-manifest-arguments", `${digest}.json`);
16860
16870
  args.files.set(file, content);
16861
16871
  return `peachCompilerArguments(${JSON.stringify(file)})`;
@@ -16867,7 +16877,7 @@ function emitSwiftPackageManifest(args) {
16867
16877
  const macros = compactSwiftClangDefines(swiftClangSearchArguments(flags));
16868
16878
  const compact = args.coalescibleOverlays ? compactSwiftClangOverlays(macros, args.coalescibleOverlays) : macros;
16869
16879
  const content = compact.map((flag) => JSON.stringify(flag)).join("\n") + "\n";
16870
- const digest = createHash15("sha256").update(content).digest("hex");
16880
+ const digest = createHash16("sha256").update(content).digest("hex");
16871
16881
  const file = path23.join(args.root, ".peach-swift-arguments", `${digest}.rsp`);
16872
16882
  args.files.set(file, content);
16873
16883
  return JSON.stringify([`@${file}`]);
@@ -18553,7 +18563,7 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
18553
18563
  if (moduleContents !== originalContents)
18554
18564
  podHeaderOwnership.push([
18555
18565
  modulemap,
18556
- createHash15("sha256").update(moduleContents).digest("hex")
18566
+ createHash16("sha256").update(moduleContents).digest("hex")
18557
18567
  ]);
18558
18568
  const framework = nativeC && moduleMapTokens(moduleContents.toString())[0] === "framework" ? /^(.*)\/[^/]+\.framework\/Modules\/module\.modulemap$/.exec(modulemap) : null;
18559
18569
  const frameworkDirectory = framework ? path23.join(layout2.root, framework[1]) : void 0;
@@ -18617,7 +18627,7 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
18617
18627
  )
18618
18628
  ];
18619
18629
  const moduleFlag = perFile.some((flag) => flag.startsWith("-fmodule-name=")) ? [] : [`-fmodule-name=${swiftTargetModuleName(target.name)}`];
18620
- const identity = createHash15("sha256").update(
18630
+ const identity = createHash16("sha256").update(
18621
18631
  JSON.stringify([
18622
18632
  cxx,
18623
18633
  quoteDirs,
@@ -18981,7 +18991,7 @@ module ${moduleName}.Swift {
18981
18991
  ])
18982
18992
  rmSync7(cache, { recursive: true, force: true });
18983
18993
  files.set(frameworkSearchRecord, frameworkSearch);
18984
- const modulePlan = createHash15("sha256").update(
18994
+ const modulePlan = createHash16("sha256").update(
18985
18995
  swiftModuleInputFiles(moduleRoot).join("\n")
18986
18996
  );
18987
18997
  if (!distribution) {
@@ -18990,7 +19000,7 @@ module ${moduleName}.Swift {
18990
19000
  modulePlan.update(
18991
19001
  Object.keys(input.files).filter((file) => file.endsWith(".swift")).sort().join("\n")
18992
19002
  );
18993
- const resourcePlan = createHash15("sha256").update(
19003
+ const resourcePlan = createHash16("sha256").update(
18994
19004
  JSON.stringify(
18995
19005
  resourceTargets.filter((target) => target.resources).map((target) => [
18996
19006
  target.name,
@@ -19298,7 +19308,7 @@ ${entry}`);
19298
19308
  );
19299
19309
  for (const [target, data] of Object.entries(input.libraries ?? {})) {
19300
19310
  const bytes = Buffer.from(data, "base64");
19301
- const digest = createHash15("sha256").update(bytes).digest("hex");
19311
+ const digest = createHash16("sha256").update(bytes).digest("hex");
19302
19312
  if (input.binaryModules?.[target] && packageTargets.has(target)) {
19303
19313
  const objects = path23.join(
19304
19314
  layout2.root,
@@ -19953,14 +19963,14 @@ function readCompiledArtifact(directory, hash) {
19953
19963
  return null;
19954
19964
  const bytes = readFileSync13(path23.join(directory, "app.wasm"));
19955
19965
  const gzip2 = readFileSync13(path23.join(directory, "icu.gz"));
19956
- if (createHash15("sha256").update(bytes).digest("hex") !== receipt.wasm || createHash15("sha256").update(gzip2).digest("hex") !== receipt.icu || bytes.length <= 8 || bytes.readUInt32LE(0) !== 1836278016 || bytes.readUInt32LE(4) !== 1)
19966
+ if (createHash16("sha256").update(bytes).digest("hex") !== receipt.wasm || createHash16("sha256").update(gzip2).digest("hex") !== receipt.icu || bytes.length <= 8 || bytes.readUInt32LE(0) !== 1836278016 || bytes.readUInt32LE(4) !== 1)
19957
19967
  return null;
19958
19968
  if (!("sdk" in receipt)) return null;
19959
19969
  const image = receipt.sdk;
19960
19970
  if (!isRecord(image) || typeof image.key !== "string" || typeof image.sha256 !== "string" || typeof image.binding !== "string")
19961
19971
  return null;
19962
19972
  const binding = readFileSync13(path23.join(directory, "sdk-binding.bin"));
19963
- if (createHash15("sha256").update(binding).digest("hex") !== image.binding) return null;
19973
+ if (createHash16("sha256").update(binding).digest("hex") !== image.binding) return null;
19964
19974
  const sdk = {
19965
19975
  key: image.key,
19966
19976
  sha256: image.sha256,
@@ -19986,7 +19996,7 @@ function saveCompiledArtifact(root, artifact) {
19986
19996
  path23.join(pending, "artifact.json"),
19987
19997
  JSON.stringify({
19988
19998
  hash: artifact.hash,
19989
- wasm: createHash15("sha256").update(artifact.bytes).digest("hex"),
19999
+ wasm: createHash16("sha256").update(artifact.bytes).digest("hex"),
19990
20000
  icu: artifact.icu.sha256,
19991
20001
  sdk: artifact.sdk && {
19992
20002
  key: artifact.sdk.key,
@@ -20352,7 +20362,7 @@ async function buildFrameworkProducts(scratch, args) {
20352
20362
  const unoptimized = args.input.unoptimized === true;
20353
20363
  const sdkOptions = swiftCompileSdkOptions(args.moduleRoot, args.toolchainBin);
20354
20364
  const selectorOptions = swiftObjCSelectorOptions(args.moduleRoot);
20355
- const receiptKey = createHash15("sha256").update(
20365
+ const receiptKey = createHash16("sha256").update(
20356
20366
  JSON.stringify([
20357
20367
  "framework-products/v2",
20358
20368
  args.frameworkKey,
@@ -20374,8 +20384,8 @@ async function buildFrameworkProducts(scratch, args) {
20374
20384
  const frameworkTmp = path23.join(scratch, "peach-compiler-tmp");
20375
20385
  mkdirSync7(frameworkTmp, { recursive: true });
20376
20386
  const jobs = swiftCompilerJobs();
20377
- const targetJobs = unoptimized ? jobs >= 4 ? 2 : 1 : jobs;
20378
- const driverJobs = unoptimized ? Math.max(1, Math.floor(jobs / targetJobs)) : jobs;
20387
+ const targetJobs = jobs >= 4 ? 2 : 1;
20388
+ const driverJobs = Math.max(1, Math.floor(jobs / targetJobs));
20379
20389
  await runCompiler(
20380
20390
  args.swift,
20381
20391
  [
@@ -20397,23 +20407,21 @@ async function buildFrameworkProducts(scratch, args) {
20397
20407
  args.sdk,
20398
20408
  "-c",
20399
20409
  "release",
20400
- ...unoptimized ? [
20401
- "-Xswiftc",
20402
- "-Onone",
20403
- "-Xswiftc",
20404
- "-no-whole-module-optimization",
20405
- "-Xswiftc",
20406
- "-incremental",
20407
- "-Xswiftc",
20408
- "-enable-batch-mode",
20409
- "-Xswiftc",
20410
- "-j",
20411
- "-Xswiftc",
20412
- String(driverJobs)
20413
- ] : ["-Xswiftc", "-Osize"],
20414
- // the release link strips all debug info, so none is generated. keep
20415
- // -num-threads fixed across caller core caps so llbuild does not rebuild
20416
- // every framework target when callers alternate --cores.
20410
+ "-Xswiftc",
20411
+ unoptimized ? "-Onone" : "-Osize",
20412
+ "-Xswiftc",
20413
+ "-no-whole-module-optimization",
20414
+ "-Xswiftc",
20415
+ "-incremental",
20416
+ "-Xswiftc",
20417
+ "-enable-batch-mode",
20418
+ // each batch repeats the same framework diagnostics.
20419
+ ...unoptimized ? [] : ["-Xswiftc", "-suppress-warnings"],
20420
+ "-Xswiftc",
20421
+ "-j",
20422
+ "-Xswiftc",
20423
+ String(driverJobs),
20424
+ // the release link strips all debug info, so none is generated.
20417
20425
  "-Xswiftc",
20418
20426
  "-gnone",
20419
20427
  "-Xcc",
@@ -20423,7 +20431,7 @@ async function buildFrameworkProducts(scratch, args) {
20423
20431
  "-Xswiftc",
20424
20432
  "-num-threads",
20425
20433
  "-Xswiftc",
20426
- String(unoptimized ? 1 : Math.min(4, os3.availableParallelism())),
20434
+ "1",
20427
20435
  ...swiftReproducibleBuildFlags([
20428
20436
  [path23.dirname(args.toolchainBin), "toolchain"],
20429
20437
  [args.moduleRoot, "framework"],
@@ -20804,7 +20812,7 @@ function stageFrameworkSource(moduleRoot, slot, frameworkKey, release) {
20804
20812
  return stagedModule;
20805
20813
  }
20806
20814
  function swiftLinkStamp(args) {
20807
- const hash = createHash15("sha256");
20815
+ const hash = createHash16("sha256");
20808
20816
  hash.update(`swift-link/v1
20809
20817
  ${args.frameworkKey}
20810
20818
  `);
@@ -20909,7 +20917,7 @@ async function compileSwiftProjectOnce(sources, options) {
20909
20917
  const distribution = swiftDistributionAt(moduleRoot);
20910
20918
  const mirrorDistribution = options.linkOnly || options.project ? null : distribution;
20911
20919
  if (distribution) refreshSwiftCacheHold(moduleRoot);
20912
- const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-QCLYMHWK.mjs")).useSwiftPackagePrebuilts(
20920
+ const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-LDSEGNPH.mjs")).useSwiftPackagePrebuilts(
20913
20921
  sources,
20914
20922
  moduleRoot,
20915
20923
  options.toolchainBin
@@ -20922,7 +20930,7 @@ async function compileSwiftProjectOnce(sources, options) {
20922
20930
  sources: path23.join(root, "Sources", "App"),
20923
20931
  multi: compileTargets(input).length > 0
20924
20932
  };
20925
- const sdkImage = options.linkOnly ? void 0 : await (await import("./swift-sdk-image-3RCB4ZV3.mjs")).buildSwiftSdkImage(
20933
+ const sdkImage = options.linkOnly ? void 0 : await (await import("./swift-sdk-image-HCOK3M44.mjs")).buildSwiftSdkImage(
20926
20934
  moduleRoot,
20927
20935
  !!guestGraph,
20928
20936
  distribution ? [] : linkedFrameworkTargets(moduleRoot, input).imports,
@@ -20931,7 +20939,7 @@ async function compileSwiftProjectOnce(sources, options) {
20931
20939
  const inputHash = swiftCompileInputHash(input, options.release);
20932
20940
  const moduleDigest = swiftModuleDigest(moduleRoot);
20933
20941
  const sourceHash = inputHash.copy().update(moduleDigest).digest("hex");
20934
- const hash = sdkImage ? createHash15("sha256").update(`${sourceHash}
20942
+ const hash = sdkImage ? createHash16("sha256").update(`${sourceHash}
20935
20943
  sdk module ${sdkImage.key}`).digest("hex") : sourceHash;
20936
20944
  const frameworkKey = swiftProjectBuildKey(moduleRoot, options.release);
20937
20945
  const sharedRoot = path23.join(swiftCacheDir(), "swift-projects", hash);
@@ -20967,8 +20975,8 @@ sdk module ${sdkImage.key}`).digest("hex") : sourceHash;
20967
20975
  input.optimize === true,
20968
20976
  input.unoptimized === true
20969
20977
  ] : null;
20970
- const compatShape = compatShapeParts ? createHash15("sha256").update(JSON.stringify(compatShapeParts)).digest("hex").slice(0, 16) : "";
20971
- const exactShape = compatShapeParts ? createHash15("sha256").update(
20978
+ const compatShape = compatShapeParts ? createHash16("sha256").update(JSON.stringify(compatShapeParts)).digest("hex").slice(0, 16) : "";
20979
+ const exactShape = compatShapeParts ? createHash16("sha256").update(
20972
20980
  JSON.stringify([...compatShapeParts, Object.keys(input.files).sort()])
20973
20981
  ).digest("hex").slice(0, 16) : "";
20974
20982
  const buildShape = compatShapeParts ? `${exactShape}
@@ -21458,17 +21466,17 @@ ${compatShape}` : "";
21458
21466
  }
21459
21467
  const receipt = path23.join(
21460
21468
  checkpoints,
21461
- createHash15("sha256").update(target).digest("hex")
21469
+ createHash16("sha256").update(target).digest("hex")
21462
21470
  );
21463
21471
  const headers = producers.map(headerPaths);
21464
21472
  for (const header of headers)
21465
21473
  if (existsSync9(header.original)) publishHeader(header);
21466
21474
  const fingerprint = () => {
21467
- const digest = createHash15("sha256").update(recipe);
21475
+ const digest = createHash16("sha256").update(recipe);
21468
21476
  for (const { original, emitted } of headers) {
21469
21477
  if (!existsSync9(original) || !existsSync9(emitted)) return;
21470
21478
  digest.update(
21471
- createHash15("sha256").update(readFileSync13(emitted)).digest()
21479
+ createHash16("sha256").update(readFileSync13(emitted)).digest()
21472
21480
  );
21473
21481
  }
21474
21482
  return digest.digest("hex");
@@ -21631,7 +21639,7 @@ ${compatShape}` : "";
21631
21639
  });
21632
21640
  sdkAsset = { key: sdkImage.key, sha256: sdkImage.sha256, binding };
21633
21641
  } else {
21634
- const { buildSwiftAppModule } = await import("./swift-sdk-app-module-AGXU4OHM.mjs");
21642
+ const { buildSwiftAppModule } = await import("./swift-sdk-app-module-OCQEJPVW.mjs");
21635
21643
  const binding = await buildSwiftAppModule({
21636
21644
  buildRoot: root2,
21637
21645
  toolchainBin: options.toolchainBin,
@@ -21710,6 +21718,9 @@ export {
21710
21718
  swiftSdkGuestLookups,
21711
21719
  nativeEntryKey,
21712
21720
  fetchNativeEntry,
21721
+ SWIFT_SDK_IMAGE_VERSION,
21722
+ SOURCE_SWIFT_FRAMEWORK_RECIPE,
21723
+ swiftSdkImageScope,
21713
21724
  brotliCompressQ11,
21714
21725
  brotliCompressQ4,
21715
21726
  brotliCompressQ6,
@@ -1,21 +1,21 @@
1
- /*! peach v0.1.2688 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2690 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  LAUNCH_METADATA_KEYS,
4
4
  LAUNCH_METADATA_KEYS_PATH
5
- } from "./chunk-JE57Q2CY.mjs";
5
+ } from "./chunk-T6GYFGP3.mjs";
6
6
  import {
7
7
  cacheDir,
8
8
  parseSwiftDistributionLock,
9
9
  readActiveRuntime,
10
10
  runtimeDir
11
- } from "./chunk-MLMEW7RE.mjs";
11
+ } from "./chunk-5PMTWOLF.mjs";
12
12
  import {
13
13
  SWIFT_WASM_TRIPLE,
14
14
  registerSwiftHostCompiler
15
- } from "./chunk-AD6NIYUH.mjs";
15
+ } from "./chunk-OFJYTZNL.mjs";
16
16
  import {
17
17
  isRecord
18
- } from "./chunk-CQCEUTO3.mjs";
18
+ } from "./chunk-SMUFAUA2.mjs";
19
19
 
20
20
  // src/swift-distribution.ts
21
21
  import { execFile as execFile2 } from "node:child_process";
@@ -1,10 +1,10 @@
1
- /*! peach v0.1.2688 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2690 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  SIM_LONG_PRESS_MAX_MS
4
- } from "./chunk-6H3D2XM3.mjs";
4
+ } from "./chunk-TKDSXDNO.mjs";
5
5
  import {
6
6
  isRecord
7
- } from "./chunk-CQCEUTO3.mjs";
7
+ } from "./chunk-SMUFAUA2.mjs";
8
8
 
9
9
  // ../peach-globals/src/globalsContract.ts
10
10
  var LEGACY_ALIAS_MARKER = Symbol.for("sootsim.legacy-aliases-installed");
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2688 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2690 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/public-brand.ts
4
4
  var name = "Peach";
@@ -1,13 +1,13 @@
1
- /*! peach v0.1.2688 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2690 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  isSwiftImageVariants
4
- } from "./chunk-RSGYHFRW.mjs";
4
+ } from "./chunk-MYSQV4YK.mjs";
5
5
  import {
6
6
  findBundleFooter
7
- } from "./chunk-3JMEFQOH.mjs";
7
+ } from "./chunk-VT3KFJLL.mjs";
8
8
  import {
9
9
  isRecord
10
- } from "./chunk-CQCEUTO3.mjs";
10
+ } from "./chunk-SMUFAUA2.mjs";
11
11
 
12
12
  // src/android-string-value.ts
13
13
  function compileAndroidStringValue(text, where) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2688 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2690 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // ../../node_modules/acorn/dist/acorn.mjs
4
4
  var astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 7, 9, 32, 4, 318, 1, 78, 5, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 68, 8, 2, 0, 3, 0, 2, 3, 2, 4, 2, 0, 15, 1, 83, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 7, 19, 58, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 199, 7, 137, 9, 54, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 55, 9, 266, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 10, 5350, 0, 7, 14, 11465, 27, 2343, 9, 87, 9, 39, 4, 60, 6, 26, 9, 535, 9, 470, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4178, 9, 519, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 245, 1, 2, 9, 233, 0, 3, 0, 8, 1, 6, 0, 475, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2688 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2690 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/sleep.ts
4
4
  function sleep(ms) {
@@ -1,8 +1,10 @@
1
- /*! peach v0.1.2688 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2690 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  DARWIN_RECORDS_PREFIX,
4
4
  KEEP_WASM_NAMES,
5
5
  SDK_DYLD_RESOLVER,
6
+ SOURCE_SWIFT_FRAMEWORK_RECIPE,
7
+ SWIFT_SDK_IMAGE_VERSION,
6
8
  WASM_LOWER_IDENTITY,
7
9
  chunkKey,
8
10
  codeOnlySdkImage,
@@ -23,28 +25,29 @@ import {
23
25
  strongDefinitions,
24
26
  swiftProjectBuildKey,
25
27
  swiftSdkGuestLookups,
28
+ swiftSdkImageScope,
26
29
  unslottedFunctions,
27
30
  wasmSections
28
- } from "./chunk-CNHBDKNE.mjs";
31
+ } from "./chunk-7P2EJJFY.mjs";
29
32
  import {
30
33
  withSwiftRootLock,
31
34
  withSwiftRootReadHolds
32
- } from "./chunk-442RUXW7.mjs";
35
+ } from "./chunk-RPH46F3J.mjs";
33
36
  import {
34
37
  swiftDistributionAt,
35
38
  swiftModuleDigest,
36
39
  swiftModuleToolchain,
37
40
  swiftSdkPaths
38
- } from "./chunk-MLMEW7RE.mjs";
41
+ } from "./chunk-5PMTWOLF.mjs";
39
42
  import {
40
43
  SWIFT_WASM_TRIPLE,
41
44
  sourceSwiftCheckout,
42
45
  swiftCacheDir
43
- } from "./chunk-AD6NIYUH.mjs";
46
+ } from "./chunk-OFJYTZNL.mjs";
44
47
 
45
48
  // src/swift-sdk-image.ts
46
49
  import { execFile } from "node:child_process";
47
- import { createHash as createHash2 } from "node:crypto";
50
+ import { createHash } from "node:crypto";
48
51
  import {
49
52
  existsSync,
50
53
  mkdirSync,
@@ -57,16 +60,6 @@ import {
57
60
  } from "node:fs";
58
61
  import path from "node:path";
59
62
  import { promisify } from "node:util";
60
-
61
- // src/swift-sdk-image-recipe.ts
62
- import { createHash } from "node:crypto";
63
- var SWIFT_SDK_IMAGE_VERSION = 13;
64
- var swiftSdkImageScope = (scopedLookups) => scopedLookups ? "guest image scopes 9\n" : "unscoped constructor order 1\n";
65
- var SWIFT_SDK_IMAGE_RECIPE = createHash("sha256").update(`swift-sdk-image
66
- ${SWIFT_SDK_IMAGE_VERSION}
67
- `).update(WASM_LOWER_IDENTITY).update(swiftSdkImageScope(false)).update(swiftSdkImageScope(true)).digest("hex").slice(0, 16);
68
-
69
- // src/swift-sdk-image.ts
70
63
  var run = promisify(execFile);
71
64
  var SWIFT_SDK_APP_MEMORY_BASE = 8372224;
72
65
  var SWIFT_SDK_MEMORY_BASE = 128 * 1024 * 1024;
@@ -157,9 +150,10 @@ function swiftSdkImageProducts(moduleRoot, frameworkImports) {
157
150
  function swiftSdkImageKey(moduleRoot, scopedLookups = false, products = []) {
158
151
  const distribution = swiftDistributionAt(moduleRoot);
159
152
  const inputs = distribution ? swiftSdkDistributionInputs(distribution) : swiftModuleDigest(moduleRoot);
160
- return createHash2("sha256").update(`swift-sdk-image
153
+ return createHash("sha256").update(`swift-sdk-image
161
154
  ${SWIFT_SDK_IMAGE_VERSION}
162
- `).update(WASM_LOWER_IDENTITY).update(KEEP_WASM_NAMES ? "\nnames\n" : "\n").update(swiftSdkImageScope(scopedLookups)).update(inputs).update(products.length === 0 ? "" : `
155
+ `).update(WASM_LOWER_IDENTITY).update(KEEP_WASM_NAMES ? "\nnames\n" : "\n").update(swiftSdkImageScope(scopedLookups)).update(distribution ? "" : `${SOURCE_SWIFT_FRAMEWORK_RECIPE}
156
+ `).update(inputs).update(products.length === 0 ? "" : `
163
157
  products ${products.join(" ")}`).digest("hex").slice(0, 32);
164
158
  }
165
159
  var IMAGE_FILE = "sdk.wasm";
@@ -229,7 +223,7 @@ async function buildSwiftSdkImage(moduleRoot, scopedLookups = false, frameworkIm
229
223
  const existing = cached(directory, key);
230
224
  if (existing) return existing;
231
225
  if (!options?.producer && !swiftDistributionAt(moduleRoot) && path.resolve(moduleRoot) === sourceSwiftCheckout() && process.platform === "linux" && process.env.TM_SESSION) {
232
- const { produceSwiftSdkImage } = await import("./swift-sdk-image-producer-GSEGACMU.mjs");
226
+ const { produceSwiftSdkImage } = await import("./swift-sdk-image-producer-M3LWXZRI.mjs");
233
227
  await produceSwiftSdkImage({
234
228
  moduleRoot,
235
229
  key,
@@ -266,7 +260,7 @@ async function buildSwiftSdkImage(moduleRoot, scopedLookups = false, frameworkIm
266
260
  stage
267
261
  ]);
268
262
  const image = cached(stage, key);
269
- if (!image || createHash2("sha256").update(readFileSync(image.image)).digest("hex") !== image.sha256)
263
+ if (!image || createHash("sha256").update(readFileSync(image.image)).digest("hex") !== image.sha256)
270
264
  throw new Error(`invalid published Swift SDK image ${key}`);
271
265
  rmSync(directory, { recursive: true, force: true });
272
266
  renameSync(stage, directory);
@@ -540,7 +534,7 @@ async function linkSwiftSdkImage(moduleRoot, key, directory, work, scopedLookups
540
534
  writeFileSync(path.join(work, INTERFACE_FILE), JSON.stringify(sdkInterface));
541
535
  writeFileSync(
542
536
  path.join(work, IMAGE_DIGEST),
543
- typeof Bun !== "undefined" ? new Bun.CryptoHasher("sha256").update(image).digest("hex") : createHash2("sha256").update(image).digest("hex")
537
+ typeof Bun !== "undefined" ? new Bun.CryptoHasher("sha256").update(image).digest("hex") : createHash("sha256").update(image).digest("hex")
544
538
  );
545
539
  if (swiftSdkImageKey(
546
540
  moduleRoot,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2688 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2690 | (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.2688 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2690 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/swiftTargetContract.ts
4
4
  var SWIFT_WASM_TRIPLE = "wasm64-unknown-wasip1-threads";
@@ -1,9 +1,9 @@
1
- /*! peach v0.1.2688 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2690 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  killOrphanedProcessGroup,
4
4
  readProcessTable,
5
5
  terminateProcessGroup
6
- } from "./chunk-AD6NIYUH.mjs";
6
+ } from "./chunk-OFJYTZNL.mjs";
7
7
 
8
8
  // src/swift-root-lock.ts
9
9
  import { AsyncLocalStorage } from "node:async_hooks";
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2688 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2690 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // ../peach-globals/src/swiftDiscoveryContract.ts
4
4
  var SWIFT_PACKAGE_PATH = "/__peach/swift-package/";
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2688 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2690 | (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
- /*! peach v0.1.2688 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2690 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/launchMetadataContract.ts
4
4
  var LAUNCH_METADATA_QUERY_PARAM = "launchMetadata";
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2688 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2690 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/plist.ts
4
4
  var NAMED_ENTITIES = {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2688 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2690 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/bridge-contract.ts
4
4
  var REFUSED_PERFORM_STEP_TYPES = [