rnxsim 0.1.333 → 0.1.334
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/dist-cli/bin.js +5 -5
- package/dist-cli/chunks/{agent-4TY2APND.js → agent-XB27DMQ6.js} +2 -2
- package/dist-cli/chunks/{agent-wrapper-7I4UG6NB.js → agent-wrapper-B3HNORTW.js} +2 -2
- package/dist-cli/chunks/{app-fonts-VWVPRBEK.js → app-fonts-R3Z7ZW4A.js} +2 -2
- package/dist-cli/chunks/{assert-VKDIRZE2.js → assert-6CUEOSSO.js} +2 -2
- package/dist-cli/chunks/{auth-UAEHSDRV.js → auth-LAGALWLO.js} +2 -2
- package/dist-cli/chunks/{beta-ZKLXRT7W.js → beta-H5SAI4RD.js} +2 -2
- package/dist-cli/chunks/{camera-S75VVCBC.js → camera-QN6WUAYK.js} +2 -2
- package/dist-cli/chunks/{chunk-CAWZ545B.js → chunk-25BPBDWK.js} +1 -1
- package/dist-cli/chunks/{chunk-A7INKWBI.js → chunk-2A4XQAO5.js} +2 -2
- package/dist-cli/chunks/{chunk-GPKK6UQL.js → chunk-2W7J4B3D.js} +3 -3
- package/dist-cli/chunks/{chunk-4MXBZD2N.js → chunk-32AHRTE2.js} +2 -2
- package/dist-cli/chunks/{chunk-2SAWRX3C.js → chunk-3OGSYYLZ.js} +1 -1
- package/dist-cli/chunks/{chunk-HTKS4EIQ.js → chunk-62GN45A4.js} +2 -2
- package/dist-cli/chunks/{chunk-4WGS7ULT.js → chunk-752UYKC6.js} +1 -1
- package/dist-cli/chunks/{chunk-JQBAVE6X.js → chunk-7D2P57SZ.js} +1 -1
- package/dist-cli/chunks/{chunk-AQYGM454.js → chunk-7HXPSUI6.js} +1 -1
- package/dist-cli/chunks/{chunk-X6N6VPFL.js → chunk-AH7KCTAP.js} +2 -2
- package/dist-cli/chunks/{chunk-UJQO4GMX.js → chunk-ANO5CHPQ.js} +2 -2
- package/dist-cli/chunks/{chunk-53DWFBL6.js → chunk-BH3NYOFU.js} +3 -3
- package/dist-cli/chunks/{chunk-OUXCE743.js → chunk-CFRBWE4I.js} +1 -1
- package/dist-cli/chunks/{chunk-S6QDUPF2.js → chunk-CLJ5KDZQ.js} +1 -1
- package/dist-cli/chunks/{chunk-F7J4G76K.js → chunk-CYXIDSTO.js} +2 -2
- package/dist-cli/chunks/{chunk-WFPHEUH2.js → chunk-DECDURI3.js} +2 -2
- package/dist-cli/chunks/{chunk-FCLPIJ6G.js → chunk-ELFSL6AX.js} +2 -2
- package/dist-cli/chunks/{chunk-3YUHY3RY.js → chunk-FSS73GUP.js} +1 -1
- package/dist-cli/chunks/{chunk-2W3DLSTL.js → chunk-G2UNJ4TN.js} +1 -1
- package/dist-cli/chunks/{chunk-BWWFYOKL.js → chunk-GO7WTRY4.js} +1 -1
- package/dist-cli/chunks/{chunk-2WFJDUEP.js → chunk-HMZS7LD4.js} +1 -1
- package/dist-cli/chunks/{chunk-WBOJVCV7.js → chunk-INV6BZQY.js} +2 -2
- package/dist-cli/chunks/{chunk-X43U7QEK.js → chunk-IZITFEO5.js} +2 -2
- package/dist-cli/chunks/{chunk-LNPB4QNK.js → chunk-JZFZ7NGF.js} +3 -3
- package/dist-cli/chunks/{chunk-YR6HDAQL.js → chunk-K2NYE3XT.js} +1 -1
- package/dist-cli/chunks/{chunk-7D2RLML6.js → chunk-KKLCABLJ.js} +2 -2
- package/dist-cli/chunks/{chunk-A2OABK5V.js → chunk-KSJTW5ZW.js} +2 -2
- package/dist-cli/chunks/{chunk-I44IV7DO.js → chunk-KV653SVK.js} +2 -2
- package/dist-cli/chunks/{chunk-B6PR6YLO.js → chunk-L4JC72JR.js} +2 -2
- package/dist-cli/chunks/{chunk-MQPGJ54E.js → chunk-LGO27KAL.js} +3 -3
- package/dist-cli/chunks/{chunk-AHITCGHF.js → chunk-MCX66YUZ.js} +2 -2
- package/dist-cli/chunks/{chunk-PA42GAHK.js → chunk-OJJUPWLY.js} +2 -2
- package/dist-cli/chunks/{chunk-3KRC63S4.js → chunk-PFOKFWHU.js} +2 -2
- package/dist-cli/chunks/{chunk-6YYK6WL4.js → chunk-PPTUVZET.js} +2 -2
- package/dist-cli/chunks/{chunk-DXAZX6Y4.js → chunk-PSVQUW3M.js} +2 -2
- package/dist-cli/chunks/{chunk-M47UITXL.js → chunk-Q2KHHFU3.js} +1 -1
- package/dist-cli/chunks/{chunk-76E5SSJE.js → chunk-R3JUSXCG.js} +2 -2
- package/dist-cli/chunks/{chunk-ZD4NF7Q2.js → chunk-R5KHC7VZ.js} +2 -2
- package/dist-cli/chunks/{chunk-KLLX5IWP.js → chunk-R7XQX7CV.js} +1 -1
- package/dist-cli/chunks/{chunk-7JD7XZ6J.js → chunk-S5Q2TACY.js} +2 -2
- package/dist-cli/chunks/{chunk-MBRV35BV.js → chunk-TKTAVBKB.js} +1 -1
- package/dist-cli/chunks/{chunk-2UDDQL5S.js → chunk-TLAYQHXB.js} +1 -1
- package/dist-cli/chunks/{chunk-WBPBMC32.js → chunk-U5JW25P3.js} +1 -1
- package/dist-cli/chunks/{chunk-MWOCKUXA.js → chunk-UBZ7VUVM.js} +1 -1
- package/dist-cli/chunks/{chunk-CS2B3W6C.js → chunk-VCBH7RDB.js} +2 -2
- package/dist-cli/chunks/{chunk-SCFRY5MT.js → chunk-WJJYIBVW.js} +2 -2
- package/dist-cli/chunks/{chunk-CJJI74AT.js → chunk-WXUWD5JK.js} +2 -2
- package/dist-cli/chunks/{chunk-AR33KVWV.js → chunk-X6LGVNYE.js} +1 -1
- package/dist-cli/chunks/{chunk-EGXHBCDU.js → chunk-XCI6HRMH.js} +1 -1
- package/dist-cli/chunks/{chunk-LXZJ5VX5.js → chunk-YX7RESF2.js} +2 -2
- package/dist-cli/chunks/{chunk-TCELYE7A.js → chunk-ZS3IA2TO.js} +2 -2
- package/dist-cli/chunks/{chunk-QISLN6DC.js → chunk-ZVBWTXV6.js} +2 -2
- package/dist-cli/chunks/{chunk-BPEXXNXX.js → chunk-ZYWOBHVL.js} +2 -2
- package/dist-cli/chunks/{cleanup-5RPNH4RP.js → cleanup-L5RZFZHK.js} +2 -2
- package/dist-cli/chunks/cli-version-YLZLS2WD.js +4 -0
- package/dist-cli/chunks/{compat-ABWB7QZS.js → compat-6UV3RZBK.js} +2 -2
- package/dist-cli/chunks/{config-LRTKYTV2.js → config-PCDG3T44.js} +2 -2
- package/dist-cli/chunks/{control-HZ6OURXV.js → control-3F5UWGSP.js} +2 -2
- package/dist-cli/chunks/daemon-7KWRXNTD.js +4 -0
- package/dist-cli/chunks/{debug-NSYENL3N.js → debug-U3AW3DE7.js} +3 -3
- package/dist-cli/chunks/{desktop-D2PVNSMA.js → desktop-NXZL7FFL.js} +3 -3
- package/dist-cli/chunks/{detox-LS6YPPAG.js → detox-ZVCZR6RI.js} +2 -2
- package/dist-cli/chunks/{device-UYPWQLR7.js → device-Z7QIRPK3.js} +2 -2
- package/dist-cli/chunks/{diagnose-HW6RUMV2.js → diagnose-XTLKRGK4.js} +2 -2
- package/dist-cli/chunks/{disk-cleanup-PAVLYNWF.js → disk-cleanup-EGA7FHY2.js} +2 -2
- package/dist-cli/chunks/drivers-NCRG3DPA.js +4 -0
- package/dist-cli/chunks/{film-GI6ZTSBV.js → film-VCD3LX7E.js} +3 -3
- package/dist-cli/chunks/flow-XTAZ54NO.js +4 -0
- package/dist-cli/chunks/help-HXJS23VT.js +4 -0
- package/dist-cli/chunks/{hidden-runtime-alias-4LFEPXZ4.js → hidden-runtime-alias-WIG4O25J.js} +2 -2
- package/dist-cli/chunks/{home-paths-TPMFLDM3.js → home-paths-35K3WNLQ.js} +2 -2
- package/dist-cli/chunks/inspect-FGQNWT3J.js +4 -0
- package/dist-cli/chunks/install-desktop-PRZH7KML.js +4 -0
- package/dist-cli/chunks/{login-XYJ6TC54.js → login-JMQOKJS4.js} +4 -4
- package/dist-cli/chunks/{logout-VPUBPB3L.js → logout-SBZ42HSW.js} +2 -2
- package/dist-cli/chunks/{maestro-FE57XW4M.js → maestro-3ZOPLMLN.js} +3 -3
- package/dist-cli/chunks/{maestro-generate-XCI4AGEB.js → maestro-generate-UZ75KHE6.js} +3 -3
- package/dist-cli/chunks/{mode-ITGYARR2.js → mode-PUJBFJV2.js} +2 -2
- package/dist-cli/chunks/{optional-demo-registry-BLR5W6BI.js → optional-demo-registry-B5RN64RF.js} +2 -2
- package/dist-cli/chunks/{perf-ZRVIZDNV.js → perf-HDAR6QCJ.js} +2 -2
- package/dist-cli/chunks/{permissions-NYYP52R3.js → permissions-FG2BLOZH.js} +2 -2
- package/dist-cli/chunks/{record-LIRVKHFP.js → record-2733FYSQ.js} +3 -3
- package/dist-cli/chunks/{report-issue-AGTCOIEN.js → report-issue-45ECETI7.js} +2 -2
- package/dist-cli/chunks/reset-7RTBJQT7.js +4 -0
- package/dist-cli/chunks/runtime-FWAZCY6A.js +4 -0
- package/dist-cli/chunks/{screenshot-command-IB2WP3VC.js → screenshot-command-ZTTTH5DS.js} +3 -3
- package/dist-cli/chunks/{screenshot-layers-ND2HKCLN.js → screenshot-layers-NBYY3W7W.js} +2 -2
- package/dist-cli/chunks/{screenshots-capture-YIHKMGYF.js → screenshots-capture-EPPIKH5Q.js} +2 -2
- package/dist-cli/chunks/{serve-TANF54HN.js → serve-4I2GY23Q.js} +2 -2
- package/dist-cli/chunks/{setup-SNVEDJIW.js → setup-FAQDSB56.js} +2 -2
- package/dist-cli/chunks/{skills-FFYAXA63.js → skills-FBQ52ZMO.js} +2 -2
- package/dist-cli/chunks/{state-2VJWVT4N.js → state-LQEZWXEX.js} +2 -2
- package/dist-cli/chunks/{storage-XFCAKWA3.js → storage-6CRLZNEX.js} +2 -2
- package/dist-cli/chunks/store-PNV6NRDU.js +4 -0
- package/dist-cli/chunks/telemetry-ZS6SFANV.js +4 -0
- package/dist-cli/chunks/{timeline-LILDNJFG.js → timeline-3AIKN2SF.js} +2 -2
- package/dist-cli/chunks/{upgrade-CKECNCGT.js → upgrade-HYPCBXGF.js} +2 -2
- package/dist-cli/chunks/upload-EMRR47KT.js +4 -0
- package/dist-cli/chunks/{version-BICGGSAT.js → version-P4NCNAW7.js} +2 -2
- package/dist-cli/chunks/{web-6CSTQ5XL.js → web-Q6TI7YFH.js} +2 -2
- package/dist-cli/chunks/{what-happened-IRCNWRKH.js → what-happened-4PNRFBVS.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.cjs +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/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.cjs +1 -1
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +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 +1 -1
- package/dist-lib/vite.cjs +1 -1
- package/package.json +1 -1
- package/dist-cli/chunks/cli-version-OCCHVUAW.js +0 -4
- package/dist-cli/chunks/daemon-VISCUGN7.js +0 -4
- package/dist-cli/chunks/drivers-HPJOL2KF.js +0 -4
- package/dist-cli/chunks/flow-7BSOIPKL.js +0 -4
- package/dist-cli/chunks/help-X2HGA2KN.js +0 -4
- package/dist-cli/chunks/inspect-25QBVPAW.js +0 -4
- package/dist-cli/chunks/install-desktop-QJXJR5AL.js +0 -4
- package/dist-cli/chunks/reset-PN4CBAHW.js +0 -4
- package/dist-cli/chunks/runtime-IRTYWMVV.js +0 -4
- package/dist-cli/chunks/store-IXRVVCTP.js +0 -4
- package/dist-cli/chunks/telemetry-H4CSF7YT.js +0 -4
- package/dist-cli/chunks/upload-OPM4BK5X.js +0 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.334 | (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 ye,c as J,d as ve,e as V,f as be,h as we,i as P,j as Ae,k as Te,l as Ce,m as ke,q as Ie,t as C,u as Ee,v as Pe,w as Re,x as xe}from"./chunk-
|
|
4
|
+
import{b as ye,c as J,d as ve,e as V,f as be,h as we,i as P,j as Ae,k as Te,l as Ce,m as ke,q as Ie,t as C,u as Ee,v as Pe,w as Re,x as xe}from"./chunk-CYXIDSTO.js";import"./chunk-3OGSYYLZ.js";import{a as pe,b as me,d as he,e as L,f as fe}from"./chunk-MCX66YUZ.js";import{e as Se}from"./chunk-WXUWD5JK.js";import"./chunk-PFOKFWHU.js";import{d as ge}from"./chunk-DECDURI3.js";import{g as _}from"./chunk-KV653SVK.js";import"./chunk-TLAYQHXB.js";import"./chunk-XCI6HRMH.js";import{a as F,b as G,c as ae,d as ce}from"./chunk-ZYWOBHVL.js";import"./chunk-KSJTW5ZW.js";import{f as O}from"./chunk-ELFSL6AX.js";import{c as le,d as ue}from"./chunk-R5KHC7VZ.js";import"./chunk-752UYKC6.js";import{A as W,B as Y,G as Z,I as x,J as $,K as Q,L as ee,M as te,O as ie,R as re,S as ne,T as se,U as j,V as oe,g as z,h as q,r as X}from"./chunk-R7XQX7CV.js";import{a as de}from"./chunk-PSVQUW3M.js";import"./chunk-Q2KHHFU3.js";import"./chunk-U5JW25P3.js";import{spawn as wt}from"child_process";import T from"fs";import{createServer as At}from"http";import b from"path";import{WebSocket as S,WebSocketServer as Tt}from"ws";import _e from"node:fs";import M from"node:path";import{spawn as qe}from"node:child_process";function Xe(a){return typeof a.text=="string"?a.text.trim():""}function Ye(a){let e=a?.trim();return e||"tm"}async function Oe(a){let e=a.sessionId.trim();if(!G(e))throw new Error(`invalid Team Machine session id: ${e||"<empty>"}`);let t=Xe(a.prompt);if(!t)throw new Error("prompt text is empty");let i=Ye(a.command),s=a.timeoutMs??15e3;await new Promise((n,c)=>{let r=qe(i,["send",e,t],{stdio:["ignore","ignore","pipe"],env:process.env}),o="",l=setTimeout(()=>{try{r.kill("SIGTERM")}catch{}c(new Error(`tm send timed out after ${Math.round(s/1e3)}s`))},s);r.stderr?.setEncoding("utf8"),r.stderr?.on("data",d=>{o.length<4e3&&(o+=String(d))}),r.on("error",d=>{clearTimeout(l),c(d)}),r.on("exit",(d,u)=>{if(clearTimeout(l),d===0){n();return}let p=o.trim();c(new Error(p||`tm send exited with ${u?`signal ${u}`:`code ${d??"unknown"}`}`))})})}var B=1,Ze=25;function Qe(){return[Number(process.env.VITE_PORT_WEB||process.env.PORT||3e3),Number(process.env.VITE_PORT_ZERO||7849),Number(process.env.VITE_PORT_R2||9500)].filter(a=>Number.isFinite(a)&&a>0)}var D=class{subscriptions=new Map;sessionsBySocket=new Map;allSockets=new Set;pendingPromptEchoes=new Map;pendingTurns=new Map;pendingSessionStates=new Map;pendingSessionPatches=new Map;sessionStatusPersistTimer=null;opts;constructor(e={}){this.opts=e}registerSocket(e){this.allSockets.add(e)}unregisterSocket(e){let t=this.sessionsBySocket.get(e);if(t){for(let i of t)this.decrementSubscription(i);this.sessionsBySocket.delete(e)}this.allSockets.delete(e)}async handleMessage(e,t){let i=t?.type;if(typeof i!="string"||!i.startsWith("agent:"))return!1;let s=t.id;try{let n=await this.dispatch(e,i,t);this.respond(e,s,n)}catch(n){n instanceof C?this.respondError(e,s,n.message,n.code):this.respondError(e,s,n instanceof Error?n.message:String(n))}return!0}async seedOnBoot(){try{await ke()}catch(e){process.stderr.write(`[sootsim-agent] seedFromDemoAppRegistry failed: ${e instanceof Error?e.message:String(e)}
|
|
5
5
|
`)}}close(){this.sessionStatusPersistTimer&&(clearTimeout(this.sessionStatusPersistTimer),this.sessionStatusPersistTimer=null),this.flushSessionStatuses();for(let e of this.subscriptions.values())try{e.unsubscribe()}catch{}this.subscriptions.clear(),this.sessionsBySocket.clear(),this.allSockets.clear()}async dispatch(e,t,i){switch(t){case"agent:list-projects":return V();case"agent:upsert-project":return J(i.input??{});case"agent:delete-project":return we(String(i.projectId)),{ok:!0};case"agent:auto-attach-for-url":return this.autoAttachForUrl(i.input??{});case"agent:list-sessions":return Ae(i.projectId?String(i.projectId):void 0);case"agent:start-session":return this.doStartSession(i.input??{});case"agent:send-claimed-prompt":return this.sendClaimedPrompt(i);case"agent:send-prompt":{let n=String(i.sessionId),c=P(n);if(!c)throw new C("NO_SESSION",`no session: ${n}`);let r=this.normalizePromptEnvelope(i);return await Pe(n,r),this.notePromptAccepted(n,r,c.status==="working")}case"agent:end-session":this.dropSessionFanout(String(i.sessionId)),await Re(String(i.sessionId));let s=P(String(i.sessionId));return s&&this.broadcastSessionStatus(s),{ok:!0};case"agent:get-transcript":return this.getTranscript(String(i.sessionId));case"agent:get-paths":return this.getPaths();case"agent:subscribe-events":return this.subscribeSocket(e,String(i.sessionId));case"agent:unsubscribe-events":return this.unsubscribeSocket(e,String(i.sessionId));default:throw new C("UNKNOWN_AGENT_MSG",`unknown agent message: ${t}`)}}async sendClaimedPrompt(e){let t=typeof e.simId=="string"?e.simId.trim():"";if(!t)throw new C("NO_SIM","agent:send-claimed-prompt requires simId");let i=this.opts.resolveCliLease?.(t)??null;if(!i||i.kind!=="cli"||i.expiresAt<=Date.now())throw new C("NO_CLAIM",`sim ${t} has no active CLI claim`);let s=F(i.cliIdentityKey);if(!s)throw new C("UNSUPPORTED_CLAIM",`sim ${t} is claimed by a CLI identity that is not promptable`);return await Oe({sessionId:s,prompt:this.normalizePromptEnvelope(e)}),{ok:!0,routed:"team-machine",sessionId:s}}async doStartSession(e){if(!ve(e.projectId))throw new C("NO_PROJECT",`no project: ${e.projectId}`);let i=await Ee(e);return this.broadcastSessionStatus(i.session),i}async autoAttachForUrl(e){let t=e.bundleUrl??"",i=(()=>{try{return new URL(t).port||null}catch{return null}})();if(!i)return{project:null};let s=this.opts.getExcludePorts?.()??Qe(),c=(await _({excludePorts:s})).find(d=>String(d.port)===i);if(!c||!c.cwd)return{project:null};let r=V().find(d=>d.cwd===c.cwd)??null,o=Array.from(new Set([...r?.knownBundleUrls??[],c.bundleUrl,t]));return{project:J({cwd:c.cwd,name:c.projectName??M.basename(c.cwd),preferredProvider:e.provider??r?.preferredProvider,sourceRoots:r?.sourceRoots??[c.cwd],knownBundleUrls:o,framework:r?.framework??et(c.framework),bundleId:c.bundleId??r?.bundleId})}}getTranscript(e){let t=Ie(e);return _e.existsSync(t)?_e.readFileSync(t,"utf8"):{error:"transcript not found",code:"NO_TRANSCRIPT"}}getPaths(){let e=ye();return{userDataDir:e,storeFile:M.join(e,"attached-projects.json"),sessionsDir:M.join(e,"sessions"),transcriptsDir:M.join(e,"transcripts")}}subscribeSocket(e,t){let i=this.sessionsBySocket.get(e);if(i||(i=new Set,this.sessionsBySocket.set(e,i)),i.has(t))return{ok:!0,refCount:this.subscriptions.get(t)?.refCount??1};i.add(t);let s=this.subscriptions.get(t);if(s)return s.refCount++,{ok:!0,refCount:s.refCount};let n=xe(t,c=>{let r=this.coalescePromptEcho(t,c);if(r&&(this.applySessionEvent(t,r),this.fanOutEvent(t,r)),c.type==="turn-completed"){let o=P(t);if(o)try{be(o.projectId,{usd:c.costUsd,ts:c.ts})}catch(l){process.stderr.write(`[sootsim-agent] recordTurnTelemetry failed: ${l instanceof Error?l.message:String(l)}
|
|
6
6
|
`)}}});return this.subscriptions.set(t,{unsubscribe:n,refCount:1}),{ok:!0,refCount:1}}unsubscribeSocket(e,t){let i=this.sessionsBySocket.get(e);return!i||!i.has(t)?{ok:!0,refCount:0}:(i.delete(t),this.decrementSubscription(t))}decrementSubscription(e){let t=this.subscriptions.get(e);if(!t)return{ok:!0,refCount:0};if(t.refCount--,t.refCount<=0){try{t.unsubscribe()}catch{}return this.subscriptions.delete(e),{ok:!0,refCount:0}}return{ok:!0,refCount:t.refCount}}dropSessionFanout(e){let t=this.subscriptions.get(e);if(t){try{t.unsubscribe()}catch{}this.subscriptions.delete(e)}for(let i of this.sessionsBySocket.values())i.delete(e);this.clearPromptTracking(e)}normalizePromptEnvelope(e){if(e?.prompt&&typeof e.prompt=="object"){let t=e.prompt;return{text:String(t.text??""),...typeof t.displayText=="string"?{displayText:t.displayText}:{},...typeof t.inspectSummary=="string"?{inspectSummary:t.inspectSummary}:{},...typeof t.inspectTrace=="string"?{inspectTrace:t.inspectTrace}:{}}}return{text:String(e?.text??""),...typeof e?.displayText=="string"?{displayText:e.displayText}:{},...typeof e?.inspectSummary=="string"?{inspectSummary:e.inspectSummary}:{},...typeof e?.inspectTrace=="string"?{inspectTrace:e.inspectTrace}:{}}}notePromptAccepted(e,t,i){let s=Date.now(),n=this.pendingPromptEchoes.get(e)??[];n.push({sentAt:s}),this.pendingPromptEchoes.set(e,n);let c=Math.max(this.pendingTurns.get(e)??0,i?1:0)+1;this.pendingTurns.set(e,c);let r=t.displayText??t.text;return this.patchSession(e,{lastPrompt:r,status:"working",needsAttention:!1}),this.fanOutEvent(e,{type:"prompt-received",text:r,...t.inspectSummary?{inspectSummary:t.inspectSummary}:{},...t.inspectTrace?{inspectTrace:t.inspectTrace}:{},ts:s}),{ok:!0,queued:c>1,pendingTurns:c,queueDepth:Math.max(0,c-1)}}applySessionEvent(e,t){switch(t.type){case"prompt-received":case"turn-started":this.patchSession(e,{status:"working",needsAttention:!1});return;case"turn-completed":{let i=this.consumeSettledTurn(e);this.patchSession(e,{status:i>0?"working":"idle",needsAttention:!1,lastTurnFiles:t.filesTouched,currentlyEditing:void 0});return}case"approval-needed":this.patchSession(e,{status:"needs-attention",needsAttention:!0});return;case"error":{let i=this.consumeSettledTurn(e);this.patchSession(e,{status:i>0?"working":"needs-attention",needsAttention:i<=0,currentlyEditing:void 0});return}case"exited":this.clearPromptTracking(e),this.patchSession(e,{status:"ended",needsAttention:!1,wrapperPid:void 0,currentlyEditing:void 0});return;case"ready":case"turn-reasoning":case"turn-message":case"turn-plan":case"tool-call":case"file-edited":case"file-diff-delta":return}}patchSession(e,t){let i=this.pendingSessionStates.get(e)??P(e);if(!i)return;let s=Te(i,t);this.pendingSessionStates.set(e,s),this.pendingSessionPatches.set(e,{...this.pendingSessionPatches.get(e),...t}),this.broadcastSessionStatus(s),!this.sessionStatusPersistTimer&&(this.sessionStatusPersistTimer=setTimeout(()=>{this.sessionStatusPersistTimer=null,this.flushSessionStatuses()},Ze))}flushSessionStatuses(){if(this.pendingSessionPatches.size===0)return;let e=this.pendingSessionStates,t=this.pendingSessionPatches;this.pendingSessionStates=new Map,this.pendingSessionPatches=new Map;try{Ce([...t].map(([i,s])=>({id:i,patch:s})))}catch(i){for(let[s,n]of e)this.pendingSessionStates.has(s)||this.pendingSessionStates.set(s,n);for(let[s,n]of t)this.pendingSessionPatches.set(s,{...n,...this.pendingSessionPatches.get(s)});process.stderr.write(`[sootsim-agent] session status persistence failed: ${i instanceof Error?i.message:String(i)}
|
|
7
7
|
`)}}coalescePromptEcho(e,t){if(t.type!=="prompt-received")return t;let i=this.pendingPromptEchoes.get(e);if(!i||i.length===0)return t;for(;i.length>0&&Date.now()-i[0].sentAt>15e3;)i.shift();return i.length===0?(this.pendingPromptEchoes.delete(e),t):(i.shift(),i.length===0?this.pendingPromptEchoes.delete(e):this.pendingPromptEchoes.set(e,i),null)}consumeSettledTurn(e){let t=Math.max(0,(this.pendingTurns.get(e)??1)-1);return t>0?this.pendingTurns.set(e,t):this.pendingTurns.delete(e),t}clearPromptTracking(e){this.pendingPromptEchoes.delete(e),this.pendingTurns.delete(e)}fanOutEvent(e,t){let i=JSON.stringify({type:"agent:event",sessionId:e,event:t});for(let[s,n]of this.sessionsBySocket)if(n.has(e)&&s.readyState===B)try{s.send(i)}catch{}}broadcastSessionStatus(e){let t=JSON.stringify({type:"agent:session-status",session:e});for(let i of this.allSockets)if(i.readyState===B)try{i.send(t)}catch{}}respond(e,t,i){if(e.readyState===B)try{e.send(JSON.stringify({id:t,result:i}))}catch{}}respondError(e,t,i,s){if(e.readyState===B)try{e.send(JSON.stringify({id:t,error:i,...s?{code:s}:{}}))}catch{}}};function et(a){return a==="expo"?"expo":a==="one"||a==="vxrn"?"one":"unknown"}import Me from"http";import Be from"https";import{finished as rt,pipeline as nt}from"stream/promises";var K="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",tt=[{hostSuffix:"uniswap.org",headers:{origin:"https://app.uniswap.org",referer:"https://app.uniswap.org/"},suppressBrowserUserAgent:!0}];function it(a){let e=a.toLowerCase();for(let t of tt)if(e===t.hostSuffix||e.endsWith(`.${t.hostSuffix}`))return t}function Le(a){let e=it(a.hostname);return{"accept-encoding":"identity",...e?.suppressBrowserUserAgent?{}:{"user-agent":K},...e?.headers}}var st=new Set(["host","origin","referer","user-agent","accept-encoding","cookie","connection","keep-alive","transfer-encoding","upgrade","content-length","sec-fetch-site","sec-fetch-mode","sec-fetch-dest","sec-ch-ua","sec-ch-ua-mobile","sec-ch-ua-platform"]),ot={"access-control-allow-origin":"*","access-control-allow-methods":"GET,POST,PUT,DELETE,PATCH,OPTIONS","access-control-allow-headers":"*","access-control-expose-headers":"*","access-control-max-age":"3600"},at=new Set(["host","origin","referer","sec-fetch-site","sec-fetch-mode","sec-fetch-dest"]);function De(a){return a.protocol!=="https:"?{}:pe(a.hostname)?{rejectUnauthorized:!1}:{}}function R(a){for(let[e,t]of Object.entries(ot))a.setHeader(e,t)}function ct(a,e){let t=[],i=e;i?.code&&t.push(i.code),i?.message&&t.push(i.message),i?.cause?.code&&t.push(i.cause.code),i?.cause?.message&&t.push(i.cause.message);let n=[...new Set(t.filter(Boolean))].join(" | ")||String(e);return a.includes("stored-in-.env.local")?`${n} | upstream url still contains placeholder env values`:n}function dt(a,e){let t={};for(let[i,s]of Object.entries(a))s&&(st.has(i.toLowerCase())||(t[i]=Array.isArray(s)?s.join(", "):s));return Object.assign(t,e?Le(e):{"user-agent":K}),t}function lt(a,e){let t={};for(let[i,s]of Object.entries(a))s&&(at.has(i.toLowerCase())||(t[i]=s));return t.host=e.host,t.origin=e.origin,t.referer=`${e.origin}/`,t}function Ne(a){return a?.startsWith("/__fetch-proxy?")||a?.startsWith("/__proxy?")||!1}function He(a){return a?!!(a.startsWith("/__app-api?")||a.startsWith("/__app-api/")):!1}async function Ue(a,e){if(a.method==="OPTIONS"){R(e),e.writeHead(204),e.end();return}let i=new URLSearchParams((a.url||"").split("?")[1]||"").get("url");if(!i){R(e),e.writeHead(400,{"Content-Type":"text/plain"}),e.end("missing url param");return}let s;try{s=new URL(i)}catch{R(e),e.writeHead(400,{"Content-Type":"text/plain"}),e.end("invalid url param");return}let n;if(a.method!=="GET"&&a.method!=="HEAD"){let o=[];for await(let l of a)o.push(Buffer.isBuffer(l)?l:Buffer.from(l));o.length>0&&(n=Buffer.concat(o))}let c=a.method||"GET",r=async(o,l,d,u)=>{let p=o.protocol==="https:"?Be:Me,m=dt(a.headers,o);o.origin!==s.origin&&(delete m.authorization,delete m["proxy-authorization"]),l==="GET"||l==="HEAD"?(delete m["content-length"],delete m["content-type"]):d&&(m["content-length"]=String(d.byteLength));let f=await new Promise((w,A)=>{let y=p.request({hostname:o.hostname,port:o.port||(o.protocol==="https:"?443:80),path:o.pathname+o.search,method:l,headers:m,...De(o)},w),I=()=>y.destroy(new Error("fetch proxy client disconnected"));a.once("aborted",I),y.once("close",()=>a.off("aborted",I)),y.once("error",A),d===void 0?y.end():y.end(d)}),h=f.statusCode??502,g=f.headers.location;if(g&&(h===301||h===302||h===303||h===307||h===308)){if(u>=10)throw f.destroy(),new Error("too many redirects");let w=(h===301||h===302)&&l==="POST"||h===303&&l!=="GET"&&l!=="HEAD",A=new URL(g,o);f.resume(),await rt(f),await r(A,w?"GET":l,w?void 0:d,u+1);return}for(let[w,A]of Object.entries(f.headers)){let y=w.toLowerCase();A===void 0||y==="set-cookie"||y==="connection"||y==="keep-alive"||y==="proxy-authenticate"||y==="proxy-authorization"||y==="te"||y==="trailer"||y==="transfer-encoding"||y==="upgrade"||y.startsWith("access-control-")||e.setHeader(w,A)}R(e);let v=f.headers["set-cookie"]??[];v.length>0&&e.setHeader("x-sootsim-set-cookie",(Array.isArray(v)?v:[v]).join(", ")),e.statusCode=h,await nt(f,e)};try{await r(s,c,n,0)}catch(o){if(e.headersSent){e.destroy(o instanceof Error?o:new Error(String(o)));return}R(e),e.writeHead(502,{"Content-Type":"text/plain"}),e.end(`fetch proxy error: ${ct(s.href,o)}`)}}function Fe(a,e){let t=a.url||"",i="",s="";if(t.startsWith("/__app-api?")){let l=new URL(t,"http://sootsim.local");i=l.searchParams.get("path")||"",s=l.searchParams.get("origin")?.trim()||""}else if(t.startsWith("/__app-api/"))i=t.slice(10);else return!1;if(!s)return e.writeHead(400,{"Content-Type":"text/plain"}),e.end("app-api: missing origin query param"),!0;if(a.method==="OPTIONS")return e.writeHead(204,{"Access-Control-Allow-Origin":a.headers.origin||"*","Access-Control-Allow-Methods":"GET,POST,PUT,PATCH,DELETE,OPTIONS","Access-Control-Allow-Headers":a.headers["access-control-request-headers"]||"*","Access-Control-Allow-Credentials":"true","Access-Control-Max-Age":"86400"}),e.end(),!0;let n;try{n=new URL(i,s)}catch{return e.writeHead(400,{"Content-Type":"text/plain"}),e.end("app-api: invalid origin or path"),!0}let c=n.protocol==="https:"?Be:Me,r=lt(a.headers,n),o=c.request({hostname:n.hostname,port:n.port||(n.protocol==="https:"?443:80),path:n.pathname+n.search,method:a.method,headers:r,...De(n)},l=>{let d=Object.keys(l.headers).filter(u=>{let p=u.toLowerCase();return!p.startsWith("access-control-")&&p!=="set-cookie"}).join(", ");e.writeHead(l.statusCode??502,{...l.headers,"access-control-allow-origin":a.headers.origin||"*","access-control-allow-credentials":"true","access-control-expose-headers":d}),l.pipe(e)});return o.on("error",l=>{e.statusCode=502,e.end(`app proxy error: ${l.message}`)}),a.pipe(o),!0}import{WebSocket as k,WebSocketServer as ut}from"ws";var pt="/__websocket-proxy",mt=new Set(["host","connection","upgrade","transfer-encoding","content-length","sec-websocket-accept","sec-websocket-extensions","sec-websocket-key","sec-websocket-protocol","sec-websocket-version"]);function E(a,e,t){try{a.write(`HTTP/1.1 ${e} ${t}\r
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.334 | (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 d}from"./chunk-
|
|
4
|
+
import{a as d}from"./chunk-UBZ7VUVM.js";import{d as V,f as q,g as J,i as F,j as B}from"./chunk-CLJ5KDZQ.js";import{b as x,c as L}from"./chunk-ZS3IA2TO.js";import{c as k}from"./chunk-ZYWOBHVL.js";import"./chunk-KSJTW5ZW.js";import{f as y}from"./chunk-ELFSL6AX.js";import"./chunk-62GN45A4.js";import"./chunk-ANO5CHPQ.js";import"./chunk-2A4XQAO5.js";import"./chunk-INV6BZQY.js";import"./chunk-L4JC72JR.js";import"./chunk-R5KHC7VZ.js";import"./chunk-752UYKC6.js";import"./chunk-CFRBWE4I.js";import{C as R,D as C,J as w,M as N,O as I,l as v}from"./chunk-R7XQX7CV.js";import{a as T}from"./chunk-PSVQUW3M.js";import{a as s}from"./chunk-Q2KHHFU3.js";import"./chunk-GO7WTRY4.js";import"./chunk-U5JW25P3.js";import $ from"node:fs";import z from"node:os";import P from"node:path";import{spawn as re}from"node:child_process";import l from"node:fs";import a from"node:path";function Y(e){let n=a.resolve(e);for(;;){if(l.existsSync(a.join(n,"package.json")))return n;let r=a.dirname(n);if(r===n)return null;n=r}}function j(e){let n=a.resolve(e);for(;;){if(l.existsSync(a.join(n,"bun.lock"))||l.existsSync(a.join(n,"bun.lockb")))return"bun";if(l.existsSync(a.join(n,"pnpm-lock.yaml")))return"pnpm";if(l.existsSync(a.join(n,"package-lock.json")))return"npm";let r=a.dirname(n);if(r===n)return"npm";n=r}}function H(e){let n=a.resolve(e.appDir),r=te(a.join(n,"package.json")),t=`${s.commandName} open`,o=r.scripts?.[s.commandName];if(o&&o!==t)throw new Error(`package.json already defines scripts.${s.commandName} as ${JSON.stringify(o)}; resolve that conflict before setup`);let i=j(n),c=[];return r.devDependencies?.[s.packageName]!==e.cliVersion&&c.push(oe(i,e.cliVersion)),o!==t&&c.push(ae(i)),{appDir:n,packageManager:i,operations:c}}async function U(e,n){for(let r of e.operations)n.dryRun||await se(r,e.appDir,n.json)}function O(e){return e.operations.map(n=>`${n.command} ${n.args.map(ie).join(" ")}`)}function te(e){let n;try{n=JSON.parse(l.readFileSync(e,"utf8"))}catch(o){let i=o instanceof Error?o.message:String(o);throw new Error(`could not read ${e}: ${i}`)}if(!n||typeof n!="object"||Array.isArray(n))throw new Error(`${e} must contain a JSON object`);let r=W(Reflect.get(n,"scripts")),t=W(Reflect.get(n,"devDependencies"));return{...r?{scripts:r}:{},...t?{devDependencies:t}:{}}}function W(e){if(!e||typeof e!="object"||Array.isArray(e))return null;let n=Object.entries(e).filter(r=>typeof r[1]=="string");return Object.fromEntries(n)}function oe(e,n){let r=`${s.packageName}@${n}`;switch(e){case"bun":return{command:"bun",args:["add","--dev","--exact",r],description:`install ${r} as an exact dev dependency`};case"pnpm":return{command:"pnpm",args:["add","--save-dev","--save-exact",r],description:`install ${r} as an exact dev dependency`};case"npm":return{command:"npm",args:["install","--save-dev","--save-exact",r],description:`install ${r} as an exact dev dependency`}}}function ie(e){return/^[a-zA-Z0-9_./@=-]+$/.test(e)?e:JSON.stringify(e)}function se(e,n,r){return new Promise((t,o)=>{let i=re(e.command,e.args,{cwd:n,stdio:r?["ignore",2,"inherit"]:"inherit"});i.once("error",o),i.once("exit",c=>{c===0?t():o(new Error(`${e.command} exited with code ${c??"unknown"}`))})})}function ae(e){return{command:e,args:e==="bun"?["pm","pkg","set",`scripts.${s.commandName}=${s.commandName} open`]:["pkg","set",`scripts.${s.commandName}=${s.commandName} open`],description:`add the \`${s.commandName}\` package script`}}async function Ye(e){if(e.includes("--help")||e.includes("-h")){je();return}let n=ue(e),r="decisions";try{let t=Y(n.appDir),o=x(),i=R(),c=await le(n,o),X=await de(n,t),g=await K(n,"productAnalytics",i.productAnalytics,i.configured),S=await K(n,"crashReports",i.crashReports,i.configured),ee=await y.fetchManifest(),f=y.resolveVersion(ee,{channel:"stable"}).version,A=T();if(A==="0.0.0")throw new Error("could not resolve the installed rnxsim CLI version");let p=null;X&&t&&(p=H({appDir:t,cliVersion:A})),he(n),be(n,o,c,f),ve(n,t,p),Re(n,g,S),r="runtime";let M=!1;if(!n.dryRun){let E=w();M=(await y.install({version:f,channel:"stable",setActive:!0,protectVersions:E?[E]:[]})).installed}r="repository",p&&await U(p,{dryRun:n.dryRun,json:n.json}),r="service";let h=o.installed;c&&!o.installed&&!n.dryRun&&(await L({port:7668,force:!1}),h=!0),r="privacy",n.dryRun||C({productAnalytics:g,crashReports:S}),r="compatibility";let u=t?me(t):null,b=await fe(n,u);b&&u&&t&&!n.dryRun&&await ye(t,u),we(n,u,b);let _={runtimeVersion:f,serviceInstalled:h,repositoryPrepared:p!==null,compatibilityShared:b&&!n.dryRun},ne=Se(f);n.json?console.log(JSON.stringify({..._,runtimeInstalled:n.dryRun?!1:M,dryRun:n.dryRun,cache:ne,repositoryOperations:p?O(p):[]},null,2)):ke(p);let m=u?q(u):null;return k({event:"cli_setup_completed",properties:{service_installed:h,repository_prepared:p!==null,product_analytics:g,crash_reports:S,compat_supported:m?.supported??0,compat_partial:m?.partial??0,compat_unsupported:m?.unsupported??0,compat_not_yet_verified:m?.notYetVerified??0,from_welcome:n.fromWelcome,ci:n.ci,dry_run:n.dryRun}}),_}catch(t){let o=xe(t);throw k({event:"cli_setup_failed",properties:{stage:r,message:o}}),t}}function pe(){let e=x(),n=N(),r=w();return{daemonSupported:e.supported,daemonInstalled:e.installed,daemonRunning:!!(n&&I(n)),runtimeInstalled:!!(r&&$.existsSync(v(r))),privacyConfigured:R().configured}}function He(e=pe()){return!e.runtimeInstalled||!e.privacyConfigured}function ue(e){let n=e.indexOf("--app"),r=n>=0?e[n+1]:void 0;if(n>=0&&(!r||r.startsWith("-")))throw new Error("--app requires a directory");let t=G(e,"--service","--no-service"),o=G(e,"--repo","--no-repo");return{appDir:P.resolve(r??process.cwd()),ci:e.includes("--ci"),dryRun:e.includes("--dry-run"),fromWelcome:e.includes("--from-welcome"),json:e.includes("--json"),yes:e.includes("--yes")||e.includes("-y"),service:t,repository:o,productAnalytics:Z(e,"--analytics"),crashReports:Z(e,"--crash-reports"),shareCompatibility:e.includes("--share-compat")}}function G(e,n,r){if(e.includes(n)&&e.includes(r))throw new Error(`${n} and ${r} cannot be used together`);if(e.includes(n))return!0;if(e.includes(r))return!1}function Z(e,n){let r=e.find(i=>i.startsWith(`${n}=`)),t=e.indexOf(n),o=r?.slice(n.length+1)??(t>=0?e[t+1]:void 0);if(o!==void 0){if(o==="on"||o==="yes"||o==="true")return!0;if(o==="off"||o==="no"||o==="false")return!1;throw new Error(`${n} must be on or off`)}}async function le(e,n){if(e.ci){if(e.service===!0)throw new Error("--ci cannot install a machine service");return!1}return n.supported?n.installed&&e.service===void 0?!0:e.service!==void 0?e.service:e.yes?!0:(D(e,"--service or --no-service"),d("Install the background service and shared managed runtime?",!0)):!1}async function de(e,n){if(!n){if(e.repository===!0)throw new Error("--repo requires a package.json");return!1}return e.repository!==void 0?e.repository:e.yes?!0:(D(e,"--repo or --no-repo"),d(`Prepare ${n} for reproducible rnx runs?`,!0))}async function K(e,n,r,t){let o=n==="productAnalytics"?e.productAnalytics:e.crashReports;return o!==void 0?o:t?r:e.yes?!0:(D(e,n==="productAnalytics"?"--analytics on|off":"--crash-reports on|off"),d(n==="productAnalytics"?"Share bounded product analytics?":"Send bounded crash reports?",!0))}async function fe(e,n){return n?e.shareCompatibility?!0:e.yes||!process.stdin.isTTY?!1:d("Share dependency names, requested versions, framework, and this compatibility result?",!1):!1}function D(e,n){if(!(process.stdin.isTTY&&!e.ci))throw new Error(`non-interactive setup requires ${n}, or --yes to accept defaults`)}function me(e){let n=JSON.parse($.readFileSync(P.join(e,"package.json"),"utf8"));if(!n||typeof n!="object")throw new Error("package.json must contain an object");return V(n)}async function ye(e,n){let r=JSON.parse($.readFileSync(P.join(e,"package.json"),"utf8"));if(!r||typeof r!="object")throw new Error("package.json must be an object");let t=await fetch("https://contrast.dev/api/scan",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(ge(r,n)),signal:AbortSignal.timeout(1e4)});if(!t.ok)throw new Error(`compatibility sharing failed with HTTP ${t.status}`)}function ge(e,n){return{dependencies:Q(Reflect.get(e,"dependencies")),devDependencies:Q(Reflect.get(e,"devDependencies")),framework:n.framework,result:{framework:n.framework,rnVersion:n.rnVersion,packages:n.packages.slice(0,200)},source:"desktop",shared:!0}}function Q(e){if(!e||typeof e!="object")return{};let n={};for(let[r,t]of Object.entries(e).slice(0,200))typeof t=="string"&&(n[r.slice(0,160)]=t.slice(0,80));return n}function Se(e){let n=z.platform(),r=z.arch();return{path:v(e),key:`sootsim-runtime-${n}-${r}-${e}`,inputs:{platform:n,arch:r,runtimeVersion:e}}}function he(e){e.json||console.log(`
|
|
5
5
|
${e.fromWelcome?"welcome to rnx":"rnxsim setup"}`)}function be(e,n,r,t){e.json||(console.log(`
|
|
6
6
|
1. machine`),console.log(` stable runtime: ${t}`),console.log(` background service: ${n.supported?r?"install":"skip":"unsupported on this platform"}`))}function ve(e,n,r){if(!e.json){if(console.log(`
|
|
7
7
|
2. repository`),!n){console.log(" no package.json found; repository preparation skipped");return}if(!r){console.log(` skipped for ${n}`);return}console.log(` package manager: ${j(n)}`);for(let t of O(r))console.log(` ${e.dryRun?"would run":"run"}: ${t}`)}}function Re(e,n,r){e.json||(console.log(`
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.334 | (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 h}from"./chunk-
|
|
4
|
+
import{a as h}from"./chunk-Q2KHHFU3.js";import"./chunk-U5JW25P3.js";import*as l from"fs";import*as L from"os";import*as a from"path";import{fileURLToPath as x}from"url";function D(){try{let e=x(import.meta.resolve(`${h.packageName}/package.json`));return a.join(a.dirname(e),"skills")}catch{let e=a.dirname(x(import.meta.url));return a.resolve(e,"../../skills")}}var d=D(),j=new Set(["all","codex","claude"]);function S(){console.log(`rnxsim skill
|
|
5
5
|
|
|
6
6
|
install and inspect bundled rnx agent skills.
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.334 | (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{m as a}from"./chunk-
|
|
4
|
+
import{m as a}from"./chunk-VCBH7RDB.js";import"./chunk-TKTAVBKB.js";import{q as c,s as l}from"./chunk-R5KHC7VZ.js";import"./chunk-752UYKC6.js";import"./chunk-R7XQX7CV.js";import"./chunk-U5JW25P3.js";function g(t){return!!t&&typeof t=="object"&&typeof Reflect.get(t,"capturedAt")=="number"}function p(){console.log(`
|
|
5
5
|
rnxsim state - capture the current app state in one call
|
|
6
6
|
|
|
7
7
|
usage:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.334 | (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,c as l,d as c,e as a,f}from"./chunk-
|
|
4
|
+
import{b as s,c as l,d as c,e as a,f}from"./chunk-AH7KCTAP.js";import{a as t}from"./chunk-ZVBWTXV6.js";import"./chunk-VCBH7RDB.js";import"./chunk-TKTAVBKB.js";import"./chunk-R5KHC7VZ.js";import"./chunk-752UYKC6.js";import"./chunk-R7XQX7CV.js";import"./chunk-U5JW25P3.js";function p(){console.log(`
|
|
5
5
|
rnxsim storage profile \u2014 manage isolated storage profiles
|
|
6
6
|
|
|
7
7
|
usage:
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! rnx v0.1.334 | (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-R3JUSXCG.js";import"./chunk-L4JC72JR.js";import"./chunk-U5JW25P3.js";export{a as settingsStore};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! rnx v0.1.334 | (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 as a,d as b}from"./chunk-ZYWOBHVL.js";import"./chunk-KSJTW5ZW.js";import"./chunk-R7XQX7CV.js";import"./chunk-U5JW25P3.js";export{b as flushCliTelemetry,a as trackCliEvent};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.334 | (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{q as m,s as d,v as i}from"./chunk-
|
|
4
|
+
import{q as m,s as d,v as i}from"./chunk-R5KHC7VZ.js";import"./chunk-752UYKC6.js";import"./chunk-R7XQX7CV.js";import"./chunk-U5JW25P3.js";import{writeFileSync as g}from"fs";function u(){console.log(`
|
|
5
5
|
rnxsim timeline \u2014 control the semantic event timeline
|
|
6
6
|
|
|
7
7
|
usage:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.334 | (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 h,b as v,c as $}from"./chunk-
|
|
4
|
+
import{a as h,b as v,c as $}from"./chunk-LGO27KAL.js";import{b as p}from"./chunk-32AHRTE2.js";import"./chunk-TLAYQHXB.js";import{b as g}from"./chunk-ELFSL6AX.js";import"./chunk-R5KHC7VZ.js";import"./chunk-752UYKC6.js";import{J as a,g as m,h as u,l as d}from"./chunk-R7XQX7CV.js";import{a as f}from"./chunk-PSVQUW3M.js";import"./chunk-Q2KHHFU3.js";import"./chunk-U5JW25P3.js";import{spawn as y}from"node:child_process";import x from"node:fs";import R from"node:os";import s from"node:path";var b="https://registry.npmjs.org/rnxsim/latest";async function W(t){let n=t.indexOf("--channel"),e=n>=0&&t[n+1]?t[n+1]:void 0;console.log(`rnxsim upgrade
|
|
5
5
|
`),console.log("runtime:");let o=a(),{config:l}=await p(),r=l?.runtimeVersion,c=r?x.existsSync(s.join(d(r),"index.html")):!1;r&&console.log(` project config: v${r}`);let i=(r&&c?null:await $(["install",...r?[r,"--set-active=false"]:[],...e?["--channel",e]:[]],{}))?.version??r??a();i&&console.log(r?c?` result: v${i} already installed for this project`:` result: not installed \u2192 v${i} for this project`:o&&o!==i?` result: v${o} \u2192 v${i}`:o?` result: v${i} already current`:` result: not installed \u2192 v${i}`);let k=i?await h(i):null;console.log(`
|
|
6
6
|
cli:`),await j(),i&&console.log(`
|
|
7
7
|
${v(i,k)}`)}function w(){if(u())return{kind:"dev"};let t=process.argv[1]??"";try{t=x.realpathSync(t)}catch{}let n=s.sep;if(t.includes(`${n}_npx${n}`)||t.includes(`${n}.bunx${n}`))return{kind:"npx"};if(t.includes(`${n}.bun${n}`))return{kind:"global",command:"bun",args:["add","-g","rnxsim@latest"]};if(t.includes(`${n}pnpm${n}`))return{kind:"global",command:"pnpm",args:["add","-g","rnxsim@latest"]};let e=s.join(m(),"cli");if(t.startsWith(`${e}${n}`))return{kind:"global",command:"npm",args:["i","-g","--prefix",e,"rnxsim@latest"]};let o=s.resolve(process.env.SOOTSIM_CLI_PREFIX||s.join(R.homedir(),".local"));return t.startsWith(`${o}${n}`)?{kind:"global",command:"npm",args:["i","-g","--prefix",o,"rnxsim@latest"]}:{kind:"global",command:"npm",args:["i","-g","rnxsim@latest"]}}async function j(){let t=f(),n=await C();if(!n){console.log(` v${t} \u2014 couldn't reach the npm registry, skipped`);return}if(g(n,t)<=0){console.log(` v${t} (latest)`);return}let e=w();if(console.log(` v${t} \u2192 v${n}`),e.kind==="dev"){console.log(" running from the Contrast dev checkout \u2014 pull instead of upgrading");return}if(e.kind==="npx"){console.log(" running from the npx cache \u2014 get the latest with:"),console.log(" npx rnxsim@latest");return}let o=`${e.command} ${e.args.join(" ")}`;console.log(` updating global install (${o})\u2026`),await S(e.command,e.args)?console.log(` updated to v${n}`):(console.log(" update failed \u2014 run it yourself:"),console.log(` ${o}`))}function S(t,n){return new Promise(e=>{let o=y(t,n,{stdio:"inherit"});o.on("error",()=>e(!1)),o.on("exit",l=>e(l===0))})}async function C(){try{let t=await fetch(b,{headers:{accept:"application/json"},signal:AbortSignal.timeout(8e3)});if(!t.ok)return null;let n=await t.json();return typeof n.version=="string"&&n.version?n.version:null}catch{return null}}export{W as runUpgrade};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! rnx v0.1.334 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
+
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
|
+
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
|
+
import{e as a,f as b,g as c}from"./chunk-WXUWD5JK.js";import"./chunk-PFOKFWHU.js";import"./chunk-DECDURI3.js";import"./chunk-KV653SVK.js";import"./chunk-TLAYQHXB.js";import"./chunk-XCI6HRMH.js";import"./chunk-ZYWOBHVL.js";import"./chunk-KSJTW5ZW.js";import"./chunk-R5KHC7VZ.js";import"./chunk-752UYKC6.js";import"./chunk-R7XQX7CV.js";import"./chunk-Q2KHHFU3.js";import"./chunk-U5JW25P3.js";export{a as resolveDefaultUploadOrigin,b as resolvePublicPreviewOrigin,c as runUpload};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.334 | (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 a}from"./chunk-
|
|
4
|
+
import{b as a}from"./chunk-32AHRTE2.js";import"./chunk-TLAYQHXB.js";import{d as s,f as t}from"./chunk-ELFSL6AX.js";import{a as m}from"./chunk-ANO5CHPQ.js";import"./chunk-R5KHC7VZ.js";import"./chunk-752UYKC6.js";import{l as r}from"./chunk-R7XQX7CV.js";import{a as l}from"./chunk-PSVQUW3M.js";import"./chunk-Q2KHHFU3.js";import"./chunk-U5JW25P3.js";import g from"node:fs";import d from"node:path";async function R($){let{IS_BETA:c,BETA_LABEL:u}=await import("./beta-H5SAI4RD.js"),f=c?` \xB7 ${u}`:"";console.log(`rnxsim v${l()}${f}`);let o=m(),n=t.resolveChannel();o.isDevBridge?(console.log(o.primary),o.installedRuntime&&console.log(`${o.installedRuntime} \xB7 ${n}`)):o.primary==="runtime not installed"?console.log("runtime not installed \u2014 run `rnxsim runtime install`"):console.log(`${o.primary} \xB7 ${n}`);let{config:i}=await a();if(i?.runtimeVersion){let p=g.existsSync(d.join(r(i.runtimeVersion),"index.html"));console.log(`project runtime v${i.runtimeVersion} \xB7 configured \xB7 ${p?"installed":"installs on open"}`)}let e=await t.checkUpToDate({channel:n});e.outdated&&e.latest&&console.log(`
|
|
5
5
|
\u2191 default runtime v${e.latest} available; run \`rnxsim upgrade\``),console.log(`
|
|
6
6
|
what's new: ${s}`)}export{R as runVersion};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.334 | (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}from"./chunk-
|
|
4
|
+
import{a,b,c,d,e,f,g,h,i,j}from"./chunk-CLJ5KDZQ.js";import"./chunk-U5JW25P3.js";export{b as COMPAT_CATEGORIES,j as COMPAT_RESULT_CAVEAT,c as POLYFILL_REGISTRY,a as UNSUPPORTABLE,f as countScanResults,i as formatDetailedScanLines,h as formatPackageStatus,g as formatScanCounts,d as scanDeps,e as scanDepsWithData};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.334 | (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{D as F,E as T,G as y,R as A,S as b,T as S}from"./chunk-
|
|
4
|
+
import{D as F,E as T,G as y,R as A,S as b,T as S}from"./chunk-TKTAVBKB.js";import{e as k,q as x,s as N}from"./chunk-R5KHC7VZ.js";import"./chunk-752UYKC6.js";import"./chunk-R7XQX7CV.js";import"./chunk-U5JW25P3.js";function O(n){let t=[];for(let e=0;e<n.length;e++)if(n[e]==="--since"&&e+1<n.length){t.push(e,e+1);let s=n[e+1].trim(),l=/^(\d+(?:\.\d+)?)(ms|s|m)?$/.exec(s);if(l){let c=Number(l[1]),u=l[2]??"ms",v=u==="s"?c*1e3:u==="m"?c*6e4:c;return{since:Date.now()-v,consumed:t}}let o=Number(s);if(Number.isFinite(o)&&o>1e12)return{since:o,consumed:t}}return{consumed:t}}function B(n){let t=[];for(let e=0;e<n.length;e++)if(n[e]==="--kinds"&&e+1<n.length)return t.push(e,e+1),{kinds:n[e+1].split(",").map(s=>s.trim()).filter(Boolean),consumed:t};return{consumed:t}}function D(n){let t=[];for(let e=0;e<n.length;e++)if(n[e]==="--limit"&&e+1<n.length){t.push(e,e+1);let s=Number(n[e+1]);if(Number.isFinite(s)&&s>0)return{limit:s,consumed:t}}return{consumed:t}}function _(n){let t=[],e={label:"initial state",events:[],startedAt:n[0]?.t??null};t.push(e);for(let s of n)if(e.events.push(s),s.kind==="screen"||s.kind==="route"){let l=s.data,o=l?.phase;if(!o||o==="enter"||o==="appear"||o==="active"){let c=l?.name||l?.activeName||l?.path||l?.pathname||s.kind;t.length===1&&e.events.length===1?e.label=`${s.kind}: ${c}`:(e={label:`${s.kind}: ${c}`,events:[],startedAt:s.t},t.push(e))}}return t}async function J(n,t){let e=x(n,{port:t.port,stripBooleanFlags:["--summary","--all","--json","--no-advance","--help","-h","--flow","--noisy"],stripValueFlags:["--since","--kinds","--limit"]});(n.includes("--help")||n.includes("-h"))&&(console.log(`
|
|
5
5
|
rnxsim what-happened \u2014 show recent events from the semantic timeline
|
|
6
6
|
|
|
7
7
|
usage:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.334 | (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.334 | (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.334 | (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.334 | (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.334 | (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.334 | (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.334 | (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/beta.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.334 | (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/beta.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.334 | (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.334 | (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.334 | (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/config.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.334 | (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/detox/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.334 | (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.334 | (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/home-paths.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.334 | (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.334 | (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.334 | (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.334 | (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.334 | (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.334 | (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.334 | (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.334 | (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.334 | (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
package/dist-lib/metro.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.334 | (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.334 | (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.334 | (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/render-mode.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.334 | (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.334 | (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/sdk.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.334 | (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.334 | (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);
|
package/dist-lib/skills.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.334 | (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/vite.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.334 | (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/package.json
CHANGED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! rnx v0.1.333 | (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-DXAZX6Y4.js";import"./chunk-M47UITXL.js";import"./chunk-WBPBMC32.js";export{a as getCliVersion};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! rnx v0.1.333 | (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-TCELYE7A.js";import"./chunk-BPEXXNXX.js";import"./chunk-A2OABK5V.js";import"./chunk-HTKS4EIQ.js";import"./chunk-UJQO4GMX.js";import"./chunk-A7INKWBI.js";import"./chunk-WBOJVCV7.js";import"./chunk-B6PR6YLO.js";import"./chunk-ZD4NF7Q2.js";import"./chunk-4WGS7ULT.js";import"./chunk-OUXCE743.js";import"./chunk-KLLX5IWP.js";import"./chunk-DXAZX6Y4.js";import"./chunk-M47UITXL.js";import"./chunk-BWWFYOKL.js";import"./chunk-WBPBMC32.js";export{c as daemonInstall,b as getDaemonServiceStatus,a as runDaemon,e as teardownDaemonService,d as teardownLegacyMacDaemonArtifacts,f as teardownSootsimHome};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! rnx v0.1.333 | (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-2W3DLSTL.js";import{a,b,c,d,e,f,g}from"./chunk-6YYK6WL4.js";import"./chunk-YR6HDAQL.js";import"./chunk-X6N6VPFL.js";import"./chunk-AQYGM454.js";import"./chunk-4WGS7ULT.js";import"./chunk-KLLX5IWP.js";import"./chunk-WBPBMC32.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 +0,0 @@
|
|
|
1
|
-
/*! rnx v0.1.333 | (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-53DWFBL6.js";import"./chunk-CAWZ545B.js";import"./chunk-X43U7QEK.js";import{b as a,c as b}from"./chunk-GPKK6UQL.js";import"./chunk-3YUHY3RY.js";import"./chunk-AR33KVWV.js";import"./chunk-SCFRY5MT.js";import"./chunk-7D2RLML6.js";import"./chunk-AHITCGHF.js";import"./chunk-JQBAVE6X.js";import"./chunk-4MXBZD2N.js";import"./chunk-6YYK6WL4.js";import"./chunk-YR6HDAQL.js";import"./chunk-X6N6VPFL.js";import"./chunk-CJJI74AT.js";import"./chunk-3KRC63S4.js";import"./chunk-WFPHEUH2.js";import"./chunk-I44IV7DO.js";import"./chunk-2UDDQL5S.js";import"./chunk-76E5SSJE.js";import"./chunk-CS2B3W6C.js";import"./chunk-MBRV35BV.js";import"./chunk-EGXHBCDU.js";import"./chunk-2WFJDUEP.js";import"./chunk-LXZJ5VX5.js";import"./chunk-BPEXXNXX.js";import"./chunk-A2OABK5V.js";import"./chunk-AQYGM454.js";import"./chunk-FCLPIJ6G.js";import"./chunk-A7INKWBI.js";import"./chunk-WBOJVCV7.js";import"./chunk-B6PR6YLO.js";import"./chunk-ZD4NF7Q2.js";import"./chunk-4WGS7ULT.js";import"./chunk-OUXCE743.js";import"./chunk-KLLX5IWP.js";import"./chunk-M47UITXL.js";import"./chunk-WBPBMC32.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};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! rnx v0.1.333 | (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-HTKS4EIQ.js";import"./chunk-UJQO4GMX.js";import"./chunk-A7INKWBI.js";import"./chunk-WBOJVCV7.js";import"./chunk-B6PR6YLO.js";import"./chunk-ZD4NF7Q2.js";import"./chunk-4WGS7ULT.js";import"./chunk-OUXCE743.js";import"./chunk-KLLX5IWP.js";import"./chunk-DXAZX6Y4.js";import"./chunk-M47UITXL.js";import"./chunk-BWWFYOKL.js";import"./chunk-WBPBMC32.js";export{c as printCommandHelp,b as printGroupHelp,a as printHelp};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! rnx v0.1.333 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
-
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
|
-
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
|
-
import{i as a,j as b}from"./chunk-GPKK6UQL.js";import"./chunk-3YUHY3RY.js";import"./chunk-AR33KVWV.js";import"./chunk-SCFRY5MT.js";import"./chunk-7D2RLML6.js";import"./chunk-AHITCGHF.js";import"./chunk-JQBAVE6X.js";import"./chunk-4MXBZD2N.js";import"./chunk-6YYK6WL4.js";import"./chunk-YR6HDAQL.js";import"./chunk-X6N6VPFL.js";import"./chunk-WFPHEUH2.js";import"./chunk-I44IV7DO.js";import"./chunk-2UDDQL5S.js";import"./chunk-76E5SSJE.js";import"./chunk-CS2B3W6C.js";import"./chunk-MBRV35BV.js";import"./chunk-EGXHBCDU.js";import"./chunk-2WFJDUEP.js";import"./chunk-LXZJ5VX5.js";import"./chunk-AQYGM454.js";import"./chunk-FCLPIJ6G.js";import"./chunk-A7INKWBI.js";import"./chunk-WBOJVCV7.js";import"./chunk-B6PR6YLO.js";import"./chunk-ZD4NF7Q2.js";import"./chunk-4WGS7ULT.js";import"./chunk-OUXCE743.js";import"./chunk-KLLX5IWP.js";import"./chunk-M47UITXL.js";import"./chunk-WBPBMC32.js";export{a as printShellPerfReport,b as runInspect};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! rnx v0.1.333 | (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-LNPB4QNK.js";import"./chunk-YR6HDAQL.js";import"./chunk-MWOCKUXA.js";import"./chunk-WBPBMC32.js";export{a as runInstallDesktop};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! rnx v0.1.333 | (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-QISLN6DC.js";import"./chunk-CS2B3W6C.js";import"./chunk-MBRV35BV.js";import"./chunk-ZD4NF7Q2.js";import"./chunk-4WGS7ULT.js";import"./chunk-KLLX5IWP.js";import"./chunk-WBPBMC32.js";export{a as runReset};
|