peachsim 0.1.2590 → 0.1.2592

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 (144) 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 +4184 -3613
  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-65FNEARV.mjs → acorn-67PU73QE.mjs} +3 -3
  27. package/dist-lib/esm-chunks/{chunk-X2EKFONU.mjs → chunk-5FTHILIE.mjs} +1 -1
  28. package/dist-lib/esm-chunks/{chunk-ADKUIQXX.mjs → chunk-6DB5FR7S.mjs} +1 -1
  29. package/dist-lib/esm-chunks/{chunk-WPDY5IAD.mjs → chunk-CF3MTPMY.mjs} +1 -1
  30. package/dist-lib/esm-chunks/{chunk-RGC2JNCL.mjs → chunk-D4LYKRRB.mjs} +1 -1
  31. package/dist-lib/esm-chunks/{chunk-EFKDUMB5.mjs → chunk-DFF5XZ5M.mjs} +1 -1
  32. package/dist-lib/esm-chunks/{chunk-2GUB5OLB.mjs → chunk-EHRSWFTD.mjs} +3 -3
  33. package/dist-lib/esm-chunks/{chunk-NZY4GOG5.mjs → chunk-EITX573K.mjs} +1 -1
  34. package/dist-lib/esm-chunks/{chunk-SLPXTLBK.mjs → chunk-EWHA6X3Z.mjs} +5 -5
  35. package/dist-lib/esm-chunks/{chunk-BZS5SIYK.mjs → chunk-FYXXFYML.mjs} +1 -1
  36. package/dist-lib/esm-chunks/{chunk-JG4AANWA.mjs → chunk-GQ3EO2UV.mjs} +107 -6
  37. package/dist-lib/esm-chunks/{chunk-N2II5SRJ.mjs → chunk-GY6TE4B4.mjs} +4 -4
  38. package/dist-lib/esm-chunks/{chunk-HZTK7TP5.mjs → chunk-KDI5YYQ6.mjs} +1 -1
  39. package/dist-lib/esm-chunks/{chunk-4VCRUQ36.mjs → chunk-L5T3HBPO.mjs} +973 -549
  40. package/dist-lib/esm-chunks/{chunk-SRFKOU76.mjs → chunk-M4QLI2SY.mjs} +1 -1
  41. package/dist-lib/esm-chunks/{chunk-OZJ66CXY.mjs → chunk-PITO2NI2.mjs} +2 -2
  42. package/dist-lib/esm-chunks/{chunk-5GNGHM5B.mjs → chunk-QSFWBVUO.mjs} +1 -1
  43. package/dist-lib/esm-chunks/{chunk-YPPH6F77.mjs → chunk-R3WTQB5J.mjs} +1 -1
  44. package/dist-lib/esm-chunks/{chunk-XE3VHAU2.mjs → chunk-RV4ACE6R.mjs} +1 -1
  45. package/dist-lib/esm-chunks/{chunk-GBD26EBV.mjs → chunk-SW4PSSTF.mjs} +1 -1
  46. package/dist-lib/esm-chunks/{chunk-V5TTEXYO.mjs → chunk-TJZPNFVF.mjs} +1 -1
  47. package/dist-lib/esm-chunks/{chunk-WYDRQRJL.mjs → chunk-XSQH4R5E.mjs} +48 -15
  48. package/dist-lib/esm-chunks/{chunk-462CWTWI.mjs → chunk-XZ3FX3HW.mjs} +1 -1
  49. package/dist-lib/esm-chunks/{metro-layout-parser-CRI3GMCM.mjs → metro-layout-parser-EX65MARK.mjs} +3 -3
  50. package/dist-lib/esm-chunks/{swift-package-prebuilt-5XDZ2HZZ.mjs → swift-package-prebuilt-3BPDQVA7.mjs} +10 -10
  51. package/dist-lib/esm-chunks/{swift-sdk-app-module-6H3G6AXD.mjs → swift-sdk-app-module-CRX6E3TR.mjs} +151 -67
  52. package/dist-lib/esm-chunks/{swift-sdk-image-WAC7GG2R.mjs → swift-sdk-image-EJD5TPQH.mjs} +14 -14
  53. package/dist-lib/esm-chunks/{swift-sdk-image-producer-B3L27QTG.mjs → swift-sdk-image-producer-QAZOSLTZ.mjs} +4 -4
  54. package/dist-lib/expo-swift-bundle.cjs +3555 -2987
  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 +5981 -4986
  59. package/dist-lib/host/fetch-proxy-handler.cjs +310 -298
  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 +238 -223
  73. package/dist-lib/native-app-identity-project.mjs +17 -17
  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 +73 -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 +6603 -5608
  93. package/dist-lib/swift-compile.cjs +1363 -778
  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 +12 -6
  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/dist-types/packages/peach-engine/src/engine/native-node-queries.d.ts +1 -0
  126. package/kotlin/sdk.tar.gz +0 -0
  127. package/package.json +1 -1
  128. package/runtime-companion.json +1 -1
  129. package/src/native-bundles.ts +2 -0
  130. package/src/one-native-controls-package.ts +141 -31
  131. package/src/one-sdk/source.ts +2 -1
  132. package/src/oneSdkContract.ts +13 -2
  133. package/src/swift-compile.ts +301 -48
  134. package/src/swift-guest-compile.ts +41 -8
  135. package/src/swift-guest-link.ts +3 -0
  136. package/src/swift-guest-source-inputs.ts +158 -30
  137. package/src/swift-host.ts +88 -16
  138. package/src/swift-reproducible.ts +16 -2
  139. package/src/swift-root-lock.ts +77 -5
  140. package/src/swift-sdk-app-module.ts +146 -59
  141. package/src/swift-sdk-image.ts +53 -10
  142. package/src/swift-startup-split.ts +65 -27
  143. package/src/swift-toolchain.ts +16 -5
  144. package/src/wasm-lazy-split.ts +46 -40
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2590 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2592 | (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.2590 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2592 | (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-HZTK7TP5.mjs";
14
- import "./esm-chunks/chunk-NZY4GOG5.mjs";
13
+ } from "./esm-chunks/chunk-KDI5YYQ6.mjs";
14
+ import "./esm-chunks/chunk-EITX573K.mjs";
15
15
  export {
16
16
  RNX_SCREEN_CAPTURE_VERSION,
17
17
  describeInvalidScreenCapture,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2590 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2592 | (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.2590 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2592 | (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-EFKDUMB5.mjs";
35
- import "./esm-chunks/chunk-NZY4GOG5.mjs";
34
+ } from "./esm-chunks/chunk-DFF5XZ5M.mjs";
35
+ import "./esm-chunks/chunk-EITX573K.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.2590 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2592 | (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.2590 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
- import "./esm-chunks/chunk-NZY4GOG5.mjs";
1
+ /*! peach v0.1.2592 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
+ import "./esm-chunks/chunk-EITX573K.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.2590 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2592 | (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.2590 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2592 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  sleep
4
- } from "./esm-chunks/chunk-X2EKFONU.mjs";
4
+ } from "./esm-chunks/chunk-5FTHILIE.mjs";
5
5
  import {
6
6
  isRnxScreenCapture
7
- } from "./esm-chunks/chunk-HZTK7TP5.mjs";
7
+ } from "./esm-chunks/chunk-KDI5YYQ6.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-EFKDUMB5.mjs";
17
+ } from "./esm-chunks/chunk-DFF5XZ5M.mjs";
18
18
  import {
19
19
  rnxPublicBrand
20
- } from "./esm-chunks/chunk-ADKUIQXX.mjs";
20
+ } from "./esm-chunks/chunk-6DB5FR7S.mjs";
21
21
  import {
22
22
  isRecord
23
- } from "./esm-chunks/chunk-WPDY5IAD.mjs";
23
+ } from "./esm-chunks/chunk-CF3MTPMY.mjs";
24
24
  import {
25
25
  __publicField
26
- } from "./esm-chunks/chunk-NZY4GOG5.mjs";
26
+ } from "./esm-chunks/chunk-EITX573K.mjs";
27
27
 
28
28
  // src/backend-origin.ts
29
29
  var NativeURL = globalThis.URL;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2590 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2592 | (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.2590 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2592 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  isValidRuntimeVersion
4
- } from "./esm-chunks/chunk-YPPH6F77.mjs";
4
+ } from "./esm-chunks/chunk-R3WTQB5J.mjs";
5
5
  import {
6
6
  findBundleFooter
7
- } from "./esm-chunks/chunk-462CWTWI.mjs";
7
+ } from "./esm-chunks/chunk-XZ3FX3HW.mjs";
8
8
  import {
9
9
  isRecord
10
- } from "./esm-chunks/chunk-WPDY5IAD.mjs";
11
- import "./esm-chunks/chunk-NZY4GOG5.mjs";
10
+ } from "./esm-chunks/chunk-CF3MTPMY.mjs";
11
+ import "./esm-chunks/chunk-EITX573K.mjs";
12
12
 
13
13
  // src/nativeViewSourceContract.ts
14
14
  function isNativeViewSource(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2590 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2592 | (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;
@@ -2554,7 +2554,7 @@ function isValidRuntimeVersion(value) {
2554
2554
  }
2555
2555
 
2556
2556
  // runtime-companion.json
2557
- var runtime_companion_default = { abi: 1, sha256: "4602b77f3bf9d9082d7807071661d64a038dd93a8f36f69cbd843d7466aca52d", file: "node/cli-4602b77f3bf9d9082d7807071661d64a038dd93a8f36f69cbd843d7466aca52d.cjs" };
2557
+ var runtime_companion_default = { abi: 1, sha256: "77997e9bfe54e202ba0d46b4d547da7fdee5057dcc6bca21ab545b2444dff855", file: "node/cli-77997e9bfe54e202ba0d46b4d547da7fdee5057dcc6bca21ab545b2444dff855.cjs" };
2558
2558
 
2559
2559
  // src/answeredNativePackages.ts
2560
2560
  var import_node_async_hooks = require("node:async_hooks");
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2590 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2592 | (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.2590 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2592 | (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-BZS5SIYK.mjs";
26
- import "./chunk-NZY4GOG5.mjs";
25
+ } from "./chunk-FYXXFYML.mjs";
26
+ import "./chunk-EITX573K.mjs";
27
27
  export {
28
28
  Node,
29
29
  Parser,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2590 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2592 | (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.2590 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2592 | (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.2590 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2592 | (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.2590 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2592 | (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.2590 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2592 | (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.2590 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2592 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  SIM_LONG_PRESS_MAX_MS
4
- } from "./chunk-XE3VHAU2.mjs";
4
+ } from "./chunk-RV4ACE6R.mjs";
5
5
  import {
6
6
  isRecord
7
- } from "./chunk-WPDY5IAD.mjs";
7
+ } from "./chunk-CF3MTPMY.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.2590 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2592 | (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,24 +1,24 @@
1
- /*! peach v0.1.2590 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2592 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  LAUNCH_METADATA_KEYS,
4
4
  LAUNCH_METADATA_KEYS_PATH
5
- } from "./chunk-SRFKOU76.mjs";
5
+ } from "./chunk-M4QLI2SY.mjs";
6
6
  import {
7
7
  parseSwiftDistributionLock,
8
8
  readActiveRuntime,
9
9
  runtimeDir,
10
10
  swiftDistributionAt,
11
11
  swiftModuleSdk
12
- } from "./chunk-4VCRUQ36.mjs";
12
+ } from "./chunk-L5T3HBPO.mjs";
13
13
  import {
14
14
  SWIFT_WASM_TRIPLE,
15
15
  registerSwiftHostCompiler,
16
16
  swiftCompiler,
17
17
  swiftToolchain
18
- } from "./chunk-JG4AANWA.mjs";
18
+ } from "./chunk-GQ3EO2UV.mjs";
19
19
  import {
20
20
  isRecord
21
- } from "./chunk-WPDY5IAD.mjs";
21
+ } from "./chunk-CF3MTPMY.mjs";
22
22
 
23
23
  // src/swift-distribution.ts
24
24
  import fs2 from "node:fs";
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2590 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2592 | (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.2590 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2592 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/swiftTargetContract.ts
4
4
  var SWIFT_WASM_TRIPLE = "wasm64-unknown-wasip1-threads";
@@ -322,7 +322,8 @@ function swiftToolchainBin(release) {
322
322
  const dirs = [os.homedir(), "/"].map(
323
323
  (base) => path.join(base, `Library/Developer/Toolchains/${release}.xctoolchain/usr/bin`)
324
324
  );
325
- return dirs.find((dir) => fs.existsSync(path.join(dir, "swift"))) ?? dirs[0];
325
+ const found = dirs.find((dir) => fs.existsSync(path.join(dir, "swift")));
326
+ return found ? fs.realpathSync(found) : dirs[0];
326
327
  }
327
328
  if (process.env.CONTRAST_SWIFT_TOOLCHAINS) {
328
329
  return path.join(process.env.CONTRAST_SWIFT_TOOLCHAINS, release, "usr/bin");
@@ -366,18 +367,59 @@ exec ${JSON.stringify(path.join(toolchainBin, "wasm-ld"))} "$@"
366
367
  }
367
368
  function peachHome() {
368
369
  const override = process.env.PEACH_HOME;
369
- return override ? path.resolve(override) : path.join(os.homedir(), ".peach");
370
+ if (override) return path.resolve(override);
371
+ const home = path.join(os.homedir(), ".peach");
372
+ return fs.existsSync(home) ? fs.realpathSync(home) : home;
370
373
  }
371
374
  function peachSwiftSdksDir() {
372
375
  return process.env.PEACH_SWIFT_SDKS_PATH ?? path.join(peachHome(), "swift", "sdks");
373
376
  }
374
377
  var BUILDERS_ROOT_ENV = "CONTRAST_BUILDERS_ROOT";
378
+ var agentBuildersRoot;
379
+ function agentSharedCacheRoot() {
380
+ if (process.platform !== "darwin" || !process.env.TM_SESSION) return null;
381
+ if (agentBuildersRoot) return agentBuildersRoot;
382
+ const policy = JSON.parse(
383
+ execFileSync("tm", ["machine", "policy", "--json"], {
384
+ encoding: "utf8",
385
+ timeout: 3e4
386
+ })
387
+ );
388
+ const mounts = policy.storage_mounts ?? [];
389
+ if (!Array.isArray(mounts)) throw new Error("storage_mounts must be a list");
390
+ const isMount = (directory) => {
391
+ const lines = execFileSync("/bin/df", ["-P", directory], {
392
+ encoding: "utf8",
393
+ timeout: 3e4
394
+ }).trim().split("\n");
395
+ const fields = lines[lines.length - 1].trim().split(/\s+/);
396
+ const mount = fields.slice(5).join(" ");
397
+ if (!path.isAbsolute(mount))
398
+ throw new Error("filesystem mount identity is unavailable");
399
+ return fs.realpathSync(directory) === fs.realpathSync(mount);
400
+ };
401
+ for (const mount of mounts) {
402
+ if (typeof mount !== "string" || !path.isAbsolute(mount) || !isMount(mount))
403
+ throw new Error(`configured storage is not mounted: ${mount}`);
404
+ }
405
+ const heavy = policy.heavy_data_dir;
406
+ if (heavy == null) return agentBuildersRoot = path.join(os.homedir(), "builders");
407
+ if (typeof heavy !== "string" || !path.isAbsolute(heavy) || !fs.statSync(heavy).isDirectory())
408
+ throw new Error(`configured heavy_data_dir is unavailable: ${heavy}`);
409
+ const mounted = isMount(heavy);
410
+ if (path.dirname(heavy) === "/Volumes" && !mounted)
411
+ throw new Error(`configured storage is not mounted: ${heavy}`);
412
+ return agentBuildersRoot = mounted && fs.statSync(heavy).dev === fs.statSync(os.homedir()).dev ? path.join(os.homedir(), "builders") : path.join(heavy, "builders");
413
+ }
375
414
  function buildersRootEnv() {
376
415
  const root = process.env[BUILDERS_ROOT_ENV]?.trim();
377
416
  return root ? root : null;
378
417
  }
418
+ function resolvedBuildersRoot() {
419
+ return buildersRootEnv() ?? (process.env.PEACH_HOME ? null : agentSharedCacheRoot());
420
+ }
379
421
  function swiftCacheDir() {
380
- const root = buildersRootEnv();
422
+ const root = resolvedBuildersRoot();
381
423
  return root ? path.join(root, "peach-cache") : path.join(peachHome(), "cache");
382
424
  }
383
425
  var SWIFT_CACHE_HOLD_MARKER = ".tm-hold";
@@ -390,7 +432,7 @@ function refreshSwiftCacheHold(directory) {
390
432
  const [kind, key] = relative.split(path.sep);
391
433
  if (!key || kind === ".." || path.isAbsolute(relative)) return;
392
434
  const entry = path.join(cacheRoot, kind, key);
393
- if (!buildersRootEnv()) {
435
+ if (!resolvedBuildersRoot()) {
394
436
  const now = /* @__PURE__ */ new Date();
395
437
  fs.utimesSync(entry, now, now);
396
438
  return;
@@ -1331,12 +1373,68 @@ function rootLockKey(root) {
1331
1373
  function swiftRootLocksDir() {
1332
1374
  return path2.join(homedir(), ".peach", "cache", "swift-root-locks");
1333
1375
  }
1334
- async function withSwiftRootLock(root, work, signal, wait = true) {
1376
+ function lockDirectoryFor(root) {
1335
1377
  const directory = path2.join(
1336
1378
  swiftRootLocksDir(),
1337
1379
  createHash2("sha256").update(rootLockKey(root)).digest("hex").slice(0, 32)
1338
1380
  );
1339
1381
  mkdirSync(directory, { recursive: true });
1382
+ return directory;
1383
+ }
1384
+ function acquireSwiftRootReadHold(root) {
1385
+ const directory = lockDirectoryFor(root);
1386
+ const token = randomUUID();
1387
+ const pending = path2.join(directory, `pending.reader.${token}`);
1388
+ const reader = path2.join(directory, `reader.${token}`);
1389
+ writeFileSync2(pending, JSON.stringify(ownIdentity(process.pid)));
1390
+ try {
1391
+ linkSync(pending, reader);
1392
+ } finally {
1393
+ rmSync2(pending, { force: true });
1394
+ }
1395
+ let released = false;
1396
+ return {
1397
+ release() {
1398
+ if (released) return;
1399
+ released = true;
1400
+ rmSync2(reader, { force: true });
1401
+ }
1402
+ };
1403
+ }
1404
+ async function hasLiveSwiftRootReaders(root, signal) {
1405
+ const directory = lockDirectoryFor(root);
1406
+ const entries = readdirSync3(directory).filter((entry) => entry.startsWith("reader."));
1407
+ if (entries.length === 0) return false;
1408
+ for (const entry of entries) {
1409
+ const file = path2.join(directory, entry);
1410
+ let text;
1411
+ try {
1412
+ text = readFileSync3(file, "utf8");
1413
+ } catch (error) {
1414
+ if (errorCode(error) === "ENOENT") continue;
1415
+ throw error;
1416
+ }
1417
+ const identity = parseIdentity(text);
1418
+ const rows = await processTableWithRetry(identity.pid, signal);
1419
+ if (rows.some((row) => !row.zombie && sameProcess(row, identity))) return true;
1420
+ rmSync2(file, { force: true });
1421
+ }
1422
+ return false;
1423
+ }
1424
+ async function waitForNoSwiftRootReaders(root, signal) {
1425
+ let announced = false;
1426
+ while (await hasLiveSwiftRootReaders(root, signal)) {
1427
+ signal?.throwIfAborted();
1428
+ if (!announced) {
1429
+ announced = true;
1430
+ process.stderr.write(`[swift-root-lock] waiting for readers of ${root}
1431
+ `);
1432
+ }
1433
+ await pause(POLL_MS, signal);
1434
+ }
1435
+ }
1436
+ async function withSwiftRootLock(root, work, signal, wait = true) {
1437
+ const directory = lockDirectoryFor(root);
1340
1438
  const token = randomUUID();
1341
1439
  const ownRow = (await processTableWithRetry(process.pid, signal)).find(
1342
1440
  (candidate) => candidate.pid === process.pid && !candidate.zombie
@@ -1471,5 +1569,8 @@ export {
1471
1569
  swiftCompiler,
1472
1570
  terminateProcessGroup,
1473
1571
  windowAdmission,
1572
+ acquireSwiftRootReadHold,
1573
+ hasLiveSwiftRootReaders,
1574
+ waitForNoSwiftRootReaders,
1474
1575
  withSwiftRootLock
1475
1576
  };
@@ -1,13 +1,13 @@
1
- /*! peach v0.1.2590 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2592 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  isSwiftImageVariants
4
- } from "./chunk-RGC2JNCL.mjs";
4
+ } from "./chunk-D4LYKRRB.mjs";
5
5
  import {
6
6
  findBundleFooter
7
- } from "./chunk-462CWTWI.mjs";
7
+ } from "./chunk-XZ3FX3HW.mjs";
8
8
  import {
9
9
  isRecord
10
- } from "./chunk-WPDY5IAD.mjs";
10
+ } from "./chunk-CF3MTPMY.mjs";
11
11
 
12
12
  // src/android-string-value.ts
13
13
  function compileAndroidStringValue(text, where) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2590 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2592 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/capture-contract.ts
4
4
  var RNX_SCREEN_CAPTURE_VERSION = 1;