peachsim 0.1.2774 → 0.1.2776

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 (149) 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 +197 -182
  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 +2 -2
  25. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  26. package/dist-lib/esm-chunks/{acorn-WYOHSUVU.mjs → acorn-IHHNENTV.mjs} +3 -3
  27. package/dist-lib/esm-chunks/{chunk-TJMPCXFB.mjs → chunk-2IFXQO2K.mjs} +1 -1
  28. package/dist-lib/esm-chunks/{chunk-MZX6AAGH.mjs → chunk-2TRDAQRU.mjs} +6 -6
  29. package/dist-lib/esm-chunks/{chunk-ONTQLRM4.mjs → chunk-36HOGKZO.mjs} +1 -1
  30. package/dist-lib/esm-chunks/{chunk-CRXKBBYS.mjs → chunk-3XQGFH5D.mjs} +173 -157
  31. package/dist-lib/esm-chunks/{chunk-K7A5D6XB.mjs → chunk-BB6SVIH3.mjs} +1 -1
  32. package/dist-lib/esm-chunks/{chunk-62NI6YCH.mjs → chunk-D5UZSYPE.mjs} +1 -1
  33. package/dist-lib/esm-chunks/{chunk-R7HK74K2.mjs → chunk-EYYLB42E.mjs} +1 -1
  34. package/dist-lib/esm-chunks/{chunk-TRALQNBC.mjs → chunk-H3YX4XO2.mjs} +1 -1
  35. package/dist-lib/esm-chunks/{chunk-CDZ6YIIB.mjs → chunk-HA4BLBFF.mjs} +1 -1
  36. package/dist-lib/esm-chunks/{chunk-RC56H3GQ.mjs → chunk-JDQEHVXK.mjs} +1 -1
  37. package/dist-lib/esm-chunks/{chunk-F3K2ACFM.mjs → chunk-JHFUDZ3W.mjs} +3 -3
  38. package/dist-lib/esm-chunks/{chunk-M45GB4YE.mjs → chunk-JUQ54SX6.mjs} +2 -2
  39. package/dist-lib/esm-chunks/{chunk-P5VUFHVB.mjs → chunk-M7TINJ53.mjs} +1 -1
  40. package/dist-lib/esm-chunks/{chunk-W2YKROSW.mjs → chunk-NJM5HDIY.mjs} +1 -1
  41. package/dist-lib/esm-chunks/{chunk-3SQGKA6Z.mjs → chunk-O3DUF5LK.mjs} +1 -1
  42. package/dist-lib/esm-chunks/{chunk-KGVTCLU7.mjs → chunk-OM6U2RS3.mjs} +4 -4
  43. package/dist-lib/esm-chunks/{chunk-B3GMGDAC.mjs → chunk-PLCLVIAA.mjs} +5 -5
  44. package/dist-lib/esm-chunks/{chunk-AEE6PLCM.mjs → chunk-QOWIQPRI.mjs} +1 -1
  45. package/dist-lib/esm-chunks/{chunk-RGFBDGCR.mjs → chunk-RCESKORX.mjs} +1 -1
  46. package/dist-lib/esm-chunks/{chunk-IKCQ5XQP.mjs → chunk-RPKBYOUS.mjs} +6 -6
  47. package/dist-lib/esm-chunks/{chunk-VR25GACU.mjs → chunk-UQFQZLHK.mjs} +1 -1
  48. package/dist-lib/esm-chunks/{chunk-2JGH43VT.mjs → chunk-XQUTZ3B5.mjs} +1 -1
  49. package/dist-lib/esm-chunks/{chunk-ETJLJYIY.mjs → chunk-YNMAR7R2.mjs} +1 -1
  50. package/dist-lib/esm-chunks/{chunk-4K3ZR6YW.mjs → chunk-Z6UVYLRY.mjs} +1 -1
  51. package/dist-lib/esm-chunks/{metro-layout-parser-QG6UBS3S.mjs → metro-layout-parser-IA2YCSEY.mjs} +3 -3
  52. package/dist-lib/esm-chunks/{swift-package-prebuilt-KQJ2G4YJ.mjs → swift-package-prebuilt-TL66ITNV.mjs} +12 -12
  53. package/dist-lib/esm-chunks/{swift-sdk-app-module-RL3LZGNU.mjs → swift-sdk-app-module-K7Y4YRW3.mjs} +16 -16
  54. package/dist-lib/esm-chunks/{swift-sdk-image-L7SO7UED.mjs → swift-sdk-image-ZKK3YV3Y.mjs} +16 -16
  55. package/dist-lib/esm-chunks/{swift-sdk-image-producer-QYH6Z7VW.mjs → swift-sdk-image-producer-Q4ENQ4FM.mjs} +5 -5
  56. package/dist-lib/expo-swift-bundle.cjs +196 -181
  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 +4206 -4192
  61. package/dist-lib/host/fetch-proxy-handler.cjs +344 -341
  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 +86 -86
  87. package/dist-lib/public-origins-lib.json +96 -96
  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 +2791 -2777
  95. package/dist-lib/swift-compile.cjs +192 -177
  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/dist-types/packages/peach-engine/src/engine/app-fontContract.d.ts +0 -9
  123. package/dist-types/packages/peach-engine/src/engine/image-host.d.ts +0 -3
  124. package/dist-types/packages/peach-engine/src/engine/native-android-stretch.d.ts +0 -15
  125. package/dist-types/packages/peach-engine/src/engine/native-app-catalog.d.ts +0 -1
  126. package/dist-types/packages/peach-engine/src/engine/native-app-font-config.d.ts +1 -3
  127. package/dist-types/packages/peach-engine/src/engine/native-boundary-client.d.ts +0 -3
  128. package/dist-types/packages/peach-engine/src/engine/types.d.ts +0 -9
  129. package/dist-types/packages/peach-engine/src/react-native/AppState.d.ts +0 -1
  130. package/dist-types/packages/peach-engine/src/react-native/Keyboard.d.ts +0 -1
  131. package/dist-types/packages/peach-kit/src/ring-mode-state.d.ts +0 -1
  132. package/dist-types/packages/peach-kit/src/transitions/screen-transition-math.d.ts +0 -31
  133. package/package.json +1 -1
  134. package/runtime-companion.json +1 -1
  135. package/src/assetCatalogContract.ts +0 -6
  136. package/src/expo-pod-prebuilt.ts +0 -63
  137. package/src/native-package-slice.ts +0 -2
  138. package/src/podfile-cocoapods.ts +0 -5
  139. package/src/runtime-assets.ts +0 -9
  140. package/src/swift-compile.ts +9 -6
  141. package/src/swift-distribution-mirror.ts +16 -5
  142. package/src/swift-guest-link.ts +0 -9
  143. package/src/swift-guest-projection.ts +1 -46
  144. package/src/swift-guest-runtime-plan.ts +4 -80
  145. package/src/swift-header-compiler.ts +24 -9
  146. package/src/swift-wasm-prune.ts +0 -5
  147. package/src/swiftRuntimeProductContract.ts +1 -0
  148. package/src/wasm-narrow-boundary.ts +0 -13
  149. package/src/wasm-lazy-split-tool.ts +0 -210
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2774 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2776 | (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;
@@ -5535,6 +5535,128 @@ var init_swiftContract = __esm({
5535
5535
  }
5536
5536
  });
