peachsim 0.1.2441 → 0.1.2457

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 (170) hide show
  1. package/README.md +4 -49
  2. package/cli/app-catalog.ts +8 -7
  3. package/cli/app-stubs.ts +98 -70
  4. package/cli/cloud-box-artifact.ts +2 -5
  5. package/cli/cloud-client.ts +12 -1
  6. package/cli/commands/box.ts +41 -2
  7. package/cli/commands/compat.ts +5 -3
  8. package/cli/commands/cpu-profile.ts +11 -14
  9. package/cli/commands/diagnose.ts +5 -18
  10. package/cli/commands/inspect/describe.ts +4 -8
  11. package/cli/commands/maestro-generate.ts +4 -8
  12. package/cli/commands/mode.ts +3 -19
  13. package/cli/commands/perf.ts +3 -19
  14. package/cli/commands/permissions.ts +2 -6
  15. package/cli/commands/platform.ts +22 -14
  16. package/cli/commands/react.ts +7 -21
  17. package/cli/commands/record-three.ts +6 -10
  18. package/cli/commands/record.ts +38 -62
  19. package/cli/commands/screenshot-command.ts +8 -25
  20. package/cli/commands/storage.ts +4 -16
  21. package/cli/commands/three-mode.ts +6 -10
  22. package/cli/outbound-endpoints.ts +4 -5
  23. package/cli/parse-args.ts +45 -0
  24. package/cli/remote-metro.ts +1 -1
  25. package/cli/remote-simulators.ts +5 -1
  26. package/cli/send-to-box.ts +3 -1
  27. package/detox/index.ts +20 -1
  28. package/dist-lib/agent-daemon-client.cjs +2 -2
  29. package/dist-lib/agent-events.cjs +1 -1
  30. package/dist-lib/attached-projects.cjs +1 -1
  31. package/dist-lib/auth/shared-session.cjs +1 -1
  32. package/dist-lib/backend-origin.cjs +1 -1
  33. package/dist-lib/beta.cjs +1 -1
  34. package/dist-lib/beta.mjs +2 -2
  35. package/dist-lib/bridge-constants.cjs +1 -1
  36. package/dist-lib/bridge-contract-input.cjs +1 -1
  37. package/dist-lib/bridge-contract-input.mjs +5 -5
  38. package/dist-lib/bridge-contract.cjs +1 -1
  39. package/dist-lib/bridge-contract.mjs +3 -3
  40. package/dist-lib/bundle-channel.cjs +240 -316
  41. package/dist-lib/capture-contract.cjs +1 -1
  42. package/dist-lib/capture-contract.mjs +3 -3
  43. package/dist-lib/cloud-contract.cjs +14 -1
  44. package/dist-lib/cloud-contract.mjs +5 -3
  45. package/dist-lib/cloud-test-args.cjs +1 -1
  46. package/dist-lib/cloud-test-args.mjs +2 -2
  47. package/dist-lib/cloud.cjs +1 -1
  48. package/dist-lib/cloud.mjs +7 -7
  49. package/dist-lib/config.cjs +1 -6
  50. package/dist-lib/config.mjs +5 -9
  51. package/dist-lib/detox/index.cjs +17 -5
  52. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  53. package/dist-lib/esm-chunks/{acorn-FRQNHKFC.mjs → acorn-73XUBXBT.mjs} +3 -3
  54. package/dist-lib/esm-chunks/{chunk-IRMC5BCX.mjs → chunk-7V2QJGVI.mjs} +1 -1
  55. package/dist-lib/esm-chunks/{chunk-PMGJ7FLI.mjs → chunk-BHQEYJAF.mjs} +1 -1
  56. package/dist-lib/esm-chunks/{chunk-BAYRN7ZL.mjs → chunk-DSPFMVBM.mjs} +1 -1
  57. package/dist-lib/esm-chunks/{chunk-4HEUXQGM.mjs → chunk-GA73RJSG.mjs} +4 -4
  58. package/dist-lib/esm-chunks/{chunk-ABMB3G7I.mjs → chunk-IGBAFWZ3.mjs} +3 -3
  59. package/dist-lib/esm-chunks/{chunk-ZCMAKWHN.mjs → chunk-IKZDUGT6.mjs} +1 -1
  60. package/dist-lib/esm-chunks/{chunk-VAQJQDWI.mjs → chunk-IP5ZV36U.mjs} +1 -1
  61. package/dist-lib/esm-chunks/{chunk-O4EOBXAP.mjs → chunk-KGHQ4GK2.mjs} +1 -1
  62. package/dist-lib/esm-chunks/{chunk-4BZ3Z3IQ.mjs → chunk-KY63O76W.mjs} +2 -2
  63. package/dist-lib/esm-chunks/{chunk-QYYJESMK.mjs → chunk-LJ74MO6Y.mjs} +1 -1
  64. package/dist-lib/esm-chunks/{chunk-DJMWTW2B.mjs → chunk-LJX42YVT.mjs} +1 -1
  65. package/dist-lib/esm-chunks/{chunk-XO5GX4PI.mjs → chunk-O4KAW2JJ.mjs} +1 -1
  66. package/dist-lib/esm-chunks/{chunk-6A6JEVIF.mjs → chunk-OIFM356B.mjs} +1 -1
  67. package/dist-lib/esm-chunks/{chunk-NPLEBOWJ.mjs → chunk-P63DPATT.mjs} +1 -1
  68. package/dist-lib/esm-chunks/{chunk-VCAJFWZD.mjs → chunk-SCCOZKCP.mjs} +1 -1
  69. package/dist-lib/esm-chunks/{chunk-QUBR7LHU.mjs → chunk-TAZL253K.mjs} +41 -15
  70. package/dist-lib/esm-chunks/{chunk-ORYS5CC4.mjs → chunk-UBXCWZL3.mjs} +1 -1
  71. package/dist-lib/esm-chunks/{chunk-4ZRMJ5YO.mjs → chunk-ZQWWO33G.mjs} +14 -2
  72. package/dist-lib/esm-chunks/{metro-layout-parser-AUAVE5VL.mjs → metro-layout-parser-HNQRTPVE.mjs} +3 -3
  73. package/dist-lib/expo-swift-bundle.cjs +197 -336
  74. package/dist-lib/expo-swift-metadata.cjs +1 -1
  75. package/dist-lib/expo-swift-metadata.mjs +7 -7
  76. package/dist-lib/home-paths.cjs +1 -1
  77. package/dist-lib/host/bridge-host.cjs +276 -381
  78. package/dist-lib/host/fetch-proxy-handler.cjs +35 -43
  79. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  80. package/dist-lib/host/fetch-proxy-overrides.mjs +2 -2
  81. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  82. package/dist-lib/host/websocket-proxy.cjs +4 -2
  83. package/dist-lib/index.cjs +2 -105
  84. package/dist-lib/kotlin-host.cjs +6 -4
  85. package/dist-lib/menu.cjs +1 -1
  86. package/dist-lib/menu.mjs +3 -3
  87. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  88. package/dist-lib/metro-fingerprint-registry.mjs +3 -3
  89. package/dist-lib/metro-production-bundle.cjs +1 -1
  90. package/dist-lib/metro-production-bundle.mjs +4 -4
  91. package/dist-lib/native-app-identity-project.cjs +2 -2
  92. package/dist-lib/native-app-identity-project.mjs +12 -12
  93. package/dist-lib/native-app-identity.cjs +1 -1
  94. package/dist-lib/native-app-identity.mjs +6 -6
  95. package/dist-lib/native-firebase-metadata.cjs +1 -1
  96. package/dist-lib/native-firebase-metadata.mjs +3 -3
  97. package/dist-lib/pdfium-raster.cjs +1 -1
  98. package/dist-lib/pdfium-raster.mjs +2 -2
  99. package/dist-lib/plist.cjs +1 -1
  100. package/dist-lib/plist.mjs +3 -3
  101. package/dist-lib/profiles.cjs +1 -1
  102. package/dist-lib/public-brand.cjs +1 -1
  103. package/dist-lib/public-origins-lib-esm.json +64 -64
  104. package/dist-lib/public-origins-lib-static.json +1 -1
  105. package/dist-lib/public-origins-lib.json +107 -85
  106. package/dist-lib/react-native-host-modules.cjs +1 -1
  107. package/dist-lib/react-native-host-modules.mjs +2 -2
  108. package/dist-lib/reap-browser.cjs +1 -1
  109. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  110. package/dist-lib/sdk.cjs +1 -1
  111. package/dist-lib/sdk.mjs +7 -7
  112. package/dist-lib/skills.cjs +310 -310
  113. package/dist-lib/swift-compile.cjs +37 -11
  114. package/dist-lib/swift-compile.mjs +8 -8
  115. package/dist-lib/swift-package.cjs +1 -1
  116. package/dist-lib/swift-package.mjs +3 -3
  117. package/dist-lib/swift-submit.cjs +1 -1
  118. package/dist-lib/swift-submit.mjs +5 -5
  119. package/dist-lib/swift-toolchain.cjs +1 -1
  120. package/dist-lib/swift.cjs +1 -1
  121. package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
  122. package/dist-lib/vendor/@ruby/prism/src/nodes.js.cjs +14770 -0
  123. package/dist-lib/vendor/@ruby/prism/src/parsePrism.js.cjs +2790 -0
  124. package/dist-lib/vendor/acorn.cjs +1 -1
  125. package/dist-lib/vendor/bplist-parser.cjs +1 -1
  126. package/dist-lib/vendor/ignore.cjs +1 -1
  127. package/dist-lib/vendor/magic-string.cjs +1 -1
  128. package/dist-lib/vendor/plist.cjs +1 -1
  129. package/dist-lib/vendor/prism.wasm +0 -0
  130. package/dist-lib/vendor/smol-toml.cjs +1 -1
  131. package/dist-lib/vendor/stream-json.cjs +1 -1
  132. package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
  133. package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
  134. package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
  135. package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
  136. package/dist-lib/vendor/sucrase.cjs +1 -1
  137. package/dist-lib/vendor/terser.cjs +1 -1
  138. package/dist-lib/vendor/valibot.cjs +1 -1
  139. package/dist-lib/vendor/ws.cjs +3710 -0
  140. package/dist-lib/vendor/zod.cjs +1 -1
  141. package/dist-lib/worklet-executable.cjs +1 -1
  142. package/dist-lib/worklet-executable.mjs +3 -3
  143. package/dist-types/packages/peach-compat/src/stubs/native-seams/react-native-gesture-handler.d.ts +0 -3
  144. package/dist-types/packages/peach-engine/src/config.d.ts +1 -1
  145. package/dist-types/packages/peach-engine/src/engine/scene-table.d.ts +1 -0
  146. package/dist-types/packages/peach-engine/src/engine/text-line-break.d.ts +3 -1
  147. package/dist-types/packages/peach-engine/src/engine/text-paint.d.ts +1 -0
  148. package/dist-types/packages/peach-engine/src/engine/text-runs.d.ts +6 -1
  149. package/kotlin/sdk.tar.gz +0 -0
  150. package/package.json +22 -14
  151. package/skills/peach-setup/references/native-config.md +3 -3
  152. package/src/app-config.ts +7 -15
  153. package/src/cloud-contract.ts +35 -0
  154. package/src/config.ts +2 -6
  155. package/src/estree-walk.ts +13 -0
  156. package/src/host/network-policy.ts +4 -1
  157. package/src/index.ts +0 -1
  158. package/src/one-native-app-config.ts +14 -15
  159. package/src/podspec-prism.ts +7 -1
  160. package/src/process-group.ts +4 -1
  161. package/src/process-table.ts +6 -1
  162. package/src/swift-compile.ts +38 -8
  163. package/src/swift-host.ts +10 -4
  164. package/cli/commands/box/bundle-plane.ts +0 -154
  165. package/dist-lib/jump-to-source-babel.cjs +0 -131
  166. package/dist-lib/jump-to-source-native.cjs +0 -235
  167. package/src/java-static-imports.ts +0 -68
  168. package/src/jump-to-source-babel.ts +0 -143
  169. package/src/jump-to-source-native.ts +0 -200
  170. package/src/kotlin-jvm-sources.ts +0 -35
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2441 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2457 | (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.2441 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2457 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  RNX_SCREEN_CAPTURE_VERSION,
4
4
  describeInvalidScreenCapture,
@@ -9,8 +9,8 @@ import {
9
9
  rnxRasterFrames,
10
10
  rnxRasterRegionRequests,
11
11
  selectRnxRasterNodeIds
12
- } from "./esm-chunks/chunk-IRMC5BCX.mjs";
13
- import "./esm-chunks/chunk-QYYJESMK.mjs";
12
+ } from "./esm-chunks/chunk-7V2QJGVI.mjs";
13
+ import "./esm-chunks/chunk-LJ74MO6Y.mjs";
14
14
  export {
15
15
  RNX_SCREEN_CAPTURE_VERSION,
16
16
  describeInvalidScreenCapture,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2441 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2457 | (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;
@@ -50,6 +50,7 @@ __export(cloud_contract_exports, {
50
50
  parseRnxCloudLabels: () => parseRnxCloudLabels,
51
51
  readAgentIdentity: () => readAgentIdentity,
52
52
  readRnxCloudLabels: () => readRnxCloudLabels,
53
+ readRnxLaunchUrl: () => readRnxLaunchUrl,
53
54
  rnxCloudCommandScope: () => rnxCloudCommandScope,
54
55
  rnxCloudScopesAllowCommand: () => rnxCloudScopesAllowCommand
55
56
  });
@@ -206,6 +207,17 @@ function matchesRnxCloudLabels(labels, selector) {
206
207
  function isRnxCloudSimStatus(value) {
207
208
  return value === "creating" || value === "open" || value === "hibernated" || value === "deleting" || value === "deleted";
208
209
  }
210
+ var RNX_MAX_LAUNCH_URL_LENGTH = 2048;
211
+ function readRnxLaunchUrl(value) {
212
+ if (typeof value !== "string" || value.length === 0 || value.length > RNX_MAX_LAUNCH_URL_LENGTH) {
213
+ return null;
214
+ }
215
+ try {
216
+ return new URL(value).href.length > 0 ? value : null;
217
+ } catch {
218
+ return null;
219
+ }
220
+ }
209
221
  // Annotate the CommonJS export names for ESM import in node:
210
222
  0 && (module.exports = {
211
223
  AGENT_IDENTITY_MAX_CHARS,
@@ -236,6 +248,7 @@ function isRnxCloudSimStatus(value) {
236
248
  parseRnxCloudLabels,
237
249
  readAgentIdentity,
238
250
  readRnxCloudLabels,
251
+ readRnxLaunchUrl,
239
252
  rnxCloudCommandScope,
240
253
  rnxCloudScopesAllowCommand
241
254
  });
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2441 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2457 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  AGENT_IDENTITY_MAX_CHARS,
4
4
  RNX_CLOUD_ALL_COMMAND_SCOPES,
@@ -28,10 +28,11 @@ import {
28
28
  parseRnxCloudLabels,
29
29
  readAgentIdentity,
30
30
  readRnxCloudLabels,
31
+ readRnxLaunchUrl,
31
32
  rnxCloudCommandScope,
32
33
  rnxCloudScopesAllowCommand
33
- } from "./esm-chunks/chunk-4ZRMJ5YO.mjs";
34
- import "./esm-chunks/chunk-QYYJESMK.mjs";
34
+ } from "./esm-chunks/chunk-ZQWWO33G.mjs";
35
+ import "./esm-chunks/chunk-LJ74MO6Y.mjs";
35
36
  export {
36
37
  AGENT_IDENTITY_MAX_CHARS,
37
38
  RNX_CLOUD_ALL_COMMAND_SCOPES,
@@ -61,6 +62,7 @@ export {
61
62
  parseRnxCloudLabels,
62
63
  readAgentIdentity,
63
64
  readRnxCloudLabels,
65
+ readRnxLaunchUrl,
64
66
  rnxCloudCommandScope,
65
67
  rnxCloudScopesAllowCommand
66
68
  };
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2441 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2457 | (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.2441 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
- import "./esm-chunks/chunk-QYYJESMK.mjs";
1
+ /*! peach v0.1.2457 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
+ import "./esm-chunks/chunk-LJ74MO6Y.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.2441 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2457 | (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.2441 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2457 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  sleep
4
- } from "./esm-chunks/chunk-ZCMAKWHN.mjs";
4
+ } from "./esm-chunks/chunk-IKZDUGT6.mjs";
5
5
  import {
6
6
  isRnxScreenCapture
7
- } from "./esm-chunks/chunk-IRMC5BCX.mjs";
7
+ } from "./esm-chunks/chunk-7V2QJGVI.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-4ZRMJ5YO.mjs";
17
+ } from "./esm-chunks/chunk-ZQWWO33G.mjs";
18
18
  import {
19
19
  rnxPublicBrand
20
- } from "./esm-chunks/chunk-DJMWTW2B.mjs";
20
+ } from "./esm-chunks/chunk-LJX42YVT.mjs";
21
21
  import {
22
22
  isRecord
23
- } from "./esm-chunks/chunk-ORYS5CC4.mjs";
23
+ } from "./esm-chunks/chunk-UBXCWZL3.mjs";
24
24
  import {
25
25
  __publicField
26
- } from "./esm-chunks/chunk-QYYJESMK.mjs";
26
+ } from "./esm-chunks/chunk-LJ74MO6Y.mjs";
27
27
 
28
28
  // src/backend-origin.ts
29
29
  var NativeURL = globalThis.URL;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2441 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2457 | (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;
@@ -27,7 +27,6 @@ __export(config_exports, {
27
27
  applyPeachConfigToUrl: () => applyPeachConfigToUrl,
28
28
  collectConfiguredFileModules: () => collectConfiguredFileModules,
29
29
  createPeachBundleConfigFooter: () => createPeachBundleConfigFooter,
30
- defineConfig: () => defineConfig,
31
30
  detachPeachBundleConfigFooter: () => detachPeachBundleConfigFooter,
32
31
  hasPeachConfig: () => hasPeachConfig,
33
32
  isPackageStubs: () => isPackageStubs,
@@ -198,9 +197,6 @@ function detachPeachBundleConfigFooter(source) {
198
197
  configuredBundle
199
198
  };
200
199
  }
201
- function defineConfig(config) {
202
- return config;
203
- }
204
200
  function hasOwnKeys(value) {
205
201
  return !!value && Object.keys(value).length > 0;
206
202
  }
@@ -265,7 +261,6 @@ function applyPeachConfigToUrl(url, config) {
265
261
  applyPeachConfigToUrl,
266
262
  collectConfiguredFileModules,
267
263
  createPeachBundleConfigFooter,
268
- defineConfig,
269
264
  detachPeachBundleConfigFooter,
270
265
  hasPeachConfig,
271
266
  isPackageStubs,
@@ -1,14 +1,14 @@
1
- /*! peach v0.1.2441 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2457 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  isValidRuntimeVersion
4
- } from "./esm-chunks/chunk-6A6JEVIF.mjs";
4
+ } from "./esm-chunks/chunk-OIFM356B.mjs";
5
5
  import {
6
6
  findBundleFooter
7
- } from "./esm-chunks/chunk-VAQJQDWI.mjs";
7
+ } from "./esm-chunks/chunk-IP5ZV36U.mjs";
8
8
  import {
9
9
  isRecord
10
- } from "./esm-chunks/chunk-ORYS5CC4.mjs";
11
- import "./esm-chunks/chunk-QYYJESMK.mjs";
10
+ } from "./esm-chunks/chunk-UBXCWZL3.mjs";
11
+ import "./esm-chunks/chunk-LJ74MO6Y.mjs";
12
12
 
13
13
  // src/nativeViewSourceContract.ts
14
14
  function isNativeViewSource(value) {
@@ -140,9 +140,6 @@ function detachPeachBundleConfigFooter(source) {
140
140
  configuredBundle
141
141
  };
142
142
  }
143
- function defineConfig(config) {
144
- return config;
145
- }
146
143
  function hasOwnKeys(value) {
147
144
  return !!value && Object.keys(value).length > 0;
148
145
  }
@@ -206,7 +203,6 @@ export {
206
203
  applyPeachConfigToUrl,
207
204
  collectConfiguredFileModules,
208
205
  createPeachBundleConfigFooter,
209
- defineConfig,
210
206
  detachPeachBundleConfigFooter,
211
207
  hasPeachConfig,
212
208
  isPackageStubs,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2441 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2457 | (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;
@@ -1182,7 +1182,6 @@ var import_node_child_process8 = require("node:child_process");
1182
1182
  var import_node_module2 = require("node:module");
1183
1183
  var import_node_util = require("node:util");
1184
1184
  var path13 = __toESM(require("path"), 1);
1185
- var import_playwright_core = require("playwright-core");
1186
1185
 
1187
1186
  // cli/maestro-accessibility.ts
1188
1187
  function accessibilityBounds(node) {
@@ -2335,7 +2334,7 @@ async function waitForSootsimIdle({
2335
2334
  // cli/ws-bridge.ts
2336
2335
  var import_node_fs17 = __toESM(require("node:fs"), 1);
2337
2336
  var import_node_path15 = __toESM(require("node:path"), 1);
2338
- var import_ws = require("ws");
2337
+ var import_ws = require("peachsim/vendor/ws");
2339
2338
 
2340
2339
  // src/simulator-route.ts
2341
2340
  var PEACH_SIMULATOR_PATH = "/simulator";
@@ -11030,6 +11029,18 @@ var by = {
11030
11029
  var WORKLET_FRAME_TRACE_LIMIT = 16384;
11031
11030
  var BASE_URL = process.env.PEACH_URL || "http://localhost:5173";
11032
11031
  var SCREENSHOT_DIR = process.env.PEACH_SCREENSHOT_DIR || path13.join(process.cwd(), "test", "detox-driver", "screenshots", String(process.pid));
11032
+ async function loadChromium() {
11033
+ try {
11034
+ return (await import("playwright-core")).chromium;
11035
+ } catch (error) {
11036
+ if (!isRecord(error) || error.code !== "MODULE_NOT_FOUND" && error.code !== "ERR_MODULE_NOT_FOUND")
11037
+ throw error;
11038
+ throw new Error(
11039
+ "Peach Detox drives Chromium through playwright-core. Install it in this project: npm install -D playwright-core",
11040
+ { cause: error }
11041
+ );
11042
+ }
11043
+ }
11033
11044
  var _browser = null;
11034
11045
  var _browserLaunch = null;
11035
11046
  var _browserLaunchAbort = null;
@@ -12455,7 +12466,8 @@ var device = {
12455
12466
  acquire: () => reserveChromiumAdmission(signal)
12456
12467
  };
12457
12468
  _browserLaunch = (async () => {
12458
- const executablePath = import_playwright_core.chromium.executablePath();
12469
+ const chromium = await loadChromium();
12470
+ const executablePath = chromium.executablePath();
12459
12471
  if (!fs10.existsSync(executablePath)) {
12460
12472
  const requireDriver = (0, import_node_module2.createRequire)(path13.join(__dirname, "index.cjs"));
12461
12473
  const cliPath = path13.join(
@@ -12478,7 +12490,7 @@ var device = {
12478
12490
  }
12479
12491
  }
12480
12492
  const launched = await launchReapedChromeScoped(
12481
- (options) => import_playwright_core.chromium.launch(options),
12493
+ (options) => chromium.launch(options),
12482
12494
  {
12483
12495
  headless: true,
12484
12496
  ignoreDefaultArgs: ["--disable-popup-blocking"],
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2441 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2457 | (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.2441 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2457 | (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-PMGJ7FLI.mjs";
26
- import "./chunk-QYYJESMK.mjs";
25
+ } from "./chunk-BHQEYJAF.mjs";
26
+ import "./chunk-LJ74MO6Y.mjs";
27
27
  export {
28
28
  Node,
29
29
  Parser,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2441 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2457 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/capture-contract.ts
4
4
  var RNX_SCREEN_CAPTURE_VERSION = 1;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2441 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2457 | (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.2441 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2457 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/swiftContract.ts
4
4
  function isSwiftSourceLinkGraph(value) {
@@ -1,13 +1,13 @@
1
- /*! peach v0.1.2441 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2457 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  isSwiftImageVariants
4
- } from "./chunk-VCAJFWZD.mjs";
4
+ } from "./chunk-SCCOZKCP.mjs";
5
5
  import {
6
6
  findBundleFooter
7
- } from "./chunk-VAQJQDWI.mjs";
7
+ } from "./chunk-IP5ZV36U.mjs";
8
8
  import {
9
9
  isRecord
10
- } from "./chunk-ORYS5CC4.mjs";
10
+ } from "./chunk-UBXCWZL3.mjs";
11
11
 
12
12
  // src/android-string-value.ts
13
13
  function compileAndroidStringValue(text, where) {
@@ -1,10 +1,10 @@
1
- /*! peach v0.1.2441 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2457 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  SIM_LONG_PRESS_MAX_MS
4
- } from "./chunk-NPLEBOWJ.mjs";
4
+ } from "./chunk-P63DPATT.mjs";
5
5
  import {
6
6
  isRecord
7
- } from "./chunk-ORYS5CC4.mjs";
7
+ } from "./chunk-UBXCWZL3.mjs";
8
8
 
9
9
  // src/bridge-contract-input.ts
10
10
  var BridgeInputError = class extends Error {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2441 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2457 | (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.2441 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2457 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // ../peach-globals/src/bundle-global-footer.ts
4
4
  function findBundleFooter(source, prefix) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2441 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2457 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/launchMetadataContract.ts
4
4
  var LAUNCH_METADATA_QUERY_PARAM = "launchMetadata";
@@ -1,8 +1,8 @@
1
- /*! peach v0.1.2441 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2457 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  __commonJS,
4
4
  __toESM
5
- } from "./chunk-QYYJESMK.mjs";
5
+ } from "./chunk-LJ74MO6Y.mjs";
6
6
 
7
7
  // ../../node_modules/@xmldom/xmldom/lib/conventions.js
8
8
  var require_conventions = __commonJS({
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2441 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2457 | (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,4 +1,4 @@
1
- /*! peach v0.1.2441 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2457 | (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.2441 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2457 | (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.2441 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2457 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // ../contrast-runtime-delivery/src/version.ts
4
4
  function isValidRuntimeVersion(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2441 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2457 | (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.2441 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2457 | (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.2441 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2457 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  OBJC_RESOURCE_ACCESSOR_BODY,
4
4
  OBJC_RESOURCE_ACCESSOR_HEADER,
@@ -20,7 +20,7 @@ import {
20
20
  swiftPackagePartition,
21
21
  swiftTargetModuleName,
22
22
  withoutGlogModuleMap
23
- } from "./chunk-XO5GX4PI.mjs";
23
+ } from "./chunk-O4KAW2JJ.mjs";
24
24
  import {
25
25
  SWIFT_NATIVE_INPUT_ROOT,
26
26
  SWIFT_NATIVE_SDK_INCLUDE,
@@ -33,13 +33,13 @@ import {
33
33
  isSwiftResourcePath,
34
34
  isSwiftSourceLinkGraph,
35
35
  swiftProjectFilesProblems
36
- } from "./chunk-BAYRN7ZL.mjs";
36
+ } from "./chunk-DSPFMVBM.mjs";
37
37
  import {
38
38
  isRecord
39
- } from "./chunk-ORYS5CC4.mjs";
39
+ } from "./chunk-UBXCWZL3.mjs";
40
40
  import {
41
41
  __publicField
42
- } from "./chunk-QYYJESMK.mjs";
42
+ } from "./chunk-LJ74MO6Y.mjs";
43
43
 
44
44
  // src/swift-compile.ts
45
45
  import {
@@ -2723,7 +2723,8 @@ function readProcessTable(timeoutMs = 1e4, pid) {
2723
2723
  try {
2724
2724
  stat = readFileSync(`/proc/${name2}/stat`, "utf8");
2725
2725
  } catch (error) {
2726
- if (error instanceof Error && "code" in error && error.code === "ENOENT") continue;
2726
+ if (error instanceof Error && "code" in error && (error.code === "ENOENT" || error.code === "ESRCH"))
2727
+ continue;
2727
2728
  throw error;
2728
2729
  }
2729
2730
  const fields = stat.slice(stat.lastIndexOf(")") + 2).trim().split(/\s+/);
@@ -2780,6 +2781,7 @@ function readProcessTable(timeoutMs = 1e4, pid) {
2780
2781
  // src/process-group.ts
2781
2782
  var GRACEFUL_TIMEOUT_MS = 3e3;
2782
2783
  var FORCED_EXIT_TIMEOUT_MS = 1e3;
2784
+ var EXIT_SCAN_TIMEOUT_MS = 1e4;
2783
2785
  var INSPECTION_TIMEOUT_MS = 1e4;
2784
2786
  var FREEZE_GUARD_NAME = "process-freeze-guard";
2785
2787
  function listProcessChildren(parents, timeoutMs = 1e4) {
@@ -2954,7 +2956,7 @@ function processesHaveExited(pids, pgid) {
2954
2956
  if (!mayExist) return true;
2955
2957
  const knownPids = new Set(pids);
2956
2958
  try {
2957
- return !readProcessTable(FORCED_EXIT_TIMEOUT_MS).some(
2959
+ return !readProcessTable(EXIT_SCAN_TIMEOUT_MS).some(
2958
2960
  (row) => (row.pgid === pgid || knownPids.has(row.pid)) && !row.zombie
2959
2961
  );
2960
2962
  } catch {
@@ -14050,7 +14052,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
14050
14052
  var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
14051
14053
  var MULTI_MANIFEST_VERSION = 72;
14052
14054
  var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
14053
- var compilerSourceDigest = true ? "f691ad9847363fc601dda32d460b473efaac6c30948a278f162a896afa1df816" : swiftCompilerSourceDigest(import.meta.dirname);
14055
+ var compilerSourceDigest = true ? "82277b01523ae4b1fce8888e636cd6a98f714c692be322d3916352e5629be0f5" : swiftCompilerSourceDigest(import.meta.dirname);
14054
14056
  function swiftArtifactHash(input, release, moduleRoot) {
14055
14057
  const hash = createHash15("sha256");
14056
14058
  hash.update(`swift-compile
@@ -16777,6 +16779,7 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
16777
16779
  }
16778
16780
  continue;
16779
16781
  }
16782
+ const textualIncludes = entries.map(([file]) => file).filter((file) => /\.(?:inc|inl|ipp|def)$/.test(file));
16780
16783
  native.set(target.name, {
16781
16784
  path: target.path,
16782
16785
  includeDirectory: path30.join(layout2.root, includes),
@@ -16784,7 +16787,7 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
16784
16787
  lateSources: late.map(([file]) => file.slice(prefix.length)),
16785
16788
  exclude: [
16786
16789
  ...late.map(([file]) => file.slice(prefix.length)),
16787
- ...entries.filter(([file]) => /\.(?:inc|inl|ipp|def)$/.test(file)).map(([file]) => file.slice(prefix.length))
16790
+ ...textualIncludes.map((file) => file.slice(prefix.length))
16788
16791
  ],
16789
16792
  ...late.length > 0 ? {
16790
16793
  late: {
@@ -16795,13 +16798,36 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
16795
16798
  }
16796
16799
  } : {}
16797
16800
  });
16798
- if (late.length > 0)
16799
- files.set(
16800
- path30.join(layout2.root, target.path, "PeachSwiftImplementation/module.modulemap"),
16801
- `module ${swiftTargetModuleName(`${target.name}SwiftImplementation`)} { export * }
16802
- `
16801
+ if (late.length === 0) {
16802
+ const headers = path30.posix.join(target.path, target.publicHeadersPath ?? "include");
16803
+ const fragments = textualIncludes.filter(
16804
+ (file) => headers === "." || file.startsWith(`${headers}/`)
16803
16805
  );
16804
- if (late.length === 0 || entries.some(
16806
+ const name2 = swiftTargetModuleName(target.name);
16807
+ const map = path30.posix.join(headers, "module.modulemap");
16808
+ if (fragments.length > 0 && !Object.hasOwn(input.files, map) && !files.has(path30.join(layout2.root, map)) && !Object.hasOwn(input.files, path30.posix.join(headers, `${name2}.h`)) && !Object.hasOwn(input.files, path30.posix.join(headers, name2, `${name2}.h`)))
16809
+ stageTargetFile(
16810
+ target.name,
16811
+ path30.join(layout2.root, map),
16812
+ [
16813
+ `module ${name2} {`,
16814
+ ' umbrella "."',
16815
+ ...fragments.map(
16816
+ (file) => ` textual header ${JSON.stringify(path30.posix.relative(headers, file))}`
16817
+ ),
16818
+ " export *",
16819
+ "}",
16820
+ ""
16821
+ ].join("\n")
16822
+ );
16823
+ continue;
16824
+ }
16825
+ files.set(
16826
+ path30.join(layout2.root, target.path, "PeachSwiftImplementation/module.modulemap"),
16827
+ `module ${swiftTargetModuleName(`${target.name}SwiftImplementation`)} { export * }
16828
+ `
16829
+ );
16830
+ if (entries.some(
16805
16831
  ([file, contents2]) => file.endsWith("/module.modulemap") && moduleMapName(contents2) === swiftTargetModuleName(target.name)
16806
16832
  ))
16807
16833
  continue;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2441 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2457 | (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.2441 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2457 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/cloud-contract.ts
4
4
  var AGENT_IDENTITY_MAX_CHARS = 200;
@@ -153,6 +153,17 @@ function matchesRnxCloudLabels(labels, selector) {
153
153
  function isRnxCloudSimStatus(value) {
154
154
  return value === "creating" || value === "open" || value === "hibernated" || value === "deleting" || value === "deleted";
155
155
  }
156
+ var RNX_MAX_LAUNCH_URL_LENGTH = 2048;
157
+ function readRnxLaunchUrl(value) {
158
+ if (typeof value !== "string" || value.length === 0 || value.length > RNX_MAX_LAUNCH_URL_LENGTH) {
159
+ return null;
160
+ }
161
+ try {
162
+ return new URL(value).href.length > 0 ? value : null;
163
+ } catch {
164
+ return null;
165
+ }
166
+ }
156
167
 
157
168
  export {
158
169
  AGENT_IDENTITY_MAX_CHARS,
@@ -184,5 +195,6 @@ export {
184
195
  parseRnxCloudLabels,
185
196
  readRnxCloudLabels,
186
197
  matchesRnxCloudLabels,
187
- isRnxCloudSimStatus
198
+ isRnxCloudSimStatus,
199
+ readRnxLaunchUrl
188
200
  };
@@ -1,5 +1,5 @@
1
- /*! peach v0.1.2441 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
- import "./chunk-QYYJESMK.mjs";
1
+ /*! peach v0.1.2457 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
+ import "./chunk-LJ74MO6Y.mjs";
3
3
 
4
4
  // src/metro-layout-parser.ts
5
5
  var whitespace = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/y;
@@ -8,7 +8,7 @@ var lineBreak = /[\r\n\u2028\u2029]/;
8
8
  var metroLayoutParser;
9
9
  async function loadMetroLayoutParser() {
10
10
  if (metroLayoutParser) return metroLayoutParser;
11
- const { Parser } = await import("./acorn-FRQNHKFC.mjs");
11
+ const { Parser } = await import("./acorn-73XUBXBT.mjs");
12
12
  metroLayoutParser = Parser.extend(
13
13
  (Base) => {
14
14
  const parseFunctionBody = Reflect.get(Base.prototype, "parseFunctionBody");