peachsim 0.1.2793 → 0.1.2795

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 +1183 -1003
  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-Q5VJTSKK.mjs → acorn-75V3OBXH.mjs} +3 -3
  27. package/dist-lib/esm-chunks/{chunk-TADAJDSF.mjs → chunk-2RTQFMA3.mjs} +1 -1
  28. package/dist-lib/esm-chunks/{chunk-PTIDPELK.mjs → chunk-3E4ZLMXW.mjs} +2 -2
  29. package/dist-lib/esm-chunks/{chunk-JMR6F3DC.mjs → chunk-5DDUQYBY.mjs} +1 -1
  30. package/dist-lib/esm-chunks/{chunk-COIKWBXT.mjs → chunk-ASMHH2QN.mjs} +1 -1
  31. package/dist-lib/esm-chunks/{chunk-4P3IOCZK.mjs → chunk-ATM3HZDR.mjs} +5 -5
  32. package/dist-lib/esm-chunks/{chunk-YEBPOLJT.mjs → chunk-B5Q2MKHJ.mjs} +1 -1
  33. package/dist-lib/esm-chunks/{chunk-GVQYPMGV.mjs → chunk-BMIH6S26.mjs} +1 -1
  34. package/dist-lib/esm-chunks/{chunk-6YRIQX2Q.mjs → chunk-CZCT5EAJ.mjs} +3 -3
  35. package/dist-lib/esm-chunks/{chunk-BEO5Q2GJ.mjs → chunk-DGXGBF5N.mjs} +1 -1
  36. package/dist-lib/esm-chunks/{chunk-RVJCN7O6.mjs → chunk-DJXJO7YZ.mjs} +64 -21
  37. package/dist-lib/esm-chunks/{chunk-U23E4H6F.mjs → chunk-F4G4DEEZ.mjs} +1 -1
  38. package/dist-lib/esm-chunks/{chunk-ELHDFPTV.mjs → chunk-JKYNP3NX.mjs} +1 -1
  39. package/dist-lib/esm-chunks/{chunk-6LTBRJF4.mjs → chunk-JMGRUOXY.mjs} +1 -1
  40. package/dist-lib/esm-chunks/{chunk-XCBOY63C.mjs → chunk-K2ZBCAZ5.mjs} +4 -4
  41. package/dist-lib/esm-chunks/{chunk-SCUA4P4G.mjs → chunk-KJEDFVG6.mjs} +1116 -1056
  42. package/dist-lib/esm-chunks/{chunk-TS7JWC6Z.mjs → chunk-LQQMXMCV.mjs} +1 -1
  43. package/dist-lib/esm-chunks/{chunk-5LYBGU62.mjs → chunk-MNBUUJ2A.mjs} +1 -1
  44. package/dist-lib/esm-chunks/{chunk-6HQZNAEU.mjs → chunk-N5O5BB3F.mjs} +1 -1
  45. package/dist-lib/esm-chunks/{chunk-A2KA5HK7.mjs → chunk-OOXCOL63.mjs} +1 -1
  46. package/dist-lib/esm-chunks/{chunk-SSZA5C37.mjs → chunk-PHBFU273.mjs} +1 -1
  47. package/dist-lib/esm-chunks/{chunk-SQ3UKGNC.mjs → chunk-QRW6R5HX.mjs} +1 -1
  48. package/dist-lib/esm-chunks/{chunk-2V3WPUVP.mjs → chunk-RHM2LED4.mjs} +6 -6
  49. package/dist-lib/esm-chunks/{chunk-NMSKAQXB.mjs → chunk-US5W76OK.mjs} +1 -1
  50. package/dist-lib/esm-chunks/{chunk-ZU4TTBLM.mjs → chunk-UV2BL5ZA.mjs} +1 -1
  51. package/dist-lib/esm-chunks/{metro-layout-parser-26WDQMLR.mjs → metro-layout-parser-72VRHWZM.mjs} +3 -3
  52. package/dist-lib/esm-chunks/{swift-package-prebuilt-DOKKJSSS.mjs → swift-package-prebuilt-ZOQMKNDR.mjs} +16 -13
  53. package/dist-lib/esm-chunks/{swift-sdk-app-module-I4OZ7CGZ.mjs → swift-sdk-app-module-XC4QIMOI.mjs} +16 -16
  54. package/dist-lib/esm-chunks/{swift-sdk-image-IPXHOUXE.mjs → swift-sdk-image-P5NS5P7F.mjs} +16 -16
  55. package/dist-lib/esm-chunks/{swift-sdk-image-producer-6P6QZQGS.mjs → swift-sdk-image-producer-7VTOFOND.mjs} +5 -5
  56. package/dist-lib/expo-swift-bundle.cjs +1124 -944
  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 +3768 -3462
  61. package/dist-lib/host/fetch-proxy-handler.cjs +122 -118
  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 +3 -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 +46 -27
  81. package/dist-lib/pdfium-raster.mjs +47 -28
  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 +87 -86
  87. package/dist-lib/public-origins-lib.json +79 -77
  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 +2061 -1747
  95. package/dist-lib/swift-compile.cjs +1056 -963
  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/core-abi/style/style-field-hash.d.ts +1 -1
  123. package/dist-types/packages/peach-engine/src/engine/scene-native-binding.d.ts +2 -2
  124. package/dist-types/packages/peach-engine/src/render-worker/native-hot-ops.d.ts +4 -4
  125. package/dist-types/packages/peach-engine/src/render-worker/scene-packet-feed.d.ts +2 -0
  126. package/dist-types/packages/peach-globals/src/fnv1a.d.ts +4 -0
  127. package/package.json +1 -1
  128. package/runtime-companion.json +1 -1
  129. package/src/expo-swift-host.ts +31 -9
  130. package/src/one-native-controls-package.ts +56 -54
  131. package/src/pdfium-raster.ts +1 -58
  132. package/src/swift-compile.ts +1029 -963
  133. package/src/swift-compiler-digest.ts +79 -4
  134. package/src/swift-host.ts +246 -91
  135. package/src/swift-package-prebuilt.ts +6 -3
  136. package/src/swift-sdk-surface.ts +75 -20
  137. package/src/swift-startup-split.ts +134 -12
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2793 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2795 | (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.2793 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2795 | (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-ZU4TTBLM.mjs";
14
- import "./esm-chunks/chunk-SSZA5C37.mjs";
13
+ } from "./esm-chunks/chunk-UV2BL5ZA.mjs";
14
+ import "./esm-chunks/chunk-PHBFU273.mjs";
15
15
  export {
16
16
  RNX_SCREEN_CAPTURE_VERSION,
17
17
  describeInvalidScreenCapture,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2793 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2795 | (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.2793 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2795 | (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-GVQYPMGV.mjs";
35
- import "./esm-chunks/chunk-SSZA5C37.mjs";
34
+ } from "./esm-chunks/chunk-BMIH6S26.mjs";
35
+ import "./esm-chunks/chunk-PHBFU273.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.2793 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2795 | (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.2793 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
- import "./esm-chunks/chunk-SSZA5C37.mjs";
1
+ /*! peach v0.1.2795 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
+ import "./esm-chunks/chunk-PHBFU273.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.2793 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2795 | (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.2793 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2795 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  sleep
4
- } from "./esm-chunks/chunk-5LYBGU62.mjs";
4
+ } from "./esm-chunks/chunk-MNBUUJ2A.mjs";
5
5
  import {
6
6
  isRnxScreenCapture
7
- } from "./esm-chunks/chunk-ZU4TTBLM.mjs";
7
+ } from "./esm-chunks/chunk-UV2BL5ZA.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-GVQYPMGV.mjs";
17
+ } from "./esm-chunks/chunk-BMIH6S26.mjs";
18
18
  import {
19
19
  rnxPublicBrand
20
- } from "./esm-chunks/chunk-TS7JWC6Z.mjs";
20
+ } from "./esm-chunks/chunk-LQQMXMCV.mjs";
21
21
  import {
22
22
  isRecord
23
- } from "./esm-chunks/chunk-SQ3UKGNC.mjs";
23
+ } from "./esm-chunks/chunk-QRW6R5HX.mjs";
24
24
  import {
25
25
  __publicField
26
- } from "./esm-chunks/chunk-SSZA5C37.mjs";
26
+ } from "./esm-chunks/chunk-PHBFU273.mjs";
27
27
 
28
28
  // src/backend-origin.ts
29
29
  var NativeURL = globalThis.URL;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2793 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2795 | (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.2793 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2795 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  isValidRuntimeVersion
4
- } from "./esm-chunks/chunk-NMSKAQXB.mjs";
4
+ } from "./esm-chunks/chunk-US5W76OK.mjs";
5
5
  import {
6
6
  findBundleFooter
7
- } from "./esm-chunks/chunk-6LTBRJF4.mjs";
7
+ } from "./esm-chunks/chunk-JMGRUOXY.mjs";
8
8
  import {
9
9
  isRecord
10
- } from "./esm-chunks/chunk-SQ3UKGNC.mjs";
11
- import "./esm-chunks/chunk-SSZA5C37.mjs";
10
+ } from "./esm-chunks/chunk-QRW6R5HX.mjs";
11
+ import "./esm-chunks/chunk-PHBFU273.mjs";
12
12
 
13
13
  // src/nativeViewSourceContract.ts
14
14
  function isNativeViewSource(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2793 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2795 | (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;
@@ -1442,7 +1442,7 @@ function isValidRuntimeVersion(value) {
1442
1442
  }
1443
1443
 
1444
1444
  // runtime-companion.json
1445
- var runtime_companion_default = { abi: 1, sha256: "071c14959a9e438ec9224e9b3dd25b339e98b326e3cf8b0ab0c6215a38d53c7a", file: "node/cli-071c14959a9e438ec9224e9b3dd25b339e98b326e3cf8b0ab0c6215a38d53c7a.cjs" };
1445
+ var runtime_companion_default = { abi: 1, sha256: "e77d5ddde680218f8a31eae4a6849cd7b1a9f59511187936227956471351bca5", file: "node/cli-e77d5ddde680218f8a31eae4a6849cd7b1a9f59511187936227956471351bca5.cjs" };
1446
1446
 
1447
1447
  // src/answeredNativePackages.ts
1448
1448
  var import_node_async_hooks = require("node:async_hooks");
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2793 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2795 | (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.2793 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2795 | (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-ELHDFPTV.mjs";
26
- import "./chunk-SSZA5C37.mjs";
25
+ } from "./chunk-JKYNP3NX.mjs";
26
+ import "./chunk-PHBFU273.mjs";
27
27
  export {
28
28
  Node,
29
29
  Parser,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2793 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2795 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/plist.ts
4
4
  var NAMED_ENTITIES = {
@@ -1,9 +1,9 @@
1
- /*! peach v0.1.2793 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2795 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  killOrphanedProcessGroup,
4
4
  readProcessTable,
5
5
  terminateProcessGroup
6
- } from "./chunk-A2KA5HK7.mjs";
6
+ } from "./chunk-OOXCOL63.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.2793 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2795 | (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.2793 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2795 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/swift-package.ts
4
4
  function swiftManifestSettings(target) {
@@ -1,21 +1,21 @@
1
- /*! peach v0.1.2793 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2795 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  LAUNCH_METADATA_KEYS,
4
4
  LAUNCH_METADATA_KEYS_PATH
5
- } from "./chunk-YEBPOLJT.mjs";
5
+ } from "./chunk-B5Q2MKHJ.mjs";
6
6
  import {
7
7
  cacheDir,
8
8
  parseSwiftDistributionLock,
9
9
  readActiveRuntime,
10
10
  runtimeDir
11
- } from "./chunk-RVJCN7O6.mjs";
11
+ } from "./chunk-DJXJO7YZ.mjs";
12
12
  import {
13
13
  SWIFT_WASM_TRIPLE,
14
14
  registerSwiftHostCompiler
15
- } from "./chunk-A2KA5HK7.mjs";
15
+ } from "./chunk-OOXCOL63.mjs";
16
16
  import {
17
17
  isRecord
18
- } from "./chunk-SQ3UKGNC.mjs";
18
+ } from "./chunk-QRW6R5HX.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.2793 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2795 | (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.2793 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2795 | (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.2793 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2795 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  SIM_LONG_PRESS_MAX_MS
4
- } from "./chunk-U23E4H6F.mjs";
4
+ } from "./chunk-F4G4DEEZ.mjs";
5
5
  import {
6
6
  isRecord
7
- } from "./chunk-SQ3UKGNC.mjs";
7
+ } from "./chunk-QRW6R5HX.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.2793 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2795 | (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.2793 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2795 | (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-A2KA5HK7.mjs";
15
+ } from "./chunk-OOXCOL63.mjs";
16
16
  import {
17
17
  isSwiftResourcePath
18
- } from "./chunk-JMR6F3DC.mjs";
18
+ } from "./chunk-5DDUQYBY.mjs";
19
19
  import {
20
20
  swiftManifestDeclarations
21
- } from "./chunk-COIKWBXT.mjs";
21
+ } from "./chunk-ASMHH2QN.mjs";
22
22
  import {
23
23
  isRecord
24
- } from "./chunk-SQ3UKGNC.mjs";
24
+ } from "./chunk-QRW6R5HX.mjs";
25
25
  import {
26
26
  __publicField
27
- } from "./chunk-SSZA5C37.mjs";
27
+ } from "./chunk-PHBFU273.mjs";
28
28
 
29
29
  // src/write-build-file.ts
30
30
  import { mkdirSync, readFileSync, statSync, writeFileSync } from "node:fs";
@@ -994,6 +994,7 @@ function swiftSharedSdkInputFiles(moduleRoot) {
994
994
  }
995
995
 
996
996
  // src/swift-sdk-surface.ts
997
+ import { AsyncLocalStorage } from "node:async_hooks";
997
998
  import { execFileSync as execFileSync3, spawnSync as spawnSync3 } from "node:child_process";
998
999
  import { createHash as createHash4, randomUUID } from "node:crypto";
999
1000
  import {
@@ -1489,7 +1490,19 @@ function swiftMacroPlugins(moduleRoot) {
1489
1490
  };
1490
1491
  }
1491
1492
  var linkedModuleDigests = /* @__PURE__ */ new Map();
1493
+ var moduleDigestScopes = new AsyncLocalStorage();
1494
+ function withSwiftModuleDigestScope(fn) {
1495
+ if (moduleDigestScopes.getStore()) return fn();
1496
+ return moduleDigestScopes.run(/* @__PURE__ */ new Map(), fn);
1497
+ }
1498
+ function clearSwiftModuleDigestScope(root) {
1499
+ const scope = moduleDigestScopes.getStore();
1500
+ if (!scope) return;
1501
+ if (root === void 0) scope.clear();
1502
+ else scope.delete(path8.resolve(root));
1503
+ }
1492
1504
  function clearLinkedModuleDigests(root) {
1505
+ clearSwiftModuleDigestScope(root);
1493
1506
  if (root === void 0) linkedModuleDigests.clear();
1494
1507
  else linkedModuleDigests.delete(root);
1495
1508
  }
@@ -1556,7 +1569,11 @@ function gitCleanModuleInputsKey(root, files) {
1556
1569
  for (const file of files) keyHash.update(file).update("\n");
1557
1570
  return keyHash.digest("hex");
1558
1571
  }
1559
- function swiftModuleDigest(root) {
1572
+ function swiftModuleEntry(root) {
1573
+ const scope = moduleDigestScopes.getStore();
1574
+ const key = path8.resolve(root);
1575
+ const scoped = scope?.get(key);
1576
+ if (scoped) return scoped;
1560
1577
  const files = swiftModuleInputFiles(root);
1561
1578
  const stampHash = createHash4("sha256");
1562
1579
  for (const file of files) {
@@ -1569,7 +1586,10 @@ function swiftModuleDigest(root) {
1569
1586
  }
1570
1587
  const stamp = stampHash.digest("hex");
1571
1588
  const cached = linkedModuleDigests.get(root);
1572
- if (cached?.stamp === stamp) return cached.digest;
1589
+ if (cached?.stamp === stamp) {
1590
+ scope?.set(key, cached);
1591
+ return cached;
1592
+ }
1573
1593
  const digestDir = path8.join(swiftCacheDir(), "swift-module-digests");
1574
1594
  const record = path8.join(
1575
1595
  digestDir,
@@ -1585,8 +1605,10 @@ function swiftModuleDigest(root) {
1585
1605
  const saved = JSON.parse(readFileSync4(record, "utf8"));
1586
1606
  if (saved && typeof saved === "object" && Reflect.get(saved, "stamp") === stamp && typeof Reflect.get(saved, "digest") === "string") {
1587
1607
  const digest2 = Buffer.from(String(Reflect.get(saved, "digest")), "hex");
1588
- linkedModuleDigests.set(root, { stamp, digest: digest2 });
1589
- return digest2;
1608
+ const entry2 = { stamp, digest: digest2 };
1609
+ linkedModuleDigests.set(root, entry2);
1610
+ scope?.set(key, entry2);
1611
+ return entry2;
1590
1612
  }
1591
1613
  }
1592
1614
  const gitKey = gitCleanModuleInputsKey(root, files);
@@ -1596,9 +1618,11 @@ function swiftModuleDigest(root) {
1596
1618
  if (saved && typeof saved === "object" && typeof Reflect.get(saved, "digest") === "string") {
1597
1619
  const hex2 = String(Reflect.get(saved, "digest"));
1598
1620
  const digest2 = Buffer.from(hex2, "hex");
1599
- linkedModuleDigests.set(root, { stamp, digest: digest2 });
1621
+ const entry2 = { stamp, digest: digest2 };
1622
+ linkedModuleDigests.set(root, entry2);
1623
+ scope?.set(key, entry2);
1600
1624
  writeRecord(record, JSON.stringify({ stamp, digest: hex2 }));
1601
- return digest2;
1625
+ return entry2;
1602
1626
  }
1603
1627
  }
1604
1628
  const hash = createHash4("sha256");
@@ -1610,10 +1634,15 @@ function swiftModuleDigest(root) {
1610
1634
  }
1611
1635
  const digest = hash.digest();
1612
1636
  const hex = digest.toString("hex");
1613
- linkedModuleDigests.set(root, { stamp, digest });
1637
+ const entry = { stamp, digest };
1638
+ linkedModuleDigests.set(root, entry);
1639
+ scope?.set(key, entry);
1614
1640
  writeRecord(record, JSON.stringify({ stamp, digest: hex }));
1615
1641
  if (gitRecord) writeRecord(gitRecord, JSON.stringify({ digest: hex }));
1616
- return digest;
1642
+ return entry;
1643
+ }
1644
+ function swiftModuleDigest(root) {
1645
+ return swiftModuleEntry(root).digest;
1617
1646
  }
1618
1647
  var compileSurfaces = /* @__PURE__ */ new WeakMap();
1619
1648
  function swiftCompileSurfaceDigest(root) {
@@ -1711,8 +1740,10 @@ function* swiftConditionalLines(contents2, available, defines) {
1711
1740
  }
1712
1741
  var importNamesCache = /* @__PURE__ */ new Map();
1713
1742
  function swiftImportNames(contents2, available, defines) {
1714
- if (available === void 0 && defines === void 0) {
1715
- const cached = importNamesCache.get(contents2);
1743
+ if (!contents2.includes("import")) return [];
1744
+ const definesKey = available === void 0 ? defines ? [...defines].sort().join("\0") : "" : void 0;
1745
+ if (definesKey !== void 0) {
1746
+ const cached = importNamesCache.get(definesKey)?.get(contents2);
1716
1747
  if (cached !== void 0) return cached;
1717
1748
  }
1718
1749
  const names = [];
@@ -1721,8 +1752,14 @@ function swiftImportNames(contents2, available, defines) {
1721
1752
  const name = SWIFT_IMPORT.exec(line)?.[1];
1722
1753
  if (name) names.push(name);
1723
1754
  }
1724
- if (available === void 0 && defines === void 0)
1725
- importNamesCache.set(contents2, names);
1755
+ if (definesKey !== void 0) {
1756
+ let bucket = importNamesCache.get(definesKey);
1757
+ if (!bucket) {
1758
+ bucket = /* @__PURE__ */ new Map();
1759
+ importNamesCache.set(definesKey, bucket);
1760
+ }
1761
+ bucket.set(contents2, names);
1762
+ }
1726
1763
  return names;
1727
1764
  }
1728
1765
  function swiftPeachModules(moduleRoot) {
@@ -2370,11 +2407,15 @@ function swiftCDefinedNames(sources) {
2370
2407
  }
2371
2408
  return names;
2372
2409
  }
2373
- function swiftModuleCompiler(root) {
2410
+ function swiftModuleRelease(root) {
2374
2411
  const pin = swiftDistributionAt(root) ?? JSON.parse(readFileSync4(path8.join(root, "toolchain.json"), "utf8"));
2412
+ return pin.release;
2413
+ }
2414
+ function swiftModuleCompiler(root) {
2415
+ const release = swiftModuleRelease(root);
2375
2416
  return {
2376
- release: pin.release,
2377
- toolchainBin: swiftCompiler(pin.release)
2417
+ release,
2418
+ toolchainBin: swiftCompiler(release)
2378
2419
  };
2379
2420
  }
2380
2421
  function swiftModuleToolchain(root) {
@@ -2757,6 +2798,8 @@ export {
2757
2798
  swiftCompileSdkOptions,
2758
2799
  swiftModuleInputFiles,
2759
2800
  swiftMacroPlugins,
2801
+ withSwiftModuleDigestScope,
2802
+ clearSwiftModuleDigestScope,
2760
2803
  clearLinkedModuleDigests,
2761
2804
  swiftModuleDigest,
2762
2805
  swiftCompileSurfaceDigest,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2793 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2795 | (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.2793 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2795 | (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.2793 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2795 | (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,13 +1,13 @@
1
- /*! peach v0.1.2793 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2795 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  isSwiftImageVariants
4
- } from "./chunk-6HQZNAEU.mjs";
4
+ } from "./chunk-N5O5BB3F.mjs";
5
5
  import {
6
6
  findBundleFooter
7
- } from "./chunk-6LTBRJF4.mjs";
7
+ } from "./chunk-JMGRUOXY.mjs";
8
8
  import {
9
9
  isRecord
10
- } from "./chunk-SQ3UKGNC.mjs";
10
+ } from "./chunk-QRW6R5HX.mjs";
11
11
 
12
12
  // src/android-string-value.ts
13
13
  function compileAndroidStringValue(text, where) {