peachsim 0.1.2605 → 0.1.2606

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 (135) 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 +711 -264
  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-UNOYFUKI.mjs → acorn-UL7Z3WUQ.mjs} +3 -3
  27. package/dist-lib/esm-chunks/chunk-25LYRBSX.mjs +326 -0
  28. package/dist-lib/esm-chunks/{chunk-3XUIDCBF.mjs → chunk-34CIYRB7.mjs} +4 -4
  29. package/dist-lib/esm-chunks/{chunk-RJCM34J7.mjs → chunk-5ANQR24T.mjs} +1 -1
  30. package/dist-lib/esm-chunks/{chunk-GT54N3GG.mjs → chunk-5JMW5G3U.mjs} +1 -1
  31. package/dist-lib/esm-chunks/{chunk-YO756PYQ.mjs → chunk-66ESCMV3.mjs} +14 -16
  32. package/dist-lib/esm-chunks/{chunk-O55DZ2EL.mjs → chunk-B7AXR7WA.mjs} +1 -1
  33. package/dist-lib/esm-chunks/{chunk-M4G5YUO7.mjs → chunk-CPMK3DA6.mjs} +3 -3
  34. package/dist-lib/esm-chunks/{chunk-AYHTHFG4.mjs → chunk-E2TASYAA.mjs} +1 -1
  35. package/dist-lib/esm-chunks/{chunk-WSRPZF7M.mjs → chunk-EXB4QSQI.mjs} +1 -1
  36. package/dist-lib/esm-chunks/{chunk-WB2EBX5Q.mjs → chunk-KWLQDES2.mjs} +1 -1
  37. package/dist-lib/esm-chunks/chunk-L7FPUZZO.mjs +32 -0
  38. package/dist-lib/esm-chunks/{chunk-FXONOT2L.mjs → chunk-MBCSJQRY.mjs} +1 -1
  39. package/dist-lib/esm-chunks/{chunk-LFN7VAPB.mjs → chunk-O6NRI4T2.mjs} +1 -1
  40. package/dist-lib/esm-chunks/{chunk-HHS4A7GI.mjs → chunk-O6ZNRBLB.mjs} +1 -1
  41. package/dist-lib/esm-chunks/{chunk-B54SPDLA.mjs → chunk-OB5XSLW6.mjs} +1 -1
  42. package/dist-lib/esm-chunks/{chunk-UPUOCALX.mjs → chunk-PLOV7VQQ.mjs} +1 -1
  43. package/dist-lib/esm-chunks/{chunk-M3V4F5OV.mjs → chunk-QFASF6EH.mjs} +5 -5
  44. package/dist-lib/esm-chunks/{chunk-7K33ENH6.mjs → chunk-RTPUFY2K.mjs} +5 -5
  45. package/dist-lib/esm-chunks/{chunk-VRQPEROV.mjs → chunk-TVICD24H.mjs} +1 -1
  46. package/dist-lib/esm-chunks/{chunk-AST6VA7D.mjs → chunk-VTZJPPTE.mjs} +1 -1
  47. package/dist-lib/esm-chunks/{chunk-LG76KUUO.mjs → chunk-WJKACRMG.mjs} +1 -1
  48. package/dist-lib/esm-chunks/{chunk-6TE7WLSF.mjs → chunk-XUWYWP35.mjs} +1 -1
  49. package/dist-lib/esm-chunks/{metro-layout-parser-YRBZCLVD.mjs → metro-layout-parser-OMUFYOJI.mjs} +3 -3
  50. package/dist-lib/esm-chunks/{swift-package-prebuilt-S7KR6TKE.mjs → swift-package-prebuilt-X7EZCX34.mjs} +10 -10
  51. package/dist-lib/esm-chunks/{swift-sdk-app-module-3JNA7PCB.mjs → swift-sdk-app-module-E3IF2XPD.mjs} +14 -14
  52. package/dist-lib/esm-chunks/{swift-sdk-image-3P4IUP2A.mjs → swift-sdk-image-57YYLNU6.mjs} +14 -14
  53. package/dist-lib/esm-chunks/{swift-sdk-image-producer-EA2RYBM4.mjs → swift-sdk-image-producer-DZOZTTDZ.mjs} +4 -4
  54. package/dist-lib/expo-swift-bundle.cjs +710 -263
  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 +724 -277
  59. package/dist-lib/host/fetch-proxy-handler.cjs +43 -37
  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 +537 -246
  73. package/dist-lib/native-app-identity-project.mjs +218 -1828
  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 +327 -15
  81. package/dist-lib/plist.mjs +13 -5
  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 +82 -129
  85. package/dist-lib/public-origins-lib.json +69 -140
  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 +211 -3
  90. package/dist-lib/sdk.cjs +1 -1
  91. package/dist-lib/sdk.mjs +8 -8
  92. package/dist-lib/skills.cjs +740 -293
  93. package/dist-lib/swift-compile.cjs +3 -5
  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/acorn.cjs +1 -1
  107. package/dist-lib/vendor/magic-string.cjs +1 -1
  108. package/dist-lib/vendor/stream-json.cjs +1 -1
  109. package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
  110. package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
  111. package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
  112. package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
  113. package/dist-lib/vendor/sucrase.cjs +1 -1
  114. package/dist-lib/vendor/terser.cjs +1 -1
  115. package/dist-lib/vendor/valibot.cjs +1 -1
  116. package/dist-lib/vendor/ws.cjs +1 -1
  117. package/dist-lib/vendor/zod.cjs +1 -1
  118. package/dist-lib/worklet-executable.cjs +1 -1
  119. package/dist-lib/worklet-executable.mjs +3 -3
  120. package/package.json +1 -6
  121. package/src/bazel-project.ts +1 -1
  122. package/src/expo-native-prebuilt.ts +1 -1
  123. package/src/expo-workspace-exclusion.ts +1 -1
  124. package/src/gitignore.ts +175 -0
  125. package/src/intent-definition/plist-reader.ts +22 -168
  126. package/src/plist-bytes.ts +144 -2
  127. package/src/plist.ts +359 -2
  128. package/src/swift-compile.ts +4 -6
  129. package/src/xcode-project.ts +1 -1
  130. package/dist-lib/esm-chunks/chunk-OW4VRQKO.mjs +0 -10993
  131. package/dist-lib/esm-chunks/chunk-ZSHGFGW7.mjs +0 -65
  132. package/dist-lib/vendor/@xmldom/xmldom.cjs +0 -6481
  133. package/dist-lib/vendor/bplist-parser.cjs +0 -1589
  134. package/dist-lib/vendor/ignore.cjs +0 -455
  135. package/dist-lib/vendor/plist.cjs +0 -10978
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2605 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2606 | (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.2605 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2606 | (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-UPUOCALX.mjs";
14
- import "./esm-chunks/chunk-ZSHGFGW7.mjs";
13
+ } from "./esm-chunks/chunk-PLOV7VQQ.mjs";
14
+ import "./esm-chunks/chunk-L7FPUZZO.mjs";
15
15
  export {
16
16
  RNX_SCREEN_CAPTURE_VERSION,
17
17
  describeInvalidScreenCapture,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2605 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2606 | (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.2605 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2606 | (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-RJCM34J7.mjs";
35
- import "./esm-chunks/chunk-ZSHGFGW7.mjs";
34
+ } from "./esm-chunks/chunk-5ANQR24T.mjs";
35
+ import "./esm-chunks/chunk-L7FPUZZO.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.2605 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2606 | (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.2605 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
- import "./esm-chunks/chunk-ZSHGFGW7.mjs";
1
+ /*! peach v0.1.2606 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
+ import "./esm-chunks/chunk-L7FPUZZO.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.2605 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2606 | (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.2605 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2606 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  sleep
4
- } from "./esm-chunks/chunk-LFN7VAPB.mjs";
4
+ } from "./esm-chunks/chunk-O6NRI4T2.mjs";
5
5
  import {
6
6
  isRnxScreenCapture
7
- } from "./esm-chunks/chunk-UPUOCALX.mjs";
7
+ } from "./esm-chunks/chunk-PLOV7VQQ.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-RJCM34J7.mjs";
17
+ } from "./esm-chunks/chunk-5ANQR24T.mjs";
18
18
  import {
19
19
  rnxPublicBrand
20
- } from "./esm-chunks/chunk-HHS4A7GI.mjs";
20
+ } from "./esm-chunks/chunk-O6ZNRBLB.mjs";
21
21
  import {
22
22
  isRecord
23
- } from "./esm-chunks/chunk-VRQPEROV.mjs";
23
+ } from "./esm-chunks/chunk-TVICD24H.mjs";
24
24
  import {
25
25
  __publicField
26
- } from "./esm-chunks/chunk-ZSHGFGW7.mjs";
26
+ } from "./esm-chunks/chunk-L7FPUZZO.mjs";
27
27
 
28
28
  // src/backend-origin.ts
29
29
  var NativeURL = globalThis.URL;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2605 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2606 | (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.2605 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2606 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  isValidRuntimeVersion
4
- } from "./esm-chunks/chunk-6TE7WLSF.mjs";
4
+ } from "./esm-chunks/chunk-XUWYWP35.mjs";
5
5
  import {
6
6
  findBundleFooter
7
- } from "./esm-chunks/chunk-O55DZ2EL.mjs";
7
+ } from "./esm-chunks/chunk-B7AXR7WA.mjs";
8
8
  import {
9
9
  isRecord
10
- } from "./esm-chunks/chunk-VRQPEROV.mjs";
11
- import "./esm-chunks/chunk-ZSHGFGW7.mjs";
10
+ } from "./esm-chunks/chunk-TVICD24H.mjs";
11
+ import "./esm-chunks/chunk-L7FPUZZO.mjs";
12
12
 
13
13
  // src/nativeViewSourceContract.ts
14
14
  function isNativeViewSource(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2605 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2606 | (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.2605 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2606 | (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.2605 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2606 | (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-AST6VA7D.mjs";
26
- import "./chunk-ZSHGFGW7.mjs";
25
+ } from "./chunk-VTZJPPTE.mjs";
26
+ import "./chunk-L7FPUZZO.mjs";
27
27
  export {
28
28
  Node,
29
29
  Parser,
@@ -0,0 +1,326 @@
1
+ /*! peach v0.1.2606 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
+
3
+ // src/plist.ts
4
+ var NAMED_ENTITIES = {
5
+ amp: "&",
6
+ lt: "<",
7
+ gt: ">",
8
+ quot: '"',
9
+ apos: "'"
10
+ };
11
+ function decodeXmlEntities(text) {
12
+ if (!text.includes("&")) return text;
13
+ return text.replace(/&(#x[0-9a-fA-F]+|#[0-9]+|[a-zA-Z]+);/g, (full, entity) => {
14
+ if (entity.startsWith("#x") || entity.startsWith("#X")) {
15
+ const code = Number.parseInt(entity.slice(2), 16);
16
+ return Number.isFinite(code) ? String.fromCodePoint(code) : full;
17
+ }
18
+ if (entity.startsWith("#")) {
19
+ const code = Number.parseInt(entity.slice(1), 10);
20
+ return Number.isFinite(code) ? String.fromCodePoint(code) : full;
21
+ }
22
+ return NAMED_ENTITIES[entity] ?? full;
23
+ });
24
+ }
25
+ function escapeXmlText(text) {
26
+ return text.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
27
+ }
28
+ function parseXmlDocument(input) {
29
+ const source = input.startsWith("\uFEFF") ? input.slice(1) : input;
30
+ const len = source.length;
31
+ let pos = 0;
32
+ const skipIgnorable = () => {
33
+ while (pos < len) {
34
+ while (pos < len && /\s/.test(source[pos])) pos++;
35
+ if (source.startsWith("<!--", pos)) {
36
+ const end = source.indexOf("-->", pos + 4);
37
+ if (end === -1) throw new Error("unterminated XML comment");
38
+ pos = end + 3;
39
+ continue;
40
+ }
41
+ if (source.startsWith("<?", pos)) {
42
+ const end = source.indexOf("?>", pos + 2);
43
+ if (end === -1) throw new Error("unterminated XML processing instruction");
44
+ pos = end + 2;
45
+ continue;
46
+ }
47
+ if (source.startsWith("<!DOCTYPE", pos)) {
48
+ pos += 9;
49
+ let depth = 0;
50
+ let quote = "";
51
+ while (pos < len) {
52
+ const ch = source[pos];
53
+ pos++;
54
+ if (quote) {
55
+ if (ch === quote) quote = "";
56
+ } else if (ch === '"' || ch === "'") {
57
+ quote = ch;
58
+ } else if (ch === "[") {
59
+ depth++;
60
+ } else if (ch === "]") {
61
+ depth = Math.max(0, depth - 1);
62
+ } else if (ch === ">" && depth === 0) {
63
+ break;
64
+ }
65
+ }
66
+ continue;
67
+ }
68
+ break;
69
+ }
70
+ };
71
+ const readElement = () => {
72
+ if (source[pos] !== "<") {
73
+ throw new Error(`expected XML tag at offset ${pos}`);
74
+ }
75
+ pos++;
76
+ const nameStart = pos;
77
+ while (pos < len && /[^\s/>]/.test(source[pos])) pos++;
78
+ const tag = source.slice(nameStart, pos);
79
+ if (!tag) throw new Error(`empty XML tag name at offset ${nameStart}`);
80
+ let quote = "";
81
+ let selfClosing = false;
82
+ while (pos < len) {
83
+ const ch = source[pos];
84
+ if (quote) {
85
+ pos++;
86
+ if (ch === quote) quote = "";
87
+ continue;
88
+ }
89
+ if (ch === '"' || ch === "'") {
90
+ quote = ch;
91
+ pos++;
92
+ continue;
93
+ }
94
+ if (ch === "/" && source[pos + 1] === ">") {
95
+ selfClosing = true;
96
+ pos += 2;
97
+ break;
98
+ }
99
+ if (ch === ">") {
100
+ pos++;
101
+ break;
102
+ }
103
+ pos++;
104
+ }
105
+ if (selfClosing) {
106
+ return { tag, children: [], text: "" };
107
+ }
108
+ const children = [];
109
+ let text = "";
110
+ while (pos < len) {
111
+ if (source.startsWith("<!--", pos)) {
112
+ const end2 = source.indexOf("-->", pos + 4);
113
+ if (end2 === -1) throw new Error("unterminated XML comment");
114
+ pos = end2 + 3;
115
+ continue;
116
+ }
117
+ if (source.startsWith("<![CDATA[", pos)) {
118
+ const end2 = source.indexOf("]]>", pos + 9);
119
+ if (end2 === -1) throw new Error("unterminated CDATA section");
120
+ text += source.slice(pos + 9, end2);
121
+ pos = end2 + 3;
122
+ continue;
123
+ }
124
+ if (source.startsWith("</", pos)) {
125
+ pos += 2;
126
+ const closeStart = pos;
127
+ while (pos < len && /[^\s>]/.test(source[pos])) pos++;
128
+ const closeTag = source.slice(closeStart, pos);
129
+ while (pos < len && /\s/.test(source[pos])) pos++;
130
+ if (source[pos] !== ">") throw new Error(`malformed closing tag </${closeTag}>`);
131
+ pos++;
132
+ if (closeTag !== tag) {
133
+ throw new Error(`mismatched XML closing tag </${closeTag}> for <${tag}>`);
134
+ }
135
+ return { tag, children, text };
136
+ }
137
+ if (source[pos] === "<") {
138
+ children.push(readElement());
139
+ continue;
140
+ }
141
+ const nextTag = source.indexOf("<", pos);
142
+ const end = nextTag === -1 ? len : nextTag;
143
+ text += decodeXmlEntities(source.slice(pos, end));
144
+ pos = end;
145
+ }
146
+ throw new Error(`unclosed XML tag <${tag}>`);
147
+ };
148
+ skipIgnorable();
149
+ if (pos >= len) throw new Error("empty XML plist document");
150
+ return readElement();
151
+ }
152
+ function parseXmlPlist(source, options = {}) {
153
+ const root = parseXmlDocument(source);
154
+ if (root.tag !== "plist") {
155
+ throw new Error(`expected <plist> root element, got <${root.tag}>`);
156
+ }
157
+ if (root.children.length === 0) {
158
+ if (options.strict) throw new Error("<plist> element has no root value");
159
+ return void 0;
160
+ }
161
+ if (options.strict && root.children.length !== 1) {
162
+ throw new Error("<plist> element must contain exactly one root value");
163
+ }
164
+ const leafText = (node) => {
165
+ if (options.strict && node.children.length > 0) {
166
+ throw new Error(`<${node.tag}> must not contain child elements`);
167
+ }
168
+ return node.text;
169
+ };
170
+ const visit = (node) => {
171
+ switch (node.tag) {
172
+ case "dict": {
173
+ const result = {};
174
+ if (options.strict && node.children.length % 2 !== 0) {
175
+ throw new Error("<dict> must contain key/value pairs");
176
+ }
177
+ for (let i = 0; i + 1 < node.children.length; i += 2) {
178
+ const keyNode = node.children[i];
179
+ if (keyNode.tag !== "key") {
180
+ throw new Error(`expected <key> in <dict>, got <${keyNode.tag}>`);
181
+ }
182
+ result[leafText(keyNode)] = visit(node.children[i + 1]);
183
+ }
184
+ return result;
185
+ }
186
+ case "array":
187
+ return node.children.map(visit);
188
+ case "string":
189
+ return leafText(node);
190
+ case "integer": {
191
+ const raw = leafText(node).trim();
192
+ if (options.onInteger) return options.onInteger(raw);
193
+ if (!raw) throw new Error("empty <integer> element");
194
+ return Number.parseInt(raw, 10);
195
+ }
196
+ case "real": {
197
+ const raw = leafText(node).trim();
198
+ if (options.onReal) return options.onReal(raw);
199
+ if (!raw) throw new Error("empty <real> element");
200
+ return Number.parseFloat(raw);
201
+ }
202
+ case "true":
203
+ return true;
204
+ case "false":
205
+ return false;
206
+ case "data":
207
+ return Buffer.from(leafText(node).replace(/\s+/g, ""), "base64");
208
+ case "date":
209
+ return new Date(leafText(node).trim());
210
+ default:
211
+ throw new Error(`unsupported plist element ${node.tag}`);
212
+ }
213
+ };
214
+ return visit(root.children[0]);
215
+ }
216
+ function parsePlist(source) {
217
+ const root = parseXmlDocument(source);
218
+ if (root.tag !== "plist") {
219
+ throw new Error(`expected <plist> root element, got <${root.tag}>`);
220
+ }
221
+ if (root.children.length === 0) return {};
222
+ const visit = (node) => {
223
+ switch (node.tag) {
224
+ case "dict": {
225
+ const result = {};
226
+ for (let i = 0; i + 1 < node.children.length; i += 2) {
227
+ const keyNode = node.children[i];
228
+ if (keyNode.tag !== "key") {
229
+ throw new Error(`expected <key> in <dict>, got <${keyNode.tag}>`);
230
+ }
231
+ result[keyNode.text] = visit(node.children[i + 1]);
232
+ }
233
+ return result;
234
+ }
235
+ case "array":
236
+ return node.children.map(visit);
237
+ case "string":
238
+ return node.text;
239
+ case "integer": {
240
+ const raw = node.text.trim();
241
+ if (!raw) throw new Error("empty <integer> element");
242
+ return Number.parseInt(raw, 10);
243
+ }
244
+ case "real": {
245
+ const raw = node.text.trim();
246
+ if (!raw) throw new Error("empty <real> element");
247
+ return Number.parseFloat(raw);
248
+ }
249
+ case "true":
250
+ return true;
251
+ case "false":
252
+ return false;
253
+ case "data":
254
+ return Buffer.from(node.text.replace(/\s+/g, ""), "base64");
255
+ case "date":
256
+ return new Date(node.text.trim());
257
+ default:
258
+ throw new Error(`unsupported plist element ${node.tag}`);
259
+ }
260
+ };
261
+ return visit(root.children[0]);
262
+ }
263
+ function parsePlistSource(source) {
264
+ return parseXmlPlist(source);
265
+ }
266
+ function renderValue(value, indent) {
267
+ if (value === void 0 || value === null) return null;
268
+ if (typeof value === "string") {
269
+ return `${indent}<string>${escapeXmlText(value)}</string>`;
270
+ }
271
+ if (typeof value === "boolean") {
272
+ return `${indent}${value ? "<true/>" : "<false/>"}`;
273
+ }
274
+ if (typeof value === "number") {
275
+ if (Number.isInteger(value) && !Object.is(value, -0)) {
276
+ return `${indent}<integer>${value}</integer>`;
277
+ }
278
+ return `${indent}<real>${value}</real>`;
279
+ }
280
+ if (value instanceof Date) {
281
+ return `${indent}<date>${value.toISOString().replace(/\.\d{3}Z$/, "Z")}</date>`;
282
+ }
283
+ if (Buffer.isBuffer(value) || value instanceof Uint8Array) {
284
+ const encoded = Buffer.from(value).toString("base64");
285
+ return encoded ? `${indent}<data>${encoded}</data>` : `${indent}<data/>`;
286
+ }
287
+ if (Array.isArray(value)) {
288
+ const items = value.map((entry) => renderValue(entry, `${indent} `)).filter((entry) => entry !== null);
289
+ if (items.length === 0) return `${indent}<array/>`;
290
+ return `${indent}<array>
291
+ ${items.join("\n")}
292
+ ${indent}</array>`;
293
+ }
294
+ if (typeof value === "object") {
295
+ const lines = [];
296
+ for (const [key, entry] of Object.entries(value)) {
297
+ const rendered = renderValue(entry, `${indent} `);
298
+ if (rendered === null) continue;
299
+ lines.push(`${indent} <key>${escapeXmlText(key)}</key>`);
300
+ lines.push(rendered);
301
+ }
302
+ if (lines.length === 0) return `${indent}<dict/>`;
303
+ return `${indent}<dict>
304
+ ${lines.join("\n")}
305
+ ${indent}</dict>`;
306
+ }
307
+ throw new Error(`unsupported plist value type: ${typeof value}`);
308
+ }
309
+ function buildPlist(value) {
310
+ const body = renderValue(value, " ");
311
+ return [
312
+ '<?xml version="1.0" encoding="UTF-8"?>',
313
+ '<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">',
314
+ '<plist version="1.0">',
315
+ ...body ? [body] : [],
316
+ "</plist>",
317
+ ""
318
+ ].join("\n");
319
+ }
320
+
321
+ export {
322
+ parseXmlPlist,
323
+ parsePlist,
324
+ parsePlistSource,
325
+ buildPlist
326
+ };
@@ -1,13 +1,13 @@
1
- /*! peach v0.1.2605 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2606 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  isSwiftImageVariants
4
- } from "./chunk-FXONOT2L.mjs";
4
+ } from "./chunk-MBCSJQRY.mjs";
5
5
  import {
6
6
  findBundleFooter
7
- } from "./chunk-O55DZ2EL.mjs";
7
+ } from "./chunk-B7AXR7WA.mjs";
8
8
  import {
9
9
  isRecord
10
- } from "./chunk-VRQPEROV.mjs";
10
+ } from "./chunk-TVICD24H.mjs";
11
11
 
12
12
  // src/android-string-value.ts
13
13
  function compileAndroidStringValue(text, where) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2605 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2606 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/cloud-contract.ts
4
4
  var AGENT_IDENTITY_MAX_CHARS = 200;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2605 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2606 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/swift-package.ts
4
4
  function swiftManifestSettings(target) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2605 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2606 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  SWIFT_AUTOLINK_LINKER,
4
4
  SWIFT_CACHE_HOLD_MARKER,
@@ -21,7 +21,7 @@ import {
21
21
  windowAdmission,
22
22
  withSwiftRootLock,
23
23
  writeSwiftAutolinkLinker
24
- } from "./chunk-B54SPDLA.mjs";
24
+ } from "./chunk-OB5XSLW6.mjs";
25
25
  import {
26
26
  SWIFT_BINARY_TREES_DIR,
27
27
  SWIFT_NATIVE_INPUT_ROOT,
@@ -36,7 +36,7 @@ import {
36
36
  isSwiftResourcePath,
37
37
  isSwiftSourceLinkGraph,
38
38
  swiftProjectFilesProblems
39
- } from "./chunk-LG76KUUO.mjs";
39
+ } from "./chunk-WJKACRMG.mjs";
40
40
  import {
41
41
  OBJC_RESOURCE_ACCESSOR_BODY,
42
42
  OBJC_RESOURCE_ACCESSOR_HEADER,
@@ -60,16 +60,16 @@ import {
60
60
  swiftPackagePartition,
61
61
  swiftTargetModuleName,
62
62
  withoutGlogModuleMap
63
- } from "./chunk-GT54N3GG.mjs";
63
+ } from "./chunk-5JMW5G3U.mjs";
64
64
  import {
65
65
  rnxPublicBrand
66
- } from "./chunk-HHS4A7GI.mjs";
66
+ } from "./chunk-O6ZNRBLB.mjs";
67
67
  import {
68
68
  isRecord
69
- } from "./chunk-VRQPEROV.mjs";
69
+ } from "./chunk-TVICD24H.mjs";
70
70
  import {
71
71
  __publicField
72
- } from "./chunk-ZSHGFGW7.mjs";
72
+ } from "./chunk-L7FPUZZO.mjs";
73
73
 
74
74
  // src/swift-compile.ts
75
75
  import {
@@ -15032,7 +15032,7 @@ async function compileGuestLink(options) {
15032
15032
  };
15033
15033
  const sdk = options.sdkImage;
15034
15034
  const sdkCallers = sdk?.sdkInterface.guestCallers;
15035
- const sdkObjects = sdk ? (await import("./swift-sdk-image-3P4IUP2A.mjs")).readSwiftSdkManifestIndex(sdk).guestObjects : void 0;
15035
+ const sdkObjects = sdk ? (await import("./swift-sdk-image-57YYLNU6.mjs")).readSwiftSdkManifestIndex(sdk).guestObjects : void 0;
15036
15036
  if (sdk && (!sdkCallers || !sdkObjects))
15037
15037
  throw new Error("the SDK image has no guest link manifest");
15038
15038
  const result = await linkPrunedGuestImages({
@@ -15328,7 +15328,7 @@ async function compileGuestLink(options) {
15328
15328
  linkSwiftAppModule,
15329
15329
  readSwiftSdkUsage,
15330
15330
  swiftSdkProjectionSpans
15331
- } = await import("./swift-sdk-app-module-3JNA7PCB.mjs");
15331
+ } = await import("./swift-sdk-app-module-E3IF2XPD.mjs");
15332
15332
  const project = options.project;
15333
15333
  const work = project ? mkdtempSync2(path24.join(directory, "app-module-")) : path24.join(directory, "app-module");
15334
15334
  if (project) chownSync(work, project.uid, project.gid);
@@ -18058,7 +18058,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
18058
18058
  var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
18059
18059
  var MULTI_MANIFEST_VERSION = 76;
18060
18060
  var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
18061
- var compilerSourceDigest = true ? "6fbcbab3535da2f464a19f4d3c1db8a7e4b393927e5158477332f4cc978cc22f" : swiftCompilerSourceDigest(import.meta.dirname);
18061
+ var compilerSourceDigest = true ? "37c95b1d4be497f3f882c4c51f2be7e5bb09b4bcc4976a51d553b0a993c9c7ca" : swiftCompilerSourceDigest(import.meta.dirname);
18062
18062
  function swiftArtifactHash(input, release, moduleRoot) {
18063
18063
  return swiftCompileInputHash(input, release).update(swiftModuleDigest(moduleRoot)).digest("hex");
18064
18064
  }
@@ -20116,7 +20116,6 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
20116
20116
  (left, right) => right.path.length - left.path.length
20117
20117
  );
20118
20118
  const targetsByDir = indexTargetsByDirectory(bySourcePath);
20119
- const targetByName = new Map(targets.map((target) => [target.name, target]));
20120
20119
  const nativeTargets = input.nativeTargets ?? [];
20121
20120
  const nativeTargetByName = new Map(nativeTargets.map((target) => [target.name, target]));
20122
20121
  const nativeTargetIndex = new Map(
@@ -20192,7 +20191,6 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
20192
20191
  checkedToolchain = swiftToolchain(pin.release, swiftModuleSdk(moduleRoot));
20193
20192
  return checkedToolchain;
20194
20193
  };
20195
- const deploymentTarget = (name) => nativeTargetByName.get(name)?.deploymentTarget ?? targetByName.get(name)?.iosDeploymentTarget ?? null;
20196
20194
  const targetStagedFiles = /* @__PURE__ */ new Map();
20197
20195
  const stageTargetFile = (target, file, contents2, options) => {
20198
20196
  const relative = path33.relative(layout2.root, file).split(path33.sep).join(path33.posix.sep);
@@ -21267,7 +21265,7 @@ ${entry}`);
21267
21265
  };
21268
21266
  for (const target of targets) {
21269
21267
  if (!target.executable && !reachesNative(target.name)) continue;
21270
- const version2 = deploymentTarget(target.name);
21268
+ const version2 = nativeTargetByName.get(target.name)?.deploymentTarget ?? target.iosDeploymentTarget ?? null;
21271
21269
  const minimum = iosDeploymentMinimum(version2);
21272
21270
  if (minimum === void 0)
21273
21271
  throw new Error(
@@ -22916,7 +22914,7 @@ async function compileSwiftProjectOnce(sources, options) {
22916
22914
  const distribution = swiftDistributionAt(moduleRoot);
22917
22915
  const mirrorDistribution = options.linkOnly || options.project ? null : distribution;
22918
22916
  if (distribution) refreshSwiftCacheHold(moduleRoot);
22919
- const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-S7KR6TKE.mjs")).useSwiftPackagePrebuilts(
22917
+ const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-X7EZCX34.mjs")).useSwiftPackagePrebuilts(
22920
22918
  sources,
22921
22919
  moduleRoot,
22922
22920
  options.toolchainBin
@@ -22930,7 +22928,7 @@ async function compileSwiftProjectOnce(sources, options) {
22930
22928
  multi: compileTargets(input).length > 0
22931
22929
  };
22932
22930
  const sdkModule = options.sdkModule && !options.linkOnly;
22933
- const sdkImage = sdkModule ? await (await import("./swift-sdk-image-3P4IUP2A.mjs")).buildSwiftSdkImage(
22931
+ const sdkImage = sdkModule ? await (await import("./swift-sdk-image-57YYLNU6.mjs")).buildSwiftSdkImage(
22934
22932
  moduleRoot,
22935
22933
  !!guestGraph,
22936
22934
  distribution ? [] : linkedFrameworkTargets(moduleRoot, input).imports,
@@ -23635,7 +23633,7 @@ ${cap}` : "";
23635
23633
  if (sdkImage && binding)
23636
23634
  sdkAsset = { key: sdkImage.key, sha256: sdkImage.sha256, binding };
23637
23635
  } else if (sdkImage) {
23638
- const { buildSwiftAppModule } = await import("./swift-sdk-app-module-3JNA7PCB.mjs");
23636
+ const { buildSwiftAppModule } = await import("./swift-sdk-app-module-E3IF2XPD.mjs");
23639
23637
  const binding = await buildSwiftAppModule({
23640
23638
  buildRoot: root,
23641
23639
  toolchainBin: options.toolchainBin,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2605 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2606 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // ../peach-globals/src/bundle-global-footer.ts
4
4
  function findBundleFooter(source, prefix) {