peachsim 0.1.2778 → 0.1.2779

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 (137) 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 +294 -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-SCZ56W4Q.mjs} +3 -3
  27. package/dist-lib/esm-chunks/{chunk-GSTHJQMW.mjs → chunk-6BNEOOBT.mjs} +114 -18
  28. package/dist-lib/esm-chunks/{chunk-KX7LV722.mjs → chunk-7VWBLM73.mjs} +1 -1
  29. package/dist-lib/esm-chunks/{chunk-IQSFMB4R.mjs → chunk-DX5V3733.mjs} +4 -4
  30. package/dist-lib/esm-chunks/{chunk-KBYVKTVK.mjs → chunk-E56EZ3QT.mjs} +3 -3
  31. package/dist-lib/esm-chunks/{chunk-EXU474NE.mjs → chunk-FNQXQNQK.mjs} +1 -1
  32. package/dist-lib/esm-chunks/{chunk-3WQANOYY.mjs → chunk-H2V3ZZTO.mjs} +1 -1
  33. package/dist-lib/esm-chunks/{chunk-5WASPTSS.mjs → chunk-H6JAFCAZ.mjs} +1 -1
  34. package/dist-lib/esm-chunks/{chunk-VZ3NXXUC.mjs → chunk-HMFIO57I.mjs} +1 -1
  35. package/dist-lib/esm-chunks/{chunk-6YHF4VYF.mjs → chunk-HWK2V6R4.mjs} +1 -1
  36. package/dist-lib/esm-chunks/{chunk-LQVLXDRN.mjs → chunk-KAMO4C4X.mjs} +1 -1
  37. package/dist-lib/esm-chunks/{chunk-5TIUTQ55.mjs → chunk-KFDP4372.mjs} +1 -1
  38. package/dist-lib/esm-chunks/{chunk-F3OPIKJC.mjs → chunk-KOULWLTF.mjs} +2 -2
  39. package/dist-lib/esm-chunks/{chunk-DLBUPWTI.mjs → chunk-LVEDBGWX.mjs} +1 -1
  40. package/dist-lib/esm-chunks/{chunk-X25PQNNH.mjs → chunk-MJXJYVF5.mjs} +1 -1
  41. package/dist-lib/esm-chunks/{chunk-QKTKE4OX.mjs → chunk-MK4VAM4G.mjs} +1 -1
  42. package/dist-lib/esm-chunks/{chunk-ZWOS2EDN.mjs → chunk-Q6XMYYNV.mjs} +118 -361
  43. package/dist-lib/esm-chunks/{chunk-K3ULPN2R.mjs → chunk-SFTGQN5D.mjs} +1 -1
  44. package/dist-lib/esm-chunks/{chunk-KLA74B7J.mjs → chunk-SM5MJSQP.mjs} +1 -1
  45. package/dist-lib/esm-chunks/{chunk-G7UJ4BAC.mjs → chunk-SNMGOZXQ.mjs} +1 -1
  46. package/dist-lib/esm-chunks/{chunk-MRIDS3GE.mjs → chunk-SZI5IZ76.mjs} +5 -5
  47. package/dist-lib/esm-chunks/{chunk-N2PEXZGL.mjs → chunk-T7DTXCV5.mjs} +1 -1
  48. package/dist-lib/esm-chunks/{chunk-ZDWMPXYI.mjs → chunk-UBM772FD.mjs} +1 -1
  49. package/dist-lib/esm-chunks/{chunk-QUVLFF6I.mjs → chunk-VJSHIZ7J.mjs} +1 -1
  50. package/dist-lib/esm-chunks/{chunk-3RPELUA2.mjs → chunk-Z42YJEC4.mjs} +6 -6
  51. package/dist-lib/esm-chunks/{metro-layout-parser-RRIZOLBE.mjs → metro-layout-parser-7S5M3EG6.mjs} +3 -3
  52. package/dist-lib/esm-chunks/{swift-package-prebuilt-EIZ7MCKR.mjs → swift-package-prebuilt-MJSFHIOP.mjs} +12 -12
  53. package/dist-lib/esm-chunks/{swift-sdk-app-module-S2LQ4OXD.mjs → swift-sdk-app-module-ZIN3LFLS.mjs} +47 -69
  54. package/dist-lib/esm-chunks/{swift-sdk-image-77FFUGXI.mjs → swift-sdk-image-MIWPBZEN.mjs} +16 -16
  55. package/dist-lib/esm-chunks/{swift-sdk-image-producer-XFSFUXQJ.mjs → swift-sdk-image-producer-OTH543HF.mjs} +5 -5
  56. package/dist-lib/expo-swift-bundle.cjs +294 -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 +300 -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 +300 -486
  95. package/dist-lib/swift-compile.cjs +287 -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/worklet-runtime.d.ts +15 -2
  123. package/dist-types/packages/peach-engine/src/render-worker/worklet-wire.d.ts +10 -1
  124. package/package.json +1 -1
  125. package/src/swift-compiler-digest.ts +1 -0
  126. package/src/swift-guest-dyld-functions.ts +1 -11
  127. package/src/swift-guest-dyld-table.ts +2 -9
  128. package/src/swift-guest-image-ledger.ts +9 -35
  129. package/src/swift-guest-source-inputs.ts +5 -22
  130. package/src/swift-icu.ts +15 -28
  131. package/src/swift-link-roots.ts +4 -8
  132. package/src/swift-sdk-app-module.ts +5 -27
  133. package/src/swift-sdk-image-wasm.ts +12 -41
  134. package/src/swift-shared-sdk.ts +1 -13
  135. package/src/swift-wasm-archive.ts +6 -11
  136. package/src/swift-wasm-prune.ts +22 -100
  137. package/src/wasm-binary-sections.ts +61 -7
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2779 | (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;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2779 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  RNX_SCREEN_CAPTURE_VERSION,
4
4
  describeInvalidScreenCapture,
@@ -10,8 +10,8 @@ import {
10
10
  rnxRasterFrames,
11
11
  rnxRasterRegionRequests,
12
12
  selectRnxRasterNodeIds
13
- } from "./esm-chunks/chunk-5TIUTQ55.mjs";
14
- import "./esm-chunks/chunk-DLBUPWTI.mjs";
13
+ } from "./esm-chunks/chunk-KFDP4372.mjs";
14
+ import "./esm-chunks/chunk-LVEDBGWX.mjs";
15
15
  export {
16
16
  RNX_SCREEN_CAPTURE_VERSION,
17
17
  describeInvalidScreenCapture,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2779 | (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;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2779 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  AGENT_IDENTITY_MAX_CHARS,
4
4
  RNX_CLOUD_ALL_COMMAND_SCOPES,
@@ -31,8 +31,8 @@ import {
31
31
  readRnxLaunchUrl,
32
32
  rnxCloudCommandScope,
33
33
  rnxCloudScopesAllowCommand
34
- } from "./esm-chunks/chunk-LQVLXDRN.mjs";
35
- import "./esm-chunks/chunk-DLBUPWTI.mjs";
34
+ } from "./esm-chunks/chunk-KAMO4C4X.mjs";
35
+ import "./esm-chunks/chunk-LVEDBGWX.mjs";
36
36
  export {
37
37
  AGENT_IDENTITY_MAX_CHARS,
38
38
  RNX_CLOUD_ALL_COMMAND_SCOPES,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2779 | (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;
@@ -1,5 +1,5 @@
1
- /*! peach v0.1.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
- import "./esm-chunks/chunk-DLBUPWTI.mjs";
1
+ /*! peach v0.1.2779 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
+ import "./esm-chunks/chunk-LVEDBGWX.mjs";
3
3
 
4
4
  // src/cloud-test-args.ts
5
5
  var CLOUD_TEST_ARGS_MAX_COUNT = 32;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2779 | (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;
@@ -1,10 +1,10 @@
1
- /*! peach v0.1.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2779 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  sleep
4
- } from "./esm-chunks/chunk-KLA74B7J.mjs";
4
+ } from "./esm-chunks/chunk-SM5MJSQP.mjs";
5
5
  import {
6
6
  isRnxScreenCapture
7
- } from "./esm-chunks/chunk-5TIUTQ55.mjs";
7
+ } from "./esm-chunks/chunk-KFDP4372.mjs";
8
8
  import {
9
9
  RNX_CLOUD_COMMAND_TYPES,
10
10
  RNX_CLOUD_MAX_ARTIFACT_BYTES,
@@ -14,16 +14,16 @@ import {
14
14
  isRnxCloudCommandType,
15
15
  rnxCloudCommandScope,
16
16
  rnxCloudScopesAllowCommand
17
- } from "./esm-chunks/chunk-LQVLXDRN.mjs";
17
+ } from "./esm-chunks/chunk-KAMO4C4X.mjs";
18
18
  import {
19
19
  rnxPublicBrand
20
- } from "./esm-chunks/chunk-G7UJ4BAC.mjs";
20
+ } from "./esm-chunks/chunk-SNMGOZXQ.mjs";
21
21
  import {
22
22
  isRecord
23
- } from "./esm-chunks/chunk-QUVLFF6I.mjs";
23
+ } from "./esm-chunks/chunk-VJSHIZ7J.mjs";
24
24
  import {
25
25
  __publicField
26
- } from "./esm-chunks/chunk-DLBUPWTI.mjs";
26
+ } from "./esm-chunks/chunk-LVEDBGWX.mjs";
27
27
 
28
28
  // src/backend-origin.ts
29
29
  var NativeURL = globalThis.URL;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2779 | (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;
@@ -1,14 +1,14 @@
1
- /*! peach v0.1.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2779 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  isValidRuntimeVersion
4
- } from "./esm-chunks/chunk-VZ3NXXUC.mjs";
4
+ } from "./esm-chunks/chunk-HMFIO57I.mjs";
5
5
  import {
6
6
  findBundleFooter
7
- } from "./esm-chunks/chunk-K3ULPN2R.mjs";
7
+ } from "./esm-chunks/chunk-SFTGQN5D.mjs";
8
8
  import {
9
9
  isRecord
10
- } from "./esm-chunks/chunk-QUVLFF6I.mjs";
11
- import "./esm-chunks/chunk-DLBUPWTI.mjs";
10
+ } from "./esm-chunks/chunk-VJSHIZ7J.mjs";
11
+ import "./esm-chunks/chunk-LVEDBGWX.mjs";
12
12
 
13
13
  // src/nativeViewSourceContract.ts
14
14
  function isNativeViewSource(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2779 | (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;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2779 | (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;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2779 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  Node,
4
4
  Parser,
@@ -22,8 +22,8 @@ import {
22
22
  types,
23
23
  types$1,
24
24
  version
25
- } from "./chunk-EXU474NE.mjs";
26
- import "./chunk-DLBUPWTI.mjs";
25
+ } from "./chunk-FNQXQNQK.mjs";
26
+ import "./chunk-LVEDBGWX.mjs";
27
27
  export {
28
28
  Node,
29
29
  Parser,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2779 | (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-HWK2V6R4.mjs";
16
16
  import {
17
17
  isSwiftResourcePath
18
- } from "./chunk-ZDWMPXYI.mjs";
18
+ } from "./chunk-UBM772FD.mjs";
19
19
  import {
20
20
  swiftManifestDeclarations
21
- } from "./chunk-N2PEXZGL.mjs";
21
+ } from "./chunk-T7DTXCV5.mjs";
22
22
  import {
23
23
  isRecord
24
- } from "./chunk-QUVLFF6I.mjs";
24
+ } from "./chunk-VJSHIZ7J.mjs";
25
25
  import {
26
26
  __publicField
27
- } from "./chunk-DLBUPWTI.mjs";
27
+ } from "./chunk-LVEDBGWX.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",
@@ -2638,6 +2726,14 @@ export {
2638
2726
  parseSwiftDistributionLock,
2639
2727
  swiftCodeScan,
2640
2728
  mapSwiftConditionalLines,
2729
+ encodeWasmNumber,
2730
+ encodeWasmSigned,
2731
+ encodeWasmName,
2732
+ readULEB,
2733
+ readSLEB,
2734
+ skipLEB,
2735
+ readWasmSection,
2736
+ wasmSections,
2641
2737
  SWIFT_DISTRIBUTION_MIRROR_RECORD,
2642
2738
  swiftSharedSdkRoot,
2643
2739
  swiftSharedSdkFlags,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2779 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/bridge-contract.ts
4
4
  var REFUSED_PERFORM_STEP_TYPES = [
@@ -1,13 +1,13 @@
1
- /*! peach v0.1.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2779 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  isSwiftImageVariants
4
- } from "./chunk-3WQANOYY.mjs";
4
+ } from "./chunk-H2V3ZZTO.mjs";
5
5
  import {
6
6
  findBundleFooter
7
- } from "./chunk-K3ULPN2R.mjs";
7
+ } from "./chunk-SFTGQN5D.mjs";
8
8
  import {
9
9
  isRecord
10
- } from "./chunk-QUVLFF6I.mjs";
10
+ } from "./chunk-VJSHIZ7J.mjs";
11
11
 
12
12
  // src/android-string-value.ts
13
13
  function compileAndroidStringValue(text, where) {
@@ -1,10 +1,10 @@
1
- /*! peach v0.1.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2779 | (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-7VWBLM73.mjs";
5
5
  import {
6
6
  isRecord
7
- } from "./chunk-QUVLFF6I.mjs";
7
+ } from "./chunk-VJSHIZ7J.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.2779 | (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.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2779 | (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.2779 | (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.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2779 | (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.2779 | (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.2779 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/cloud-contract.ts
4
4
  var AGENT_IDENTITY_MAX_CHARS = 200;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2779 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/capture-contract.ts
4
4
  var RNX_SCREEN_CAPTURE_VERSION = 1;
@@ -1,9 +1,9 @@
1
- /*! peach v0.1.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2779 | (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-HWK2V6R4.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.2779 | (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.2779 | (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.2779 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/plist.ts
4
4
  var NAMED_ENTITIES = {