peachsim 0.1.2778 → 0.1.2780

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 (139) 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 +295 -480
  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-RWBIRNWO.mjs → acorn-SPK2673W.mjs} +3 -3
  27. package/dist-lib/esm-chunks/{chunk-ZWOS2EDN.mjs → chunk-3BAOVPYB.mjs} +118 -361
  28. package/dist-lib/esm-chunks/{chunk-MRIDS3GE.mjs → chunk-664T7XWT.mjs} +5 -5
  29. package/dist-lib/esm-chunks/{chunk-QKTKE4OX.mjs → chunk-7B4ZRXZW.mjs} +1 -1
  30. package/dist-lib/esm-chunks/{chunk-G7UJ4BAC.mjs → chunk-7UJZBQ6G.mjs} +1 -1
  31. package/dist-lib/esm-chunks/{chunk-EXU474NE.mjs → chunk-B4DO5WJD.mjs} +1 -1
  32. package/dist-lib/esm-chunks/{chunk-IQSFMB4R.mjs → chunk-DO3C6MOG.mjs} +4 -4
  33. package/dist-lib/esm-chunks/{chunk-K3ULPN2R.mjs → chunk-DZZZCBJY.mjs} +1 -1
  34. package/dist-lib/esm-chunks/{chunk-5TIUTQ55.mjs → chunk-EEN3DGCH.mjs} +1 -1
  35. package/dist-lib/esm-chunks/{chunk-ZDWMPXYI.mjs → chunk-JIGACUAS.mjs} +1 -1
  36. package/dist-lib/esm-chunks/{chunk-X25PQNNH.mjs → chunk-JIKQAODQ.mjs} +1 -1
  37. package/dist-lib/esm-chunks/{chunk-6YHF4VYF.mjs → chunk-MIESONPY.mjs} +1 -1
  38. package/dist-lib/esm-chunks/{chunk-3RPELUA2.mjs → chunk-NDMVV5PE.mjs} +6 -6
  39. package/dist-lib/esm-chunks/{chunk-KX7LV722.mjs → chunk-NLIWJ2AO.mjs} +1 -1
  40. package/dist-lib/esm-chunks/{chunk-5WASPTSS.mjs → chunk-P7DZLDBL.mjs} +1 -1
  41. package/dist-lib/esm-chunks/{chunk-F3OPIKJC.mjs → chunk-RDFBVP4E.mjs} +2 -2
  42. package/dist-lib/esm-chunks/{chunk-DLBUPWTI.mjs → chunk-SWCGFJ5A.mjs} +1 -1
  43. package/dist-lib/esm-chunks/{chunk-KLA74B7J.mjs → chunk-T6THDRRU.mjs} +1 -1
  44. package/dist-lib/esm-chunks/{chunk-3WQANOYY.mjs → chunk-TBKPPEGS.mjs} +1 -1
  45. package/dist-lib/esm-chunks/{chunk-QUVLFF6I.mjs → chunk-UHTFNN5A.mjs} +1 -1
  46. package/dist-lib/esm-chunks/{chunk-GSTHJQMW.mjs → chunk-VV2TNQK4.mjs} +115 -18
  47. package/dist-lib/esm-chunks/{chunk-VZ3NXXUC.mjs → chunk-WKE7Z3LU.mjs} +1 -1
  48. package/dist-lib/esm-chunks/{chunk-LQVLXDRN.mjs → chunk-WXCV7NSJ.mjs} +1 -1
  49. package/dist-lib/esm-chunks/{chunk-KBYVKTVK.mjs → chunk-X2OBXRGN.mjs} +3 -3
  50. package/dist-lib/esm-chunks/{chunk-N2PEXZGL.mjs → chunk-ZDW2NOAO.mjs} +1 -1
  51. package/dist-lib/esm-chunks/{metro-layout-parser-RRIZOLBE.mjs → metro-layout-parser-6N4ZZDLM.mjs} +3 -3
  52. package/dist-lib/esm-chunks/{swift-package-prebuilt-EIZ7MCKR.mjs → swift-package-prebuilt-GF27A4NU.mjs} +12 -12
  53. package/dist-lib/esm-chunks/{swift-sdk-app-module-S2LQ4OXD.mjs → swift-sdk-app-module-WWTSGAS7.mjs} +47 -69
  54. package/dist-lib/esm-chunks/{swift-sdk-image-77FFUGXI.mjs → swift-sdk-image-OQMMOQLZ.mjs} +16 -16
  55. package/dist-lib/esm-chunks/{swift-sdk-image-producer-XFSFUXQJ.mjs → swift-sdk-image-producer-NOH5SG6O.mjs} +5 -5
  56. package/dist-lib/expo-swift-bundle.cjs +295 -480
  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 +301 -486
  61. package/dist-lib/host/fetch-proxy-handler.cjs +22 -11
  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 +70 -70
  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 +301 -486
  95. package/dist-lib/swift-compile.cjs +288 -465
  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/render-worker/compositor-protocol.d.ts +2 -0
  123. package/dist-types/packages/peach-engine/src/render-worker/worklet-runtime.d.ts +15 -2
  124. package/dist-types/packages/peach-engine/src/render-worker/worklet-wire.d.ts +10 -1
  125. package/package.json +1 -1
  126. package/src/swift-compiler-digest.ts +1 -0
  127. package/src/swift-guest-dyld-functions.ts +1 -11
  128. package/src/swift-guest-dyld-table.ts +2 -9
  129. package/src/swift-guest-image-ledger.ts +9 -35
  130. package/src/swift-guest-source-inputs.ts +5 -22
  131. package/src/swift-icu.ts +15 -28
  132. package/src/swift-link-roots.ts +4 -8
  133. package/src/swift-sdk-app-module.ts +5 -27
  134. package/src/swift-sdk-image-wasm.ts +12 -41
  135. package/src/swift-sdk-surface.ts +1 -0
  136. package/src/swift-shared-sdk.ts +1 -13
  137. package/src/swift-wasm-archive.ts +6 -11
  138. package/src/swift-wasm-prune.ts +22 -100
  139. package/src/wasm-binary-sections.ts +61 -7