5537
5537
 
5538
+ // src/swiftRuntimeProductContract.ts
5539
+ var v, SWIFT_FRAMEWORK_PRODUCT_FILE, swiftFrameworkProductSchema, SWIFT_SDK_PRODUCT_FILE, SWIFT_SDK_PRODUCT_DIRECTORY, swiftSdkProductSchema, swiftSdkProductsSchema;
5540
+ var init_swiftRuntimeProductContract = __esm({
5541
+ "src/swiftRuntimeProductContract.ts"() {
5542
+ "use strict";
5543
+ v = __toESM(require("peachsim/vendor/valibot"), 1);
5544
+ init_swiftTargetContract();
5545
+ SWIFT_FRAMEWORK_PRODUCT_FILE = "lib/framework-product.json";
5546
+ swiftFrameworkProductSchema = v.object({
5547
+ version: v.literal(1),
5548
+ packageName: v.string(),
5549
+ manifestSha256: v.pipe(v.string(), v.regex(/^[a-f0-9]{64}$/)),
5550
+ product: v.object({
5551
+ name: v.string(),
5552
+ linkage: v.picklist(["static", "dynamic", "automatic"]),
5553
+ targets: v.array(v.string())
5554
+ }),
5555
+ // framework names are distinct from SDK library linkNames. they identify
5556
+ // the packaged owner, not an observed native image dependency.
5557
+ frameworkAliases: v.array(
5558
+ v.object({
5559
+ kind: v.literal("framework"),
5560
+ name: v.string(),
5561
+ targets: v.array(v.string()),
5562
+ moduleMap: v.string(),
5563
+ moduleMapSha256: v.pipe(v.string(), v.regex(/^[a-f0-9]{64}$/)),
5564
+ wasmSdkId: v.string(),
5565
+ wasmSdkChecksum: v.pipe(v.string(), v.regex(/^[a-f0-9]{64}$/))
5566
+ })
5567
+ ),
5568
+ targets: v.array(
5569
+ v.object({
5570
+ name: v.string(),
5571
+ path: v.string(),
5572
+ kind: v.picklist(["regular", "system"]),
5573
+ dependencies: v.array(v.string())
5574
+ })
5575
+ ),
5576
+ objects: v.array(v.object({ path: v.string(), target: v.string() })),
5577
+ autolink: v.array(v.string())
5578
+ });
5579
+ SWIFT_SDK_PRODUCT_FILE = "runtime-products.json";
5580
+ SWIFT_SDK_PRODUCT_DIRECTORY = "swift.xctoolchain/usr/lib/swift_static/wasi";
5581
+ swiftSdkProductSchema = v.pipe(
5582
+ v.object({
5583
+ id: v.string(),
5584
+ installName: v.string(),
5585
+ target: v.literal(SWIFT_WASM_TRIPLE),
5586
+ linkNames: v.array(v.string()),
5587
+ // absent records declare no framework namespace, even when a library name matches.
5588
+ frameworkAliases: v.optional(
5589
+ v.array(
5590
+ v.object({
5591
+ name: v.string(),
5592
+ moduleMap: v.string(),
5593
+ moduleMapSha256: v.pipe(v.string(), v.regex(/^[a-f0-9]{64}$/))
5594
+ })
5595
+ ),
5596
+ []
5597
+ ),
5598
+ buildDependencies: v.array(v.string()),
5599
+ linkOwnership: v.picklist(["image", "containing-image"]),
5600
+ linkDependencies: v.nullable(v.array(v.string())),
5601
+ autolink: v.array(v.string()),
5602
+ sources: v.array(
5603
+ v.object({
5604
+ path: v.string(),
5605
+ sha256: v.pipe(v.string(), v.regex(/^[a-f0-9]{64}$/))
5606
+ })
5607
+ ),
5608
+ artifacts: v.array(
5609
+ v.variant("kind", [
5610
+ v.object({
5611
+ kind: v.literal("archive"),
5612
+ path: v.string(),
5613
+ sha256: v.pipe(v.string(), v.regex(/^[a-f0-9]{64}$/)),
5614
+ members: v.array(
5615
+ v.object({
5616
+ name: v.string(),
5617
+ ordinal: v.pipe(v.number(), v.integer(), v.minValue(1)),
5618
+ sha256: v.pipe(v.string(), v.regex(/^[a-f0-9]{64}$/)),
5619
+ sources: v.array(v.string())
5620
+ })
5621
+ )
5622
+ }),
5623
+ v.object({
5624
+ kind: v.literal("object"),
5625
+ path: v.string(),
5626
+ sha256: v.pipe(v.string(), v.regex(/^[a-f0-9]{64}$/)),
5627
+ sources: v.array(v.string()),
5628
+ input: v.optional(
5629
+ v.object({
5630
+ product: v.string(),
5631
+ artifact: v.object({
5632
+ path: v.string(),
5633
+ sha256: v.pipe(v.string(), v.regex(/^[a-f0-9]{64}$/))
5634
+ }),
5635
+ member: v.optional(
5636
+ v.object({
5637
+ name: v.string(),
5638
+ ordinal: v.pipe(v.number(), v.integer(), v.minValue(1)),
5639
+ sha256: v.pipe(v.string(), v.regex(/^[a-f0-9]{64}$/))
5640
+ })
5641
+ )
5642
+ })
5643
+ )
5644
+ })
5645
+ ])
5646
+ )
5647
+ }),
5648
+ v.check(
5649
+ (product) => product.linkOwnership === "image" || product.linkDependencies === null,
5650
+ "containing-image products cannot declare an image scope"
5651
+ )
5652
+ );
5653
+ swiftSdkProductsSchema = v.object({
5654
+ version: v.literal(1),
5655
+ products: v.array(swiftSdkProductSchema)
5656
+ });
5657
+ }
5658
+ });
5659
+
5538
5660
  // src/swift-distribution-mirror.ts
