rnxsim 0.1.369 → 0.1.371
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.
- package/cli/auth.ts +2 -1
- package/cli/bin.ts +283 -273
- package/cli/commands/app-fonts.ts +3 -2
- package/cli/commands/assert.ts +8 -7
- package/cli/commands/auth.ts +2 -1
- package/cli/commands/box/checkout-plane.ts +109 -29
- package/cli/commands/box/cloud-box.ts +294 -0
- package/cli/commands/box/plane-share.ts +208 -0
- package/cli/commands/box/rnx-command.ts +2 -2
- package/cli/commands/box/search-command.ts +157 -0
- package/cli/commands/box.ts +269 -13
- package/cli/commands/config.ts +2 -1
- package/cli/commands/control.ts +43 -34
- package/cli/commands/daemon.ts +22 -21
- package/cli/commands/debug.ts +17 -15
- package/cli/commands/detox.ts +5 -4
- package/cli/commands/device.ts +6 -5
- package/cli/commands/electron.ts +6 -5
- package/cli/commands/flow.ts +12 -11
- package/cli/commands/inspect/find.ts +2 -1
- package/cli/commands/inspect/keyboard.ts +2 -1
- package/cli/commands/inspect/sleep.ts +2 -1
- package/cli/commands/inspect/wait-event.ts +4 -3
- package/cli/commands/inspect/wait-idle.ts +2 -1
- package/cli/commands/inspect/wait-ready.ts +3 -2
- package/cli/commands/inspect/wait-selector.ts +4 -3
- package/cli/commands/inspect/wait.ts +2 -1
- package/cli/commands/inspect.ts +82 -80
- package/cli/commands/install-desktop.ts +5 -4
- package/cli/commands/login.ts +3 -2
- package/cli/commands/mode.ts +2 -1
- package/cli/commands/record.ts +38 -37
- package/cli/commands/runtime.ts +9 -8
- package/cli/commands/screenshot-layers.ts +4 -3
- package/cli/commands/screenshot-mode.ts +2 -1
- package/cli/commands/screenshot.ts +8 -7
- package/cli/commands/screenshots-capture.ts +2 -1
- package/cli/commands/serve.ts +5 -4
- package/cli/commands/shell-boolean-mode.ts +2 -1
- package/cli/commands/skills.ts +11 -10
- package/cli/commands/telemetry.ts +2 -1
- package/cli/commands/three-mode.ts +2 -1
- package/cli/commands/timeline.ts +4 -3
- package/cli/commands/upload.ts +14 -13
- package/cli/commands/what-happened.ts +2 -1
- package/cli/outbound-endpoints.ts +37 -1
- package/cli/recording-access.ts +6 -5
- package/cli/run-rnx.ts +140 -0
- package/dist-cli/bin.js +6 -6
- package/dist-cli/chunks/{agent-OUUFWDLF.js → agent-W2D2V7WF.js} +2 -2
- package/dist-cli/chunks/{agent-wrapper-7BE7DR4R.js → agent-wrapper-GVNM2Z4S.js} +2 -2
- package/dist-cli/chunks/app-fonts-J6R4TTXD.js +4 -0
- package/dist-cli/chunks/{assert-I3CMRNS7.js → assert-YN6U4ZTB.js} +11 -11
- package/dist-cli/chunks/auth-XGYZAK2P.js +12 -0
- package/dist-cli/chunks/{beta-BHSKY4K4.js → beta-WRDMHHWJ.js} +2 -2
- package/dist-cli/chunks/{box-3CVWXVTT.js → box-ML5TFUQW.js} +617 -596
- package/dist-cli/chunks/{camera-MNK73TYV.js → camera-OBEI4FZA.js} +2 -2
- package/dist-cli/chunks/{chunk-JXARZBWS.js → chunk-2FIT64GR.js} +1 -1
- package/dist-cli/chunks/{chunk-RYGQ6LZN.js → chunk-2LH4DYPM.js} +2 -2
- package/dist-cli/chunks/chunk-2QW3JH6T.js +99 -0
- package/dist-cli/chunks/{chunk-2APXX4RN.js → chunk-2W4YBCPX.js} +2 -2
- package/dist-cli/chunks/{chunk-X3PEDNLV.js → chunk-42YOIDLR.js} +2 -2
- package/dist-cli/chunks/{chunk-6BMM6OCW.js → chunk-47MSXLWK.js} +2 -2
- package/dist-cli/chunks/chunk-4OLUFHEZ.js +74 -0
- package/dist-cli/chunks/{chunk-WUR4FXWT.js → chunk-5PPVVGLH.js} +25 -25
- package/dist-cli/chunks/{chunk-AKJYEX54.js → chunk-6AZKZ5AJ.js} +2 -2
- package/dist-cli/chunks/{chunk-2PVVIPQS.js → chunk-6FPXLSBJ.js} +1 -1
- package/dist-cli/chunks/{chunk-CCI3DZKE.js → chunk-763GBI7G.js} +2 -2
- package/dist-cli/chunks/{chunk-CZ2HCNRK.js → chunk-7ASCDKA3.js} +1 -1
- package/dist-cli/chunks/{chunk-ZNNE5MAV.js → chunk-7Q4WHJDH.js} +1 -1
- package/dist-cli/chunks/{chunk-IYPMULI7.js → chunk-7TWD4P6J.js} +2 -2
- package/dist-cli/chunks/{chunk-45X3D6CI.js → chunk-7YB46LGI.js} +1 -1
- package/dist-cli/chunks/{chunk-3454VMHD.js → chunk-ADJSGO55.js} +2 -2
- package/dist-cli/chunks/{chunk-F4OTMARL.js → chunk-AGZZWLEL.js} +2 -2
- package/dist-cli/chunks/{chunk-UDXQCEJU.js → chunk-AVIH3TAZ.js} +11 -11
- package/dist-cli/chunks/{chunk-DCPDMF27.js → chunk-B26ZJUQA.js} +2 -2
- package/dist-cli/chunks/{chunk-D6MGELKZ.js → chunk-BNS5LNEU.js} +1 -1
- package/dist-cli/chunks/{chunk-FHRG772G.js → chunk-CJQXP4XM.js} +1 -1
- package/dist-cli/chunks/{chunk-OROUEG22.js → chunk-DP6RGTNN.js} +2 -2
- package/dist-cli/chunks/{chunk-V7I4CTAX.js → chunk-DYFOLOYL.js} +2 -2
- package/dist-cli/chunks/chunk-ERBGQEJ5.js +4 -0
- package/dist-cli/chunks/{chunk-H2GB2PLY.js → chunk-ESWSXF55.js} +2 -2
- package/dist-cli/chunks/{chunk-FGGESBWD.js → chunk-FLNGSIBL.js} +2 -2
- package/dist-cli/chunks/{chunk-4SCVGBOX.js → chunk-GQGS7TRK.js} +1 -1
- package/dist-cli/chunks/{chunk-WGE2P25F.js → chunk-H4DU457S.js} +1 -1
- package/dist-cli/chunks/{chunk-TBK5UXW2.js → chunk-HFY35VAG.js} +2 -2
- package/dist-cli/chunks/{chunk-JLOOLA47.js → chunk-HV3WOWQM.js} +1 -1
- package/dist-cli/chunks/{chunk-RV76U3EI.js → chunk-HZ365EMS.js} +10 -10
- package/dist-cli/chunks/chunk-IPNDXGVA.js +11 -0
- package/dist-cli/chunks/{chunk-TAC4CEIX.js → chunk-IX7Z6ZVJ.js} +2 -2
- package/dist-cli/chunks/{chunk-UQJY6O72.js → chunk-IYU2EOIU.js} +1 -1
- package/dist-cli/chunks/chunk-J6A5W2DI.js +30 -0
- package/dist-cli/chunks/chunk-JKRMBNPO.js +28 -0
- package/dist-cli/chunks/{chunk-VGJLCFSC.js → chunk-JUTLQ3GX.js} +1 -1
- package/dist-cli/chunks/{chunk-5QFJFASW.js → chunk-KHGXEU4L.js} +1 -1
- package/dist-cli/chunks/{chunk-A56GQVNF.js → chunk-KL34TRNW.js} +1 -1
- package/dist-cli/chunks/chunk-LFANRLWK.js +7 -0
- package/dist-cli/chunks/{chunk-NPVEBXU3.js → chunk-MOIQZVRU.js} +2 -2
- package/dist-cli/chunks/chunk-MW4E5EED.js +497 -0
- package/dist-cli/chunks/{chunk-AJJCYLBC.js → chunk-N3LAMTGS.js} +2 -2
- package/dist-cli/chunks/{chunk-QE5MC4V3.js → chunk-NQ4CI2VI.js} +1 -1
- package/dist-cli/chunks/{chunk-6F3WOWFC.js → chunk-OF3U4SZO.js} +2 -2
- package/dist-cli/chunks/{chunk-DKSZZABN.js → chunk-OF5OBB67.js} +1 -1
- package/dist-cli/chunks/{chunk-MXWME7ET.js → chunk-OQPZOEEP.js} +1 -1
- package/dist-cli/chunks/{chunk-SSBZA5VZ.js → chunk-OWDJQWJ7.js} +1 -1
- package/dist-cli/chunks/{chunk-YLNSLMQM.js → chunk-PTWMX4AA.js} +2 -2
- package/dist-cli/chunks/{chunk-TTUZ5MCK.js → chunk-RYJTPZCX.js} +1 -1
- package/dist-cli/chunks/{chunk-A72MIIJI.js → chunk-S3AH2O67.js} +1 -1
- package/dist-cli/chunks/{chunk-ZW6JXEVX.js → chunk-SH2HXHR2.js} +2 -2
- package/dist-cli/chunks/{chunk-EKAEEWC2.js → chunk-SHLJYXIN.js} +1 -1
- package/dist-cli/chunks/{chunk-4G4VCT2M.js → chunk-TL22EBF5.js} +2 -2
- package/dist-cli/chunks/{chunk-LU3AHE6T.js → chunk-TWNLRDIH.js} +2 -2
- package/dist-cli/chunks/{chunk-B5NW4TT3.js → chunk-UHYAY3RU.js} +2 -2
- package/dist-cli/chunks/{chunk-N5KDDGV6.js → chunk-UPMR6Y5P.js} +2 -2
- package/dist-cli/chunks/chunk-VEFSHPSU.js +24 -0
- package/dist-cli/chunks/{chunk-YPBDPVLR.js → chunk-WCB5XPCH.js} +2 -2
- package/dist-cli/chunks/{chunk-USHV3QFZ.js → chunk-WHZE63R2.js} +2 -2
- package/dist-cli/chunks/{chunk-ZEF57HQO.js → chunk-WLRIPAGJ.js} +1 -1
- package/dist-cli/chunks/{chunk-FBMNYSSW.js → chunk-Y7SKGRAV.js} +1 -1
- package/dist-cli/chunks/chunk-Z6CQDU74.js +4 -0
- package/dist-cli/chunks/{cleanup-H4XFRMZV.js → cleanup-PTJBMC34.js} +2 -2
- package/dist-cli/chunks/cli-version-6ZBD6GKP.js +4 -0
- package/dist-cli/chunks/{compat-NKGYERLN.js → compat-FJ2HWRAG.js} +2 -2
- package/dist-cli/chunks/config-PYGH7JPN.js +13 -0
- package/dist-cli/chunks/{connect-WWWAVVCF.js → connect-AJV4PZA4.js} +2 -2
- package/dist-cli/chunks/control-667PAYX4.js +4 -0
- package/dist-cli/chunks/daemon-EIBOHZYQ.js +4 -0
- package/dist-cli/chunks/{debug-RO6GLDIM.js → debug-XF2XUDHN.js} +20 -20
- package/dist-cli/chunks/desktop-HEZYNFYW.js +31 -0
- package/dist-cli/chunks/detox-JCFZJRNE.js +52 -0
- package/dist-cli/chunks/device-KGUVZHFW.js +18 -0
- package/dist-cli/chunks/{diagnose-HDRTUPDO.js → diagnose-KVJQ3TOI.js} +2 -2
- package/dist-cli/chunks/{disk-cleanup-QP2NYN43.js → disk-cleanup-7HQXJFUX.js} +2 -2
- package/dist-cli/chunks/{do-chain-6LP6SV5J.js → do-chain-3FYJNA2N.js} +2 -2
- package/dist-cli/chunks/drivers-5S6M5TJB.js +4 -0
- package/dist-cli/chunks/{env-4XD5D2G6.js → env-BX6S2SOM.js} +2 -2
- package/dist-cli/chunks/{film-I5SIXLS5.js → film-2WZUVYFA.js} +3 -3
- package/dist-cli/chunks/flow-6BZSWNHG.js +4 -0
- package/dist-cli/chunks/help-OGJBD4NP.js +4 -0
- package/dist-cli/chunks/{hidden-runtime-alias-LJV2S4M2.js → hidden-runtime-alias-PGF55OFH.js} +2 -2
- package/dist-cli/chunks/{home-paths-RFI2QRC3.js → home-paths-EGRMTSGE.js} +2 -2
- package/dist-cli/chunks/inspect-MZVDGAN4.js +4 -0
- package/dist-cli/chunks/install-desktop-QB76DNZF.js +4 -0
- package/dist-cli/chunks/login-HRFPYPZ3.js +26 -0
- package/dist-cli/chunks/{logout-DKXZZ6HU.js → logout-LRH5HZGP.js} +2 -2
- package/dist-cli/chunks/{maestro-WKGVVWRA.js → maestro-S53T4PPE.js} +3 -3
- package/dist-cli/chunks/{maestro-generate-KCK6RK2C.js → maestro-generate-YKIVKOB3.js} +3 -3
- package/dist-cli/chunks/mode-47JKNUNS.js +26 -0
- package/dist-cli/chunks/{optional-demo-registry-EUSKBIPP.js → optional-demo-registry-ARZSPS5Y.js} +2 -2
- package/dist-cli/chunks/{perf-IMZMA5MT.js → perf-J73OKB4T.js} +2 -2
- package/dist-cli/chunks/{permissions-SLWXTLH6.js → permissions-L3FPI56H.js} +2 -2
- package/dist-cli/chunks/{platform-HQ735LAE.js → platform-YAROAHRM.js} +3 -3
- package/dist-cli/chunks/privacy-JZQCXHKN.js +4 -0
- package/dist-cli/chunks/record-QAQMGYOO.js +72 -0
- package/dist-cli/chunks/report-issue-4FVZCAFQ.js +29 -0
- package/dist-cli/chunks/reset-NYFUFZCG.js +4 -0
- package/dist-cli/chunks/resolve-target-SP22ZGFZ.js +4 -0
- package/dist-cli/chunks/runtime-WTS2QMXZ.js +4 -0
- package/dist-cli/chunks/{screenshot-command-HAJB5FHK.js → screenshot-command-Q5MGGEWY.js} +11 -11
- package/dist-cli/chunks/screenshot-layers-4JW7DRL7.js +20 -0
- package/dist-cli/chunks/screenshots-capture-X5PMO44E.js +42 -0
- package/dist-cli/chunks/{serve-TM46TKFW.js → serve-3JWJ45J3.js} +20 -20
- package/dist-cli/chunks/setup-USPDJESI.js +4 -0
- package/dist-cli/chunks/{sim-client-LQUZSO45.js → sim-client-RL6DGOJE.js} +2 -2
- package/dist-cli/chunks/skills-QNO6GDJB.js +50 -0
- package/dist-cli/chunks/{state-RUVM4Z4S.js → state-OGUCSUC3.js} +2 -2
- package/dist-cli/chunks/{storage-GQ33UTYN.js → storage-TG7KFQZ3.js} +2 -2
- package/dist-cli/chunks/store-ZYMQW2LN.js +4 -0
- package/dist-cli/chunks/telemetry-7CSLUUIW.js +4 -0
- package/dist-cli/chunks/timeline-R4G5P335.js +24 -0
- package/dist-cli/chunks/{upgrade-AZDZLUIT.js → upgrade-RDTXJ6O3.js} +2 -2
- package/dist-cli/chunks/upload-PLF2DPMS.js +4 -0
- package/dist-cli/chunks/{version-N3ALB75G.js → version-GU2NUZDS.js} +2 -2
- package/dist-cli/chunks/{web-XPHFZATA.js → web-7PUVG3GE.js} +2 -2
- package/dist-cli/chunks/welcome-4GGUV7FY.js +5 -0
- package/dist-cli/chunks/what-happened-OHAAX6F6.js +25 -0
- package/dist-cli/chunks/{ws-bridge-RUXOYOU6.js → ws-bridge-Z3O35MNF.js} +2 -2
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/agent-identity.cjs +1 -1
- package/dist-lib/agent-sessions.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -1
- package/dist-lib/auth/shared-session.cjs +1 -1
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +1 -1
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +1 -1
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +1 -1
- package/dist-lib/cli-constants.cjs +1 -1
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/detox/index.cjs +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +69 -34
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +430 -106
- package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +1 -1
- package/dist-lib/jump-to-source-babel.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +1 -1
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +1 -1
- package/dist-lib/metro.cjs +1 -1
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/react-native-host-modules.cjs +2 -1
- package/dist-lib/react-native-host-modules.mjs +2 -1
- package/dist-lib/render-mode.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +149 -93
- package/dist-lib/sdk.cjs +1 -1
- package/dist-lib/sdk.mjs +1 -1
- package/dist-lib/skills.cjs +757 -353
- package/dist-lib/vite.cjs +1 -1
- package/package.json +1 -1
- package/scripts/dev-server-scanner.ts +275 -92
- package/src/dev-bundle-resolution.ts +123 -40
- package/src/host/bridge-host.ts +11 -0
- package/src/host/plane-host.ts +203 -0
- package/src/react-native-host-modules.ts +1 -0
- package/dist-cli/chunks/app-fonts-66V7TL26.js +0 -4
- package/dist-cli/chunks/auth-3FMWUVJH.js +0 -12
- package/dist-cli/chunks/chunk-3NLB5LCN.js +0 -28
- package/dist-cli/chunks/chunk-5RWUFIZW.js +0 -24
- package/dist-cli/chunks/chunk-COXCR6UU.js +0 -7
- package/dist-cli/chunks/chunk-JH5KE2OI.js +0 -4
- package/dist-cli/chunks/chunk-ROISJKH3.js +0 -99
- package/dist-cli/chunks/chunk-SUHAD6N2.js +0 -30
- package/dist-cli/chunks/chunk-TIB3CTRX.js +0 -497
- package/dist-cli/chunks/chunk-YFZLDFZK.js +0 -74
- package/dist-cli/chunks/cli-version-MJWLDXBW.js +0 -4
- package/dist-cli/chunks/config-WK7467KI.js +0 -13
- package/dist-cli/chunks/control-ESI7IZNN.js +0 -4
- package/dist-cli/chunks/daemon-UCLO27YP.js +0 -4
- package/dist-cli/chunks/desktop-FF34Z5X4.js +0 -31
- package/dist-cli/chunks/detox-Q3CWY5UX.js +0 -52
- package/dist-cli/chunks/device-WN4ZWLES.js +0 -18
- package/dist-cli/chunks/drivers-OR2JPAXD.js +0 -4
- package/dist-cli/chunks/flow-4GWW5DYT.js +0 -4
- package/dist-cli/chunks/help-MIIWOT3C.js +0 -4
- package/dist-cli/chunks/inspect-3ZGNJENJ.js +0 -4
- package/dist-cli/chunks/install-desktop-BYOJVTLS.js +0 -4
- package/dist-cli/chunks/login-GNIFSAFE.js +0 -26
- package/dist-cli/chunks/mode-YVMX7OJY.js +0 -26
- package/dist-cli/chunks/privacy-EDC7PF7G.js +0 -4
- package/dist-cli/chunks/record-N4KTTVDI.js +0 -72
- package/dist-cli/chunks/report-issue-PP752HAD.js +0 -29
- package/dist-cli/chunks/reset-DRMKGVP4.js +0 -4
- package/dist-cli/chunks/resolve-target-7WWI32R3.js +0 -4
- package/dist-cli/chunks/runtime-EKJV2ZVI.js +0 -4
- package/dist-cli/chunks/screenshot-layers-GOCJVM2G.js +0 -20
- package/dist-cli/chunks/screenshots-capture-YYJLYA3V.js +0 -42
- package/dist-cli/chunks/setup-FVPVIYE4.js +0 -4
- package/dist-cli/chunks/skills-V5TE57FN.js +0 -50
- package/dist-cli/chunks/store-IKNBDDKM.js +0 -4
- package/dist-cli/chunks/telemetry-2ZVU6WLK.js +0 -4
- package/dist-cli/chunks/timeline-LP7DMJYT.js +0 -24
- package/dist-cli/chunks/upload-DFQK2Q7X.js +0 -4
- package/dist-cli/chunks/welcome-2NFYLWLJ.js +0 -5
- package/dist-cli/chunks/what-happened-EJ5PHKT7.js +0 -25
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.371 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.371 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.371 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
|
|
3
3
|
// src/host/fetch-proxy-overrides.ts
|
|
4
4
|
var FETCH_PROXY_BROWSER_USER_AGENT = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.371 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.371 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.371 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.371 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/menu.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.371 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/menu.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.371 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/metro.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.371 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/dist-lib/profiles.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.371 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.371 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.371 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -32,6 +32,7 @@ var REACT_NATIVE_PASSTHROUGH_SPECIFIERS = [
|
|
|
32
32
|
"react-native/Libraries/StyleSheet",
|
|
33
33
|
"react-native/Libraries/Utilities/differ",
|
|
34
34
|
"react-native/Libraries/Utilities/stringifySafe",
|
|
35
|
+
"react-native/src/private/assets/AssetRegistry",
|
|
35
36
|
"react-native/src/private/featureflags",
|
|
36
37
|
"react-native/Libraries/TurboModule/TurboModuleRegistry",
|
|
37
38
|
"react-native/Libraries/Utilities/Platform",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.371 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
|
|
3
3
|
// src/react-native-host-modules.ts
|
|
4
4
|
var REACT_NATIVE_PASSTHROUGH_SPECIFIERS = [
|
|
@@ -7,6 +7,7 @@ var REACT_NATIVE_PASSTHROUGH_SPECIFIERS = [
|
|
|
7
7
|
"react-native/Libraries/StyleSheet",
|
|
8
8
|
"react-native/Libraries/Utilities/differ",
|
|
9
9
|
"react-native/Libraries/Utilities/stringifySafe",
|
|
10
|
+
"react-native/src/private/assets/AssetRegistry",
|
|
10
11
|
"react-native/src/private/featureflags",
|
|
11
12
|
"react-native/Libraries/TurboModule/TurboModuleRegistry",
|
|
12
13
|
"react-native/Libraries/Utilities/Platform",
|
package/dist-lib/render-mode.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.371 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.371 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -32,6 +32,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
32
32
|
// scripts/dev-server-scanner.ts
|
|
33
33
|
var dev_server_scanner_exports = {};
|
|
34
34
|
__export(dev_server_scanner_exports, {
|
|
35
|
+
DevServerScanUnavailableError: () => DevServerScanUnavailableError,
|
|
35
36
|
__applyManifestForTests: () => __applyManifestForTests,
|
|
36
37
|
__attachAppSettingsBundleForTests: () => __attachAppSettingsBundleForTests,
|
|
37
38
|
__isSootSimSelfServerForTests: () => __isSootSimSelfServerForTests,
|
|
@@ -43,7 +44,8 @@ __export(dev_server_scanner_exports, {
|
|
|
43
44
|
probePort: () => probePort,
|
|
44
45
|
resolveListeningPid: () => resolveListeningPid,
|
|
45
46
|
resolveProcessCwd: () => resolveProcessCwd,
|
|
46
|
-
scanDevServers: () => scanDevServers
|
|
47
|
+
scanDevServers: () => scanDevServers,
|
|
48
|
+
scanListeningProcesses: () => scanListeningProcesses
|
|
47
49
|
});
|
|
48
50
|
module.exports = __toCommonJS(dev_server_scanner_exports);
|
|
49
51
|
var import_child_process = require("child_process");
|
|
@@ -51,7 +53,6 @@ var import_promises2 = require("fs/promises");
|
|
|
51
53
|
var import_http = __toESM(require("http"), 1);
|
|
52
54
|
var import_net = __toESM(require("net"), 1);
|
|
53
55
|
var import_node_path3 = require("node:path");
|
|
54
|
-
var import_util = require("util");
|
|
55
56
|
|
|
56
57
|
// src/backend-origin.ts
|
|
57
58
|
var LOOPBACK_PROBE_HOSTNAMES = ["::1", "127.0.0.1"];
|
|
@@ -518,10 +519,30 @@ function optionalDemoAppsSync() {
|
|
|
518
519
|
}
|
|
519
520
|
|
|
520
521
|
// scripts/dev-server-scanner.ts
|
|
521
|
-
var
|
|
522
|
+
var EXEC_EXIT_GRACE_MS = 2e3;
|
|
523
|
+
function execGuarded(command, timeout, extra = {}) {
|
|
524
|
+
let child;
|
|
525
|
+
const ran = new Promise((resolve2, reject) => {
|
|
526
|
+
child = (0, import_child_process.exec)(command, { encoding: "utf8", timeout, ...extra }, (err, stdout) => {
|
|
527
|
+
if (err) reject(err);
|
|
528
|
+
else resolve2({ stdout });
|
|
529
|
+
});
|
|
530
|
+
});
|
|
531
|
+
const deadline = new Promise((_resolve, reject) => {
|
|
532
|
+
const timer = setTimeout(() => {
|
|
533
|
+
child?.kill("SIGKILL");
|
|
534
|
+
const err = new Error(`\`${command}\` did not exit within ${timeout}ms`);
|
|
535
|
+
Object.assign(err, { killed: true });
|
|
536
|
+
reject(err);
|
|
537
|
+
}, timeout + EXEC_EXIT_GRACE_MS);
|
|
538
|
+
timer.unref?.();
|
|
539
|
+
});
|
|
540
|
+
return Promise.race([ran, deadline]);
|
|
541
|
+
}
|
|
522
542
|
var TIMEOUT_MS = 250;
|
|
523
543
|
var MANIFEST_TIMEOUT_MS = 1500;
|
|
524
544
|
var TCP_GATE_MS = 120;
|
|
545
|
+
var BODY_TIMEOUT_MS = 3e4;
|
|
525
546
|
async function tcpPing(port, timeout = TCP_GATE_MS) {
|
|
526
547
|
try {
|
|
527
548
|
return await Promise.any(
|
|
@@ -550,34 +571,44 @@ async function tcpPing(port, timeout = TCP_GATE_MS) {
|
|
|
550
571
|
}
|
|
551
572
|
function httpGet(hostname, port, path, method = "GET", timeout = TIMEOUT_MS, headers = {}) {
|
|
552
573
|
return new Promise((resolve2) => {
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
(
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
req.destroy();
|
|
578
|
-
resolve2(null);
|
|
574
|
+
let settled = false;
|
|
575
|
+
const settle = (value) => {
|
|
576
|
+
if (settled) return;
|
|
577
|
+
settled = true;
|
|
578
|
+
resolve2(value);
|
|
579
|
+
};
|
|
580
|
+
const req = import_http.default.request({ hostname, port, path, method, headers }, (res) => {
|
|
581
|
+
let body = "";
|
|
582
|
+
res.on("data", (c) => body += c.toString());
|
|
583
|
+
const contentType = (() => {
|
|
584
|
+
const raw = res.headers["content-type"];
|
|
585
|
+
if (typeof raw === "string") return raw;
|
|
586
|
+
if (Array.isArray(raw)) return raw[0];
|
|
587
|
+
return void 0;
|
|
588
|
+
})();
|
|
589
|
+
res.on(
|
|
590
|
+
"end",
|
|
591
|
+
() => settle({
|
|
592
|
+
statusCode: res.statusCode || 0,
|
|
593
|
+
body,
|
|
594
|
+
contentType,
|
|
595
|
+
hostname
|
|
596
|
+
})
|
|
597
|
+
);
|
|
579
598
|
});
|
|
599
|
+
req.on("error", () => settle(null));
|
|
580
600
|
req.end();
|
|
601
|
+
const giveUp = setTimeout(() => {
|
|
602
|
+
settle(null);
|
|
603
|
+
req.socket?.unref();
|
|
604
|
+
}, timeout);
|
|
605
|
+
const abandon = setTimeout(() => req.destroy(), BODY_TIMEOUT_MS);
|
|
606
|
+
abandon.unref?.();
|
|
607
|
+
req.on("close", () => {
|
|
608
|
+
clearTimeout(giveUp);
|
|
609
|
+
clearTimeout(abandon);
|
|
610
|
+
setImmediate(() => settle(null));
|
|
611
|
+
});
|
|
581
612
|
});
|
|
582
613
|
}
|
|
583
614
|
var FALLBACK_PORTS = [
|
|
@@ -591,61 +622,87 @@ var FALLBACK_PORTS = [
|
|
|
591
622
|
3001,
|
|
592
623
|
19e3
|
|
593
624
|
].map((port) => ({ port, pid: 0 }));
|
|
625
|
+
var SELF_PORT_RANGE_START = 5170;
|
|
626
|
+
var SELF_PORT_RANGE_END = 5200;
|
|
627
|
+
function isOwnShellPort(port) {
|
|
628
|
+
const offset = Number(process.env.PORT_OFFSET) || 0;
|
|
629
|
+
if (port >= SELF_PORT_RANGE_START && port <= SELF_PORT_RANGE_END) return true;
|
|
630
|
+
return offset > 0 && port >= SELF_PORT_RANGE_START + offset && port <= SELF_PORT_RANGE_END + offset;
|
|
631
|
+
}
|
|
594
632
|
function acceptPort(port, excluded) {
|
|
595
633
|
if (port <= 0 || port >= 2e4) return false;
|
|
596
634
|
if (excluded.has(port)) return false;
|
|
597
|
-
if (port
|
|
635
|
+
if (isOwnShellPort(port)) return false;
|
|
598
636
|
return true;
|
|
599
637
|
}
|
|
638
|
+
var DevServerScanUnavailableError = class extends Error {
|
|
639
|
+
constructor() {
|
|
640
|
+
super("could not enumerate listening processes (lsof/ss unavailable or timed out)");
|
|
641
|
+
this.name = "DevServerScanUnavailableError";
|
|
642
|
+
}
|
|
643
|
+
};
|
|
644
|
+
var LISTING_TIMEOUT_MS = 1e4;
|
|
645
|
+
function wasKilledByTimeout(err) {
|
|
646
|
+
return !!(err && typeof err === "object" && err.killed);
|
|
647
|
+
}
|
|
600
648
|
async function discoverListeningProcesses(excludePorts = []) {
|
|
649
|
+
const scan = await scanListeningProcesses(excludePorts);
|
|
650
|
+
return scan.state === "looked" ? scan.processes : [];
|
|
651
|
+
}
|
|
652
|
+
async function scanListeningProcesses(excludePorts = []) {
|
|
601
653
|
const excluded = new Set(excludePorts);
|
|
654
|
+
let timedOut = false;
|
|
602
655
|
try {
|
|
603
|
-
const { stdout } = await
|
|
656
|
+
const { stdout } = await execGuarded(
|
|
604
657
|
`lsof -iTCP -sTCP:LISTEN -P -n 2>/dev/null | grep -E '^(node|bun)'`,
|
|
605
|
-
|
|
658
|
+
LISTING_TIMEOUT_MS
|
|
606
659
|
);
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
if (!seen.has(port)) seen.set(port, pid);
|
|
619
|
-
}
|
|
620
|
-
if (seen.size > 0) {
|
|
621
|
-
return [...seen.entries()].map(([port, pid]) => ({ port, pid }));
|
|
622
|
-
}
|
|
660
|
+
const seen = /* @__PURE__ */ new Map();
|
|
661
|
+
for (const line of stdout.trim() ? stdout.trim().split("\n") : []) {
|
|
662
|
+
const parts = line.trim().split(/\s+/);
|
|
663
|
+
if (parts.length < 9) continue;
|
|
664
|
+
const pid = Number(parts[1]);
|
|
665
|
+
const addr = parts[8];
|
|
666
|
+
const m = addr.match(/:(\d+)$/);
|
|
667
|
+
if (!m) continue;
|
|
668
|
+
const port = Number(m[1]);
|
|
669
|
+
if (!acceptPort(port, excluded)) continue;
|
|
670
|
+
if (!seen.has(port)) seen.set(port, pid);
|
|
623
671
|
}
|
|
624
|
-
|
|
672
|
+
return {
|
|
673
|
+
state: "looked",
|
|
674
|
+
processes: [...seen.entries()].map(([port, pid]) => ({ port, pid }))
|
|
675
|
+
};
|
|
676
|
+
} catch (err) {
|
|
677
|
+
if (wasKilledByTimeout(err)) timedOut = true;
|
|
625
678
|
}
|
|
626
679
|
try {
|
|
627
|
-
const { stdout } = await
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
if (!seen.has(port)) seen.set(port, pid);
|
|
641
|
-
}
|
|
642
|
-
if (seen.size > 0) {
|
|
643
|
-
return [...seen.entries()].map(([port, pid]) => ({ port, pid }));
|
|
644
|
-
}
|
|
680
|
+
const { stdout } = await execGuarded(
|
|
681
|
+
`ss -tlnp 2>/dev/null | grep -E '"(node|bun)"'`,
|
|
682
|
+
LISTING_TIMEOUT_MS
|
|
683
|
+
);
|
|
684
|
+
const seen = /* @__PURE__ */ new Map();
|
|
685
|
+
for (const line of stdout.trim() ? stdout.trim().split("\n") : []) {
|
|
686
|
+
const portMatch = line.match(/:(\d+)\s/);
|
|
687
|
+
const pidMatch = line.match(/pid=(\d+)/);
|
|
688
|
+
if (!portMatch) continue;
|
|
689
|
+
const port = Number(portMatch[1]);
|
|
690
|
+
const pid = pidMatch ? Number(pidMatch[1]) : 0;
|
|
691
|
+
if (!acceptPort(port, excluded)) continue;
|
|
692
|
+
if (!seen.has(port)) seen.set(port, pid);
|
|
645
693
|
}
|
|
646
|
-
|
|
694
|
+
return {
|
|
695
|
+
state: "looked",
|
|
696
|
+
processes: [...seen.entries()].map(([port, pid]) => ({ port, pid }))
|
|
697
|
+
};
|
|
698
|
+
} catch (err) {
|
|
699
|
+
if (wasKilledByTimeout(err)) timedOut = true;
|
|
647
700
|
}
|
|
648
|
-
|
|
701
|
+
if (timedOut) return { state: "could-not-look" };
|
|
702
|
+
return {
|
|
703
|
+
state: "looked",
|
|
704
|
+
processes: FALLBACK_PORTS.filter((p) => acceptPort(p.port, excluded))
|
|
705
|
+
};
|
|
649
706
|
}
|
|
650
707
|
async function discoverListeningPorts(excludePorts = []) {
|
|
651
708
|
const processes = await discoverListeningProcesses(excludePorts);
|
|
@@ -669,9 +726,7 @@ function pidFromNetstat(stdout, port) {
|
|
|
669
726
|
async function resolveListeningPid(port) {
|
|
670
727
|
if (!Number.isInteger(port) || port <= 0) return null;
|
|
671
728
|
try {
|
|
672
|
-
const { stdout } = await
|
|
673
|
-
encoding: "utf8",
|
|
674
|
-
timeout: 8e3,
|
|
729
|
+
const { stdout } = await execGuarded("netstat -anv -p tcp 2>/dev/null", 8e3, {
|
|
675
730
|
maxBuffer: 16 * 1024 * 1024
|
|
676
731
|
});
|
|
677
732
|
const pid = pidFromNetstat(stdout, port);
|
|
@@ -679,9 +734,7 @@ async function resolveListeningPid(port) {
|
|
|
679
734
|
} catch {
|
|
680
735
|
}
|
|
681
736
|
try {
|
|
682
|
-
const { stdout } = await
|
|
683
|
-
encoding: "utf8",
|
|
684
|
-
timeout: 8e3,
|
|
737
|
+
const { stdout } = await execGuarded(`ss -tlnp 2>/dev/null`, 8e3, {
|
|
685
738
|
maxBuffer: 16 * 1024 * 1024
|
|
686
739
|
});
|
|
687
740
|
for (const line of stdout.split("\n")) {
|
|
@@ -707,10 +760,10 @@ async function resolveProcessCwd(pid) {
|
|
|
707
760
|
} catch {
|
|
708
761
|
}
|
|
709
762
|
try {
|
|
710
|
-
const { stdout } = await
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
763
|
+
const { stdout } = await execGuarded(
|
|
764
|
+
`lsof -b -w -p ${pid} -a -d cwd -Fn 2>/dev/null`,
|
|
765
|
+
8e3
|
|
766
|
+
);
|
|
714
767
|
for (const line of stdout.split("\n")) {
|
|
715
768
|
if (line.startsWith("n") && line.length > 1) {
|
|
716
769
|
const cwd = line.slice(1).trim();
|
|
@@ -885,7 +938,8 @@ async function probePort(port, buildIconProxyUrl, listeningProcess) {
|
|
|
885
938
|
const manifestParsed = manifestRes ? safeParseManifest(manifestRes.body) : null;
|
|
886
939
|
const manifestLaunchUrl = typeof manifestParsed?.launchAsset?.url === "string" ? manifestParsed.launchAsset.url : null;
|
|
887
940
|
const manifestClient = manifestParsed?.extra?.expoClient || manifestParsed?.extra || {};
|
|
888
|
-
|
|
941
|
+
const manifestState = !manifestRes ? "no-answer" : manifestParsed && (manifestLaunchUrl || typeof manifestClient.name === "string") ? "resolved" : "no-manifest";
|
|
942
|
+
if (manifestState === "resolved") {
|
|
889
943
|
knownNonPatched.add(port);
|
|
890
944
|
const launchUrl = manifestLaunchUrl || `${buildLoopbackProbeBaseUrl("http:", probeHostname, port)}/index.bundle?platform=ios&dev=true&hot=true&minify=false`;
|
|
891
945
|
const framework = launchUrl.includes(
|
|
@@ -906,17 +960,15 @@ async function probePort(port, buildIconProxyUrl, listeningProcess) {
|
|
|
906
960
|
}
|
|
907
961
|
if (statusRes && statusRes.body.includes("packager-status:running")) {
|
|
908
962
|
knownNonPatched.add(port);
|
|
963
|
+
const result = makeResult(
|
|
964
|
+
probeHostname,
|
|
965
|
+
port,
|
|
966
|
+
expoRes && expoRes.statusCode === 200 ? "expo" : "metro",
|
|
967
|
+
owner
|
|
968
|
+
);
|
|
969
|
+
if (manifestState === "no-answer") result.bundleUrlProvisional = true;
|
|
909
970
|
return enrichWithManifest(
|
|
910
|
-
applyManifest(
|
|
911
|
-
makeResult(
|
|
912
|
-
probeHostname,
|
|
913
|
-
port,
|
|
914
|
-
expoRes && expoRes.statusCode === 200 ? "expo" : "metro",
|
|
915
|
-
owner
|
|
916
|
-
),
|
|
917
|
-
manifestRes,
|
|
918
|
-
buildIconProxyUrl
|
|
919
|
-
),
|
|
971
|
+
applyManifest(result, manifestRes, buildIconProxyUrl),
|
|
920
972
|
buildIconProxyUrl
|
|
921
973
|
);
|
|
922
974
|
}
|
|
@@ -1023,7 +1075,9 @@ async function attachAppSettingsBundle(result, projectRoot) {
|
|
|
1023
1075
|
var __attachAppSettingsBundleForTests = attachAppSettingsBundle;
|
|
1024
1076
|
async function scanDevServers(opts = {}) {
|
|
1025
1077
|
await loadOptionalDemoApps();
|
|
1026
|
-
const
|
|
1078
|
+
const scan = await scanListeningProcesses(opts.excludePorts);
|
|
1079
|
+
if (scan.state === "could-not-look") throw new DevServerScanUnavailableError();
|
|
1080
|
+
const processes = scan.processes;
|
|
1027
1081
|
const currentPorts = new Set(processes.map((p) => p.port));
|
|
1028
1082
|
for (const p of [...portCache.keys()]) {
|
|
1029
1083
|
if (!currentPorts.has(p)) portCache.delete(p);
|
|
@@ -1089,6 +1143,7 @@ async function scanDevServers(opts = {}) {
|
|
|
1089
1143
|
}
|
|
1090
1144
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1091
1145
|
0 && (module.exports = {
|
|
1146
|
+
DevServerScanUnavailableError,
|
|
1092
1147
|
__applyManifestForTests,
|
|
1093
1148
|
__attachAppSettingsBundleForTests,
|
|
1094
1149
|
__isSootSimSelfServerForTests,
|
|
@@ -1100,5 +1155,6 @@ async function scanDevServers(opts = {}) {
|
|
|
1100
1155
|
probePort,
|
|
1101
1156
|
resolveListeningPid,
|
|
1102
1157
|
resolveProcessCwd,
|
|
1103
|
-
scanDevServers
|
|
1158
|
+
scanDevServers,
|
|
1159
|
+
scanListeningProcesses
|
|
1104
1160
|
});
|
package/dist-lib/sdk.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.371 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/sdk.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.371 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4
4
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|