peachsim 0.1.2592 → 0.1.2594

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 (138) 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 +1737 -1648
  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-67PU73QE.mjs → acorn-M67PRRGJ.mjs} +3 -3
  27. package/dist-lib/esm-chunks/{chunk-EWHA6X3Z.mjs → chunk-3VEDDAPT.mjs} +5 -5
  28. package/dist-lib/esm-chunks/{chunk-DFF5XZ5M.mjs → chunk-4AOZYVB2.mjs} +1 -1
  29. package/dist-lib/esm-chunks/{chunk-PITO2NI2.mjs → chunk-6MZ5FKMK.mjs} +2 -2
  30. package/dist-lib/esm-chunks/{chunk-6DB5FR7S.mjs → chunk-EDBGKIQ2.mjs} +1 -1
  31. package/dist-lib/esm-chunks/{chunk-EITX573K.mjs → chunk-FFHDCOXF.mjs} +1 -1
  32. package/dist-lib/esm-chunks/{chunk-GY6TE4B4.mjs → chunk-GER2Z6BI.mjs} +4 -4
  33. package/dist-lib/esm-chunks/{chunk-QSFWBVUO.mjs → chunk-HJJI36KV.mjs} +1 -1
  34. package/dist-lib/esm-chunks/{chunk-EHRSWFTD.mjs → chunk-INOLFCG5.mjs} +3 -3
  35. package/dist-lib/esm-chunks/{chunk-CF3MTPMY.mjs → chunk-IUDVBSA4.mjs} +1 -1
  36. package/dist-lib/esm-chunks/{chunk-GQ3EO2UV.mjs → chunk-NN73CP4F.mjs} +1 -1
  37. package/dist-lib/esm-chunks/{chunk-XZ3FX3HW.mjs → chunk-PESI6OUB.mjs} +1 -1
  38. package/dist-lib/esm-chunks/{chunk-RV4ACE6R.mjs → chunk-QHYHKB3J.mjs} +1 -1
  39. package/dist-lib/esm-chunks/{chunk-KDI5YYQ6.mjs → chunk-QSPPJOT6.mjs} +1 -1
  40. package/dist-lib/esm-chunks/{chunk-R3WTQB5J.mjs → chunk-QUMKCF67.mjs} +1 -1
  41. package/dist-lib/esm-chunks/{chunk-FYXXFYML.mjs → chunk-RESE3ERA.mjs} +1 -1
  42. package/dist-lib/esm-chunks/{chunk-TJZPNFVF.mjs → chunk-SBHXHWKH.mjs} +1 -1
  43. package/dist-lib/esm-chunks/{chunk-M4QLI2SY.mjs → chunk-SV76NV36.mjs} +1 -1
  44. package/dist-lib/esm-chunks/{chunk-XSQH4R5E.mjs → chunk-UAEIMMNH.mjs} +69 -48
  45. package/dist-lib/esm-chunks/{chunk-D4LYKRRB.mjs → chunk-X242Y5KS.mjs} +1 -1
  46. package/dist-lib/esm-chunks/{chunk-L5T3HBPO.mjs → chunk-XM3OLATO.mjs} +240 -206
  47. package/dist-lib/esm-chunks/{chunk-SW4PSSTF.mjs → chunk-YGDCMWUX.mjs} +1 -1
  48. package/dist-lib/esm-chunks/{chunk-5FTHILIE.mjs → chunk-Z6E7GAQS.mjs} +1 -1
  49. package/dist-lib/esm-chunks/{metro-layout-parser-EX65MARK.mjs → metro-layout-parser-ZJUAU4C3.mjs} +3 -3
  50. package/dist-lib/esm-chunks/{swift-package-prebuilt-3BPDQVA7.mjs → swift-package-prebuilt-2FFVA7SB.mjs} +10 -10
  51. package/dist-lib/esm-chunks/{swift-sdk-app-module-CRX6E3TR.mjs → swift-sdk-app-module-A2ZJMCBX.mjs} +30 -20
  52. package/dist-lib/esm-chunks/{swift-sdk-image-EJD5TPQH.mjs → swift-sdk-image-HJLWK2B6.mjs} +14 -14
  53. package/dist-lib/esm-chunks/{swift-sdk-image-producer-QAZOSLTZ.mjs → swift-sdk-image-producer-7EM7U2LR.mjs} +4 -4
  54. package/dist-lib/expo-swift-bundle.cjs +324 -235
  55. package/dist-lib/expo-swift-metadata.cjs +1 -1
  56. package/dist-lib/expo-swift-metadata.mjs +7 -7
  57. package/dist-lib/home-paths.cjs +1 -1
  58. package/dist-lib/host/bridge-host.cjs +480 -255
  59. package/dist-lib/host/fetch-proxy-handler.cjs +67 -16
  60. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  61. package/dist-lib/host/fetch-proxy-overrides.mjs +2 -2
  62. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  63. package/dist-lib/host/websocket-proxy.cjs +1 -1
  64. package/dist-lib/index.cjs +1 -1
  65. package/dist-lib/kotlin-host.cjs +1 -1
  66. package/dist-lib/menu.cjs +1 -1
  67. package/dist-lib/menu.mjs +3 -3
  68. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  69. package/dist-lib/metro-fingerprint-registry.mjs +3 -3
  70. package/dist-lib/metro-production-bundle.cjs +1 -1
  71. package/dist-lib/metro-production-bundle.mjs +4 -4
  72. package/dist-lib/native-app-identity-project.cjs +5 -5
  73. package/dist-lib/native-app-identity-project.mjs +16 -16
  74. package/dist-lib/native-app-identity.cjs +1 -1
  75. package/dist-lib/native-app-identity.mjs +6 -6
  76. package/dist-lib/native-firebase-metadata.cjs +1 -1
  77. package/dist-lib/native-firebase-metadata.mjs +3 -3
  78. package/dist-lib/pdfium-raster.cjs +1 -1
  79. package/dist-lib/pdfium-raster.mjs +2 -2
  80. package/dist-lib/plist.cjs +1 -1
  81. package/dist-lib/plist.mjs +3 -3
  82. package/dist-lib/profiles.cjs +1 -1
  83. package/dist-lib/public-brand.cjs +1 -1
  84. package/dist-lib/public-origins-lib-esm.json +81 -81
  85. package/dist-lib/public-origins-lib.json +71 -71
  86. package/dist-lib/react-native-host-modules.cjs +1 -1
  87. package/dist-lib/react-native-host-modules.mjs +2 -2
  88. package/dist-lib/reap-browser.cjs +1 -1
  89. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  90. package/dist-lib/sdk.cjs +1 -1
  91. package/dist-lib/sdk.mjs +8 -8
  92. package/dist-lib/skills.cjs +480 -255
  93. package/dist-lib/swift-compile.cjs +286 -230
  94. package/dist-lib/swift-compile.mjs +10 -10
  95. package/dist-lib/swift-package.cjs +1 -1
  96. package/dist-lib/swift-package.mjs +3 -3
  97. package/dist-lib/swift-submit.cjs +1 -1
  98. package/dist-lib/swift-submit.mjs +6 -6
  99. package/dist-lib/swift-svg-raster.cjs +1 -1
  100. package/dist-lib/swift-svg-raster.mjs +2 -2
  101. package/dist-lib/swift-toolchain.cjs +1 -1
  102. package/dist-lib/swift.cjs +1 -1
  103. package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
  104. package/dist-lib/vendor/@ruby/prism/src/nodes.js.cjs +1 -1
  105. package/dist-lib/vendor/@ruby/prism/src/parsePrism.js.cjs +1 -1
  106. package/dist-lib/vendor/@xmldom/xmldom.cjs +1 -1
  107. package/dist-lib/vendor/acorn.cjs +1 -1
  108. package/dist-lib/vendor/bplist-parser.cjs +1 -1
  109. package/dist-lib/vendor/ignore.cjs +1 -1
  110. package/dist-lib/vendor/magic-string.cjs +1 -1
  111. package/dist-lib/vendor/plist.cjs +1 -1
  112. package/dist-lib/vendor/smol-toml.cjs +1 -1
  113. package/dist-lib/vendor/stream-json.cjs +1 -1
  114. package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
  115. package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
  116. package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
  117. package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
  118. package/dist-lib/vendor/sucrase.cjs +1 -1
  119. package/dist-lib/vendor/terser.cjs +1 -1
  120. package/dist-lib/vendor/valibot.cjs +1 -1
  121. package/dist-lib/vendor/ws.cjs +1 -1
  122. package/dist-lib/vendor/zod.cjs +1 -1
  123. package/dist-lib/worklet-executable.cjs +1 -1
  124. package/dist-lib/worklet-executable.mjs +3 -3
  125. package/kotlin/sdk.tar.gz +0 -0
  126. package/package.json +1 -1
  127. package/src/binaryen.lock.json +3 -3
  128. package/src/host/fetch-proxy-handler.ts +63 -9
  129. package/src/one-native-controls-package.ts +95 -10
  130. package/src/one-sdk-preparation.ts +40 -2
  131. package/src/swift-guest-compile.ts +11 -2
  132. package/src/swift-guest-projection-storage.ts +45 -26
  133. package/src/swift-guest-runtime-plan.ts +1 -1
  134. package/src/swift-sdk-app-module.ts +15 -6
  135. package/src/swift-sdk-image-wasm.ts +5 -2
  136. package/src/swift-sdk-image.ts +69 -49
  137. package/src/swift-wasm-prune.ts +51 -34
  138. package/src/wasm-optimize.ts +146 -140
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2592 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2594 | (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.2592 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2594 | (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-KDI5YYQ6.mjs";
14
- import "./esm-chunks/chunk-EITX573K.mjs";
13
+ } from "./esm-chunks/chunk-QSPPJOT6.mjs";
14
+ import "./esm-chunks/chunk-FFHDCOXF.mjs";
15
15
  export {
16
16
  RNX_SCREEN_CAPTURE_VERSION,
17
17
  describeInvalidScreenCapture,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2592 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2594 | (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.2592 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2594 | (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-DFF5XZ5M.mjs";
35
- import "./esm-chunks/chunk-EITX573K.mjs";
34
+ } from "./esm-chunks/chunk-4AOZYVB2.mjs";
35
+ import "./esm-chunks/chunk-FFHDCOXF.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.2592 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2594 | (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.2592 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
- import "./esm-chunks/chunk-EITX573K.mjs";
1
+ /*! peach v0.1.2594 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
+ import "./esm-chunks/chunk-FFHDCOXF.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.2592 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2594 | (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.2592 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2594 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  sleep
4
- } from "./esm-chunks/chunk-5FTHILIE.mjs";
4
+ } from "./esm-chunks/chunk-Z6E7GAQS.mjs";
5
5
  import {
6
6
  isRnxScreenCapture
7
- } from "./esm-chunks/chunk-KDI5YYQ6.mjs";
7
+ } from "./esm-chunks/chunk-QSPPJOT6.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-DFF5XZ5M.mjs";
17
+ } from "./esm-chunks/chunk-4AOZYVB2.mjs";
18
18
  import {
19
19
  rnxPublicBrand
20
- } from "./esm-chunks/chunk-6DB5FR7S.mjs";
20
+ } from "./esm-chunks/chunk-EDBGKIQ2.mjs";
21
21
  import {
22
22
  isRecord
23
- } from "./esm-chunks/chunk-CF3MTPMY.mjs";
23
+ } from "./esm-chunks/chunk-IUDVBSA4.mjs";
24
24
  import {
25
25
  __publicField
26
- } from "./esm-chunks/chunk-EITX573K.mjs";
26
+ } from "./esm-chunks/chunk-FFHDCOXF.mjs";
27
27
 
28
28
  // src/backend-origin.ts
29
29
  var NativeURL = globalThis.URL;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2592 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2594 | (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.2592 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2594 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  isValidRuntimeVersion
4
- } from "./esm-chunks/chunk-R3WTQB5J.mjs";
4
+ } from "./esm-chunks/chunk-QUMKCF67.mjs";
5
5
  import {
6
6
  findBundleFooter
7
- } from "./esm-chunks/chunk-XZ3FX3HW.mjs";
7
+ } from "./esm-chunks/chunk-PESI6OUB.mjs";
8
8
  import {
9
9
  isRecord
10
- } from "./esm-chunks/chunk-CF3MTPMY.mjs";
11
- import "./esm-chunks/chunk-EITX573K.mjs";
10
+ } from "./esm-chunks/chunk-IUDVBSA4.mjs";
11
+ import "./esm-chunks/chunk-FFHDCOXF.mjs";
12
12
 
13
13
  // src/nativeViewSourceContract.ts
14
14
  function isNativeViewSource(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2592 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2594 | (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.2592 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2594 | (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.2592 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2594 | (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-FYXXFYML.mjs";
26
- import "./chunk-EITX573K.mjs";
25
+ } from "./chunk-RESE3ERA.mjs";
26
+ import "./chunk-FFHDCOXF.mjs";
27
27
  export {
28
28
  Node,
29
29
  Parser,
@@ -1,24 +1,24 @@
1
- /*! peach v0.1.2592 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2594 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  LAUNCH_METADATA_KEYS,
4
4
  LAUNCH_METADATA_KEYS_PATH
5
- } from "./chunk-M4QLI2SY.mjs";
5
+ } from "./chunk-SV76NV36.mjs";
6
6
  import {
7
7
  parseSwiftDistributionLock,
8
8
  readActiveRuntime,
9
9
  runtimeDir,
10
10
  swiftDistributionAt,
11
11
  swiftModuleSdk
12
- } from "./chunk-L5T3HBPO.mjs";
12
+ } from "./chunk-XM3OLATO.mjs";
13
13
  import {
14
14
  SWIFT_WASM_TRIPLE,
15
15
  registerSwiftHostCompiler,
16
16
  swiftCompiler,
17
17
  swiftToolchain
18
- } from "./chunk-GQ3EO2UV.mjs";
18
+ } from "./chunk-NN73CP4F.mjs";
19
19
  import {
20
20
  isRecord
21
- } from "./chunk-CF3MTPMY.mjs";
21
+ } from "./chunk-IUDVBSA4.mjs";
22
22
 
23
23
  // src/swift-distribution.ts
24
24
  import fs2 from "node:fs";
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2592 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2594 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/cloud-contract.ts
4
4
  var AGENT_IDENTITY_MAX_CHARS = 200;
@@ -1,8 +1,8 @@
1
- /*! peach v0.1.2592 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2594 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  __commonJS,
4
4
  __toESM
5
- } from "./chunk-EITX573K.mjs";
5
+ } from "./chunk-FFHDCOXF.mjs";
6
6
 
7
7
  // ../../node_modules/@xmldom/xmldom/lib/conventions.js
8
8
  var require_conventions = __commonJS({
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2592 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2594 | (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.2592 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2594 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  var __create = Object.create;
3
3
  var __defProp = Object.defineProperty;
4
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -1,13 +1,13 @@
1
- /*! peach v0.1.2592 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2594 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  isSwiftImageVariants
4
- } from "./chunk-D4LYKRRB.mjs";
4
+ } from "./chunk-X242Y5KS.mjs";
5
5
  import {
6
6
  findBundleFooter
7
- } from "./chunk-XZ3FX3HW.mjs";
7
+ } from "./chunk-PESI6OUB.mjs";
8
8
  import {
9
9
  isRecord
10
- } from "./chunk-CF3MTPMY.mjs";
10
+ } from "./chunk-IUDVBSA4.mjs";
11
11
 
12
12
  // src/android-string-value.ts
13
13
  function compileAndroidStringValue(text, where) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2592 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2594 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/swiftContract.ts
4
4
  function isSwiftSourceLinkGraph(value) {
@@ -1,10 +1,10 @@
1
- /*! peach v0.1.2592 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2594 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  SIM_LONG_PRESS_MAX_MS
4
- } from "./chunk-RV4ACE6R.mjs";
4
+ } from "./chunk-QHYHKB3J.mjs";
5
5
  import {
6
6
  isRecord
7
- } from "./chunk-CF3MTPMY.mjs";
7
+ } from "./chunk-IUDVBSA4.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.2592 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2594 | (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.2592 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2594 | (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.2592 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2594 | (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.2592 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2594 | (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.2592 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2594 | (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.2592 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2594 | (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.2592 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2594 | (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.2592 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2594 | (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.2592 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2594 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/launchMetadataContract.ts
4
4
  var LAUNCH_METADATA_QUERY_PARAM = "launchMetadata";
@@ -1,7 +1,7 @@
1
- /*! peach v0.1.2592 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2594 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  swiftModuleToolchain
4
- } from "./chunk-EWHA6X3Z.mjs";
4
+ } from "./chunk-3VEDDAPT.mjs";
5
5
  import {
6
6
  DARWIN_RECORDS_PREFIX,
7
7
  KEEP_WASM_NAMES,
@@ -31,13 +31,13 @@ import {
31
31
  swiftSdkPaths,
32
32
  unslottedFunctions,
33
33
  wasmSections
34
- } from "./chunk-L5T3HBPO.mjs";
34
+ } from "./chunk-XM3OLATO.mjs";
35
35
  import {
36
36
  SWIFT_WASM_TRIPLE,
37
37
  sourceSwiftCheckout,
38
38
  swiftCacheDir,
39
39
  withSwiftRootLock
40
- } from "./chunk-GQ3EO2UV.mjs";
40
+ } from "./chunk-NN73CP4F.mjs";
41
41
 
42
42
  // src/swift-sdk-image.ts
43
43
  import { execFile } from "node:child_process";
@@ -215,7 +215,7 @@ async function buildSwiftSdkImage(moduleRoot, scopedLookups = false, frameworkIm
215
215
  const existing = cached(directory, key);
216
216
  if (existing) return existing;
217
217
  if (!options?.producer && !swiftDistributionAt(moduleRoot) && path.resolve(moduleRoot) === sourceSwiftCheckout() && process.platform === "linux" && process.env.TM_SESSION) {
218
- const { produceSwiftSdkImage } = await import("./swift-sdk-image-producer-QAZOSLTZ.mjs");
218
+ const { produceSwiftSdkImage } = await import("./swift-sdk-image-producer-7EM7U2LR.mjs");
219
219
  await produceSwiftSdkImage({
220
220
  moduleRoot,
221
221
  key,
@@ -326,9 +326,11 @@ async function linkSwiftSdkImage(moduleRoot, key, directory, work, scopedLookups
326
326
  objects.push({ path: object, bytes, instrumentDynamicLookups: false });
327
327
  guestObjects.set(product, objects);
328
328
  };
329
- const classifyFile = (file) => {
329
+ const classifyFile = (file, collectAutolink = false) => {
330
330
  const bytes = readFileSync(file);
331
331
  if (!file.endsWith(".a")) {
332
+ if (collectAutolink)
333
+ for (const library of autolinkLibraries(bytes)) libraries.add(library);
332
334
  const scoped = lookups?.rewrite(file, bytes) ?? bytes;
333
335
  return addObject(file, scoped, file);
334
336
  }
@@ -336,6 +338,8 @@ async function linkSwiftSdkImage(moduleRoot, key, directory, work, scopedLookups
336
338
  mkdirSync(path.join(members, archive));
337
339
  const ordinals = /* @__PURE__ */ new Map();
338
340
  readArMembers(bytes).forEach((member, index) => {
341
+ if (collectAutolink)
342
+ for (const library of autolinkLibraries(member.bytes)) libraries.add(library);
339
343
  const object = path.join(members, archive, `${index}-${path.basename(member.name)}`);
340
344
  const ordinal = (ordinals.get(member.name) ?? 0) + 1;
341
345
  ordinals.set(member.name, ordinal);
@@ -350,9 +354,7 @@ async function linkSwiftSdkImage(moduleRoot, key, directory, work, scopedLookups
350
354
  });
351
355
  };
352
356
  for (const object of [...link.objects, ...link.providers]) {
353
- classifyFile(object);
354
- for (const bytes of objectMembers(object))
355
- for (const library of autolinkLibraries(bytes)) libraries.add(library);
357
+ classifyFile(object, true);
356
358
  }
357
359
  for (const library of libraries) {
358
360
  if (unpacked.has(library.slice(2))) continue;
@@ -365,6 +367,7 @@ async function linkSwiftSdkImage(moduleRoot, key, directory, work, scopedLookups
365
367
  const hostExports = sdkHostExports(appRoot);
366
368
  const guestMap = /* @__PURE__ */ new Map();
367
369
  const guestMetadataNames = {};
370
+ const compiles = [];
368
371
  if (lookups) {
369
372
  const ledger = lookups.link(guestObjects, [
370
373
  ...hostExports,
@@ -400,33 +403,38 @@ async function linkSwiftSdkImage(moduleRoot, key, directory, work, scopedLookups
400
403
  const scopeLedger = path.join(work, "guest-ledger.ll");
401
404
  const scopeObject = path.join(work, "guest-ledger.o");
402
405
  writeFileSync(scopeLedger, ledger.llvmIR);
403
- await run(path.join(toolchain.toolchainBin, "clang"), [
404
- `--target=${SWIFT_WASM_TRIPLE}`,
405
- "-matomics",
406
- "-mbulk-memory",
407
- "-c",
408
- scopeLedger,
409
- "-o",
410
- scopeObject
411
- ]);
406
+ compiles.push(
407
+ run(path.join(toolchain.toolchainBin, "clang"), [
408
+ `--target=${SWIFT_WASM_TRIPLE}`,
409
+ "-matomics",
410
+ "-mbulk-memory",
411
+ "-c",
412
+ scopeLedger,
413
+ "-o",
414
+ scopeObject
415
+ ])
416
+ );
412
417
  eager.push(scopeObject);
413
418
  }
414
419
  writeFileSync(
415
420
  path.join(work, "image-tables.c"),
416
421
  IMAGE_TABLES + (guestLookups?.source ?? "")
417
422
  );
418
- await run(path.join(toolchain.toolchainBin, "clang"), [
419
- `--target=${SWIFT_WASM_TRIPLE}`,
420
- "-O2",
421
- "-matomics",
422
- "-mbulk-memory",
423
- "-ffreestanding",
424
- ...lookups ? ["-DPEACH_SDK_GUEST_LINK"] : [],
425
- "-c",
426
- path.join(work, "image-tables.c"),
427
- "-o",
428
- tables
429
- ]);
423
+ compiles.push(
424
+ run(path.join(toolchain.toolchainBin, "clang"), [
425
+ `--target=${SWIFT_WASM_TRIPLE}`,
426
+ "-O2",
427
+ "-matomics",
428
+ "-mbulk-memory",
429
+ "-ffreestanding",
430
+ ...lookups ? ["-DPEACH_SDK_GUEST_LINK"] : [],
431
+ "-c",
432
+ path.join(work, "image-tables.c"),
433
+ "-o",
434
+ tables
435
+ ])
436
+ );
437
+ await Promise.all(compiles);
430
438
  const quote = (value) => JSON.stringify(value);
431
439
  writeFileSync(
432
440
  path.join(work, "exports.rsp"),
@@ -485,23 +493,31 @@ async function linkSwiftSdkImage(moduleRoot, key, directory, work, scopedLookups
485
493
  if (mask === void 0) throw new Error("sdk image lacks its constructor mask");
486
494
  const code = path.join(work, "code.wasm");
487
495
  writeFileSync(code, codeOnlySdkImage(finished, mask));
488
- await lowerWasm(code, path.join(work, IMAGE_FILE), {
496
+ const lowerPromise = lowerWasm(code, path.join(work, IMAGE_FILE), {
489
497
  optimize: true,
490
498
  skipPasses: lookups ? ["duplicate-function-elimination"] : void 0
491
499
  });
500
+ await new Promise((resolve) => setImmediate(resolve));
501
+ try {
502
+ writeSdkManifest(
503
+ work,
504
+ linkMap,
505
+ linkedBytes,
506
+ finished,
507
+ readFileSync(withRelocs),
508
+ functionSlots,
509
+ lookups && { inputs: guestMap, metadataNames: guestMetadataNames }
510
+ );
511
+ } catch (error) {
512
+ await lowerPromise.catch(() => {
513
+ });
514
+ throw error;
515
+ }
516
+ await lowerPromise;
492
517
  const image = readFileSync(path.join(work, IMAGE_FILE));
493
518
  sdkInterface.layout.tableEnd += unslottedFunctions(image);
494
519
  if (sdkInterface.layout.tableEnd > SWIFT_SDK_APP_TABLE_BASE)
495
520
  throw new Error("Swift SDK image exceeds its reserved function table range");
496
- writeSdkManifest(
497
- work,
498
- linkMap,
499
- linkedBytes,
500
- finished,
501
- readFileSync(withRelocs),
502
- functionSlots,
503
- lookups && { inputs: guestMap, metadataNames: guestMetadataNames }
504
- );
505
521
  writeFileSync(path.join(work, INTERFACE_FILE), JSON.stringify(sdkInterface));
506
522
  writeFileSync(
507
523
  path.join(work, IMAGE_DIGEST),
@@ -570,14 +586,11 @@ function sdkLinkInputs(appRoot) {
570
586
  if (!crt) throw new Error("the sdk image link found no reactor startup object");
571
587
  return { flags, libraries, objects: [crt, ...objects], providers };
572
588
  }
573
- function objectMembers(file) {
574
- const bytes = readFileSync(file);
575
- return file.endsWith(".a") ? readArMembers(bytes).map((member) => member.bytes) : [bytes];
576
- }
577
589
  function autolinkLibraries(bytes) {
578
590
  const entries = wasmSections(bytes).find((s) => s.name === ".swift1_autolink_entries");
579
591
  if (!entries) return [];
580
- return Buffer.from(bytes.subarray(entries.start, entries.end)).toString().split("\0").filter((entry) => entry.startsWith("-l"));
592
+ const raw = Buffer.isBuffer(bytes) ? bytes : Buffer.from(bytes.buffer, bytes.byteOffset, bytes.byteLength);
593
+ return raw.toString("utf8", entries.start, entries.end).split("\0").filter((entry) => entry.startsWith("-l"));
581
594
  }
582
595
  function sdkHostExports(appRoot) {
583
596
  const release = path.join(appRoot, ".build", SWIFT_WASM_TRIPLE, "release");
@@ -664,9 +677,17 @@ function writeSdkManifest(work, map, linked, finished, withRelocs, functionSlots
664
677
  return { starts, targets };
665
678
  };
666
679
  const byAddress = (edges2) => {
667
- const pairs = [];
668
- for (let i = 0; i < edges2.length; i += 2) pairs.push([edges2[i], edges2[i + 1]]);
669
- return pairs.sort((a, b) => a[0] - b[0]).flat();
680
+ const count = edges2.length >>> 1;
681
+ const order = new Uint32Array(count);
682
+ for (let i = 0; i < count; i++) order[i] = i;
683
+ order.sort((a, b) => edges2[a * 2] - edges2[b * 2]);
684
+ const sorted = new Uint32Array(edges2.length);
685
+ for (let i = 0; i < count; i++) {
686
+ const src = order[i] * 2;
687
+ sorted[i * 2] = edges2[src];
688
+ sorted[i * 2 + 1] = edges2[src + 1];
689
+ }
690
+ return sorted;
670
691
  };
671
692
  const functionData = flatten(edges.code);
672
693
  const functionCalls = flatten(edges.calls);
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2592 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2594 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/assetCatalogContract.ts
4
4
  function isSwiftImageVariants(value) {