5539
5661
  function syncSwiftDistributionMirror(root, source, manifest) {
5540
5662
  const mirror = import_node_path13.default.join(root, SWIFT_DISTRIBUTION_MIRROR);
@@ -5597,10 +5719,12 @@ function syncSwiftSdkMirrorFromView(root, frameworkRoot, sourceView, sourceSdkId
5597
5719
  const options = ["--swift-sdks-path", mirror];
5598
5720
  const interrupted = (0, import_node_fs13.existsSync)(syncingMarker);
5599
5721
  const previous = interrupted ? null : readSdkRecord(recordFile);
5600
- if (previous && previous.sourceView === sourceView && previous.sourceSdkId === sourceSdkId && (0, import_node_fs13.existsSync)(bundleInfo) && (0, import_node_fs13.existsSync)(import_node_path13.default.join(destTriple, "swift-sdk.json"))) {
5722
+ const sourceTriple = resolveSdkViewTripleDir(sourceView, sourceSdkId);
5723
+ const catalog = import_node_path13.default.join(destTriple, SDK_PRODUCT_CATALOG);
5724
+ const sourceCatalog = import_node_path13.default.join(sourceTriple, SDK_PRODUCT_CATALOG);
5725
+ if (previous && previous.sourceView === sourceView && previous.sourceSdkId === sourceSdkId && (0, import_node_fs13.existsSync)(bundleInfo) && (0, import_node_fs13.existsSync)(import_node_path13.default.join(destTriple, "swift-sdk.json")) && (!(0, import_node_fs13.lstatSync)(sourceCatalog, { throwIfNoEntry: false })?.isSymbolicLink() || (0, import_node_fs13.lstatSync)(catalog, { throwIfNoEntry: false })?.isSymbolicLink())) {
5601
5726
  return { id: SWIFT_SDK_MIRROR_ID, options, toolsetChanged: false };
5602
5727
  }
5603
- const sourceTriple = resolveSdkViewTripleDir(sourceView, sourceSdkId);
5604
5728
  if (!previous) {
5605
5729
  if (!interrupted) (0, import_node_fs13.rmSync)(mirror, { recursive: true, force: true });
5606
5730
  (0, import_node_fs13.rmSync)(import_node_path13.default.join(root, ".build"), { recursive: true, force: true });
@@ -5640,7 +5764,7 @@ function syncSwiftSdkMirrorFromView(root, frameworkRoot, sourceView, sourceSdkId
5640
5764
  (0, import_node_fs13.rmSync)(import_node_path13.default.join(root, ".build"), { recursive: true, force: true });
5641
5765
  } else {
5642
5766
  const compileTouched = touched.filter(
5643
- (file) => !file.endsWith(".a") && !file.endsWith(".o") && !file.startsWith("rust/") && file !== "runtime-products.json"
5767
+ (file) => !file.endsWith(".a") && !file.endsWith(".o") && !file.startsWith("rust/") && file !== SWIFT_SDK_PRODUCT_FILE && file !== SDK_PRODUCT_CATALOG
5644
5768
  );
5645
5769
  const headersChanged = compileTouched.some(
5646
5770
  (file) => !file.endsWith(".swiftmodule") && !file.endsWith(".swiftdoc") && !file.endsWith(".swiftsourceinfo") && !file.endsWith(".abi.json")
@@ -5709,8 +5833,8 @@ function syncSdkTree(sourceDir, destDir, prefix, distributionPrefix, changed, re
5709
5833
  const dest = import_node_path13.default.join(destDir, entry.name);
5710
5834
  const destLstat = (0, import_node_fs13.lstatSync)(dest, { throwIfNoEntry: false });
5711
5835
  if (entry.isSymbolicLink()) {
5712
- const target = (0, import_node_fs13.readlinkSync)(src);
5713
- if (target.startsWith(distributionPrefix)) {
5836
+ const target = import_node_path13.default.resolve(sourceDir, (0, import_node_fs13.readlinkSync)(src));
5837
+ if (target.startsWith(distributionPrefix) || rel === SDK_PRODUCT_CATALOG) {
5714
5838
  if (destLstat?.isSymbolicLink() && (0, import_node_fs13.readlinkSync)(dest) === target) continue;
5715
5839
  if (destLstat) (0, import_node_fs13.rmSync)(dest, { recursive: true, force: true });
5716
5840
  (0, import_node_fs13.symlinkSync)(target, dest);
@@ -5832,7 +5956,7 @@ function invalidateBuildDependents(root, spellings, read, headersChanged) {
5832
5956
  if (headersChanged)
5833
5957
  (0, import_node_fs13.rmSync)(import_node_path13.default.join(scratch2, "ModuleCache"), { recursive: true, force: true });
5834
5958
  }
5835
- var import_node_crypto7, import_node_fs13, import_node_path13, SWIFT_DISTRIBUTION_MIRROR, SWIFT_SDK_MIRROR, SWIFT_SDK_MIRROR_ID, SWIFT_SDK_MIRROR_RECORD, SWIFT_SDK_MIRROR_SYNCING, SWIFT_SDK_MIRROR_BUNDLE, SWIFT_DISTRIBUTION_MIRROR_SYNCING;
5959
+ var import_node_crypto7, import_node_fs13, import_node_path13, SWIFT_DISTRIBUTION_MIRROR, SWIFT_SDK_MIRROR, SWIFT_SDK_MIRROR_ID, SWIFT_SDK_MIRROR_RECORD, SWIFT_SDK_MIRROR_SYNCING, SWIFT_SDK_MIRROR_BUNDLE, SWIFT_DISTRIBUTION_MIRROR_SYNCING, SDK_PRODUCT_CATALOG;
5836
5960
  var init_swift_distribution_mirror = __esm({
5837
5961
  "src/swift-distribution-mirror.ts"() {
5838
5962
  "use strict";
@@ -5844,6 +5968,7 @@ var init_swift_distribution_mirror = __esm({
5844
5968
  init_swift_distribution_contract();
5845
5969
  init_swift_shared_sdk();
5846
5970
  init_swiftContract();
5971
+ init_swiftRuntimeProductContract();
5847
5972
  init_swiftTargetContract();
5848
5973
  SWIFT_DISTRIBUTION_MIRROR = ".peach-distribution";
5849
5974
  SWIFT_SDK_MIRROR = ".peach-sdk";
@@ -5852,6 +5977,7 @@ var init_swift_distribution_mirror = __esm({
5852
5977
  SWIFT_SDK_MIRROR_SYNCING = ".peach-sdk-syncing";
5853
5978
  SWIFT_SDK_MIRROR_BUNDLE = "peach-wasm.artifactbundle";
5854
5979
  SWIFT_DISTRIBUTION_MIRROR_SYNCING = ".peach-distribution-syncing";
5980
+ SDK_PRODUCT_CATALOG = `${SWIFT_SDK_PRODUCT_DIRECTORY}/${SWIFT_SDK_PRODUCT_FILE}`;
5855
5981
  }
5856
5982
  });
5857
5983
 
@@ -5978,8 +6104,8 @@ function guestSourceImages(input, swift) {
5978
6104
  membership = sourceImageMembership(graph);
5979
6105
  }
5980
6106
  if (promoted.length) {
5981
- const names = v.parse(
5982
- v.array(v.string()),
6107
+ const names = v2.parse(
6108
+ v2.array(v2.string()),
5983
6109
  JSON.parse(
5984
6110
  (0, import_node_child_process9.execFileSync)(
5985
6111
  swift,
@@ -6170,13 +6296,13 @@ function planGuestSourceLink(graph, images, callers, artifacts, symbols) {
6170
6296
  symbols
6171
6297
  };
6172
6298
  }
6173
- var import_node_child_process9, import_node_path14, v, NATIVE_ARCHIVE_OBJECTS_DIR;
6299
+ var import_node_child_process9, import_node_path14, v2, NATIVE_ARCHIVE_OBJECTS_DIR;
6174
6300
  var init_swift_guest_source_plan = __esm({
6175
6301
  "src/swift-guest-source-plan.ts"() {
6176
6302
  "use strict";
6177
6303
  import_node_child_process9 = require("node:child_process");
6178
6304
  import_node_path14 = __toESM(require("node:path"), 1);
6179
- v = __toESM(require("peachsim/vendor/valibot"), 1);
6305
+ v2 = __toESM(require("peachsim/vendor/valibot"), 1);
6180
6306
  init_swift_package();
6181
6307
  init_swift_toolchain();
6182
6308
  NATIVE_ARCHIVE_OBJECTS_DIR = ".peach-native-libraries";
@@ -6363,7 +6489,7 @@ var init_guest_engine_services = __esm({
6363
6489
  });
6364
6490
 
6365
6491
  // src/swift-guest-linked-spans.ts
6366
- function number(bytes, start) {
6492
+ function number2(bytes, start) {
6367
6493
  let value = 0;
6368
6494
  let shift = 0;
6369
6495
  let pos = start;
@@ -6376,7 +6502,7 @@ function number(bytes, start) {
6376
6502
  }
6377
6503
  }
6378
6504
  function signedAddress(bytes, start) {
6379
- const [value, end] = number(bytes, start);
6505
+ const [value, end] = number2(bytes, start);
6380
6506
  const bits = (end - start) * 7;
6381
6507
  const signed = bits < 32 && bytes[end - 1] & 64 ? value - 2 ** bits : value;
6382
6508
  return [signed >>> 0, end];
@@ -6384,7 +6510,7 @@ function signedAddress(bytes, start) {
6384
6510
  function startupDataInitializers(body) {
6385
6511
  let pos = 0;
6386
6512
  const read = () => {
6387
- const [value, next] = number(body, pos);
6513
+ const [value, next] = number2(body, pos);
6388
6514
  pos = next;
6389
6515
  return value;
6390
6516
  };
@@ -6463,7 +6589,7 @@ function layout(bytes, readData = true, requireExports = true) {
6463
6589
  let offset = 8;
6464
6590
  while (offset < bytes.length) {
6465
6591
  const id = bytes[offset++];
6466
- const [size, start2] = number(bytes, offset);
6592
+ const [size, start2] = number2(bytes, offset);
6467
6593
  if (start2 + size > bytes.length) throw new Error("invalid wasm section");
6468
6594
  if (id) sections.set(id, [start2, start2 + size]);
6469
6595
  offset = start2 + size;
@@ -6472,7 +6598,7 @@ function layout(bytes, readData = true, requireExports = true) {
6472
6598
  if (!exports2) throw new Error("guest wasm does not export memory and table");
6473
6599
  let exportPosition = exports2[0];
6474
6600
  const readExport2 = () => {
6475
- const [value, next] = number(bytes, exportPosition);
6601
+ const [value, next] = number2(bytes, exportPosition);
6476
6602
  exportPosition = next;
6477
6603
  return value;
6478
6604
  };
@@ -6493,7 +6619,7 @@ function layout(bytes, readData = true, requireExports = true) {
6493
6619
  if (section2) {
6494
6620
  let pos = section2[0];
6495
6621
  const read = () => {
6496
- const [value, next] = number(bytes, pos);
6622
+ const [value, next] = number2(bytes, pos);
6497
6623
  pos = next;
6498
6624
  return value;
6499
6625
  };
@@ -6536,7 +6662,7 @@ function layout(bytes, readData = true, requireExports = true) {
6536
6662
  if (memory) {
6537
6663
  let pos = memory[0];
6538
6664
  const read = () => {
6539
- const [value, next] = number(bytes, pos);
6665
+ const [value, next] = number2(bytes, pos);
6540
6666
  pos = next;
6541
6667
  return value;
6542
6668
  };
@@ -6550,7 +6676,7 @@ function layout(bytes, readData = true, requireExports = true) {
6550
6676
  }
6551
6677
  if (memoryPages === void 0) throw new Error("guest wasm has no memory");
6552
6678
  const start = sections.get(8);
6553
- const startFunction = start ? number(bytes, start[0])[0] : void 0;
6679
+ const startFunction = start ? number2(bytes, start[0])[0] : void 0;
6554
6680
  let startup;
6555
6681
  const functionsByCodeOffset = /* @__PURE__ */ new Map();
6556
6682
  const code = sections.get(10);
@@ -6606,7 +6732,7 @@ function layout(bytes, readData = true, requireExports = true) {
6606
6732
  return b0;
6607
6733
  }
6608
6734
  }
6609
- const [value, next] = number(bytes, pos);
6735
+ const [value, next] = number2(bytes, pos);
6610
6736
  pos = next;
6611
6737
  return value;
6612
6738
  };
@@ -6643,7 +6769,7 @@ function layout(bytes, readData = true, requireExports = true) {
6643
6769
  if (dataSection && readData) {
6644
6770
  let pos = dataSection[0];
6645
6771
  const read = () => {
6646
- const [value, next] = number(bytes, pos);
6772
+ const [value, next] = number2(bytes, pos);
6647
6773
  pos = next;
6648
6774
  return value;
6649
6775
  };
@@ -6987,7 +7113,7 @@ function takeGuestStartupData(wasm, address, length) {
6987
7113
  while (offset < wasm.length) {
6988
7114
  const header = offset;
6989
7115
  const id = wasm[offset++];
6990
- const [size2, start2] = number(wasm, offset);
7116
+ const [size2, start2] = number2(wasm, offset);
6991
7117
  if (id) sections.set(id, [header, start2, start2 + size2]);
6992
7118
  offset = start2 + size2;
6993
7119
  }
@@ -6995,13 +7121,13 @@ function takeGuestStartupData(wasm, address, length) {
6995
7121
  const code = sections.get(10);
6996
7122
  const data = sections.get(11);
6997
7123
  if (!start || !code || !data) throw new Error("guest wasm has no startup data");
6998
- const [startFunction] = number(wasm, start[1]);
7124
+ const [startFunction] = number2(wasm, start[1]);
6999
7125
  let functionImports = 0;
7000
7126
  const imports = sections.get(2);
7001
7127
  if (imports) {
7002
7128
  let pos2 = imports[1];
7003
7129
  const read = () => {
7004
- const [value, next2] = number(wasm, pos2);
7130
+ const [value, next2] = number2(wasm, pos2);
7005
7131
  pos2 = next2;
7006
7132
  return value;
7007
7133
  };
@@ -7033,29 +7159,29 @@ function takeGuestStartupData(wasm, address, length) {
7033
7159
  }
7034
7160
  let pos = code[1];
7035
7161
  let body;
7036
- let [count, next] = number(wasm, pos);
7162
+ let [count, next] = number2(wasm, pos);
7037
7163
  pos = next;
7038
7164
  for (let index = 0; index < count; index++) {
7039
- const [size2, bodyStart] = number(wasm, pos);
7165
+ const [size2, bodyStart] = number2(wasm, pos);
7040
7166
  if (functionImports + index === startFunction) body = [bodyStart, bodyStart + size2];
7041
7167
  pos = bodyStart + size2;
7042
7168
  }
7043
7169
  if (!body) throw new Error("guest wasm start function has no body");
7044
7170
  const segments = [];
7045
7171
  pos = data[1];
7046
- [count, pos] = number(wasm, pos);
7172
+ [count, pos] = number2(wasm, pos);
7047
7173
  for (let index = 0; index < count; index++) {
7048
7174
  const header = pos;
7049
- const [flags, afterFlags] = number(wasm, pos);
7175
+ const [flags, afterFlags] = number2(wasm, pos);
7050
7176
  pos = afterFlags;
7051
7177
  let active;
7052
7178
  if (flags !== 1) {
7053
- if (flags === 2) pos = number(wasm, pos)[1];
7179
+ if (flags === 2) pos = number2(wasm, pos)[1];
7054
7180
  [active, pos] = signedAddress(wasm, pos + 1);
7055
7181
  pos++;
7056
7182
  }
7057
7183
  const sizeAt = pos;
7058
- const [size2, payload2] = number(wasm, pos);
7184
+ const [size2, payload2] = number2(wasm, pos);
7059
7185
  if (active !== void 0 && active < address + length && active + size2 > address)
7060
7186
  throw new Error("guest startup data range overlaps an active segment");
7061
7187
  segments.push({ header, sizeAt, payload: payload2, length: size2 });
@@ -8401,127 +8527,6 @@ var init_swift_wasm_archive = __esm({
8401
8527
  }
8402
8528
  });
8403
8529
 
8404
- // src/swiftRuntimeProductContract.ts
8405
- var v2, SWIFT_FRAMEWORK_PRODUCT_FILE, swiftFrameworkProductSchema, SWIFT_SDK_PRODUCT_FILE, swiftSdkProductSchema, swiftSdkProductsSchema;
8406
- var init_swiftRuntimeProductContract = __esm({
8407
- "src/swiftRuntimeProductContract.ts"() {
8408
- "use strict";
8409
- v2 = __toESM(require("peachsim/vendor/valibot"), 1);
8410
- init_swiftTargetContract();
8411
- SWIFT_FRAMEWORK_PRODUCT_FILE = "lib/framework-product.json";
8412
- swiftFrameworkProductSchema = v2.object({
8413
- version: v2.literal(1),
8414
- packageName: v2.string(),
8415
- manifestSha256: v2.pipe(v2.string(), v2.regex(/^[a-f0-9]{64}$/)),
8416
- product: v2.object({
8417
- name: v2.string(),
8418
- linkage: v2.picklist(["static", "dynamic", "automatic"]),
8419
- targets: v2.array(v2.string())
8420
- }),
8421
- // framework names are distinct from SDK library linkNames. they identify
8422
- // the packaged owner, not an observed native image dependency.
8423
- frameworkAliases: v2.array(
8424
- v2.object({
8425
- kind: v2.literal("framework"),
8426
- name: v2.string(),
8427
- targets: v2.array(v2.string()),
8428
- moduleMap: v2.string(),
8429
- moduleMapSha256: v2.pipe(v2.string(), v2.regex(/^[a-f0-9]{64}$/)),
8430
- wasmSdkId: v2.string(),
8431
- wasmSdkChecksum: v2.pipe(v2.string(), v2.regex(/^[a-f0-9]{64}$/))
8432
- })
8433
- ),
8434
- targets: v2.array(
8435
- v2.object({
8436
- name: v2.string(),
8437
- path: v2.string(),
8438
- kind: v2.picklist(["regular", "system"]),
8439
- dependencies: v2.array(v2.string())
8440
- })
8441
- ),
8442
- objects: v2.array(v2.object({ path: v2.string(), target: v2.string() })),
8443
- autolink: v2.array(v2.string())
8444
- });
8445
- SWIFT_SDK_PRODUCT_FILE = "runtime-products.json";
8446
- swiftSdkProductSchema = v2.pipe(
8447
- v2.object({
8448
- id: v2.string(),
8449
- installName: v2.string(),
8450
- target: v2.literal(SWIFT_WASM_TRIPLE),
8451
- linkNames: v2.array(v2.string()),
8452
- // absent records declare no framework namespace, even when a library name matches.
8453
- frameworkAliases: v2.optional(
8454
- v2.array(
8455
- v2.object({
8456
- name: v2.string(),
8457
- moduleMap: v2.string(),
8458
- moduleMapSha256: v2.pipe(v2.string(), v2.regex(/^[a-f0-9]{64}$/))
8459
- })
8460
- ),
8461
- []
8462
- ),
8463
- buildDependencies: v2.array(v2.string()),
8464
- linkOwnership: v2.picklist(["image", "containing-image"]),
8465
- linkDependencies: v2.nullable(v2.array(v2.string())),
8466
- autolink: v2.array(v2.string()),
8467
- sources: v2.array(
8468
- v2.object({
8469
- path: v2.string(),
8470
- sha256: v2.pipe(v2.string(), v2.regex(/^[a-f0-9]{64}$/))
8471
- })
8472
- ),
8473
- artifacts: v2.array(
8474
- v2.variant("kind", [
8475
- v2.object({
8476
- kind: v2.literal("archive"),
8477
- path: v2.string(),
8478
- sha256: v2.pipe(v2.string(), v2.regex(/^[a-f0-9]{64}$/)),
8479
- members: v2.array(
8480
- v2.object({
8481
- name: v2.string(),
8482
- ordinal: v2.pipe(v2.number(), v2.integer(), v2.minValue(1)),
8483
- sha256: v2.pipe(v2.string(), v2.regex(/^[a-f0-9]{64}$/)),
8484
- sources: v2.array(v2.string())
8485
- })
8486
- )
8487
- }),
8488
- v2.object({
8489
- kind: v2.literal("object"),
8490
- path: v2.string(),
8491
- sha256: v2.pipe(v2.string(), v2.regex(/^[a-f0-9]{64}$/)),
8492
- sources: v2.array(v2.string()),
8493
- input: v2.optional(
8494
- v2.object({
8495
- product: v2.string(),
8496
- artifact: v2.object({
8497
- path: v2.string(),
8498
- sha256: v2.pipe(v2.string(), v2.regex(/^[a-f0-9]{64}$/))
8499
- }),
8500
- member: v2.optional(
8501
- v2.object({
8502
- name: v2.string(),
8503
- ordinal: v2.pipe(v2.number(), v2.integer(), v2.minValue(1)),
8504
- sha256: v2.pipe(v2.string(), v2.regex(/^[a-f0-9]{64}$/))
8505
- })
8506
- )
8507
- })
8508
- )
8509
- })
8510
- ])
8511
- )
8512
- }),
8513
- v2.check(
8514
- (product) => product.linkOwnership === "image" || product.linkDependencies === null,
8515
- "containing-image products cannot declare an image scope"
8516
- )
8517
- );
8518
- swiftSdkProductsSchema = v2.object({
8519
- version: v2.literal(1),
8520
- products: v2.array(swiftSdkProductSchema)
8521
- });
8522
- }
8523
- });
8524
-
8525
8530
  // src/swift-wasm-prune.ts
8526
8531
  function sha256Hex(bytes) {
8527
8532
  if (typeof Bun !== "undefined")
@@ -13717,9 +13722,9 @@ function sdkArtifactBytes(root, artifact) {
13717
13722
  const linked = (0, import_node_fs19.readFileSync)(file);
13718
13723
  const hash = (bytes) => (0, import_node_crypto14.createHash)("sha256").update(bytes).digest("hex");
13719
13724
  if (hash(linked) === artifact.sha256) return { source: linked, linked };
13720
- if (artifact.kind !== "archive" || artifact.path !== `${SDK_CATALOG_DIRECTORY}/libFoundation.a`)
13725
+ if (artifact.kind !== "archive" || artifact.path !== `${SWIFT_SDK_PRODUCT_DIRECTORY}/libFoundation.a`)
13721
13726
  throw new Error(`SDK product artifact changed ${file}`);
13722
- const catalog = import_node_path19.default.join(root, SDK_CATALOG_DIRECTORY, SWIFT_SDK_PRODUCT_FILE);
13727
+ const catalog = import_node_path19.default.join(root, SWIFT_SDK_PRODUCT_DIRECTORY, SWIFT_SDK_PRODUCT_FILE);
13723
13728
  const sourceDirectory = import_node_path19.default.dirname((0, import_node_fs19.realpathSync)(catalog));
13724
13729
  const source = (0, import_node_fs19.readFileSync)(import_node_path19.default.join(sourceDirectory, "libFoundation.a"));
13725
13730
  if (hash(source) !== artifact.sha256)
@@ -13754,13 +13759,7 @@ function readGuestRuntimeCatalogs(sdkRoot, distributionRoot) {
13754
13759
  );
13755
13760
  const sdk = v5.parse(
13756
13761
  swiftSdkProductsSchema,
13757
- read(
13758
- import_node_path19.default.join(
13759
- sdkRoot,
13760
- "swift.xctoolchain/usr/lib/swift_static/wasi",
13761
- SWIFT_SDK_PRODUCT_FILE
13762
- )
13763
- )
13762
+ read(import_node_path19.default.join(sdkRoot, SWIFT_SDK_PRODUCT_DIRECTORY, SWIFT_SDK_PRODUCT_FILE))
13764
13763
  );
13765
13764
  const distribution = v5.parse(
13766
13765
  swiftSdkProductsSchema,
@@ -14234,7 +14233,7 @@ function guestAliasedSdkArchiveArtifacts(options) {
14234
14233
  }
14235
14234
  return result;
14236
14235
  }
14237
- var import_node_crypto14, import_node_fs19, import_node_path19, v5, SDK_CATALOG_DIRECTORY, SDK_CONTAINING_IMAGE;
14236
+ var import_node_crypto14, import_node_fs19, import_node_path19, v5, SDK_CONTAINING_IMAGE;
14238
14237
  var init_swift_guest_runtime_plan = __esm({
14239
14238
  "src/swift-guest-runtime-plan.ts"() {
14240
14239
  "use strict";
@@ -14247,7 +14246,6 @@ var init_swift_guest_runtime_plan = __esm({
14247
14246
  init_swift_shared_sdk();
14248
14247
  init_swift_wasm_prune();
14249
14248
  init_swiftRuntimeProductContract();
14250
- SDK_CATALOG_DIRECTORY = "swift.xctoolchain/usr/lib/swift_static/wasi";
14251
14249
  SDK_CONTAINING_IMAGE = "wasi/containing-image";
14252
14250
  }
14253
14251
  });
@@ -22920,19 +22918,32 @@ function compilerCheckpoint(root, recipe, args, header) {
22920
22918
  };
22921
22919
  const outputMap = value("-output-file-map");
22922
22920
  const module2 = value("-emit-module-path");
22923
- if (!outputMap || !module2 || !args.includes("-whole-module-optimization")) return;
22921
+ const wholeModule = args.lastIndexOf("-whole-module-optimization") > args.lastIndexOf("-no-whole-module-optimization");
22922
+ const batch = args.includes("-enable-batch-mode") && !args.includes("-incremental");
22923
+ if (!outputMap || !module2 || !wholeModule && !batch) return;
22924
22924
  const mapText = (0, import_node_fs40.readFileSync)(outputMap, "utf8");
22925
22925
  const map = JSON.parse(mapText);
22926
- if (!isRecord(map) || !isRecord(map[""]) || typeof map[""].dependencies !== "string")
22927
- return;
22928
- const objects = [];
22929
- for (const [source, outputs2] of Object.entries(map)) {
22926
+ if (!isRecord(map)) return;
22927
+ const outputs = [module2, header];
22928
+ if (wholeModule) {
22929
+ if (!isRecord(map[""]) || typeof map[""].dependencies !== "string") return;
22930
+ outputs.push(map[""].dependencies);
22931
+ }
22932
+ let objects = 0;
22933
+ for (const [source, fileOutputs] of Object.entries(map)) {
22930
22934
  if (!source) continue;
22931
- if (!isRecord(outputs2) || typeof outputs2.object !== "string") return;
22932
- objects.push(outputs2.object);
22933
- }
22934
- if (!objects.length) return;
22935
- const outputs = [module2, header, map[""].dependencies, ...objects];
22935
+ if (!isRecord(fileOutputs) || typeof fileOutputs.object !== "string") return;
22936
+ objects++;
22937
+ const object4 = fileOutputs.object;
22938
+ outputs.push(object4);
22939
+ if (!wholeModule) {
22940
+ const dependencies = fileOutputs.dependencies;
22941
+ if (typeof dependencies === "string") outputs.push(dependencies);
22942
+ else if (object4.endsWith(".o")) outputs.push(`${object4.slice(0, -2)}.d`);
22943
+ else return;
22944
+ }
22945
+ }
22946
+ if (objects === 0) return;
22936
22947
  const digest = (0, import_node_crypto28.createHash)("sha256").update(recipe).update(JSON.stringify(args)).update(mapText);
22937
22948
  for (const flag of args) {
22938
22949
  if (!flag.startsWith("@")) continue;
@@ -29646,7 +29657,9 @@ ${compatShape}` : "";
29646
29657
  }
29647
29658
  const jobs = swiftCompilerJobs();
29648
29659
  const incrementalPreview = sdkImage !== void 0 && !guestGraph && !options.project && !input.optimize && !input.unoptimized;
29649
- const perFile = input.unoptimized || incrementalPreview;
29660
+ const batchGuest = guestGraph !== void 0 && !options.project && !input.unoptimized;
29661
+ const batch = incrementalPreview || batchGuest;
29662
+ const perFile = input.unoptimized || batch;
29650
29663
  const reproducibleFrameworkRoot = mirrorDistribution ? frameworkRoot : compileFrameworkRoot;
29651
29664
  const buildArgs = [
29652
29665
  "build",
@@ -29671,9 +29684,11 @@ ${compatShape}` : "";
29671
29684
  "-Xswiftc",
29672
29685
  "-j",
29673
29686
  "-Xswiftc",
29674
- String(jobs)
29687
+ String(batchGuest ? Math.min(8, jobs) : jobs)
29675
29688
  ] : [],
29676
- ...incrementalPreview ? ["-Xswiftc", "-incremental", "-Xswiftc", "-enable-batch-mode"] : [],
29689
+ // optimized batches can move specialized definitions between objects.
29690
+ ...incrementalPreview ? ["-Xswiftc", "-incremental"] : [],
29691
+ ...batch ? ["-Xswiftc", "-enable-batch-mode"] : [],
29677
29692
  // the mirror finds a changed sdk header's readers in their
29678
29693
  // dependency files, which omit system headers by default
29679
29694
  ...mirrorDistribution ? ["-Xswiftc", "-track-system-dependencies"] : [],
@@ -29687,7 +29702,7 @@ ${compatShape}` : "";
29687
29702
  "-g0",
29688
29703
  "-Xcxx",
29689
29704
  "-g0",
29690
- ...incrementalPreview ? [] : [
29705
+ ...batch ? [] : [
29691
29706
  "-Xswiftc",
29692
29707
  "-num-threads",
29693
29708
  "-Xswiftc",
@@ -30330,7 +30345,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
30330
30345
  REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
30331
30346
  MULTI_MANIFEST_VERSION = 76;
30332
30347
  SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
30333
- compilerSourceDigest = true ? "059193e56cc163028469bb65adf83db77e86a673218f6c713c533cced24fa090" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
30348
+ compilerSourceDigest = true ? "1803ba36803a88ceeca92ee7b13baa39dde72fbb72df14659f0414084afaf5d7" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
30334
30349
  nativeCxxCompilerFlags = ["-fno-cxx-modules"];
30335
30350
  MODULE_MAP_RESPONSE_FILE_RUN = 16;
30336
30351
  cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2774 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2776 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  MULTI_MANIFEST_VERSION,
4
4
  WASM_TRIPLE,
@@ -41,8 +41,8 @@ import {
41
41
  withNativeSourceGlue,
42
42
  wrapUIApplicationMainEntry,
43
43
  writeSwiftProject
44
- } from "./esm-chunks/chunk-CRXKBBYS.mjs";
45
- import "./esm-chunks/chunk-M45GB4YE.mjs";
44
+ } from "./esm-chunks/chunk-3XQGFH5D.mjs";
45
+ import "./esm-chunks/chunk-JUQ54SX6.mjs";
46
46
  import {
47
47
  FOUNDATION_IMPLICIT_MODULES,
48
48
  REACH_STAGED_FRAMEWORKS,
@@ -67,15 +67,15 @@ import {
67
67
  swiftSdkPaths,
68
68
  withFrameworkCompanionImports,
69
69
  withoutSwiftDeclarations
70
- } from "./esm-chunks/chunk-IKCQ5XQP.mjs";
71
- import "./esm-chunks/chunk-3SQGKA6Z.mjs";
72
- import "./esm-chunks/chunk-4K3ZR6YW.mjs";
73
- import "./esm-chunks/chunk-CDZ6YIIB.mjs";
74
- import "./esm-chunks/chunk-ONTQLRM4.mjs";
75
- import "./esm-chunks/chunk-P5VUFHVB.mjs";
76
- import "./esm-chunks/chunk-62NI6YCH.mjs";
77
- import "./esm-chunks/chunk-ETJLJYIY.mjs";
78
- import "./esm-chunks/chunk-R7HK74K2.mjs";
70
+ } from "./esm-chunks/chunk-RPKBYOUS.mjs";
71
+ import "./esm-chunks/chunk-O3DUF5LK.mjs";
72
+ import "./esm-chunks/chunk-Z6UVYLRY.mjs";
73
+ import "./esm-chunks/chunk-HA4BLBFF.mjs";
74
+ import "./esm-chunks/chunk-36HOGKZO.mjs";
75
+ import "./esm-chunks/chunk-M7TINJ53.mjs";
76
+ import "./esm-chunks/chunk-D5UZSYPE.mjs";
77
+ import "./esm-chunks/chunk-YNMAR7R2.mjs";
78
+ import "./esm-chunks/chunk-EYYLB42E.mjs";
79
79
  export {
80
80
  FOUNDATION_IMPLICIT_MODULES,
81
81
  MULTI_MANIFEST_VERSION,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2774 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2776 | (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;