@@ -1,21 +1,21 @@
1
- /*! peach v0.1.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2780 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  LAUNCH_METADATA_KEYS,
4
4
  LAUNCH_METADATA_KEYS_PATH
5
- } from "./chunk-X25PQNNH.mjs";
5
+ } from "./chunk-JIKQAODQ.mjs";
6
6
  import {
7
7
  cacheDir,
8
8
  parseSwiftDistributionLock,
9
9
  readActiveRuntime,
10
10
  runtimeDir
11
- } from "./chunk-GSTHJQMW.mjs";
11
+ } from "./chunk-VV2TNQK4.mjs";
12
12
  import {
13
13
  SWIFT_WASM_TRIPLE,
14
14
  registerSwiftHostCompiler
15
- } from "./chunk-6YHF4VYF.mjs";
15
+ } from "./chunk-MIESONPY.mjs";
16
16
  import {
17
17
  isRecord
18
- } from "./chunk-QUVLFF6I.mjs";
18
+ } from "./chunk-UHTFNN5A.mjs";
19
19
 
20
20
  // src/swift-distribution.ts
21
21
  import { execFile as execFile2 } from "node:child_process";
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2780 | (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.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2780 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/public-brand.ts
4
4
  var name = "Peach";
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2780 | (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,13 +1,13 @@
1
- /*! peach v0.1.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2780 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  isSwiftImageVariants
4
- } from "./chunk-3WQANOYY.mjs";
4
+ } from "./chunk-TBKPPEGS.mjs";
5
5
  import {
6
6
  findBundleFooter
7
- } from "./chunk-K3ULPN2R.mjs";
7
+ } from "./chunk-DZZZCBJY.mjs";
8
8
  import {
9
9
  isRecord
10
- } from "./chunk-QUVLFF6I.mjs";
10
+ } from "./chunk-UHTFNN5A.mjs";
11
11
 
12
12
  // src/android-string-value.ts
13
13
  function compileAndroidStringValue(text, where) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2780 | (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.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2780 | (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.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2780 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/swiftContract.ts
4
4
  function isSwiftSourceLinkGraph(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2780 | (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.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2780 | (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,4 +1,4 @@
1
- /*! peach v0.1.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2780 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  DARWIN_RECORDS_PREFIX,
4
4
  KEEP_WASM_NAMES,
@@ -31,23 +31,23 @@ import {
31
31
  swiftSdkImageScope,
32
32
  unslottedFunctions,
33
33
  wasmSections
34
- } from "./chunk-ZWOS2EDN.mjs";
34
+ } from "./chunk-3BAOVPYB.mjs";
35
35
  import {
36
36
  withSwiftRootLock,
37
37
  withSwiftRootReadHolds
38
- } from "./chunk-F3OPIKJC.mjs";
38
+ } from "./chunk-RDFBVP4E.mjs";
39
39
  import {
40
40
  swiftDistributionAt,
41
41
  swiftModuleDigest,
42
42
  swiftModuleToolchain,
43
43
  swiftSdkPaths
44
- } from "./chunk-GSTHJQMW.mjs";
44
+ } from "./chunk-VV2TNQK4.mjs";
45
45
  import {
46
46
  SWIFT_WASM_TRIPLE,
47
47
  refreshSwiftCacheHold,
48
48
  sourceSwiftCheckout,
49
49
  swiftCacheDir
50
- } from "./chunk-6YHF4VYF.mjs";
50
+ } from "./chunk-MIESONPY.mjs";
51
51
 
52
52
  // src/swift-sdk-image.ts
53
53
  import { execFile } from "node:child_process";
@@ -250,7 +250,7 @@ async function buildSwiftSdkImage(moduleRoot, scopedLookups = false, frameworkIm
250
250
  if (existing) return existing;
251
251
  const distribution = swiftDistributionAt(moduleRoot);
252
252
  if (!options?.producer && !required.length && !distribution && path.resolve(moduleRoot) === sourceSwiftCheckout() && process.platform === "linux" && process.env.TM_SESSION) {
253
- const { produceSwiftSdkImage } = await import("./swift-sdk-image-producer-XFSFUXQJ.mjs");
253
+ const { produceSwiftSdkImage } = await import("./swift-sdk-image-producer-NOH5SG6O.mjs");
254
254
  await produceSwiftSdkImage({
255
255
  moduleRoot,
256
256
  key,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2780 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/bridge-contract.ts
4
4
  var REFUSED_PERFORM_STEP_TYPES = [
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2780 | (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,9 +1,9 @@
1
- /*! peach v0.1.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2780 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  killOrphanedProcessGroup,
4
4
  readProcessTable,
5
5
  terminateProcessGroup
6
- } from "./chunk-6YHF4VYF.mjs";
6
+ } from "./chunk-MIESONPY.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.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2780 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  var __defProp = Object.defineProperty;
3
3
  var __typeError = (msg) => {
4
4
  throw TypeError(msg);
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2780 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/sleep.ts
4
4
  function sleep(ms) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2780 | (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.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2780 | (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.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2780 | (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-6YHF4VYF.mjs";
15
+ } from "./chunk-MIESONPY.mjs";
16
16
  import {
17
17
  isSwiftResourcePath
18
- } from "./chunk-ZDWMPXYI.mjs";
18
+ } from "./chunk-JIGACUAS.mjs";
19
19
  import {
20
20
  swiftManifestDeclarations
21
- } from "./chunk-N2PEXZGL.mjs";
21
+ } from "./chunk-ZDW2NOAO.mjs";
22
22
  import {
23
23
  isRecord
24
- } from "./chunk-QUVLFF6I.mjs";
24
+ } from "./chunk-UHTFNN5A.mjs";
25
25
  import {
26
26
  __publicField
27
- } from "./chunk-DLBUPWTI.mjs";
27
+ } from "./chunk-SWCGFJ5A.mjs";
28
28
 
29
29
  // src/write-build-file.ts
30
30
  import { mkdirSync, readFileSync, statSync, writeFileSync } from "node:fs";
@@ -471,6 +471,106 @@ function mapSwiftConditionalLines(source, lineStarts, map) {
471
471
  }).join("\n");
472
472
  }
473
473
 
474
+ // src/wasm-binary-sections.ts
475
+ function encodeWasmNumber(value) {
476
+ const bytes = [];
477
+ for (let rest = value; ; ) {
478
+ const byte = rest % 128;
479
+ rest = Math.floor(rest / 128);
480
+ if (rest === 0) return [...bytes, byte];
481
+ bytes.push(byte | 128);
482
+ }
483
+ }
484
+ function encodeWasmSigned(value) {
485
+ const out = [];
486
+ for (; ; ) {
487
+ const byte = Number(value & 127n);
488
+ value >>= 7n;
489
+ if (value === 0n && !(byte & 64) || value === -1n && byte & 64) {
490
+ out.push(byte);
491
+ return out;
492
+ }
493
+ out.push(byte | 128);
494
+ }
495
+ }
496
+ function encodeWasmName(name) {
497
+ const bytes = new TextEncoder().encode(name);
498
+ return [...encodeWasmNumber(bytes.length), ...bytes];
499
+ }
500
+ function readULEB(bytes, offset, end = bytes.length) {
501
+ if (offset < end) {
502
+ const first = bytes[offset];
503
+ if (first < 128) return [first, offset + 1];
504
+ }
505
+ let value = 0;
506
+ for (let shift = 0; ; shift += 7) {
507
+ if (offset >= end || shift > 63) throw new Error("invalid wasm integer");
508
+ const byte = bytes[offset++];
509
+ value += (byte & 127) * 2 ** shift;
510
+ if (!(byte & 128)) return [value, offset];
511
+ }
512
+ }
513
+ function readSLEB(bytes, offset, end = bytes.length) {
514
+ let value = 0n;
515
+ let shift = 0n;
516
+ let byte = 0;
517
+ do {
518
+ if (offset >= end || shift > 70n) throw new Error("invalid wasm integer");
519
+ byte = bytes[offset++];
520
+ value |= BigInt(byte & 127) << shift;
521
+ shift += 7n;
522
+ } while (byte & 128);
523
+ if (byte & 64) value -= 1n << shift;
524
+ return [value, offset];
525
+ }
526
+ function skipLEB(bytes, offset) {
527
+ while ((bytes[offset++] & 128) !== 0) {
528
+ }
529
+ return offset;
530
+ }
531
+ function readWasmSection(bytes, start, end) {
532
+ let at = start;
533
+ const number = () => {
534
+ const [value, next] = readULEB(bytes, at, end);
535
+ at = next;
536
+ return value;
537
+ };
538
+ return {
539
+ number,
540
+ byte: () => {
541
+ if (at >= end) throw new Error("truncated wasm section");
542
+ return bytes[at++];
543
+ },
544
+ name: () => {
545
+ const length = number();
546
+ at += length;
547
+ if (at > end) throw new Error("truncated wasm name");
548
+ return Buffer.from(bytes.buffer, bytes.byteOffset + at - length, length).toString();
549
+ },
550
+ skip: (length) => {
551
+ at += length;
552
+ if (at > end) throw new Error("truncated wasm section");
553
+ },
554
+ position: () => at,
555
+ done: () => at === end
556
+ };
557
+ }
558
+ function wasmSections(bytes) {
559
+ if (Buffer.from(bytes.subarray(0, 8)).toString("hex") !== "0061736d01000000")
560
+ throw new Error("not a wasm module");
561
+ const found = [];
562
+ for (let at = 8; at < bytes.length; ) {
563
+ const header = readWasmSection(bytes, at, bytes.length);
564
+ const id = header.byte();
565
+ const size = header.number();
566
+ const start = header.position();
567
+ if (start + size > bytes.length) throw new Error("truncated wasm section");
568
+ found.push({ id, offset: at, start, end: start + size });
569
+ at = start + size;
570
+ }
571
+ return found;
572
+ }
573
+
474
574
  // src/swift-shared-sdk.ts
475
575
  import { execFileSync as execFileSync2 } from "node:child_process";
476
576
  import { createHash as createHash3 } from "node:crypto";
@@ -527,18 +627,6 @@ function swiftSharedSdkFlags(moduleRoot, distribution) {
527
627
  path7.join(root, "usr/include")
528
628
  ];
529
629
  }
530
- function readULEB(b, o) {
531
- let res = 0;
532
- let shift = 0;
533
- let p = o;
534
- while (true) {
535
- const byte = b[p++];
536
- res |= (byte & 127) << shift;
537
- if ((byte & 128) === 0) break;
538
- shift += 7;
539
- }
540
- return [res, p];
541
- }
542
630
  var WEAKEN_FOUNDATION_SYMS = /* @__PURE__ */ new Set([
543
631
  "$s10Foundation6BundleC22preferredLocalizations4from14forPreferencesSaySSGAG_AGSgtFZ",
544
632
  "$s10Foundation6BundleC22preferredLocalizations4fromSaySSGAF_tFZ",
@@ -1313,6 +1401,7 @@ function swiftModuleInputFiles(root) {
1313
1401
  ...swiftSharedSdkInputFiles(root),
1314
1402
  "../peachsim/src/admitted-mac-build.ts",
1315
1403
  "../peachsim/src/swift-shared-sdk.ts",
1404
+ "../peachsim/src/wasm-binary-sections.ts",
1316
1405
  "../peachsim/src/swift-runtime-products.ts",
1317
1406
  "../peachsim/src/swiftRuntimeProductContract.ts",
1318
1407
  "../peachsim/src/swiftTargetContract.ts",
@@ -2638,6 +2727,14 @@ export {
2638
2727
  parseSwiftDistributionLock,
2639
2728
  swiftCodeScan,
2640
2729
  mapSwiftConditionalLines,
2730
+ encodeWasmNumber,
2731
+ encodeWasmSigned,
2732
+ encodeWasmName,
2733
+ readULEB,
2734
+ readSLEB,
2735
+ skipLEB,
2736
+ readWasmSection,
2737
+ wasmSections,
2641
2738
  SWIFT_DISTRIBUTION_MIRROR_RECORD,
2642
2739
  swiftSharedSdkRoot,
2643
2740
  swiftSharedSdkFlags,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2780 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // ../contrast-runtime-delivery/src/version.ts
4
4
  function isValidRuntimeVersion(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2780 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/cloud-contract.ts
4
4
  var AGENT_IDENTITY_MAX_CHARS = 200;
@@ -1,10 +1,10 @@
1
- /*! peach v0.1.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2780 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  SIM_LONG_PRESS_MAX_MS
4
- } from "./chunk-KX7LV722.mjs";
4
+ } from "./chunk-NLIWJ2AO.mjs";
5
5
  import {
6
6
  isRecord
7
- } from "./chunk-QUVLFF6I.mjs";
7
+ } from "./chunk-UHTFNN5A.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.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2780 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/swift-package.ts
4
4
  function swiftManifestSettings(target) {
@@ -1,5 +1,5 @@
1
- /*! peach v0.1.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
- import "./chunk-DLBUPWTI.mjs";
1
+ /*! peach v0.1.2780 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
+ import "./chunk-SWCGFJ5A.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-RWBIRNWO.mjs");
11
+ const { Parser } = await import("./acorn-SPK2673W.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.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2780 | (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-ZWOS2EDN.mjs";
8
- import "./chunk-F3OPIKJC.mjs";
7
+ } from "./chunk-3BAOVPYB.mjs";
8
+ import "./chunk-RDFBVP4E.mjs";
9
9
  import {
10
10
  swiftDistributionAt,
11
11
  swiftImportNames
12
- } from "./chunk-GSTHJQMW.mjs";
13
- import "./chunk-6YHF4VYF.mjs";
12
+ } from "./chunk-VV2TNQK4.mjs";
13
+ import "./chunk-MIESONPY.mjs";
14
14
  import {
15
15
  SWIFT_REMOTE_PACKAGES_DIR
16
- } from "./chunk-ZDWMPXYI.mjs";
16
+ } from "./chunk-JIGACUAS.mjs";
17
17
  import {
18
18
  manifestCalls
19
- } from "./chunk-N2PEXZGL.mjs";
20
- import "./chunk-3WQANOYY.mjs";
21
- import "./chunk-G7UJ4BAC.mjs";
22
- import "./chunk-VZ3NXXUC.mjs";
23
- import "./chunk-QUVLFF6I.mjs";
24
- import "./chunk-DLBUPWTI.mjs";
19
+ } from "./chunk-ZDW2NOAO.mjs";
20
+ import "./chunk-TBKPPEGS.mjs";
21
+ import "./chunk-7UJZBQ6G.mjs";
22
+ import "./chunk-WKE7Z3LU.mjs";
23
+ import "./chunk-UHTFNN5A.mjs";
24
+ import "./chunk-SWCGFJ5A.mjs";
25
25
 
26
26
  // src/swift-package-prebuilt.ts
27
27
  import { createHash } from "node:crypto";