rnxsim 0.1.368 → 0.1.369
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/commands/box/checkout-plane.ts +4 -0
- package/cli/commands/compat.ts +93 -4
- package/cli/commands/detect.ts +11 -7
- package/dist-cli/bin.js +5 -5
- package/dist-cli/chunks/{agent-GXCQMYV4.js → agent-OUUFWDLF.js} +2 -2
- package/dist-cli/chunks/{agent-wrapper-Y3PQAL6I.js → agent-wrapper-7BE7DR4R.js} +2 -2
- package/dist-cli/chunks/{app-fonts-MDD3W4VN.js → app-fonts-66V7TL26.js} +2 -2
- package/dist-cli/chunks/{assert-BSRQBRH7.js → assert-I3CMRNS7.js} +2 -2
- package/dist-cli/chunks/{auth-SLPHDPCF.js → auth-3FMWUVJH.js} +2 -2
- package/dist-cli/chunks/{beta-R4IZ5SWO.js → beta-BHSKY4K4.js} +2 -2
- package/dist-cli/chunks/{box-2NQYYY3B.js → box-3CVWXVTT.js} +345 -345
- package/dist-cli/chunks/{camera-ER66WWAX.js → camera-MNK73TYV.js} +2 -2
- package/dist-cli/chunks/{chunk-RRALQ4WM.js → chunk-2APXX4RN.js} +2 -2
- package/dist-cli/chunks/{chunk-OZJMWTGA.js → chunk-2PVVIPQS.js} +1 -1
- package/dist-cli/chunks/{chunk-WFAFAGMG.js → chunk-3454VMHD.js} +2 -2
- package/dist-cli/chunks/{chunk-T4ZZ26A2.js → chunk-3NLB5LCN.js} +2 -2
- package/dist-cli/chunks/{chunk-4VA2ISWX.js → chunk-45X3D6CI.js} +1 -1
- package/dist-cli/chunks/{chunk-GFWUIGGY.js → chunk-4G4VCT2M.js} +2 -2
- package/dist-cli/chunks/{chunk-4FLQYRGN.js → chunk-4SCVGBOX.js} +1 -1
- package/dist-cli/chunks/{chunk-SSUPPM6K.js → chunk-5QFJFASW.js} +1 -1
- package/dist-cli/chunks/{chunk-2YK5J2D2.js → chunk-5RWUFIZW.js} +2 -2
- package/dist-cli/chunks/{chunk-ESVUVW3R.js → chunk-6BMM6OCW.js} +2 -2
- package/dist-cli/chunks/{chunk-LAKWOJ5Y.js → chunk-6F3WOWFC.js} +2 -2
- package/dist-cli/chunks/{chunk-3XMEIZEV.js → chunk-A56GQVNF.js} +1 -1
- package/dist-cli/chunks/{chunk-AUPJX4KI.js → chunk-A72MIIJI.js} +1 -1
- package/dist-cli/chunks/{chunk-NPSPWMBO.js → chunk-AJJCYLBC.js} +2 -2
- package/dist-cli/chunks/{chunk-GXHCJRKE.js → chunk-AKJYEX54.js} +2 -2
- package/dist-cli/chunks/{chunk-DJSPNOF6.js → chunk-B5NW4TT3.js} +2 -2
- package/dist-cli/chunks/{chunk-WXRDFUR7.js → chunk-CCI3DZKE.js} +2 -2
- package/dist-cli/chunks/{chunk-57LITN73.js → chunk-COXCR6UU.js} +2 -2
- package/dist-cli/chunks/{chunk-GS5VUDCF.js → chunk-CZ2HCNRK.js} +1 -1
- package/dist-cli/chunks/{chunk-M7COA4BE.js → chunk-D6MGELKZ.js} +1 -1
- package/dist-cli/chunks/{chunk-JFGW75UL.js → chunk-DCPDMF27.js} +2 -2
- package/dist-cli/chunks/{chunk-Q65KH25G.js → chunk-DKSZZABN.js} +1 -1
- package/dist-cli/chunks/{chunk-3MPFC3DS.js → chunk-EKAEEWC2.js} +1 -1
- package/dist-cli/chunks/{chunk-EHA65UVJ.js → chunk-F4OTMARL.js} +2 -2
- package/dist-cli/chunks/{chunk-E6XYIIJK.js → chunk-FBMNYSSW.js} +1 -1
- package/dist-cli/chunks/{chunk-BWJOLJOK.js → chunk-FGGESBWD.js} +2 -2
- package/dist-cli/chunks/{chunk-HKQXGCQT.js → chunk-FHRG772G.js} +1 -1
- package/dist-cli/chunks/{chunk-T2MGLXY5.js → chunk-H2GB2PLY.js} +2 -2
- package/dist-cli/chunks/{chunk-3S2J6IVC.js → chunk-IYPMULI7.js} +2 -2
- package/dist-cli/chunks/{chunk-SHMLYTNH.js → chunk-JH5KE2OI.js} +2 -2
- package/dist-cli/chunks/{chunk-WF2CRNYF.js → chunk-JLOOLA47.js} +1 -1
- package/dist-cli/chunks/{chunk-MGOAQHMO.js → chunk-JXARZBWS.js} +2 -2
- package/dist-cli/chunks/{chunk-NERY6HGZ.js → chunk-LU3AHE6T.js} +2 -2
- package/dist-cli/chunks/{chunk-WVVAYLWZ.js → chunk-MXWME7ET.js} +1 -1
- package/dist-cli/chunks/{chunk-FSPZY4AI.js → chunk-N5KDDGV6.js} +2 -2
- package/dist-cli/chunks/{chunk-UBH2BWCY.js → chunk-NPVEBXU3.js} +2 -2
- package/dist-cli/chunks/{chunk-JHYXRORU.js → chunk-OROUEG22.js} +2 -2
- package/dist-cli/chunks/{chunk-7V3S2DY2.js → chunk-QE5MC4V3.js} +1 -1
- package/dist-cli/chunks/{chunk-YYPTSF6W.js → chunk-ROISJKH3.js} +2 -2
- package/dist-cli/chunks/{chunk-X5MXQB3L.js → chunk-RV76U3EI.js} +2 -2
- package/dist-cli/chunks/{chunk-QKOY7UW5.js → chunk-RYGQ6LZN.js} +2 -2
- package/dist-cli/chunks/{chunk-OXCDE3DD.js → chunk-SSBZA5VZ.js} +1 -1
- package/dist-cli/chunks/{chunk-UXROQPIN.js → chunk-SUHAD6N2.js} +3 -3
- package/dist-cli/chunks/{chunk-ECXDCED5.js → chunk-TAC4CEIX.js} +2 -2
- package/dist-cli/chunks/{chunk-TC6DNQL6.js → chunk-TBK5UXW2.js} +2 -2
- package/dist-cli/chunks/{chunk-42TLK75A.js → chunk-TIB3CTRX.js} +3 -3
- package/dist-cli/chunks/{chunk-TE645QCO.js → chunk-TTUZ5MCK.js} +1 -1
- package/dist-cli/chunks/{chunk-7B22IPSC.js → chunk-UDXQCEJU.js} +2 -2
- package/dist-cli/chunks/{chunk-PNBQBBG5.js → chunk-UQJY6O72.js} +1 -1
- package/dist-cli/chunks/{chunk-MCO7V4VN.js → chunk-USHV3QFZ.js} +2 -2
- package/dist-cli/chunks/{chunk-IXRVFQMT.js → chunk-V7I4CTAX.js} +2 -2
- package/dist-cli/chunks/{chunk-FVODUDPS.js → chunk-VGJLCFSC.js} +1 -1
- package/dist-cli/chunks/{chunk-TPIPKXJL.js → chunk-WGE2P25F.js} +1 -1
- package/dist-cli/chunks/{chunk-CKNNO6ZG.js → chunk-WUR4FXWT.js} +3 -3
- package/dist-cli/chunks/{chunk-QMVBWZH2.js → chunk-X3PEDNLV.js} +2 -2
- package/dist-cli/chunks/{chunk-YSHJ3LMQ.js → chunk-YFZLDFZK.js} +2 -2
- package/dist-cli/chunks/{chunk-FDAFSRQE.js → chunk-YLNSLMQM.js} +2 -2
- package/dist-cli/chunks/{chunk-NGWUGNPV.js → chunk-YPBDPVLR.js} +2 -2
- package/dist-cli/chunks/{chunk-LPAOOJIW.js → chunk-ZEF57HQO.js} +1 -1
- package/dist-cli/chunks/{chunk-WJQB6AXZ.js → chunk-ZNNE5MAV.js} +1 -1
- package/dist-cli/chunks/{chunk-TOE5O6JE.js → chunk-ZW6JXEVX.js} +2 -2
- package/dist-cli/chunks/{cleanup-WHGLBAJ2.js → cleanup-H4XFRMZV.js} +2 -2
- package/dist-cli/chunks/cli-version-MJWLDXBW.js +4 -0
- package/dist-cli/chunks/compat-NKGYERLN.js +23 -0
- package/dist-cli/chunks/{config-TRDOMP4T.js → config-WK7467KI.js} +2 -2
- package/dist-cli/chunks/{connect-N4FV3DDV.js → connect-WWWAVVCF.js} +2 -2
- package/dist-cli/chunks/{control-5GRBZVYK.js → control-ESI7IZNN.js} +2 -2
- package/dist-cli/chunks/daemon-UCLO27YP.js +4 -0
- package/dist-cli/chunks/{debug-AHEK43AJ.js → debug-RO6GLDIM.js} +3 -3
- package/dist-cli/chunks/{desktop-LDRIXOVV.js → desktop-FF34Z5X4.js} +3 -3
- package/dist-cli/chunks/{detox-6HAKYISO.js → detox-Q3CWY5UX.js} +2 -2
- package/dist-cli/chunks/{device-QM3S7OVU.js → device-WN4ZWLES.js} +2 -2
- package/dist-cli/chunks/{diagnose-WDP3CVIX.js → diagnose-HDRTUPDO.js} +2 -2
- package/dist-cli/chunks/{disk-cleanup-JRT5MKFW.js → disk-cleanup-QP2NYN43.js} +2 -2
- package/dist-cli/chunks/{do-chain-7FDMO56C.js → do-chain-6LP6SV5J.js} +2 -2
- package/dist-cli/chunks/drivers-OR2JPAXD.js +4 -0
- package/dist-cli/chunks/{env-YIBOMB24.js → env-4XD5D2G6.js} +2 -2
- package/dist-cli/chunks/{film-R3EQADMG.js → film-I5SIXLS5.js} +3 -3
- package/dist-cli/chunks/flow-4GWW5DYT.js +4 -0
- package/dist-cli/chunks/help-MIIWOT3C.js +4 -0
- package/dist-cli/chunks/{hidden-runtime-alias-6M4UERRQ.js → hidden-runtime-alias-LJV2S4M2.js} +2 -2
- package/dist-cli/chunks/{home-paths-QJNOHZJO.js → home-paths-RFI2QRC3.js} +2 -2
- package/dist-cli/chunks/inspect-3ZGNJENJ.js +4 -0
- package/dist-cli/chunks/install-desktop-BYOJVTLS.js +4 -0
- package/dist-cli/chunks/{login-ISWDW4WU.js → login-GNIFSAFE.js} +2 -2
- package/dist-cli/chunks/{logout-VNJX2IEW.js → logout-DKXZZ6HU.js} +2 -2
- package/dist-cli/chunks/{maestro-SQS2OS2D.js → maestro-WKGVVWRA.js} +3 -3
- package/dist-cli/chunks/{maestro-generate-GWVPISG5.js → maestro-generate-KCK6RK2C.js} +3 -3
- package/dist-cli/chunks/{mode-3URDGBZB.js → mode-YVMX7OJY.js} +2 -2
- package/dist-cli/chunks/{optional-demo-registry-L3LRBQHG.js → optional-demo-registry-EUSKBIPP.js} +2 -2
- package/dist-cli/chunks/{perf-XLPC4UKR.js → perf-IMZMA5MT.js} +2 -2
- package/dist-cli/chunks/{permissions-QRHWVMDP.js → permissions-SLWXTLH6.js} +2 -2
- package/dist-cli/chunks/{platform-F47URZNB.js → platform-HQ735LAE.js} +3 -3
- package/dist-cli/chunks/privacy-EDC7PF7G.js +4 -0
- package/dist-cli/chunks/{record-2DN3OUE5.js → record-N4KTTVDI.js} +3 -3
- package/dist-cli/chunks/{report-issue-D3BQPSLU.js → report-issue-PP752HAD.js} +2 -2
- package/dist-cli/chunks/reset-DRMKGVP4.js +4 -0
- package/dist-cli/chunks/resolve-target-7WWI32R3.js +4 -0
- package/dist-cli/chunks/runtime-EKJV2ZVI.js +4 -0
- package/dist-cli/chunks/{screenshot-command-RK7IJHVK.js → screenshot-command-HAJB5FHK.js} +3 -3
- package/dist-cli/chunks/{screenshot-layers-DP2QKSMN.js → screenshot-layers-GOCJVM2G.js} +2 -2
- package/dist-cli/chunks/{screenshots-capture-MA7P3FUT.js → screenshots-capture-YYJLYA3V.js} +2 -2
- package/dist-cli/chunks/{serve-UBXNGLNP.js → serve-TM46TKFW.js} +2 -2
- package/dist-cli/chunks/setup-FVPVIYE4.js +4 -0
- package/dist-cli/chunks/{sim-client-VTKFEDJX.js → sim-client-LQUZSO45.js} +2 -2
- package/dist-cli/chunks/{skills-HPK25R4B.js → skills-V5TE57FN.js} +2 -2
- package/dist-cli/chunks/{state-273XJPUE.js → state-RUVM4Z4S.js} +2 -2
- package/dist-cli/chunks/{storage-RTDFWIY7.js → storage-GQ33UTYN.js} +2 -2
- package/dist-cli/chunks/store-IKNBDDKM.js +4 -0
- package/dist-cli/chunks/telemetry-2ZVU6WLK.js +4 -0
- package/dist-cli/chunks/{timeline-IF2PGK7C.js → timeline-LP7DMJYT.js} +2 -2
- package/dist-cli/chunks/{upgrade-R74NVHKG.js → upgrade-AZDZLUIT.js} +2 -2
- package/dist-cli/chunks/upload-DFQK2Q7X.js +4 -0
- package/dist-cli/chunks/{version-RTFCYQZ7.js → version-N3ALB75G.js} +2 -2
- package/dist-cli/chunks/{web-35SSKBRU.js → web-XPHFZATA.js} +2 -2
- package/dist-cli/chunks/welcome-2NFYLWLJ.js +5 -0
- package/dist-cli/chunks/{what-happened-WXTP6EPR.js → what-happened-EJ5PHKT7.js} +2 -2
- package/dist-cli/chunks/{ws-bridge-JXQUAWFA.js → ws-bridge-RUXOYOU6.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 +1 -1
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +1 -1
- 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 +1 -1
- package/dist-lib/react-native-host-modules.mjs +1 -1
- package/dist-lib/render-mode.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +1 -1
- package/dist-lib/sdk.mjs +1 -1
- package/dist-lib/skills.cjs +482 -2
- package/dist-lib/vite.cjs +1 -1
- package/package.json +1 -1
- package/dist-cli/chunks/cli-version-DMXIXBIM.js +0 -4
- package/dist-cli/chunks/compat-MGBKGYGQ.js +0 -20
- package/dist-cli/chunks/daemon-MBT5E3ZC.js +0 -4
- package/dist-cli/chunks/drivers-AJL2EVXH.js +0 -4
- package/dist-cli/chunks/flow-BDAA6BWL.js +0 -4
- package/dist-cli/chunks/help-5EJD6LJF.js +0 -4
- package/dist-cli/chunks/inspect-S3LR3R2A.js +0 -4
- package/dist-cli/chunks/install-desktop-GXE6K7BJ.js +0 -4
- package/dist-cli/chunks/privacy-BF23T67T.js +0 -4
- package/dist-cli/chunks/reset-T5CNZ7D3.js +0 -4
- package/dist-cli/chunks/resolve-target-KAAS274S.js +0 -4
- package/dist-cli/chunks/runtime-AQJDBR3X.js +0 -4
- package/dist-cli/chunks/setup-GH7OW4GC.js +0 -4
- package/dist-cli/chunks/store-DLKNNM4L.js +0 -4
- package/dist-cli/chunks/telemetry-7CWDXEOO.js +0 -4
- package/dist-cli/chunks/upload-3JFFVCZ4.js +0 -4
- package/dist-cli/chunks/welcome-N5V352SE.js +0 -5
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.369 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
3
|
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
|
-
import{a as y,c as P}from"./chunk-
|
|
4
|
+
import{a as y,c as P}from"./chunk-RYGQ6LZN.js";import{a as f,b as S}from"./chunk-EKAEEWC2.js";import{b}from"./chunk-ZEF57HQO.js";import{a as v}from"./chunk-FHRG772G.js";function M(){let e=f();return e?{available:!0,reason:null,detail:`${e.kind} @ ${e.path}`}:{available:!1,reason:"rnx desktop app not installed (run `rnx desktop install`)"}}async function A(e){let o=f();if(!o)return{launched:!1,message:"rnx desktop app not installed"};try{let r=await S(e.url,o,{device:e.device,profileId:e.profileId,ephemeralProfile:e.ephemeralProfile,ownerPid:e.ownerPid});return r.launched?{launched:!0,message:e.url?`electron launched via ${r.via} \u2192 ${e.url}`:`electron launched via ${r.via}`,target:r.target,attachUrl:e.url}:{launched:!1,message:"desktop companion failed to start"}}catch(r){return{launched:!1,message:`electron launch failed: ${r instanceof Error?r.message:String(r)}`}}}var k={id:"electron",name:"electron",description:"rnx desktop companion app (native window, menu bar)",kind:"native",availability:M,launch:A};import{spawn as B}from"child_process";import{closeSync as F,mkdtempSync as G,openSync as U,readFileSync as q}from"fs";import{tmpdir as T}from"os";import{join as I}from"path";import{spawnSync as O}from"node:child_process";import{existsSync as _,readFileSync as R}from"node:fs";import{createRequire as L}from"node:module";import{dirname as W,join as N}from"node:path";var $=`
|
|
5
5
|
const { existsSync } = require('node:fs');
|
|
6
6
|
const modulePath = process.env.SOOTSIM_PW_MODULE;
|
|
7
7
|
try {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.369 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
3
|
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
|
-
import{c as V}from"./chunk-
|
|
4
|
+
import{c as V}from"./chunk-FGGESBWD.js";import{P as j,R as M,g as F,j as I,s as U,t as D,u as O}from"./chunk-FBMNYSSW.js";import{a as H}from"./chunk-TAC4CEIX.js";import{a as k}from"./chunk-MXWME7ET.js";import{execFileSync as J,spawnSync as c}from"child_process";import{existsSync as s,mkdirSync as P,readFileSync as ae,realpathSync as le,rmSync as h,writeFileSync as X}from"fs";import{homedir as v}from"os";import{basename as ue,dirname as C,resolve as u,sep as Q}from"path";import{execFileSync as te}from"child_process";import{chmodSync as re,mkdirSync as A,rmSync as oe,writeFileSync as T}from"fs";import{dirname as _}from"path";var ne="dev.sootsim.daemon",Y="SootSim Daemon",G="0.1.36";function q(e,t,r){let n=D(),o=O(),a=_(_(o)),l=_(o),d=`${a}/Resources`;oe(n,{recursive:!0,force:!0}),A(U(),{recursive:!0}),A(l,{recursive:!0}),A(d,{recursive:!0}),T(`${a}/Info.plist`,se()),T(`${a}/PkgInfo`,"APPL????"),T(o,ie(e,t,r)),re(o,493);try{te("codesign",["--force","--sign","-","--deep",n],{stdio:"pipe"})}catch(i){let f=i instanceof Error?i.message:String(i);console.warn(` warning: ad-hoc codesign of ${n} failed: ${f}
|
|
5
5
|
the daemon will still run, but Login Items may show a generic name.`)}return{bundlePath:n,launcherPath:o}}function se(){return`<?xml version="1.0" encoding="UTF-8"?>
|
|
6
6
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
7
7
|
<plist version="1.0">
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.369 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
3
|
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
|
-
import{c as ms}from"./chunk-
|
|
4
|
+
import{c as ms}from"./chunk-DKSZZABN.js";var hs={};ms(hs,{Alias:()=>ee,CST:()=>cs,Composer:()=>be,Document:()=>se,Lexer:()=>Be,LineCounter:()=>De,Pair:()=>v,Parser:()=>we,Scalar:()=>y,Schema:()=>ve,YAMLError:()=>_e,YAMLMap:()=>$,YAMLParseError:()=>R,YAMLSeq:()=>B,YAMLWarning:()=>Pe,isAlias:()=>F,isCollection:()=>L,isDocument:()=>x,isMap:()=>U,isNode:()=>I,isPair:()=>T,isScalar:()=>E,isSeq:()=>V,parse:()=>un,parseAllDocuments:()=>fn,parseDocument:()=>us,stringify:()=>hn,visit:()=>Q,visitAsync:()=>je});var tt=Symbol.for("yaml.alias"),st=Symbol.for("yaml.document"),Y=Symbol.for("yaml.map"),qt=Symbol.for("yaml.pair"),q=Symbol.for("yaml.scalar"),re=Symbol.for("yaml.seq"),K=Symbol.for("yaml.node.type"),F=s=>!!s&&typeof s=="object"&&s[K]===tt,x=s=>!!s&&typeof s=="object"&&s[K]===st,U=s=>!!s&&typeof s=="object"&&s[K]===Y,T=s=>!!s&&typeof s=="object"&&s[K]===qt,E=s=>!!s&&typeof s=="object"&&s[K]===q,V=s=>!!s&&typeof s=="object"&&s[K]===re;function L(s){if(s&&typeof s=="object")switch(s[K]){case Y:case re:return!0}return!1}function I(s){if(s&&typeof s=="object")switch(s[K]){case tt:case Y:case q:case re:return!0}return!1}var nt=s=>(E(s)||L(s))&&!!s.anchor;var j=Symbol("break visit"),ds=Symbol("skip children"),z=Symbol("remove node");function Q(s,e){let t=gs(e);x(s)?ke(null,s.contents,t,Object.freeze([s]))===z&&(s.contents=null):ke(null,s,t,Object.freeze([]))}Q.BREAK=j;Q.SKIP=ds;Q.REMOVE=z;function ke(s,e,t,n){let i=ys(s,e,t,n);if(I(i)||T(i))return bs(s,n,i),ke(s,i,t,n);if(typeof i!="symbol"){if(L(e)){n=Object.freeze(n.concat(e));for(let r=0;r<e.items.length;++r){let o=ke(r,e.items[r],t,n);if(typeof o=="number")r=o-1;else{if(o===j)return j;o===z&&(e.items.splice(r,1),r-=1)}}}else if(T(e)){n=Object.freeze(n.concat(e));let r=ke("key",e.key,t,n);if(r===j)return j;r===z&&(e.key=null);let o=ke("value",e.value,t,n);if(o===j)return j;o===z&&(e.value=null)}}return i}async function je(s,e){let t=gs(e);x(s)?await Ne(null,s.contents,t,Object.freeze([s]))===z&&(s.contents=null):await Ne(null,s,t,Object.freeze([]))}je.BREAK=j;je.SKIP=ds;je.REMOVE=z;async function Ne(s,e,t,n){let i=await ys(s,e,t,n);if(I(i)||T(i))return bs(s,n,i),Ne(s,i,t,n);if(typeof i!="symbol"){if(L(e)){n=Object.freeze(n.concat(e));for(let r=0;r<e.items.length;++r){let o=await Ne(r,e.items[r],t,n);if(typeof o=="number")r=o-1;else{if(o===j)return j;o===z&&(e.items.splice(r,1),r-=1)}}}else if(T(e)){n=Object.freeze(n.concat(e));let r=await Ne("key",e.key,t,n);if(r===j)return j;r===z&&(e.key=null);let o=await Ne("value",e.value,t,n);if(o===j)return j;o===z&&(e.value=null)}}return i}function gs(s){return typeof s=="object"&&(s.Collection||s.Node||s.Value)?Object.assign({Alias:s.Node,Map:s.Node,Scalar:s.Node,Seq:s.Node},s.Value&&{Map:s.Value,Scalar:s.Value,Seq:s.Value},s.Collection&&{Map:s.Collection,Seq:s.Collection},s):s}function ys(s,e,t,n){if(typeof t=="function")return t(s,e,n);if(U(e))return t.Map?.(s,e,n);if(V(e))return t.Seq?.(s,e,n);if(T(e))return t.Pair?.(s,e,n);if(E(e))return t.Scalar?.(s,e,n);if(F(e))return t.Alias?.(s,e,n)}function bs(s,e,t){let n=e[e.length-1];if(L(n))n.items[s]=t;else if(T(n))s==="key"?n.key=t:n.value=t;else if(x(n))n.contents=t;else{let i=F(n)?"alias":"scalar";throw new Error(`Cannot replace node with ${i} parent`)}}var pn={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},mn=s=>s.replace(/[!,[\]{}]/g,e=>pn[e]),Z=class s{constructor(e,t){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},s.defaultYaml,e),this.tags=Object.assign({},s.defaultTags,t)}clone(){let e=new s(this.yaml,this.tags);return e.docStart=this.docStart,e}atDocument(){let e=new s(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:s.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},s.defaultTags);break}return e}add(e,t){this.atNextDocument&&(this.yaml={explicit:s.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},s.defaultTags),this.atNextDocument=!1);let n=e.trim().split(/[ \t]+/),i=n.shift();switch(i){case"%TAG":{if(n.length!==2&&(t(0,"%TAG directive should contain exactly two parts"),n.length<2))return!1;let[r,o]=n;return this.tags[r]=o,!0}case"%YAML":{if(this.yaml.explicit=!0,n.length!==1)return t(0,"%YAML directive should contain exactly one part"),!1;let[r]=n;if(r==="1.1"||r==="1.2")return this.yaml.version=r,!0;{let o=/^\d+\.\d+$/.test(r);return t(6,`Unsupported YAML version ${r}`,o),!1}}default:return t(0,`Unknown directive ${i}`,!0),!1}}tagName(e,t){if(e==="!")return"!";if(e[0]!=="!")return t(`Not a valid tag: ${e}`),null;if(e[1]==="<"){let o=e.slice(2,-1);return o==="!"||o==="!!"?(t(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(e[e.length-1]!==">"&&t("Verbatim tags must end with a >"),o)}let[,n,i]=e.match(/^(.*!)([^!]*)$/s);i||t(`The ${e} tag has no suffix`);let r=this.tags[n];if(r)try{return r+decodeURIComponent(i)}catch(o){return t(String(o)),null}return n==="!"?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(let[t,n]of Object.entries(this.tags))if(e.startsWith(n))return t+mn(e.substring(n.length));return e[0]==="!"?e:`!<${e}>`}toString(e){let t=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],n=Object.entries(this.tags),i;if(e&&n.length>0&&I(e.contents)){let r={};Q(e.contents,(o,l)=>{I(l)&&l.tag&&(r[l.tag]=!0)}),i=Object.keys(r)}else i=[];for(let[r,o]of n)r==="!!"&&o==="tag:yaml.org,2002:"||(!e||i.some(l=>l.startsWith(o)))&&t.push(`%TAG ${r} ${o}`);return t.join(`
|
|
5
5
|
`)}};Z.defaultYaml={explicit:!1,version:"1.2"};Z.defaultTags={"!!":"tag:yaml.org,2002:"};function it(s){if(/[\x00-\x19\s,[\]{}]/.test(s)){let t=`Anchor must not contain whitespace or control characters: ${JSON.stringify(s)}`;throw new Error(t)}return!0}function Rt(s){let e=new Set;return Q(s,{Value(t,n){n.anchor&&e.add(n.anchor)}}),e}function Ft(s,e){for(let t=1;;++t){let n=`${s}${t}`;if(!e.has(n))return n}}function ws(s,e){let t=[],n=new Map,i=null;return{onAnchor:r=>{t.push(r),i??(i=Rt(s));let o=Ft(e,i);return i.add(o),o},setAnchors:()=>{for(let r of t){let o=n.get(r);if(typeof o=="object"&&o.anchor&&(E(o.node)||L(o.node)))o.node.anchor=o.anchor;else{let l=new Error("Failed to resolve repeated object (this should not happen)");throw l.source=r,l}}},sourceObjects:n}}function fe(s,e,t,n){if(n&&typeof n=="object")if(Array.isArray(n))for(let i=0,r=n.length;i<r;++i){let o=n[i],l=fe(s,n,String(i),o);l===void 0?delete n[i]:l!==o&&(n[i]=l)}else if(n instanceof Map)for(let i of Array.from(n.keys())){let r=n.get(i),o=fe(s,n,i,r);o===void 0?n.delete(i):o!==r&&n.set(i,o)}else if(n instanceof Set)for(let i of Array.from(n)){let r=fe(s,n,i,i);r===void 0?n.delete(i):r!==i&&(n.delete(i),n.add(r))}else for(let[i,r]of Object.entries(n)){let o=fe(s,n,i,r);o===void 0?delete n[i]:o!==r&&(n[i]=o)}return s.call(e,t,n)}function M(s,e,t){if(Array.isArray(s))return s.map((n,i)=>M(n,String(i),t));if(s&&typeof s.toJSON=="function"){if(!t||!nt(s))return s.toJSON(e,t);let n={aliasCount:0,count:1,res:void 0};t.anchors.set(s,n),t.onCreate=r=>{n.res=r,delete t.onCreate};let i=s.toJSON(e,t);return t.onCreate&&t.onCreate(i),i}return typeof s=="bigint"&&!t?.keep?Number(s):s}var ue=class{constructor(e){Object.defineProperty(this,K,{value:e})}clone(){let e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:t,maxAliasCount:n,onAnchor:i,reviver:r}={}){if(!x(e))throw new TypeError("A document argument is required");let o={anchors:new Map,doc:e,keep:!0,mapAsMap:t===!0,mapKeyWarned:!1,maxAliasCount:typeof n=="number"?n:100},l=M(this,"",o);if(typeof i=="function")for(let{count:a,res:c}of o.anchors.values())i(c,a);return typeof r=="function"?fe(r,{"":l},"",l):l}};var ee=class extends ue{constructor(e){super(tt),this.source=e,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(e,t){if(t?.maxAliasCount===0)throw new ReferenceError("Alias resolution is disabled");let n;t?.aliasResolveCache?n=t.aliasResolveCache:(n=[],Q(e,{Node:(r,o)=>{(F(o)||nt(o))&&n.push(o)}}),t&&(t.aliasResolveCache=n));let i;for(let r of n){if(r===this)break;r.anchor===this.source&&(i=r)}return i}toJSON(e,t){if(!t)return{source:this.source};let{anchors:n,doc:i,maxAliasCount:r}=t,o=this.resolve(i,t);if(!o){let a=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(a)}let l=n.get(o);if(l||(M(o,null,t),l=n.get(o)),l?.res===void 0){let a="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(a)}if(r>=0&&(l.count+=1,l.aliasCount===0&&(l.aliasCount=rt(i,o,n)),l.count*l.aliasCount>r)){let a="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(a)}return l.res}toString(e,t,n){let i=`*${this.source}`;if(e){if(it(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source)){let r=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(r)}if(e.implicitKey)return`${i} `}return i}};function rt(s,e,t){if(F(e)){let n=e.resolve(s),i=t&&n&&t.get(n);return i?i.count*i.aliasCount:0}else if(L(e)){let n=0;for(let i of e.items){let r=rt(s,i,t);r>n&&(n=r)}return n}else if(T(e)){let n=rt(s,e.key,t),i=rt(s,e.value,t);return Math.max(n,i)}return 1}var ot=s=>!s||typeof s!="function"&&typeof s!="object",y=class extends ue{constructor(e){super(q),this.value=e}toJSON(e,t){return t?.keep?this.value:M(this.value,e,t)}toString(){return String(this.value)}};y.BLOCK_FOLDED="BLOCK_FOLDED";y.BLOCK_LITERAL="BLOCK_LITERAL";y.PLAIN="PLAIN";y.QUOTE_DOUBLE="QUOTE_DOUBLE";y.QUOTE_SINGLE="QUOTE_SINGLE";var dn="tag:yaml.org,2002:";function gn(s,e,t){if(e){let n=t.filter(r=>r.tag===e),i=n.find(r=>!r.format)??n[0];if(!i)throw new Error(`Tag ${e} not found`);return i}return t.find(n=>n.identify?.(s)&&!n.format)}function oe(s,e,t){if(x(s)&&(s=s.contents),I(s))return s;if(T(s)){let f=t.schema[Y].createNode?.(t.schema,null,t);return f.items.push(s),f}(s instanceof String||s instanceof Number||s instanceof Boolean||typeof BigInt<"u"&&s instanceof BigInt)&&(s=s.valueOf());let{aliasDuplicateObjects:n,onAnchor:i,onTagObj:r,schema:o,sourceObjects:l}=t,a;if(n&&s&&typeof s=="object"){if(a=l.get(s),a)return a.anchor??(a.anchor=i(s)),new ee(a.anchor);a={anchor:null,node:null},l.set(s,a)}e?.startsWith("!!")&&(e=dn+e.slice(2));let c=gn(s,e,o.tags);if(!c){if(s&&typeof s.toJSON=="function"&&(s=s.toJSON()),!s||typeof s!="object"){let f=new y(s);return a&&(a.node=f),f}c=s instanceof Map?o[Y]:Symbol.iterator in Object(s)?o[re]:o[Y]}r&&(r(c),delete t.onTagObj);let p=c?.createNode?c.createNode(t.schema,s,t):typeof c?.nodeClass?.from=="function"?c.nodeClass.from(t.schema,s,t):new y(s);return e?p.tag=e:c.default||(p.tag=c.tag),a&&(a.node=p),p}function qe(s,e,t){let n=t;for(let i=e.length-1;i>=0;--i){let r=e[i];if(typeof r=="number"&&Number.isInteger(r)&&r>=0){let o=[];o[r]=n,n=o}else n=new Map([[r,n]])}return oe(n,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:s,sourceObjects:new Map})}var Ae=s=>s==null||typeof s=="object"&&!!s[Symbol.iterator]().next().done,Oe=class extends ue{constructor(e,t){super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){let t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map(n=>I(n)||T(n)?n.clone(e):n),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(Ae(e))this.add(t);else{let[n,...i]=e,r=this.get(n,!0);if(L(r))r.addIn(i,t);else if(r===void 0&&this.schema)this.set(n,qe(this.schema,i,t));else throw new Error(`Expected YAML collection at ${n}. Remaining path: ${i}`)}}deleteIn(e){let[t,...n]=e;if(n.length===0)return this.delete(t);let i=this.get(t,!0);if(L(i))return i.deleteIn(n);throw new Error(`Expected YAML collection at ${t}. Remaining path: ${n}`)}getIn(e,t){let[n,...i]=e,r=this.get(n,!0);return i.length===0?!t&&E(r)?r.value:r:L(r)?r.getIn(i,t):void 0}hasAllNullValues(e){return this.items.every(t=>{if(!T(t))return!1;let n=t.value;return n==null||e&&E(n)&&n.value==null&&!n.commentBefore&&!n.comment&&!n.tag})}hasIn(e){let[t,...n]=e;if(n.length===0)return this.has(t);let i=this.get(t,!0);return L(i)?i.hasIn(n):!1}setIn(e,t){let[n,...i]=e;if(i.length===0)this.set(n,t);else{let r=this.get(n,!0);if(L(r))r.setIn(i,t);else if(r===void 0&&this.schema)this.set(n,qe(this.schema,i,t));else throw new Error(`Expected YAML collection at ${n}. Remaining path: ${i}`)}}};var Ss=s=>s.replace(/^(?!$)(?: $)?/gm,"#");function J(s,e){return/^\n+$/.test(s)?s.substring(1):e?s.replace(/^(?! *$)/gm,e):s}var te=(s,e,t)=>s.endsWith(`
|
|
6
6
|
`)?J(t,e):t.includes(`
|
|
7
7
|
`)?`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.369 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
3
|
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
|
-
import{f as c}from"./chunk-
|
|
4
|
+
import{f as c}from"./chunk-D6MGELKZ.js";function m(e,n){let t=e.indexOf("--testid");if(t>=0&&e[t+1])return{mode:"testid",value:e[t+1]};let i=e.indexOf("--test-id");if(i>=0&&e[i+1])return{mode:"testid",value:e[i+1]};let l=e.indexOf("--text");if(l>=0&&e[l+1])return{mode:"text",value:e[l+1]};let r=n?.[1];return r&&!r.startsWith("-")&&!Number.isFinite(Number(r))?{mode:"testid",value:r}:null}async function a(e,n){let t=await e.send({type:"resolve",selector:n.mode==="testid"?{testID:n.value}:{text:n.value}});if(t===null)return null;if(typeof t!="object")throw new Error("resolve returned an invalid result");let i=Reflect.get(t,"match"),l=Reflect.get(t,"target"),r=[i,l],o=Reflect.get(t,"point"),u=o!==null&&typeof o=="object"?Reflect.get(o,"x"):void 0,d=o!==null&&typeof o=="object"?Reflect.get(o,"y"):void 0;if(!c(r)||typeof u!="number"||!Number.isFinite(u)||typeof d!="number"||!Number.isFinite(d))throw new Error("resolve returned an invalid result");let s=r[0];if(!s)throw new Error("resolve returned an invalid result");return{x:u,y:d,testID:s.testID??null,text:s.text??(n.mode==="text"?n.value:s.label),type:s.type}}export{m as a,a as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.369 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
3
|
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
4
|
import{execFileSync as P}from"child_process";import{readFileSync as a}from"fs";import{createRequire as d}from"module";var s=null,p=null;function k(r){s||(s=w());try{return s(r)}catch{return null}}function x(r){p||(p=_());try{return p(r)}catch{return null}}function _(){if(process.platform==="linux")return r=>{try{return a(`/proc/${r}/comm`,"utf8").trim()||null}catch{return null}};if(process.platform==="darwin"){let r=B();return r||(t=>b().get(t)?.comm||null)}return()=>null}function w(){let r=Number(process.env.PPID);if(Number.isFinite(r)&&r>1&&r!==process.ppid)return()=>r;if(process.platform==="linux")return C();if(process.platform==="darwin"){let t=h();return t||(n=>{let o=b().get(n)?.ppid;return o!==void 0&&o>0?o:null})}return()=>null}var L=2e3,i={readAt:0,rows:new Map};function b(){let r=Date.now();if(i.readAt&&r-i.readAt<L)return i.rows;let t=new Map;try{let n=P("ps",["-eo","pid=,ppid=,comm="],{encoding:"utf8",timeout:5e3,maxBuffer:8388608,stdio:["ignore","pipe","ignore"]});for(let o of n.split(`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.369 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
3
|
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
4
|
function t(_){return`(async () => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.369 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
3
|
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
|
-
import{o as d}from"./chunk-
|
|
4
|
+
import{o as d}from"./chunk-FBMNYSSW.js";import{chmodSync as S,existsSync as f,mkdirSync as A,readFileSync as k,rmSync as o,writeFileSync as y}from"node:fs";import{dirname as c,join as D,resolve as m}from"node:path";var s=1,p="SOOTSIM_SHARED_AUTH_FILE",u="https://contrast.dev";function w(){let t=process.env[p];return t?.trim()?c(m(t)):d()}function a(){let t=process.env[p];return t?.trim()?m(t):D(w(),"desktop-auth.json")}function g(t){if(!t||typeof t!="object")return null;let e=t;return typeof e.id!="string"||!e.id.trim()?null:{id:e.id.trim(),name:typeof e.name=="string"?e.name:void 0,email:typeof e.email=="string"?e.email:void 0,image:typeof e.image=="string"?e.image:void 0,githubUsername:typeof e.githubUsername=="string"?e.githubUsername:void 0,isAdmin:e.isAdmin===!0,teams:Array.isArray(e.teams)?e.teams.map(r=>{if(!r||typeof r!="object")return null;let n=r;return typeof n.id!="string"||typeof n.name!="string"?null:{id:n.id,name:n.name,role:n.role==="owner"?"owner":"member",githubOrg:typeof n.githubOrg=="string"?n.githubOrg:null}}).filter(r=>!!r):void 0}}function v(t){if(!t||typeof t!="object")return null;let e=t;if(e.version!==s||typeof e.token!="string"||!e.token.trim())return null;let r=typeof e.origin=="string"&&e.origin.trim()?e.origin.trim():u,n=e.source==="cli"||e.source==="electron"||e.source==="browser"||e.source==="unknown"?e.source:"unknown",i=typeof e.updatedAt=="string"&&e.updatedAt?e.updatedAt:new Date().toISOString(),h=typeof e.validatedAt=="string"&&e.validatedAt?e.validatedAt:void 0;return{version:s,token:e.token.trim(),user:g(e.user),origin:r,source:n,updatedAt:i,validatedAt:h}}function b(){let t=a();if(!f(t))return null;try{let e=JSON.parse(k(t,"utf8")),r=v(e);return r||(o(t,{force:!0}),null)}catch{return o(t,{force:!0}),null}}function O(t){let e=a();A(c(e),{recursive:!0});let r={version:s,token:t.token.trim(),user:t.user?g(t.user):null,origin:t.origin?.trim()||u,source:t.source,updatedAt:t.updatedAt||new Date().toISOString(),validatedAt:t.validatedAt};y(e,JSON.stringify(r,null,2)+`
|
|
5
5
|
`);try{S(e,384)}catch{}return r}function l(){o(a(),{force:!0})}async function E(t){let e=b();if(!e?.token)return null;let r=t||e.origin||u;try{let n=await fetch(`${r.replace(/\/$/,"")}/api/auth/me`,{headers:{authorization:`Bearer ${e.token}`}});if(n.status===401)return l(),null;if(!n.ok)return e;let i=await n.json();return i.user?.id?O({token:e.token,user:i.user,origin:r,source:e.source,validatedAt:new Date().toISOString()}):(l(),null)}catch{return e}}export{b as a,O as b,l as c,E as d};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.369 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
3
|
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
|
-
import{b as r,c as g,d as f,e as v}from"./chunk-
|
|
4
|
+
import{b as r,c as g,d as f,e as v}from"./chunk-AJJCYLBC.js";import"./chunk-FHRG772G.js";import"./chunk-IYPMULI7.js";import"./chunk-FBMNYSSW.js";import"./chunk-MXWME7ET.js";import"./chunk-DKSZZABN.js";var $={"browser-cache":"browser caches","camera-fixture":"staged camera fixture videos",recording:"recordings and captured frames","runtime-archive":"downloaded runtime archives","runtime-version":"inactive runtime versions"};function y(s){let i=new Map;for(let o of s){let n=i.get(o.kind)??{bytes:0,count:0};n.bytes+=o.bytes,n.count++,i.set(o.kind,n)}return[...i].sort((o,n)=>n[1].bytes-o[1].bytes).map(([o,n])=>` ${$[o]}: ${r(n.bytes)} (${n.count} ${n.count===1?"item":"items"})`)}function h(){console.log(`
|
|
5
5
|
rnx cleanup \u2014 inspect and reclaim local rnx disk usage
|
|
6
6
|
|
|
7
7
|
usage:
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! rnx v0.1.369 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
+
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
|
+
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
|
+
import{a}from"./chunk-TAC4CEIX.js";import"./chunk-MXWME7ET.js";import"./chunk-DKSZZABN.js";export{a as getCliVersion};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*! rnx v0.1.369 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
+
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
|
+
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
|
+
import{d,g as m,i as w,j as y}from"./chunk-JXARZBWS.js";import"./chunk-DKSZZABN.js";import{existsSync as $,readFileSync as O}from"node:fs";import{dirname as E,join as V,relative as M,resolve as j}from"node:path";import{existsSync as a,readFileSync as g,readdirSync as R,statSync as C}from"fs";import{basename as N,dirname as J,join as c}from"path";var b=["ts","js","cjs","mjs","mts","cts"];function v(e){let n=e;for(;;){if(a(c(n,"turbo.json"))||a(c(n,"nx.json"))||a(c(n,"lerna.json"))||a(c(n,"pnpm-workspace.yaml")))return n;let t=c(n,"package.json");if(a(t))try{if(JSON.parse(g(t,"utf8")).workspaces)return n}catch{}let s=J(n);if(s===n)break;n=s}return e}function T(e){return a(c(e,"bun.lock"))||a(c(e,"bun.lockb"))?"bun":a(c(e,"pnpm-lock.yaml"))?"pnpm":a(c(e,"yarn.lock"))?"yarn":"npm"}function F(e){if(a(c(e,"turbo.json")))return"turbo";if(a(c(e,"nx.json")))return"nx";if(a(c(e,"pnpm-workspace.yaml")))return"pnpm";let n=c(e,"package.json");if(a(n))try{if(JSON.parse(g(n,"utf8")).workspaces)return"npm-workspaces"}catch{}return"single"}function W(e){return e.one?"one":e.expo?"expo":e["react-native"]?"bare":"unknown"}function h(e){let n=c(e,"package.json");if(!a(n))return null;let t;try{t=JSON.parse(g(n,"utf8"))}catch{return null}let s={...t.dependencies,...t.devDependencies},r=W(s);return r==="unknown"?null:{dir:e,name:t.name||N(e),framework:r,hasViteConfig:b.some(o=>a(c(e,`vite.config.${o}`))),hasMetroConfig:b.some(o=>a(c(e,`metro.config.${o}`))),devCommand:t.scripts?.dev||null}}function A(e){let n=[],t=c(e,"pnpm-workspace.yaml");if(a(t)){let o=g(t,"utf8").match(/packages:\s*\n((?:\s+-\s+.+\n?)+)/);if(o){let i=o[1].split(`
|
|
5
|
+
`).filter(Boolean);for(let f of i){let p=f.replace(/^\s*-\s*['"]?/,"").replace(/['"]?\s*$/,"");p&&n.push(...P(e,p))}}return n}let s=c(e,"package.json");if(a(s))try{let r=JSON.parse(g(s,"utf8")),o=Array.isArray(r.workspaces)?r.workspaces:r.workspaces?.packages||[];for(let i of o)n.push(...P(e,i))}catch{}return n}function P(e,n){let t=n.replace(/\/\*\*?$/,"").replace(/\*$/,""),s=c(e,t);if(!a(s))return[];try{return R(s).map(o=>c(s,o)).filter(o=>{try{return C(o).isDirectory()&&a(c(o,"package.json"))}catch{return!1}})}catch{return[]}}function S(e){let n=F(e),t=T(e);if(n==="single"){let i=h(e);return{root:e,type:n,packageManager:t,apps:i?[i]:[]}}let s=A(e),r=[],o=h(e);o&&r.push(o);for(let i of s){if(i===e)continue;let f=h(i);f&&r.push(f)}return{root:e,type:n,packageManager:t,apps:r}}async function z(e){if(e.includes("--help")||e.includes("-h")){console.log(`
|
|
6
|
+
rnx compat \u2014 check package compatibility
|
|
7
|
+
|
|
8
|
+
usage:
|
|
9
|
+
rnx compat [package-name]
|
|
10
|
+
rnx compat --json
|
|
11
|
+
rnx compat --brief
|
|
12
|
+
|
|
13
|
+
flags:
|
|
14
|
+
--json machine-readable output
|
|
15
|
+
--brief one-line summary
|
|
16
|
+
--app <dir> target directory (default: cwd)
|
|
17
|
+
`);return}let n=e.indexOf("--app"),t=n>=0&&e[n+1]?j(e[n+1]):process.cwd(),s=e.find((p,l)=>!p.startsWith("-")&&(n<0||l!==n+1)),r=D(t);if(!r){console.error(` no package.json found in ${t}`),process.exitCode=1;return}if(s){k(e,_(t,r,s));return}let o=d(x(t,r));if(o.packages.length>0||n>=0){k(e,o);return}let i=v(t),f=S(i).apps.flatMap(p=>{if(j(p.dir)===t)return[];let l=D(p.dir);if(!l)return[];let u=d(x(p.dir,l));return u.packages.length>0?[{dir:p.dir,result:u}]:[]});if(f.length===1){let p=f[0];console.log(`
|
|
18
|
+
scanning ${M(t,p.dir)||"."}`),k(e,p.result);return}if(f.length>1){console.log(`
|
|
19
|
+
this workspace has more than one app. scan one with --app:`);for(let p of f)console.log(` rnx compat --app ${M(t,p.dir)}`);console.log();return}k(e,o)}function k(e,n){if(e.includes("--json")){console.log(JSON.stringify(n,null,2));return}if(e.includes("--brief")){console.log(` ${m(n)}`),console.log(` ${y}`);return}console.log(`
|
|
20
|
+
rnx compatibility report`),console.log(` ${m(n)}
|
|
21
|
+
`);for(let r of w(n))console.log(` ${r}`);let t=n.packages.filter(r=>r.status==="full").length;t>0&&console.log(` supported: ${t} packages`);let s=n.packages.filter(r=>r.status==="not-relevant").length;s>0&&console.log(` not relevant at runtime: ${s} packages`),n.packages.length===0&&console.log(" no React Native ecosystem packages detected"),console.log(`
|
|
22
|
+
${y}
|
|
23
|
+
`)}function x(e,n){let t=(r,o)=>{let i=e;for(;;){let f=V(i,"node_modules",r,"package.json");if($(f)){try{let l=JSON.parse(O(f,"utf8"));if(l&&typeof l=="object"&&"version"in l){let u=l.version;if(typeof u=="string")return u}}catch{}return o}let p=E(i);if(p===i)return o;i=p}},s=r=>r&&Object.fromEntries(Object.entries(r).map(([o,i])=>[o,t(o,i)]));return{name:n.name,dependencies:s(n.dependencies),devDependencies:s(n.devDependencies)}}function D(e){let n=j(e,"package.json");if(!$(n))return null;let t=JSON.parse(O(n,"utf8"));return t&&typeof t=="object"?t:null}function _(e,n,t){let s=x(e,n),r=s.dependencies?.[t]??s.devDependencies?.[t]??"*";return d({dependencies:{[t]:r}})}export{z as runCompat};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.369 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
3
|
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
|
-
import{F as t,G as r,z as s}from"./chunk-
|
|
4
|
+
import{F as t,G as r,z as s}from"./chunk-FBMNYSSW.js";import"./chunk-DKSZZABN.js";function l(){let e=t(),n=e.configured&&e.productAnalytics;console.log(` bounded diagnostics are ${n?"ON":"OFF"}`),console.log(" permitted fields: package name/version/unsupported API or error class"),console.log(` config: ${s()}`);let o=process.env.DO_NOT_TRACK;(o==="1"||o==="true")&&console.log(` note: DO_NOT_TRACK=${o} is set \u2014 telemetry is off for this run`)}async function i(e){let n=e.find(o=>!o.startsWith("-"))?.toLowerCase();switch(n){case void 0:case"status":l();return;case"on":r({productAnalytics:!0,crashReports:!1}),console.log(" bounded diagnostics ON"),console.log(` config: ${s()}`);return;case"off":r({productAnalytics:!1,crashReports:!1}),console.log(" bounded diagnostics OFF"),console.log(` config: ${s()}`);return;default:console.error(` unknown telemetry action: ${n}`),console.error(" usage: rnx config telemetry [on|off|status]"),process.exit(1)}}function c(){console.log(`
|
|
5
5
|
rnx config \u2014 manage local CLI preferences
|
|
6
6
|
|
|
7
7
|
usage:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.369 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
3
|
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
|
-
import{b as s,i as p}from"./chunk-
|
|
4
|
+
import{b as s,i as p}from"./chunk-NPVEBXU3.js";import"./chunk-TTUZ5MCK.js";import"./chunk-YPBDPVLR.js";import"./chunk-A56GQVNF.js";import"./chunk-D6MGELKZ.js";import{g as f,n as a,u as d}from"./chunk-H2GB2PLY.js";import"./chunk-ZEF57HQO.js";import"./chunk-FBMNYSSW.js";import"./chunk-DKSZZABN.js";function g(c,i,o){let e=c.filter(n=>n.readyState==="open");if(i){let n=e.find(r=>r.id===i);if(!n)throw new s(`no sim connected with id ${i} on bridge :${o}`+(e.length?` \u2014 connected: ${e.map(r=>r.id).join(", ")}`:" \u2014 no sims connected; open one with `rnx open <port>`"));return n}let t=f();if(t){let n=e.find(r=>r.id===t);if(n)return n}let m=e.find(n=>n.isPrimary)??e[0];if(!m)throw new s(`no sims connected on bridge :${o} \u2014 open one with \`rnx open <port>\``);return m}async function S(c={}){let i=c.port??a().bridgePort,o=c.timeoutMs??15e3,e=d(i,{commandTimeoutMs:o,cliLabel:"sdk"}),t;try{t=g(await e.listSims(),c.sim,i)}catch(n){if(e.close(),n instanceof s)throw n;let r=n instanceof Error?n.message:String(n);throw new s(`${r} \u2014 is the rnx daemon or dev shell running?`)}e.close();let m=d(i,{commandTimeoutMs:o,cliLabel:"sdk",simId:t.id,simIdSource:"flag"});return new p(m,t.id,{commandTimeoutMs:o})}export{S as connect};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.369 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
3
|
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
|
-
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w}from"./chunk-
|
|
4
|
+
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w}from"./chunk-COXCR6UU.js";import"./chunk-OROUEG22.js";import"./chunk-QE5MC4V3.js";import"./chunk-X3PEDNLV.js";import"./chunk-RYGQ6LZN.js";import"./chunk-AKJYEX54.js";import"./chunk-UDXQCEJU.js";import"./chunk-EKAEEWC2.js";import"./chunk-2APXX4RN.js";import"./chunk-A56GQVNF.js";import"./chunk-D6MGELKZ.js";import"./chunk-3454VMHD.js";import"./chunk-JLOOLA47.js";import"./chunk-USHV3QFZ.js";import"./chunk-UQJY6O72.js";import"./chunk-6F3WOWFC.js";import"./chunk-F4OTMARL.js";import"./chunk-H2GB2PLY.js";import"./chunk-ZEF57HQO.js";import"./chunk-FHRG772G.js";import"./chunk-IYPMULI7.js";import"./chunk-A72MIIJI.js";import"./chunk-FBMNYSSW.js";import"./chunk-MXWME7ET.js";import"./chunk-DKSZZABN.js";export{d as applyRuntimeGenerationOrigin,h as buildOpenUrl,g as buildShellUrl,u as closeSimsBulk,b as ensureBridgeForOpen,v as planBulkCloseTargets,m as playwrightHostPidForSim,j as printConnectedSims,c as resolveBundleTarget,e as resolveDefaultShellBaseUrl,a as resolveDriverConnectWaitOptions,f as resolveShellBaseUrlForBridgePort,t as runClaimCommand,w as runCloseCommand,s as runFocusCommand,p as runLinkCommand,q as runOpenCommand,r as runUseCommand,n as signalDriverLaunchConnected,i as summarizeSimUrl,o as terminatePlaywrightHostsForSims,k as waitForSimMatch,l as waitForSimMatchOrHostExit};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! rnx v0.1.369 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
+
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
|
+
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
|
+
import{a,b,c,d,e,f}from"./chunk-YFZLDFZK.js";import"./chunk-FGGESBWD.js";import"./chunk-CCI3DZKE.js";import"./chunk-N5KDDGV6.js";import"./chunk-45X3D6CI.js";import"./chunk-6F3WOWFC.js";import"./chunk-F4OTMARL.js";import"./chunk-H2GB2PLY.js";import"./chunk-ZEF57HQO.js";import"./chunk-5QFJFASW.js";import"./chunk-FBMNYSSW.js";import"./chunk-TAC4CEIX.js";import"./chunk-MXWME7ET.js";import"./chunk-DKSZZABN.js";export{c as daemonInstall,b as getDaemonServiceStatus,a as runDaemon,e as teardownDaemonService,d as teardownLegacyMacDaemonArtifacts,f as teardownSootsimHome};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.369 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
3
|
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
|
-
import{f as b,m as C}from"./chunk-
|
|
4
|
+
import{f as b,m as C}from"./chunk-2APXX4RN.js";import{I as N,J as D,K as O,L as T,M as k}from"./chunk-D6MGELKZ.js";import{t as A,v as _,x as S}from"./chunk-H2GB2PLY.js";import"./chunk-ZEF57HQO.js";import"./chunk-FBMNYSSW.js";import"./chunk-DKSZZABN.js";var B=["portals","sheets","layout","onlayout","animated","render","touch","yoga","all"],F="__sootsimShellAnimationTrace",q="__sootsimDebugAnimation";function R(){console.log(`
|
|
5
5
|
rnx debug \u2014 drive __sootsimDebug from the terminal
|
|
6
6
|
|
|
7
7
|
usage:
|
|
@@ -181,7 +181,7 @@ examples:
|
|
|
181
181
|
} : null,
|
|
182
182
|
samples,
|
|
183
183
|
}
|
|
184
|
-
})()`}async function u(t,a){return S(t,a)}function z(t,a){let d=t.indexOf(a);if(d<0)return null;let m=Number(t[d+1]);return Number.isFinite(m)?m:null}async function J(t){await u(t,"window.__sootsimCompositor.getStats(false, false, undefined, 'enable').then(() => 'enabled')"),await t.send({type:"screenshot"});let d=(await u(t,"window.__sootsimCompositor.getStats(false, false, undefined, 'disable').then((s) => ({ imageAudit: s.imageAudit }))"))?.imageAudit;if(!d)throw new Error("compositor returned no image audit");return d}function E(t){return t===null?" - ":t.toFixed(3).padStart(6)}function V(t){let a=t.sourceUri??t.testID??`node ${t.nodeId}`;return a.length<=58?a:`...${a.slice(-55)}`}function W(t,a,d){let f=t.rows.filter(c=>c.shortfall!==null).filter(c=>c.shortfall<d);if(console.log(` ${t.rows.length} images drawn (${t.draws} draws), ${f.length} below ${d} of what their source could deliver`),console.log(` sampling: mipmapped ${t.samplingCounts.mipmapped} \xB7 cubic ${t.samplingCounts.cubic} \xB7 repeat ${t.samplingCounts.repeat} \xB7 none ${t.samplingCounts.none}`),a.length===0){console.log(" every image delivered its source resolution");return}console.log(""),console.log(" short eff decoded source needed(dev) dest(pt) dpr image");for(let c of a){let x=`${c.decoded.width}x${c.decoded.height}`.padEnd(11),r=(c.vector?"vector":c.intrinsic?`${c.intrinsic.width}x${c.intrinsic.height}`:"?").padEnd(11),w=`${Math.round(c.needed.width)}x${Math.round(c.needed.height)}`.padEnd(12),y=`${Math.round(c.destination.width)}x${Math.round(c.destination.height)}`.padEnd(9);console.log(` ${E(c.shortfall)} ${E(c.effective.width)} ${x} ${r} ${w} ${y} ${c.dpr.toFixed(1)} ${V(c)}`)}}async function X(t,a){let d=A(t,{port:a.port,stripBooleanFlags:["--pretty","--json","--help","-h"]}),m=d.positional;(!m[0]||t.includes("--help")||t.includes("-h"))&&(R(),process.exit(0));let c=d.wsPort,x=d.simId,r=!t.includes("--json"),w=x?` --sim ${x}`:"",y=m[0],l=m.slice(1);if(new Set(["state","js","perf","memory","sample-color"]).has(y)){let{runInspect:e}=await import("./inspect-
|
|
184
|
+
})()`}async function u(t,a){return S(t,a)}function z(t,a){let d=t.indexOf(a);if(d<0)return null;let m=Number(t[d+1]);return Number.isFinite(m)?m:null}async function J(t){await u(t,"window.__sootsimCompositor.getStats(false, false, undefined, 'enable').then(() => 'enabled')"),await t.send({type:"screenshot"});let d=(await u(t,"window.__sootsimCompositor.getStats(false, false, undefined, 'disable').then((s) => ({ imageAudit: s.imageAudit }))"))?.imageAudit;if(!d)throw new Error("compositor returned no image audit");return d}function E(t){return t===null?" - ":t.toFixed(3).padStart(6)}function V(t){let a=t.sourceUri??t.testID??`node ${t.nodeId}`;return a.length<=58?a:`...${a.slice(-55)}`}function W(t,a,d){let f=t.rows.filter(c=>c.shortfall!==null).filter(c=>c.shortfall<d);if(console.log(` ${t.rows.length} images drawn (${t.draws} draws), ${f.length} below ${d} of what their source could deliver`),console.log(` sampling: mipmapped ${t.samplingCounts.mipmapped} \xB7 cubic ${t.samplingCounts.cubic} \xB7 repeat ${t.samplingCounts.repeat} \xB7 none ${t.samplingCounts.none}`),a.length===0){console.log(" every image delivered its source resolution");return}console.log(""),console.log(" short eff decoded source needed(dev) dest(pt) dpr image");for(let c of a){let x=`${c.decoded.width}x${c.decoded.height}`.padEnd(11),r=(c.vector?"vector":c.intrinsic?`${c.intrinsic.width}x${c.intrinsic.height}`:"?").padEnd(11),w=`${Math.round(c.needed.width)}x${Math.round(c.needed.height)}`.padEnd(12),y=`${Math.round(c.destination.width)}x${Math.round(c.destination.height)}`.padEnd(9);console.log(` ${E(c.shortfall)} ${E(c.effective.width)} ${x} ${r} ${w} ${y} ${c.dpr.toFixed(1)} ${V(c)}`)}}async function X(t,a){let d=A(t,{port:a.port,stripBooleanFlags:["--pretty","--json","--help","-h"]}),m=d.positional;(!m[0]||t.includes("--help")||t.includes("-h"))&&(R(),process.exit(0));let c=d.wsPort,x=d.simId,r=!t.includes("--json"),w=x?` --sim ${x}`:"",y=m[0],l=m.slice(1);if(new Set(["state","js","perf","memory","sample-color"]).has(y)){let{runInspect:e}=await import("./inspect-3ZGNJENJ.js");await e(["debug",...t],{port:a.port,verbose:a.verbose});return}let o=_(d);try{switch(y){case"enable":{let e=I(l[0]);e.length===0&&(console.error(` usage: rnx debug enable <channel[,channel,...]>
|
|
185
185
|
known: ${B.join(", ")}`),process.exit(1));let s=await k(o,"enable",e);console.log(i({active:s},r));break}case"disable":{let e=I(l[0]),s=await k(o,"disable",e);console.log(i({active:s},r));break}case"toggle":{let e=l[0];e||(console.error(" usage: rnx debug toggle <channel>"),process.exit(1));let s=await u(o,`window.__sootsimDebug.toggle(${JSON.stringify(e)})`);console.log(i({[e]:s},r));break}case"status":{let e=await N(o);console.log(i(e,r));break}case"channels":{let e=await u(o,"window.__sootsimDebug.channels()");console.log(i(e,r));break}case"flags":{let e=await D(o);console.log(i(e,r));break}case"snapshot":{let e=l[0],s=e?`window.__sootsimDebug.snapshot(${JSON.stringify(e)})`:"window.__sootsimDebug.snapshot()",n=await u(o,`(() => { const s = ${s}; if (!s) return null; return { label: s.label, at: s.at, size: s.nodes.size }; })()`);console.log(i(n,r));break}case"snapshots":{let e=await u(o,"window.__sootsimDebug.snapshots()");console.log(i(e,r));break}case"diff":{let e=l[0],s=l[1];(!e||!s)&&(console.error(" usage: rnx debug diff <labelA> <labelB>"),process.exit(1));let n=`(() => {
|
|
186
186
|
const d = window.__sootsimDebug.diff(${JSON.stringify(e)}, ${JSON.stringify(s)});
|
|
187
187
|
if (!d) return null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.369 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
3
|
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
|
-
import"./chunk-
|
|
4
|
+
import"./chunk-CZ2HCNRK.js";import{a as f}from"./chunk-2PVVIPQS.js";import{a as d}from"./chunk-5RWUFIZW.js";import{g as u}from"./chunk-COXCR6UU.js";import"./chunk-OROUEG22.js";import"./chunk-QE5MC4V3.js";import{a}from"./chunk-X3PEDNLV.js";import{c}from"./chunk-RYGQ6LZN.js";import"./chunk-AKJYEX54.js";import"./chunk-UDXQCEJU.js";import{a as p}from"./chunk-EKAEEWC2.js";import"./chunk-2APXX4RN.js";import"./chunk-A56GQVNF.js";import"./chunk-D6MGELKZ.js";import"./chunk-3454VMHD.js";import"./chunk-JLOOLA47.js";import"./chunk-USHV3QFZ.js";import"./chunk-UQJY6O72.js";import"./chunk-6F3WOWFC.js";import"./chunk-F4OTMARL.js";import"./chunk-H2GB2PLY.js";import"./chunk-ZEF57HQO.js";import"./chunk-FHRG772G.js";import"./chunk-IYPMULI7.js";import{i as l}from"./chunk-WGE2P25F.js";import"./chunk-A72MIIJI.js";import"./chunk-FBMNYSSW.js";import"./chunk-MXWME7ET.js";import"./chunk-DKSZZABN.js";function k(e){let t=e.indexOf("--port");if(t<0)return;let o=e[t+1],n=o?Number(o):Number.NaN;return(!Number.isInteger(n)||n<=0)&&(console.error(` invalid --port value: ${o||"(missing)"}`),process.exit(1)),n}async function v(e,t){let o=k(e)??t.port;return o?u(String(o)):void 0}async function m(e,t){(e.includes("--help")||e.includes("-h"))&&(console.log(`
|
|
5
5
|
rnx desktop \u2014 launch the desktop companion
|
|
6
6
|
|
|
7
7
|
usage:
|
|
@@ -16,7 +16,7 @@ examples:
|
|
|
16
16
|
rnx desktop
|
|
17
17
|
rnx desktop --port 5173
|
|
18
18
|
rnx desktop --profile qa
|
|
19
|
-
`),process.exit(0));let o=e.find((g,s)=>e[s-1]==="--profile"),n=e.includes("--ephemeral");o&&n&&(console.error(" rnx desktop: --profile cannot be combined with --ephemeral"),process.exit(1));let h=o?c(o).id:void 0,r=p();if(!r){if(f(),process.stdin.isTTY&&process.env.CI!=="1"&&process.env.SOOTSIM_NO_PROMPT!=="1"&&await l("run rnx desktop install now?",!0)){console.log();let{runInstallDesktop:s}=await import("./install-desktop-
|
|
19
|
+
`),process.exit(0));let o=e.find((g,s)=>e[s-1]==="--profile"),n=e.includes("--ephemeral");o&&n&&(console.error(" rnx desktop: --profile cannot be combined with --ephemeral"),process.exit(1));let h=o?c(o).id:void 0,r=p();if(!r){if(f(),process.stdin.isTTY&&process.env.CI!=="1"&&process.env.SOOTSIM_NO_PROMPT!=="1"&&await l("run rnx desktop install now?",!0)){console.log();let{runInstallDesktop:s}=await import("./install-desktop-BYOJVTLS.js");await s(["--yes"]),r=p()}r||process.exit(1)}console.log(` launching ${r.path}`);let x=await v(e,t),i=await a.launch({url:x,device:t.device,profileId:h,ephemeralProfile:n});i.launched||(console.error(` ${i.message}`),process.exit(1)),console.log(` ${i.message}`)}function w(){console.log(`
|
|
20
20
|
rnx desktop \u2014 launch or install the desktop companion
|
|
21
21
|
|
|
22
22
|
usage:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.369 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
3
|
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
|
-
import{f as J}from"./chunk-
|
|
4
|
+
import{f as J}from"./chunk-WUR4FXWT.js";import"./chunk-SSBZA5VZ.js";import"./chunk-3NLB5LCN.js";import"./chunk-TIB3CTRX.js";import"./chunk-2PVVIPQS.js";import"./chunk-ZNNE5MAV.js";import"./chunk-YLNSLMQM.js";import{c as N,d as $,e as k}from"./chunk-ROISJKH3.js";import{a as E}from"./chunk-JH5KE2OI.js";import"./chunk-ZW6JXEVX.js";import"./chunk-TTUZ5MCK.js";import"./chunk-YPBDPVLR.js";import"./chunk-COXCR6UU.js";import"./chunk-OROUEG22.js";import"./chunk-QE5MC4V3.js";import"./chunk-X3PEDNLV.js";import"./chunk-RYGQ6LZN.js";import"./chunk-AKJYEX54.js";import"./chunk-UDXQCEJU.js";import"./chunk-EKAEEWC2.js";import"./chunk-2APXX4RN.js";import"./chunk-A56GQVNF.js";import"./chunk-D6MGELKZ.js";import"./chunk-3454VMHD.js";import"./chunk-JLOOLA47.js";import"./chunk-USHV3QFZ.js";import"./chunk-UQJY6O72.js";import"./chunk-N5KDDGV6.js";import"./chunk-6F3WOWFC.js";import"./chunk-F4OTMARL.js";import"./chunk-H2GB2PLY.js";import"./chunk-ZEF57HQO.js";import"./chunk-VGJLCFSC.js";import"./chunk-B5NW4TT3.js";import"./chunk-5QFJFASW.js";import"./chunk-FHRG772G.js";import"./chunk-IYPMULI7.js";import"./chunk-A72MIIJI.js";import"./chunk-FBMNYSSW.js";import{a as M}from"./chunk-MXWME7ET.js";import"./chunk-DKSZZABN.js";import{spawn as q}from"child_process";import{existsSync as g,mkdirSync as H,readFileSync as V,writeFileSync as y,unlinkSync as A}from"fs";import{createRequire as z}from"module";import{tmpdir as U}from"os";import{dirname as K,resolve as c,join as w,relative as Q}from"path";function X(){try{let t=import.meta.resolve(`${M.packageName}/detox`);return K(t.startsWith("file://")?t.slice(7):t)}catch{return c(import.meta.dirname,"..","..","detox")}}var Y=`
|
|
5
5
|
rnx detox \u2014 run detox-style tests against an rnx shell
|
|
6
6
|
|
|
7
7
|
usage:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.369 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
3
|
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
|
-
import"./chunk-
|
|
4
|
+
import"./chunk-QE5MC4V3.js";import"./chunk-3454VMHD.js";import"./chunk-6F3WOWFC.js";import{b as c,d as s,e as m}from"./chunk-F4OTMARL.js";import{t as d,v as l,y as a}from"./chunk-H2GB2PLY.js";import"./chunk-ZEF57HQO.js";import"./chunk-FBMNYSSW.js";import"./chunk-DKSZZABN.js";function h(){console.log(`
|
|
5
5
|
rnx device \u2014 inspect or change the live device preset for a sim
|
|
6
6
|
|
|
7
7
|
usage:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.369 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
3
|
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
|
-
import{e as v,t as E,v as x,y as b}from"./chunk-
|
|
4
|
+
import{e as v,t as E,v as x,y as b}from"./chunk-H2GB2PLY.js";import"./chunk-ZEF57HQO.js";import"./chunk-FBMNYSSW.js";import"./chunk-DKSZZABN.js";function j(e){return e.ts??e.t??0}function W(e){return typeof e.message=="string"&&e.message.length>0?e.message:Array.isArray(e.args)?e.args.map(r=>typeof r=="string"?r:JSON.stringify(r)).join(" "):""}var B=new Set(["timeline","network","react","console","screen"]);function P(){console.log(`
|
|
5
5
|
rnx get diagnosis \u2014 compact "what just went wrong?" report
|
|
6
6
|
|
|
7
7
|
usage:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.369 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
3
|
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
|
-
import{a,b,c,d,e}from"./chunk-
|
|
4
|
+
import{a,b,c,d,e}from"./chunk-AJJCYLBC.js";import"./chunk-FHRG772G.js";import"./chunk-IYPMULI7.js";import"./chunk-FBMNYSSW.js";import"./chunk-MXWME7ET.js";import"./chunk-DKSZZABN.js";export{e as applyAutomaticSootsimCleanup,d as applySootsimCleanup,b as formatSootsimBytes,a as isAutomaticSootsimCleanupComplete,c as planSootsimCleanup};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.369 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
3
|
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
|
-
import"./chunk-
|
|
4
|
+
import"./chunk-DKSZZABN.js";var p=class extends Error{constructor(s){super(s),this.name="BridgeInputError"}};var k=new Set(["tap","tap-id","tap-text","double-tap","long-press","type","type-into","key","key-sequence","dismiss","scroll","drag","swipe","pinch","touch","sleep"]);function O(a){return a.includes("--then")}function o(a,s){throw new p(`do chain action ${a+1} has invalid arguments; usage: rnx do ${s}`)}function r(a,s,l){let n=Number(a);return(a===void 0||!Number.isFinite(n))&&o(s,l),n}function D(a){let s=[[]];for(let l of a){if(l!=="--then"){s[s.length-1].push(l);continue}if(s[s.length-1].length===0)throw new p("do chain contains an empty action");s.push([])}if(s.length<2)throw new p("do chain needs at least two actions separated by --then");if(s[s.length-1].length===0)throw new p("do chain cannot end with --then");return s.flatMap((l,n)=>{let[d,...t]=l;if(!d)throw new p("do chain contains an empty action");if(!k.has(d))throw new p(`do chain action ${n+1} cannot batch ${JSON.stringify(d)}; run it as a separate rnx do command`);switch(d){case"tap":return t.length===1&&!Number.isFinite(Number(t[0]))?[{type:"tapId",id:t[0]}]:(t.length!==2&&o(n,"tap <testid> | <x> <y>"),[{type:"tap",x:r(t[0],n,"tap <testid> | <x> <y>"),y:r(t[1],n,"tap <testid> | <x> <y>")}]);case"tap-id":return t.length!==1&&o(n,"tap-id <id>"),[{type:"tapId",id:t[0]}];case"tap-text":{let e=t.join(" ");return e||o(n,"tap-text <text>"),[{type:"tapText",text:e}]}case"double-tap":{let e="double-tap <testid> [gapMs] | <x> <y> [gapMs]";return t.length>0&&!Number.isFinite(Number(t[0]))?(t.length>2&&o(n,e),[{type:"targetedDoubleTap",id:t[0],gapMs:t.length===2?Math.max(0,Math.round(r(t[1],n,e))):80}]):((t.length<2||t.length>3)&&o(n,e),[{type:"doubleTap",x:r(t[0],n,e),y:r(t[1],n,e),gapMs:t.length===3?Math.max(0,Math.round(r(t[2],n,e))):80}])}case"long-press":{let e="long-press <testid> [durationMs] | <x> <y> [durationMs]";return t.length>0&&!Number.isFinite(Number(t[0]))?(t.length>2&&o(n,e),[{type:"targetedLongPress",id:t[0],durationMs:t.length===2?Math.max(0,Math.round(r(t[1],n,e))):600}]):((t.length<2||t.length>3)&&o(n,e),[{type:"longPress",x:r(t[0],n,e),y:r(t[1],n,e),durationMs:t.length===3?Math.max(0,Math.round(r(t[2],n,e))):600}])}case"type":{let e=t.join(" ");return e||o(n,"type <text>"),[{type:"type",text:e}]}case"type-into":{let e=t.slice(1).join(" ");return(!t[0]||!e)&&o(n,"type-into <id> <text>"),[{type:"tapId",id:t[0]},{type:"type",text:e}]}case"key":return t.length!==1&&o(n,"key <name>"),[{type:"key",key:t[0]}];case"key-sequence":return t.length===0&&o(n,"key-sequence <key> [<key> ...]"),t.map(e=>({type:"key",key:e}));case"dismiss":return t.length!==0&&o(n,"dismiss"),[{type:"dismissKeyboard"}];case"scroll":{let e="scroll <id> <x> <y>";return t.length!==3&&o(n,e),[{type:"scroll",id:t[0],x:r(t[1],n,e),y:r(t[2],n,e),animated:!1}]}case"drag":case"swipe":{let e=`${d} <x1> <y1> <x2> <y2> [steps] [stepMs]`;(t.length<4||t.length>6)&&o(n,e);let i=d==="swipe"?10:12,y=d==="swipe"?8:16;return[{type:"drag",fromX:r(t[0],n,e),fromY:r(t[1],n,e),toX:r(t[2],n,e),toY:r(t[3],n,e),steps:t.length>=5?Math.max(1,Math.round(r(t[4],n,e))):i,stepMs:t.length===6?Math.max(0,Math.round(r(t[5],n,e))):y}]}case"pinch":{let e="pinch <x1> <y1> <x2> <y2> <x1'> <y1'> <x2'> <y2'> [steps] [stepMs]";return(t.length<8||t.length>10)&&o(n,e),[{type:"pinch",fromX1:r(t[0],n,e),fromY1:r(t[1],n,e),fromX2:r(t[2],n,e),fromY2:r(t[3],n,e),toX1:r(t[4],n,e),toY1:r(t[5],n,e),toX2:r(t[6],n,e),toY2:r(t[7],n,e),steps:t.length>=9?Math.max(1,Math.round(r(t[8],n,e))):12,stepMs:t.length===10?Math.max(0,Math.round(r(t[9],n,e))):16}]}case"touch":{let e="touch <down|move|up|cancel> <x> <y> [pointerId]";(t.length<3||t.length>4)&&o(n,e);let i=t[0];i!=="down"&&i!=="move"&&i!=="up"&&i!=="cancel"&&o(n,e);let y=t.length===4?Math.max(1,Math.round(r(t[3],n,e))):999;return i==="cancel"?[{type:"touchCancel",pointerId:y}]:[{type:i==="down"?"touchDown":i==="move"?"touchMove":"touchUp",x:r(t[1],n,e),y:r(t[2],n,e),pointerId:y}]}case"sleep":{let e="sleep [seconds]";t.length>1&&o(n,e);let i=t.length===1?r(t[0],n,e):.5;return i<0&&o(n,e),[{type:"wait",ms:Math.round(i*1e3)}]}default:throw new p(`do chain action ${n+1} cannot batch ${JSON.stringify(d)}`)}})}async function Y(a,s={}){let[l,n,d,t,e]=await Promise.all([import("./connect-WWWAVVCF.js"),import("./sim-client-LQUZSO45.js"),import("./ws-bridge-RUXOYOU6.js"),import("./env-4XD5D2G6.js"),import("./resolve-target-7WWI32R3.js")]),{connect:i}=l,{SimPerformError:y}=n,{checkSimHealth:M,parseBridgeCliArgs:S}=d,{isAgentEnv:$}=t,{resolveTargetCoords:x}=e,b=a.includes("--json"),I=a.includes("--no-wait")||process.env.SOOTSIM_NO_AUTO_WAIT==="1",m=S(a,{port:s.port,commandTimeoutMs:3e4,stripBooleanFlags:["--json","--no-wait"]});if(!Number.isFinite(m.commandTimeoutMs)||m.commandTimeoutMs<=0)return console.error(" do chain: --timeout must be a positive number"),1;let w;try{w=D(m.positional)}catch(u){return console.error(` do chain: ${u instanceof Error?u.message:u}`),1}let h=null;try{h=await i({port:m.wsPort,sim:m.simId,timeoutMs:m.commandTimeoutMs}),await M(h);let u=[];for(let c of w){if(c.type!=="targetedDoubleTap"&&c.type!=="targetedLongPress"){u.push(c);continue}let f=await x(h,{mode:"testid",value:c.id});if(!f)throw new p(`do chain could not find testID ${JSON.stringify(c.id)}`);u.push(c.type==="targetedDoubleTap"?{type:"doubleTap",x:f.x,y:f.y,gapMs:c.gapMs}:{type:"longPress",x:f.x,y:f.y,durationMs:c.durationMs})}let g=await h.perform(u,{timeoutMs:m.commandTimeoutMs});if(!I)try{let c=$()?400:200,f=await h.settle({maxMs:c});f.settled||process.stderr.write(` \u26A0 auto-wait timed out after ${f.elapsed??c}ms. next command may see mid-animation state. use \`rnx do settle\` for a longer wait.
|
|
5
5
|
`)}catch{}return console.log(b?JSON.stringify(g):` completed ${g.completed} batched ${g.completed===1?"step":"steps"} in ${g.durationMs}ms`),0}catch(u){return u instanceof y&&b?console.log(JSON.stringify(u.result)):console.error(` do chain failed: ${u instanceof Error?u.message:u}`),1}finally{h?.close()}}export{O as hasDoChain,D as parseDoChainActions,Y as runDoChain};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! rnx v0.1.369 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
+
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
|
+
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
|
+
import"./chunk-CZ2HCNRK.js";import{a,b,c,d,e,f,g}from"./chunk-X3PEDNLV.js";import"./chunk-RYGQ6LZN.js";import"./chunk-EKAEEWC2.js";import"./chunk-ZEF57HQO.js";import"./chunk-FHRG772G.js";import"./chunk-FBMNYSSW.js";import"./chunk-DKSZZABN.js";export{c as ALL_DRIVERS,g as buildDriverListRows,a as electronDriver,d as getAllDrivers,e as getDriver,b as playwrightDriver,f as resolveDriver};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.369 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
3
|
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
|
-
import{a}from"./chunk-
|
|
4
|
+
import{a}from"./chunk-A72MIIJI.js";import"./chunk-DKSZZABN.js";export{a as isAgentEnv};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.369 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
3
|
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
|
-
import{c as R,d as L}from"./chunk-
|
|
4
|
+
import{c as R,d as L}from"./chunk-RV76U3EI.js";import{t as x,v as A,z as b}from"./chunk-H2GB2PLY.js";import"./chunk-ZEF57HQO.js";import"./chunk-FBMNYSSW.js";import"./chunk-DKSZZABN.js";import{spawnSync as T}from"node:child_process";import{existsSync as V,mkdirSync as W,unlinkSync as N,writeFileSync as E}from"node:fs";import{homedir as j}from"node:os";import{dirname as q,extname as H,join as K,resolve as I}from"node:path";var n=e=>new Promise(a=>setTimeout(a,e)),X=["--out","--fps","--script","--slow"],J=["--keep-three"],Q=["--background","--gradient","--gradient-angle","--colorway","--environment","--env-shape","--env-spread","--env-size","--env-color","--env-glow","--env-plastic","--room","--focus","--focus-amount","--focus-range"],Y=12e4,Z=16e6;function c(e,a){let s=e.indexOf(a);return s>=0?e[s+1]:void 0}async function r(e,a,s=3e4){return await e.send({type:"evaluate",code:a},{timeoutMs:s})}async function ae(e,a){if(e.length===0||e.includes("--help")||e.includes("-h"))return console.log(`
|
|
5
5
|
rnx film \u2014 record a flow flat, replay it on the 3d stage, save a clip
|
|
6
6
|
|
|
7
7
|
usage:
|
|
@@ -35,7 +35,7 @@ examples:
|
|
|
35
35
|
rnx film flows/swap.yaml --script hero-arc --background gradient-tide --out ~/Desktop/swap-3d.mp4
|
|
36
36
|
rnx film flows/login.yaml --colorway deep-blue --environment on --env-shape pane --room on
|
|
37
37
|
`),0;let s=e.find(d=>!d.startsWith("--")&&/\.ya?ml$/.test(d));if(!s||!V(I(s)))return console.error(` film: flow file not found: ${s??"(none given)"}`),1;let P=Number.parseInt(c(e,"--fps")??"30",10),h=c(e,"--script")??"hero-arc",z=e.includes("--keep-three"),v=s.replace(/^.*\//,"").replace(/\.ya?ml$/,""),O=c(e,"--out"),l=I(O??K(j(),"Desktop","sootsim-films",`${v}.webm`)),S=H(l).toLowerCase()===".mp4";if(S&&T("ffmpeg",["-version"]).status!==0)return console.error(" film: --out ends in .mp4 but ffmpeg is not installed"),console.error(" install ffmpeg or use a .webm output path"),1;let C=x(e,{port:a.port,stripValueFlags:[...X,...Q],stripBooleanFlags:J}),t=A({...C,commandTimeoutMs:6e4});try{let d=await r(t,`(() => { const s = window.SootSim?.bridges?.settings?.get?.() || {}
|
|
38
|
-
return { threeMode: s.threeMode === true, editor: s.threeRecordingEditor === true } })()`);if(console.log(` film: recording flow ${v} on the flat canvas`),!await r(t,"(async () => !!(await window.SootSim?.bridges?.startRecording?.('video', undefined, { skipEntitlement: true })))()"))return console.error(" film: engine recording store did not start (is @sootsim/plugin-recording installed?)"),1;let D=Date.now();await n(500);let{runFlowPlayback:G}=await import("./flow-
|
|
38
|
+
return { threeMode: s.threeMode === true, editor: s.threeRecordingEditor === true } })()`);if(console.log(` film: recording flow ${v} on the flat canvas`),!await r(t,"(async () => !!(await window.SootSim?.bridges?.startRecording?.('video', undefined, { skipEntitlement: true })))()"))return console.error(" film: engine recording store did not start (is @sootsim/plugin-recording installed?)"),1;let D=Date.now();await n(500);let{runFlowPlayback:G}=await import("./flow-4GWW5DYT.js"),m=[s],y=c(e,"--sim");y&&m.push("--sim",y);let k=c(e,"--slow");k&&m.push("--slow",k);let f=await G(m);await n(400);let u=Math.min(Date.now()-D,Y);if(await r(t,"window.SootSim?.bridges?.stopRecording?.()"),f!==0)return console.error(` film: flow failed (exit ${f}) \u2014 not filming a broken take`),f;let F=!1;for(let o=0;o<50;o++){await n(400);let i=await r(t,`(() => { const s = window.SootSim?.bridges?.getRecordingState?.()
|
|
39
39
|
return { state: s?.state, hasBlob: !!s?.lastVideoBlob } })()`);if(i?.state==="idle"&&i.hasBlob){F=!0;break}}if(!F)return console.error(" film: flow recording never produced a video blob"),1;console.log(` film: flow captured (${(u/1e3).toFixed(1)}s)`),await r(t,"window.SootSim?.bridges?.settings?.set?.('threeMode', true)"),await R(t),await n(1400),await r(t,"window.SootSim?.bridges?.settings?.set?.('threeRecordingEditor', true)");let _=!1;for(let o=0;o<60;o++)if(await n(250),await r(t,`(() => { const rs = window.SootSim?.replayStore
|
|
40
40
|
return rs?.value?.preview?.surface === 'video' && !!rs?.value?.preview?.flowVideoUrl })()`)){_=!0;break}if(!_)return console.error(" film: recording editor did not seed the replay store"),1;let p=L(e);delete p.script,p.resetPose=!0,await b(t,"SootSim.bridges.threeMode.configure",p),await n(2400),console.log(` film: filming the 3d stage (script: ${h})`);let M=await r(t,`(() => {
|
|
41
41
|
const c = window.SootSim?.bridges?.threeMode?.getCanvas?.()
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! rnx v0.1.369 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
+
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
|
+
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
|
+
import{c,d,e,f,g,h,i}from"./chunk-WUR4FXWT.js";import"./chunk-SSBZA5VZ.js";import"./chunk-3NLB5LCN.js";import{a,b}from"./chunk-TIB3CTRX.js";import"./chunk-2PVVIPQS.js";import"./chunk-ZNNE5MAV.js";import"./chunk-YLNSLMQM.js";import"./chunk-ROISJKH3.js";import"./chunk-JH5KE2OI.js";import"./chunk-ZW6JXEVX.js";import"./chunk-TTUZ5MCK.js";import"./chunk-YPBDPVLR.js";import"./chunk-COXCR6UU.js";import"./chunk-OROUEG22.js";import"./chunk-QE5MC4V3.js";import"./chunk-X3PEDNLV.js";import"./chunk-RYGQ6LZN.js";import"./chunk-AKJYEX54.js";import"./chunk-UDXQCEJU.js";import"./chunk-EKAEEWC2.js";import"./chunk-2APXX4RN.js";import"./chunk-A56GQVNF.js";import"./chunk-D6MGELKZ.js";import"./chunk-3454VMHD.js";import"./chunk-JLOOLA47.js";import"./chunk-USHV3QFZ.js";import"./chunk-UQJY6O72.js";import"./chunk-N5KDDGV6.js";import"./chunk-6F3WOWFC.js";import"./chunk-F4OTMARL.js";import"./chunk-H2GB2PLY.js";import"./chunk-ZEF57HQO.js";import"./chunk-VGJLCFSC.js";import"./chunk-B5NW4TT3.js";import"./chunk-5QFJFASW.js";import"./chunk-FHRG772G.js";import"./chunk-IYPMULI7.js";import"./chunk-A72MIIJI.js";import"./chunk-FBMNYSSW.js";import"./chunk-MXWME7ET.js";import"./chunk-DKSZZABN.js";export{f as discoverSootsimUrl,c as getLastFlowPreviewUploadResult,d as getLastFlowTraceSteps,h as hoistLeadingSimFlag,a as parseFlowFile,e as resolveAppFrontmatterTarget,g as runFlowPlayback,i as runMaestroAuthoring,b as validateFlowFile};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! rnx v0.1.369 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
+
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
|
+
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
|
+
import{a,b,c}from"./chunk-FGGESBWD.js";import"./chunk-CCI3DZKE.js";import"./chunk-N5KDDGV6.js";import"./chunk-45X3D6CI.js";import"./chunk-6F3WOWFC.js";import"./chunk-F4OTMARL.js";import"./chunk-H2GB2PLY.js";import"./chunk-ZEF57HQO.js";import"./chunk-5QFJFASW.js";import"./chunk-FBMNYSSW.js";import"./chunk-TAC4CEIX.js";import"./chunk-MXWME7ET.js";import"./chunk-DKSZZABN.js";export{c as printCommandHelp,b as printGroupHelp,a as printHelp};
|
package/dist-cli/chunks/{hidden-runtime-alias-6M4UERRQ.js → hidden-runtime-alias-LJV2S4M2.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.369 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
3
|
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
|
-
import"./chunk-
|
|
4
|
+
import"./chunk-B5NW4TT3.js";import{b as n}from"./chunk-5QFJFASW.js";import"./chunk-DKSZZABN.js";var e=["do","get"];function i(t){if(t.command)return t;let o=t.commandArgs.find(r=>!r.startsWith("-"));if(!o)return t;for(let r of e)if(n(r,o))return{...t,command:r};return t}export{i as resolveHiddenRuntimeAlias};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.369 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
3
|
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
|
-
import{A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"./chunk-
|
|
4
|
+
import{A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"./chunk-FBMNYSSW.js";import"./chunk-DKSZZABN.js";export{b as ACTIVE_RUNTIME_FILE,e as CONFIG_FILE,f as DAEMON_HEARTBEAT_STALE_MS,c as DAEMON_LOCKFILE,d as DEV_BRIDGES_DIR,a as SOOTSIM_HOME_ENV,O as activeRuntimeDir,m as activeRuntimeFile,v as cacheDir,r as cameraFixturesDir,W as claimDaemonLockfile,z as configFilePath,K as consumeRuntimeUpgradeNotice,t as daemonAppBundlePath,s as daemonAppDir,u as daemonAppLauncherPath,w as daemonLockfilePath,y as devBridgeLockfilePath,x as devBridgesDir,n as electronDir,o as electronUserDataDir,p as electronVersionDir,L as ensureSootsimHome,R as isDaemonLockfileFresh,S as isDevBridgeLockfileFresh,i as isDevWorkstation,C as isOnboardingComplete,h as isSootsimDevCheckout,q as profilesDir,M as readActiveRuntime,P as readDaemonLockfile,Q as readDevBridgeLockfiles,T as readLiveRuntimeVersions,H as readOrCreateAnonymousId,F as readPrivacyPreferences,A as readSharedConfig,D as readSimulatorDriverPreference,X as removeDaemonLockfile,Y as removeDevBridgeLockfile,l as runtimeDir,I as runtimeUpgradeNoticePath,k as runtimesDir,j as shouldSkipPersistentDaemon,g as sootsimHomeDir,N as writeActiveRuntime,U as writeDaemonLockfile,V as writeDevBridgeLockfile,E as writeOnboardingPreferences,G as writePrivacyPreferences,J as writeRuntimeUpgradeNotice,B as writeSharedConfig};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! rnx v0.1.369 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
+
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
|
+
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
|
+
import{g as a,h as b}from"./chunk-TIB3CTRX.js";import"./chunk-2PVVIPQS.js";import"./chunk-ZNNE5MAV.js";import"./chunk-YLNSLMQM.js";import"./chunk-TTUZ5MCK.js";import"./chunk-YPBDPVLR.js";import"./chunk-COXCR6UU.js";import"./chunk-OROUEG22.js";import"./chunk-QE5MC4V3.js";import"./chunk-X3PEDNLV.js";import"./chunk-RYGQ6LZN.js";import"./chunk-AKJYEX54.js";import"./chunk-UDXQCEJU.js";import"./chunk-EKAEEWC2.js";import"./chunk-2APXX4RN.js";import"./chunk-A56GQVNF.js";import"./chunk-D6MGELKZ.js";import"./chunk-3454VMHD.js";import"./chunk-JLOOLA47.js";import"./chunk-USHV3QFZ.js";import"./chunk-UQJY6O72.js";import"./chunk-N5KDDGV6.js";import"./chunk-6F3WOWFC.js";import"./chunk-F4OTMARL.js";import"./chunk-H2GB2PLY.js";import"./chunk-ZEF57HQO.js";import"./chunk-VGJLCFSC.js";import"./chunk-B5NW4TT3.js";import"./chunk-5QFJFASW.js";import"./chunk-FHRG772G.js";import"./chunk-IYPMULI7.js";import"./chunk-A72MIIJI.js";import"./chunk-FBMNYSSW.js";import"./chunk-MXWME7ET.js";import"./chunk-DKSZZABN.js";export{a as printShellPerfReport,b as runInspect};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! rnx v0.1.369 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
+
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
|
+
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
|
+
import{a}from"./chunk-5RWUFIZW.js";import"./chunk-EKAEEWC2.js";import"./chunk-WGE2P25F.js";import"./chunk-DKSZZABN.js";export{a as runInstallDesktop};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.369 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
3
|
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
|
-
import{b as p,d as k}from"./chunk-
|
|
4
|
+
import{b as p,d as k}from"./chunk-ZW6JXEVX.js";import"./chunk-FBMNYSSW.js";import{a as b}from"./chunk-MXWME7ET.js";import"./chunk-DKSZZABN.js";import{exec as x}from"node:child_process";import{randomBytes as T}from"node:crypto";import R from"node:http";var w=process.env.SOOTSIM_AUTH_ORIGIN||"https://contrast.dev";function L(t){return t||(process.env.SOOTSIM_AUTH_ORIGIN?process.env.SOOTSIM_AUTH_ORIGIN:process.env.SOOTSIM_UPLOAD_ORIGIN?process.env.SOOTSIM_UPLOAD_ORIGIN:w)}function _(){console.log(`
|
|
5
5
|
rnx login \u2014 sign in so uploads can attach to your account
|
|
6
6
|
|
|
7
7
|
usage:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.369 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
3
|
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
|
-
import{a as e,c as t}from"./chunk-
|
|
4
|
+
import{a as e,c as t}from"./chunk-ZW6JXEVX.js";import"./chunk-FBMNYSSW.js";import"./chunk-DKSZZABN.js";async function r(){let o=e();if(!o?.token){console.log(" not signed in");return}try{await fetch(`${o.origin.replace(/\/$/,"")}/api/auth/sign-out`,{method:"POST",headers:{authorization:`Bearer ${o.token}`}})}catch{}t(),console.log(" signed out")}export{r as runLogout};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.369 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
3
|
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
|
-
import{c as E,d as O,g as L,h as R,i as U}from"./chunk-
|
|
4
|
+
import{c as E,d as O,g as L,h as R,i as U}from"./chunk-WUR4FXWT.js";import"./chunk-SSBZA5VZ.js";import"./chunk-3NLB5LCN.js";import{a as A}from"./chunk-TIB3CTRX.js";import"./chunk-2PVVIPQS.js";import"./chunk-ZNNE5MAV.js";import{a as S}from"./chunk-YLNSLMQM.js";import{b as $,c as F,d as M,e as T}from"./chunk-ROISJKH3.js";import{a as k}from"./chunk-JH5KE2OI.js";import"./chunk-ZW6JXEVX.js";import"./chunk-TTUZ5MCK.js";import"./chunk-YPBDPVLR.js";import"./chunk-COXCR6UU.js";import"./chunk-OROUEG22.js";import"./chunk-QE5MC4V3.js";import"./chunk-X3PEDNLV.js";import"./chunk-RYGQ6LZN.js";import"./chunk-AKJYEX54.js";import"./chunk-UDXQCEJU.js";import"./chunk-EKAEEWC2.js";import"./chunk-2APXX4RN.js";import"./chunk-A56GQVNF.js";import"./chunk-D6MGELKZ.js";import"./chunk-3454VMHD.js";import"./chunk-JLOOLA47.js";import"./chunk-USHV3QFZ.js";import"./chunk-UQJY6O72.js";import"./chunk-N5KDDGV6.js";import"./chunk-6F3WOWFC.js";import"./chunk-F4OTMARL.js";import"./chunk-H2GB2PLY.js";import"./chunk-ZEF57HQO.js";import"./chunk-VGJLCFSC.js";import"./chunk-B5NW4TT3.js";import"./chunk-5QFJFASW.js";import"./chunk-FHRG772G.js";import"./chunk-IYPMULI7.js";import"./chunk-A72MIIJI.js";import"./chunk-FBMNYSSW.js";import"./chunk-MXWME7ET.js";import"./chunk-DKSZZABN.js";import*as n from"fs";import*as a from"path";var I=[".maestro","maestro"];function W(){console.log(`
|
|
5
5
|
rnx maestro \u2014 author and run Maestro YAML flows against rnx
|
|
6
6
|
|
|
7
7
|
usage:
|
|
@@ -95,7 +95,7 @@ appId: com.example.app
|
|
|
95
95
|
- inputText: "secret123"
|
|
96
96
|
- tapOn: "Sign in"
|
|
97
97
|
- assertVisible: "Welcome"
|
|
98
|
-
`,"utf8"),console.log(` + wrote ${e}`),console.log(" next: rnx maestro test .maestro/login.yaml"),0)}async function Q(r,s={}){if(r.includes("--help")||r.includes("-h"))return W(),0;if(r.includes("--list-compat"))return D(),0;let e;try{e=N(r)}catch(o){return console.error(` error: ${o.message}`),1}e=R(e);let t=process.cwd(),i=e[0];if(i==="init")return _(t);if(i==="generate"){let{runMaestroGenerate:o}=await import("./maestro-generate-
|
|
98
|
+
`,"utf8"),console.log(` + wrote ${e}`),console.log(" next: rnx maestro test .maestro/login.yaml"),0)}async function Q(r,s={}){if(r.includes("--help")||r.includes("-h"))return W(),0;if(r.includes("--list-compat"))return D(),0;let e;try{e=N(r)}catch(o){return console.error(` error: ${o.message}`),1}e=R(e);let t=process.cwd(),i=e[0];if(i==="init")return _(t);if(i==="generate"){let{runMaestroGenerate:o}=await import("./maestro-generate-KCK6RK2C.js");return o(e.slice(1))}if(i==="start"||i==="keep"||i==="good"||i==="end"||i==="validate")return U(e);e=J(e);let c=null,f;if(i==="test"){let o=e.slice(1).find(u=>!j(u));o?(c=a.resolve(t,o),f=e.slice(1).filter(u=>u!==o)):(c=P(t),f=e.slice(1))}else i&&!j(i)?(c=a.resolve(t,i),f=e.slice(1)):(c=P(t),f=e);if(!c)return console.error(`
|
|
99
99
|
error: no maestro flows found.
|
|
100
100
|
expected one of: ${I.map(o=>`./${o}/`).join(", ")}
|
|
101
101
|
or pass a flow explicitly: rnx maestro test path/to/flow.yaml
|