rnxsim 0.1.350 → 0.1.352
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-OD2GMBIP.js → agent-27WDUXK5.js} +2 -2
- package/dist-cli/chunks/{agent-wrapper-WDEEMOZE.js → agent-wrapper-XAUWPZ6O.js} +2 -2
- package/dist-cli/chunks/{app-fonts-VUUJBV75.js → app-fonts-COAZFLDG.js} +2 -2
- package/dist-cli/chunks/{assert-2DBJY6NT.js → assert-ZR2UE3EH.js} +2 -2
- package/dist-cli/chunks/{auth-WJ54M5QO.js → auth-LISHWKCC.js} +2 -2
- package/dist-cli/chunks/{beta-UAHQHPTU.js → beta-AQQUYVA5.js} +2 -2
- package/dist-cli/chunks/{camera-TSIL4VFR.js → camera-KE44ZN3U.js} +2 -2
- package/dist-cli/chunks/{chunk-WSRNBBN4.js → chunk-24CIPQT5.js} +1 -1
- package/dist-cli/chunks/{chunk-A5TV2OTT.js → chunk-2JZXOHH6.js} +1 -1
- package/dist-cli/chunks/{chunk-HKD2WD52.js → chunk-2OME2KGY.js} +1 -1
- package/dist-cli/chunks/{chunk-3G3IDGKL.js → chunk-2WJABJ6C.js} +2 -2
- package/dist-cli/chunks/{chunk-IEX5MNLC.js → chunk-3Y7NWE22.js} +2 -2
- package/dist-cli/chunks/{chunk-O3KBPT5P.js → chunk-3ZV4WSCR.js} +2 -2
- package/dist-cli/chunks/{chunk-QXFKBXUG.js → chunk-45D2GGIA.js} +2 -2
- package/dist-cli/chunks/{chunk-4KRM2SZP.js → chunk-4AOAJXE2.js} +2 -2
- package/dist-cli/chunks/{chunk-6OVRFWBJ.js → chunk-5JE5PNIV.js} +1 -1
- package/dist-cli/chunks/{chunk-QF4HMUED.js → chunk-5JINX2IB.js} +2 -2
- package/dist-cli/chunks/{chunk-VW6KVA4K.js → chunk-5OVXQKUP.js} +2 -2
- package/dist-cli/chunks/{chunk-XCRICWEH.js → chunk-6NSUY346.js} +2 -2
- package/dist-cli/chunks/{chunk-PTYBNZ2Q.js → chunk-7T7DR34H.js} +2 -2
- package/dist-cli/chunks/{chunk-AGFF4GMP.js → chunk-AIGZ3TSW.js} +3 -3
- package/dist-cli/chunks/{chunk-V7IE4T5Y.js → chunk-AR3CPCW3.js} +1 -1
- package/dist-cli/chunks/{chunk-DBJDREMK.js → chunk-BQE4E24T.js} +1 -1
- package/dist-cli/chunks/{chunk-3XCBHTCB.js → chunk-BZ32JGFC.js} +1 -1
- package/dist-cli/chunks/{chunk-N2IRJL4L.js → chunk-CY6HBAOB.js} +2 -2
- package/dist-cli/chunks/{chunk-4XOWVQ2V.js → chunk-DFTG53TX.js} +1 -1
- package/dist-cli/chunks/{chunk-HTSJXBOR.js → chunk-DJAYEBF3.js} +1 -1
- package/dist-cli/chunks/{chunk-UQHWMZ4H.js → chunk-DSF4WC4X.js} +2 -2
- package/dist-cli/chunks/{chunk-PLPY7QKT.js → chunk-E42ZJLPN.js} +1 -1
- package/dist-cli/chunks/{chunk-NLWR4YFX.js → chunk-EGKGCDG5.js} +1 -1
- package/dist-cli/chunks/{chunk-M47A3UW3.js → chunk-EHQHK7KN.js} +2 -2
- package/dist-cli/chunks/{chunk-IU5ZBXX5.js → chunk-ELNSQ352.js} +1 -1
- package/dist-cli/chunks/{chunk-ENTFKI4Y.js → chunk-ESVF72YH.js} +2 -2
- package/dist-cli/chunks/{chunk-UHNF7UJW.js → chunk-FHLEA4S5.js} +2 -2
- package/dist-cli/chunks/{chunk-AJILLHZT.js → chunk-H4IF54WS.js} +1 -1
- package/dist-cli/chunks/{chunk-BG7Q7DRY.js → chunk-H6MTPXZS.js} +1 -1
- package/dist-cli/chunks/{chunk-5DIPHVXY.js → chunk-HF2FZ2WN.js} +1 -1
- package/dist-cli/chunks/{chunk-U3KMAGXM.js → chunk-JEPQ5YX3.js} +2 -2
- package/dist-cli/chunks/{chunk-R4JBY2SF.js → chunk-LRKODRWI.js} +2 -2
- package/dist-cli/chunks/{chunk-5WXTXW7V.js → chunk-M6DC6JZL.js} +2 -2
- package/dist-cli/chunks/{chunk-F7GJYT6J.js → chunk-MJB6N7WS.js} +2 -2
- package/dist-cli/chunks/{chunk-LKPUNTND.js → chunk-MJJP2BEI.js} +3 -3
- package/dist-cli/chunks/{chunk-BLJ2SKFF.js → chunk-NQMZOJPX.js} +2 -2
- package/dist-cli/chunks/{chunk-S54BTRYQ.js → chunk-P5YC5VGA.js} +2 -2
- package/dist-cli/chunks/{chunk-J3E3KWQ6.js → chunk-PEBQKBEP.js} +1 -1
- package/dist-cli/chunks/{chunk-D3NOXXDR.js → chunk-Q4ROOH3W.js} +2 -2
- package/dist-cli/chunks/{chunk-H25D42B3.js → chunk-QJTW4QQW.js} +1 -1
- package/dist-cli/chunks/{chunk-V2KSPE2Z.js → chunk-QP7KGSU4.js} +3 -3
- package/dist-cli/chunks/{chunk-UUZPXCFY.js → chunk-R2BFC3AC.js} +2 -2
- package/dist-cli/chunks/{chunk-X5U6NQJH.js → chunk-R4P7WO4L.js} +2 -2
- package/dist-cli/chunks/{chunk-DJJNKKCW.js → chunk-RASWCAJJ.js} +2 -2
- package/dist-cli/chunks/{chunk-GHU7ZZAR.js → chunk-RH6FJI5O.js} +2 -2
- package/dist-cli/chunks/{chunk-OBMEHXQT.js → chunk-S2PJOB2C.js} +2 -2
- package/dist-cli/chunks/{chunk-SWEQ7R4H.js → chunk-S63ENXGH.js} +1 -1
- package/dist-cli/chunks/{chunk-C32XRK2X.js → chunk-TF6VBUZ7.js} +2 -2
- package/dist-cli/chunks/{chunk-OGSKLPNG.js → chunk-UHP33XGC.js} +1 -1
- package/dist-cli/chunks/{chunk-YZHT6WVT.js → chunk-VQDY7NEJ.js} +1 -1
- package/dist-cli/chunks/{chunk-XK6LTJZT.js → chunk-WNJDE2JT.js} +1 -1
- package/dist-cli/chunks/{chunk-GXMLC2LR.js → chunk-XHZEKHB2.js} +2 -2
- package/dist-cli/chunks/{chunk-GHKU5DLS.js → chunk-XI4W6LRQ.js} +2 -2
- package/dist-cli/chunks/{chunk-EH4M2UME.js → chunk-YAMKV3UB.js} +2 -2
- package/dist-cli/chunks/{chunk-Q5P6A5N5.js → chunk-ZK5HYQ4I.js} +2 -2
- package/dist-cli/chunks/{cleanup-ARONVLW4.js → cleanup-JUY2WU24.js} +2 -2
- package/dist-cli/chunks/cli-version-6SQSIFNQ.js +4 -0
- package/dist-cli/chunks/{compat-BRXKJ4XF.js → compat-S2TBISY3.js} +2 -2
- package/dist-cli/chunks/{config-OABCJ2TX.js → config-3PHD4J5N.js} +2 -2
- package/dist-cli/chunks/{control-PISBOAMN.js → control-GLBCTKAA.js} +2 -2
- package/dist-cli/chunks/daemon-H4OVIEMH.js +4 -0
- package/dist-cli/chunks/{debug-CLGDMOKI.js → debug-PFAJONVV.js} +3 -3
- package/dist-cli/chunks/{desktop-UYMMGQSY.js → desktop-Z7EOBMNV.js} +3 -3
- package/dist-cli/chunks/{detox-62SILHLS.js → detox-KRSP5SLY.js} +2 -2
- package/dist-cli/chunks/{device-IQY7RUN7.js → device-ZXJ7GRBO.js} +2 -2
- package/dist-cli/chunks/{diagnose-V3C252Z7.js → diagnose-JIMLEOEJ.js} +2 -2
- package/dist-cli/chunks/{disk-cleanup-GCD2A5VB.js → disk-cleanup-YY7FFGVA.js} +2 -2
- package/dist-cli/chunks/drivers-63LY2NCK.js +4 -0
- package/dist-cli/chunks/{film-SOK7JYRC.js → film-LKSJPU2A.js} +3 -3
- package/dist-cli/chunks/flow-JHKPF7BN.js +4 -0
- package/dist-cli/chunks/help-Q6OY6VVA.js +4 -0
- package/dist-cli/chunks/{hidden-runtime-alias-7BO5TTVK.js → hidden-runtime-alias-ZN3WZ3ND.js} +2 -2
- package/dist-cli/chunks/{home-paths-MGLKYQH6.js → home-paths-UOATIRKF.js} +2 -2
- package/dist-cli/chunks/inspect-DW3V2FD4.js +4 -0
- package/dist-cli/chunks/install-desktop-GWY5H22W.js +4 -0
- package/dist-cli/chunks/{login-E5TYALP6.js → login-XKLIFTAU.js} +2 -2
- package/dist-cli/chunks/{logout-LXYW6KXD.js → logout-DR22RB5H.js} +2 -2
- package/dist-cli/chunks/{maestro-OPWJKKNK.js → maestro-SLCX6HBV.js} +3 -3
- package/dist-cli/chunks/{maestro-generate-4J5MRKGN.js → maestro-generate-GBFZ5INV.js} +3 -3
- package/dist-cli/chunks/{mode-OUFVQZ44.js → mode-F4R2KNXX.js} +2 -2
- package/dist-cli/chunks/{optional-demo-registry-VCMJU4Y3.js → optional-demo-registry-HM55KXGB.js} +2 -2
- package/dist-cli/chunks/{perf-AB3XZNG3.js → perf-VBS5GEPG.js} +2 -2
- package/dist-cli/chunks/{permissions-REPTOK23.js → permissions-F46PQIUE.js} +2 -2
- package/dist-cli/chunks/privacy-34FNXPJP.js +4 -0
- package/dist-cli/chunks/{record-6L6XQB2A.js → record-NLZ6DFAA.js} +3 -3
- package/dist-cli/chunks/{report-issue-QMW7HZSV.js → report-issue-XIE5BVR4.js} +2 -2
- package/dist-cli/chunks/reset-BAGCFYTS.js +4 -0
- package/dist-cli/chunks/runtime-JTYB4CM7.js +4 -0
- package/dist-cli/chunks/{screenshot-command-6V7BNJT3.js → screenshot-command-SD4JPNKW.js} +3 -3
- package/dist-cli/chunks/{screenshot-layers-P2S3XBWN.js → screenshot-layers-X65RC3GT.js} +2 -2
- package/dist-cli/chunks/{screenshots-capture-QLM6PLUK.js → screenshots-capture-BBXN7FEZ.js} +2 -2
- package/dist-cli/chunks/{serve-3HQSY2UL.js → serve-M6ZKMSAG.js} +2 -2
- package/dist-cli/chunks/{setup-TGXBI4EH.js → setup-KTWKZOJB.js} +2 -2
- package/dist-cli/chunks/{skills-UL2VOLJG.js → skills-KDWGQBOP.js} +2 -2
- package/dist-cli/chunks/{state-GH75U3WM.js → state-NWABXG2P.js} +2 -2
- package/dist-cli/chunks/{storage-JOOL3PS3.js → storage-QQE3G65Q.js} +2 -2
- package/dist-cli/chunks/store-6XW4YZM6.js +4 -0
- package/dist-cli/chunks/telemetry-MVSV7JHI.js +4 -0
- package/dist-cli/chunks/{timeline-I6GMQSOU.js → timeline-2VZ45MMB.js} +2 -2
- package/dist-cli/chunks/{upgrade-AWRE4KMV.js → upgrade-T7PDR6T5.js} +2 -2
- package/dist-cli/chunks/upload-RF2MNO2X.js +4 -0
- package/dist-cli/chunks/{version-M2EMK65M.js → version-BX6QX5XA.js} +2 -2
- package/dist-cli/chunks/{web-4UKFFUEK.js → web-4J6JRZN2.js} +2 -2
- package/dist-cli/chunks/{welcome-7SZ6CBP3.js → welcome-3MJHGERV.js} +3 -3
- package/dist-cli/chunks/{what-happened-J4F6DGUA.js → what-happened-CHQKFNCM.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/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 +1 -1
- package/dist-lib/vite.cjs +1 -1
- package/package.json +1 -1
- package/dist-cli/chunks/cli-version-RLY6EPRJ.js +0 -4
- package/dist-cli/chunks/daemon-GVGT77EB.js +0 -4
- package/dist-cli/chunks/drivers-AHNZ22YN.js +0 -4
- package/dist-cli/chunks/flow-ZZN2NF2O.js +0 -4
- package/dist-cli/chunks/help-R4J47I67.js +0 -4
- package/dist-cli/chunks/inspect-KE3JHYQS.js +0 -4
- package/dist-cli/chunks/install-desktop-BYUMI77G.js +0 -4
- package/dist-cli/chunks/privacy-JWARZ5FM.js +0 -4
- package/dist-cli/chunks/reset-HRVHF2H5.js +0 -4
- package/dist-cli/chunks/runtime-6VW6T4QK.js +0 -4
- package/dist-cli/chunks/store-RR5PBPNR.js +0 -4
- package/dist-cli/chunks/telemetry-TTSYG4Q2.js +0 -4
- package/dist-cli/chunks/upload-XZ73H2ED.js +0 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.352 | (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 K,d as be,e as G,f as ve,h as we,i as _,j as Ae,k as Te,l as Ce,m as xe,q as Ee,t as x,u as ke,v as Ie,w as Re,x as Pe}from"./chunk-
|
|
4
|
+
import{b as ye,c as K,d as be,e as G,f as ve,h as we,i as _,j as Ae,k as Te,l as Ce,m as xe,q as Ee,t as x,u as ke,v as Ie,w as Re,x as Pe}from"./chunk-Q4ROOH3W.js";import"./chunk-24CIPQT5.js";import{e as Se}from"./chunk-7T7DR34H.js";import"./chunk-XI4W6LRQ.js";import"./chunk-R4P7WO4L.js";import{a as me,c as he,d as D,e as fe}from"./chunk-6NSUY346.js";import{d as ge}from"./chunk-DSF4WC4X.js";import{c as C,k as N}from"./chunk-4AOAJXE2.js";import"./chunk-PEBQKBEP.js";import"./chunk-ELNSQ352.js";import{c as ue,d as pe}from"./chunk-EHQHK7KN.js";import"./chunk-EGKGCDG5.js";import{f as M}from"./chunk-M6DC6JZL.js";import{A as $,B as ee,G as te,I as L,J as V,K as ie,L as re,M as ne,O as se,R as oe,S as ae,T as ce,U as J,V as de,g as X,h as Z,r as Q}from"./chunk-DFTG53TX.js";import{a as le}from"./chunk-S2PJOB2C.js";import"./chunk-BQE4E24T.js";import"./chunk-WNJDE2JT.js";import{spawn as _t}from"child_process";import A from"fs";import{createServer as Ot}from"http";import v from"path";import{WebSocket as S,WebSocketServer as Lt}from"ws";import Me from"node:fs";import B from"node:path";import{spawn as tt}from"node:child_process";var _e=/^[A-Za-z0-9._:-]{1,160}$/;function z(o){if(!o?.startsWith("TM_SESSION:"))return null;let e=o.slice(11).trim();return _e.test(e)?e:null}function Oe(o){return _e.test(o)}function it(o){return typeof o.text=="string"?o.text.trim():""}function rt(o){let e=o?.trim();return e||"tm"}async function Le(o){let e=o.sessionId.trim();if(!Oe(e))throw new Error(`invalid Team Machine session id: ${e||"<empty>"}`);let t=it(o.prompt);if(!t)throw new Error("prompt text is empty");let i=rt(o.command),r=o.timeoutMs??15e3;await new Promise((s,c)=>{let n=tt(i,["send",e,t],{stdio:["ignore","ignore","pipe"],env:process.env}),a="",d=setTimeout(()=>{try{n.kill("SIGTERM")}catch{}c(new Error(`tm send timed out after ${Math.round(r/1e3)}s`))},r);n.stderr?.setEncoding("utf8"),n.stderr?.on("data",l=>{a.length<4e3&&(a+=String(l))}),n.on("error",l=>{clearTimeout(d),c(l)}),n.on("exit",(l,u)=>{if(clearTimeout(d),l===0){s();return}let m=a.trim();c(new Error(m||`tm send exited with ${u?`signal ${u}`:`code ${l??"unknown"}`}`))})})}var H=1,nt=25;function st(){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(o=>Number.isFinite(o)&&o>0)}var U=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 r=t.id;try{let s=await this.dispatch(e,i,t);this.respond(e,r,s)}catch(s){s instanceof x?this.respondError(e,r,s.message,s.code):this.respondError(e,r,s instanceof Error?s.message:String(s))}return!0}async seedOnBoot(){try{await xe()}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 G();case"agent:upsert-project":return K(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 s=String(i.sessionId),c=_(s);if(!c)throw new x("NO_SESSION",`no session: ${s}`);let n=this.normalizePromptEnvelope(i);return await Ie(s,n),this.notePromptAccepted(s,n,c.status==="working")}case"agent:end-session":this.dropSessionFanout(String(i.sessionId)),await Re(String(i.sessionId));let r=_(String(i.sessionId));return r&&this.broadcastSessionStatus(r),{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 x("UNKNOWN_AGENT_MSG",`unknown agent message: ${t}`)}}async sendClaimedPrompt(e){let t=typeof e.simId=="string"?e.simId.trim():"";if(!t)throw new x("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 x("NO_CLAIM",`sim ${t} has no active CLI claim`);let r=z(i.cliIdentityKey);if(!r)throw new x("UNSUPPORTED_CLAIM",`sim ${t} is claimed by a CLI identity that is not promptable`);return await Le({sessionId:r,prompt:this.normalizePromptEnvelope(e)}),{ok:!0,routed:"team-machine",sessionId:r}}async doStartSession(e){if(!be(e.projectId))throw new x("NO_PROJECT",`no project: ${e.projectId}`);let i=await ke(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 r=this.opts.getExcludePorts?.()??st(),c=(await N({excludePorts:r})).find(l=>String(l.port)===i);if(!c||!c.cwd)return{project:null};let n=G().find(l=>l.cwd===c.cwd)??null,a=Array.from(new Set([...n?.knownBundleUrls??[],c.bundleUrl,t]));return{project:K({cwd:c.cwd,name:c.projectName??B.basename(c.cwd),preferredProvider:e.provider??n?.preferredProvider,sourceRoots:n?.sourceRoots??[c.cwd],knownBundleUrls:a,framework:n?.framework??ot(c.framework),bundleId:c.bundleId??n?.bundleId})}}getTranscript(e){let t=Ee(e);return Me.existsSync(t)?Me.readFileSync(t,"utf8"):{error:"transcript not found",code:"NO_TRANSCRIPT"}}getPaths(){let e=ye();return{userDataDir:e,storeFile:B.join(e,"attached-projects.json"),sessionsDir:B.join(e,"sessions"),transcriptsDir:B.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 r=this.subscriptions.get(t);if(r)return r.refCount++,{ok:!0,refCount:r.refCount};let s=Pe(t,c=>{let n=this.coalescePromptEcho(t,c);if(n&&(this.applySessionEvent(t,n),this.fanOutEvent(t,n)),c.type==="turn-completed"){let a=_(t);if(a)try{ve(a.projectId,{usd:c.costUsd,ts:c.ts})}catch(d){process.stderr.write(`[sootsim-agent] recordTurnTelemetry failed: ${d instanceof Error?d.message:String(d)}
|
|
6
6
|
`)}}});return this.subscriptions.set(t,{unsubscribe:s,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 r=Date.now(),s=this.pendingPromptEchoes.get(e)??[];s.push({sentAt:r}),this.pendingPromptEchoes.set(e,s);let c=Math.max(this.pendingTurns.get(e)??0,i?1:0)+1;this.pendingTurns.set(e,c);let n=t.displayText??t.text;return this.patchSession(e,{lastPrompt:n,status:"working",needsAttention:!1}),this.fanOutEvent(e,{type:"prompt-received",text:n,...t.inspectSummary?{inspectSummary:t.inspectSummary}:{},...t.inspectTrace?{inspectTrace:t.inspectTrace}:{},ts:r}),{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)??_(e);if(!i)return;let r=Te(i,t);this.pendingSessionStates.set(e,r),this.pendingSessionPatches.set(e,{...this.pendingSessionPatches.get(e),...t}),this.broadcastSessionStatus(r),!this.sessionStatusPersistTimer&&(this.sessionStatusPersistTimer=setTimeout(()=>{this.sessionStatusPersistTimer=null,this.flushSessionStatuses()},nt))}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,r])=>({id:i,patch:r})))}catch(i){for(let[r,s]of e)this.pendingSessionStates.has(r)||this.pendingSessionStates.set(r,s);for(let[r,s]of t)this.pendingSessionPatches.set(r,{...s,...this.pendingSessionPatches.get(r)});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[r,s]of this.sessionsBySocket)if(s.has(e)&&r.readyState===H)try{r.send(i)}catch{}}broadcastSessionStatus(e){let t=JSON.stringify({type:"agent:session-status",session:e});for(let i of this.allSockets)if(i.readyState===H)try{i.send(t)}catch{}}respond(e,t,i){if(e.readyState===H)try{e.send(JSON.stringify({id:t,result:i}))}catch{}}respondError(e,t,i,r){if(e.readyState===H)try{e.send(JSON.stringify({id:t,error:i,...r?{code:r}:{}}))}catch{}}};function ot(o){return o==="expo"?"expo":o==="one"||o==="vxrn"?"one":"unknown"}import De from"http";import Be from"https";import{finished as dt,pipeline as lt}from"stream/promises";var q="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",at=[{hostSuffix:"uniswap.org",headers:{origin:"https://app.uniswap.org",referer:"https://app.uniswap.org/"},suppressBrowserUserAgent:!0}];function ct(o){let e=o.toLowerCase();for(let t of at)if(e===t.hostSuffix||e.endsWith(`.${t.hostSuffix}`))return t}function Ne(o){let e=ct(o.hostname);return{"accept-encoding":"identity",...e?.suppressBrowserUserAgent?{}:{"user-agent":q},...e?.headers}}var ut=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"]),pt={"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"},mt=new Set(["host","origin","referer","sec-fetch-site","sec-fetch-mode","sec-fetch-dest"]);function He(o){return o.protocol!=="https:"?{}:C(o.hostname)?{rejectUnauthorized:!1}:{}}function O(o){for(let[e,t]of Object.entries(pt))o.setHeader(e,t)}function ht(o,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 s=[...new Set(t.filter(Boolean))].join(" | ")||String(e);return o.includes("stored-in-.env.local")?`${s} | upstream url still contains placeholder env values`:s}function ft(o,e){let t={};for(let[i,r]of Object.entries(o))r&&(ut.has(i.toLowerCase())||(t[i]=Array.isArray(r)?r.join(", "):r));return Object.assign(t,e?Ne(e):{"user-agent":q}),t}function gt(o,e){let t={};for(let[i,r]of Object.entries(o))r&&(mt.has(i.toLowerCase())||(t[i]=r));return t.host=e.host,t.origin=e.origin,t.referer=`${e.origin}/`,t}function Ue(o){return o?.startsWith("/__fetch-proxy?")||o?.startsWith("/__proxy?")||!1}function Fe(o){return o?!!(o.startsWith("/__app-api?")||o.startsWith("/__app-api/")):!1}async function je(o,e){if(o.method==="OPTIONS"){O(e),e.writeHead(204),e.end();return}let i=new URLSearchParams((o.url||"").split("?")[1]||"").get("url");if(!i){O(e),e.writeHead(400,{"Content-Type":"text/plain"}),e.end("missing url param");return}let r;try{r=new URL(i)}catch{O(e),e.writeHead(400,{"Content-Type":"text/plain"}),e.end("invalid url param");return}let s;if(o.method!=="GET"&&o.method!=="HEAD"){let a=[];for await(let d of o)a.push(Buffer.isBuffer(d)?d:Buffer.from(d));a.length>0&&(s=Buffer.concat(a))}let c=o.method||"GET",n=async(a,d,l,u)=>{let m=a.protocol==="https:"?Be:De,p=ft(o.headers,a);a.origin!==r.origin&&(delete p.authorization,delete p["proxy-authorization"]),d==="GET"||d==="HEAD"?(delete p["content-length"],delete p["content-type"]):l&&(p["content-length"]=String(l.byteLength));let h=await new Promise((w,T)=>{let y=m.request({hostname:a.hostname,port:a.port||(a.protocol==="https:"?443:80),path:a.pathname+a.search,method:d,headers:p,...He(a)},w),I=()=>y.destroy(new Error("fetch proxy client disconnected"));o.once("aborted",I),y.once("close",()=>o.off("aborted",I)),y.once("error",T),l===void 0?y.end():y.end(l)}),f=h.statusCode??502,g=h.headers.location;if(g&&(f===301||f===302||f===303||f===307||f===308)){if(u>=10)throw h.destroy(),new Error("too many redirects");let w=(f===301||f===302)&&d==="POST"||f===303&&d!=="GET"&&d!=="HEAD",T=new URL(g,a);h.resume(),await dt(h),await n(T,w?"GET":d,w?void 0:l,u+1);return}for(let[w,T]of Object.entries(h.headers)){let y=w.toLowerCase();T===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,T)}O(e);let b=h.headers["set-cookie"]??[];b.length>0&&e.setHeader("x-sootsim-set-cookie",(Array.isArray(b)?b:[b]).join(", ")),e.statusCode=f,await lt(h,e)};try{await n(r,c,s,0)}catch(a){if(e.headersSent){e.destroy(a instanceof Error?a:new Error(String(a)));return}O(e),e.writeHead(502,{"Content-Type":"text/plain"}),e.end(`fetch proxy error: ${ht(r.href,a)}`)}}function We(o,e){let t=o.url||"",i="",r="";if(t.startsWith("/__app-api?")){let d=new URL(t,"http://sootsim.local");i=d.searchParams.get("path")||"",r=d.searchParams.get("origin")?.trim()||""}else if(t.startsWith("/__app-api/"))i=t.slice(10);else return!1;if(!r)return e.writeHead(400,{"Content-Type":"text/plain"}),e.end("app-api: missing origin query param"),!0;if(o.method==="OPTIONS")return e.writeHead(204,{"Access-Control-Allow-Origin":o.headers.origin||"*","Access-Control-Allow-Methods":"GET,POST,PUT,PATCH,DELETE,OPTIONS","Access-Control-Allow-Headers":o.headers["access-control-request-headers"]||"*","Access-Control-Allow-Credentials":"true","Access-Control-Max-Age":"86400"}),e.end(),!0;let s;try{s=new URL(i,r)}catch{return e.writeHead(400,{"Content-Type":"text/plain"}),e.end("app-api: invalid origin or path"),!0}let c=s.protocol==="https:"?Be:De,n=gt(o.headers,s),a=c.request({hostname:s.hostname,port:s.port||(s.protocol==="https:"?443:80),path:s.pathname+s.search,method:o.method,headers:n,...He(s)},d=>{let l=Object.keys(d.headers).filter(u=>{let m=u.toLowerCase();return!m.startsWith("access-control-")&&m!=="set-cookie"}).join(", ");e.writeHead(d.statusCode??502,{...d.headers,"access-control-allow-origin":o.headers.origin||"*","access-control-allow-credentials":"true","access-control-expose-headers":l}),d.pipe(e)});return a.on("error",d=>{e.statusCode=502,e.end(`app proxy error: ${d.message}`)}),o.pipe(a),!0}import $e from"node:fs/promises";import E from"node:path";import{build as St}from"esbuild";var Ve="/__sootsim-replacement-module",R="/__sootsim-replacement-runtime";function yt(o){switch(E.extname(o).toLowerCase()){case".js":return"js";case".jsx":return"jsx";case".ts":return"ts";case".tsx":return"tsx";default:return null}}function bt(o){return o?`export * from ${JSON.stringify(o)};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.352 | (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 N,c as I}from"./chunk-
|
|
4
|
+
import{b as N,c as I}from"./chunk-XHZEKHB2.js";import{d as D,g as A,i as E,j as M}from"./chunk-DJAYEBF3.js";import"./chunk-P5YC5VGA.js";import"./chunk-JEPQ5YX3.js";import"./chunk-45D2GGIA.js";import"./chunk-5JINX2IB.js";import"./chunk-RH6FJI5O.js";import"./chunk-EHQHK7KN.js";import"./chunk-EGKGCDG5.js";import"./chunk-UHP33XGC.js";import{f}from"./chunk-M6DC6JZL.js";import{c as O}from"./chunk-FHLEA4S5.js";import"./chunk-YAMKV3UB.js";import{a as d}from"./chunk-S63ENXGH.js";import{a as $}from"./chunk-AR3CPCW3.js";import{C as w,D as k,J as P,l as x}from"./chunk-DFTG53TX.js";import{a as j}from"./chunk-S2PJOB2C.js";import{a as s}from"./chunk-BQE4E24T.js";import"./chunk-BZ32JGFC.js";import"./chunk-WNJDE2JT.js";import ee from"node:fs";import q from"node:os";import F from"node:path";import{spawn as z}from"node:child_process";import u from"node:fs";import a from"node:path";function C(e){let n=a.resolve(e);for(;;){if(u.existsSync(a.join(n,"package.json")))return n;let r=a.dirname(n);if(r===n)return null;n=r}}function m(e){let n=a.resolve(e);for(;;){if(u.existsSync(a.join(n,"bun.lock"))||u.existsSync(a.join(n,"bun.lockb")))return"bun";if(u.existsSync(a.join(n,"pnpm-lock.yaml")))return"pnpm";if(u.existsSync(a.join(n,"package-lock.json")))return"npm";let r=a.dirname(n);if(r===n)return"npm";n=r}}function V(e){let n=a.resolve(e.appDir),r=G(a.join(n,"package.json")),o=`${s.commandName} open`,t=r.scripts?.[s.commandName];if(t&&t!==o)throw new Error(`package.json already defines scripts.${s.commandName} as ${JSON.stringify(t)}; resolve that conflict before setup`);let i=m(n),c=[];return r.devDependencies?.[s.packageName]!==e.cliVersion&&c.push(H(i,e.cliVersion)),t!==o&&c.push(Q(i)),{appDir:n,packageManager:i,operations:c}}async function J(e,n){for(let r of e.operations)n.dryRun||await K(r,e.appDir,n.json)}function y(e){return e.operations.map(n=>`${n.command} ${n.args.map(Z).join(" ")}`)}function G(e){let n;try{n=JSON.parse(u.readFileSync(e,"utf8"))}catch(t){let i=t instanceof Error?t.message:String(t);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=T(Reflect.get(n,"scripts")),o=T(Reflect.get(n,"devDependencies"));return{...r?{scripts:r}:{},...o?{devDependencies:o}:{}}}function T(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 H(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 Z(e){return/^[a-zA-Z0-9_./@=-]+$/.test(e)?e:JSON.stringify(e)}function K(e,n,r){return new Promise((o,t)=>{let i=z(e.command,e.args,{cwd:n,stdio:r?["ignore",2,"inherit"]:"inherit"});i.once("error",t),i.once("exit",c=>{c===0?o():t(new Error(`${e.command} exited with code ${c??"unknown"}`))})})}function Q(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 Te(e){if(e.includes("--help")||e.includes("-h")){me();return}let n=ne(e);try{let r=C(n.appDir),o=N(),t=w(),i=await te(n,o),c=await oe(n,r),g=await ie(n,t),B=!1,U=await f.fetchManifest(),l=f.resolveVersion(U,{channel:"stable"}).version,S=j();if(S==="0.0.0")throw new Error("could not resolve the installed rnx CLI version");let p=null;c&&r&&(p=V({appDir:r,cliVersion:S})),ce(n),pe(n,o,i,l),ue(n,r,p),le(n,g);let v=!1;if(!n.dryRun){let b=P();v=(await f.install({version:l,channel:"stable",setActive:!0,protectVersions:b?[b]:[]})).installed}p&&await J(p,{dryRun:n.dryRun,json:n.json});let h=o.installed;i&&!o.installed&&!n.dryRun&&(await I({port:7668,force:!1}),h=!0),n.dryRun||k({productAnalytics:g,crashReports:B});let W=r?se(r):null;de(n,W);let R={runtimeVersion:l,serviceInstalled:h,repositoryPrepared:p!==null},Y=ae(l);return n.json?console.log(JSON.stringify({...R,runtimeInstalled:n.dryRun?!1:v,dryRun:n.dryRun,cache:Y,repositoryOperations:p?y(p):[]},null,2)):fe(p),R}catch(r){throw O(r),r}}function ne(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 o=_(e,"--service","--no-service"),t=_(e,"--repo","--no-repo");return{appDir:F.resolve(r??process.cwd()),ci:e.includes("--ci")||$(),dryRun:e.includes("--dry-run"),json:e.includes("--json"),yes:e.includes("--yes")||e.includes("-y"),service:o,repository:t,productAnalytics:re(e,"--analytics")}}function _(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 re(e,n){let r=e.find(i=>i.startsWith(`${n}=`)),o=e.indexOf(n),t=r?.slice(n.length+1)??(o>=0?e[o+1]:void 0);if(t!==void 0){if(t==="on"||t==="yes"||t==="true")return!0;if(t==="off"||t==="no"||t==="false")return!1;throw new Error(`${n} must be on or off`)}}async function te(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:(L(e,"--service or --no-service"),d("Install the background service and shared managed runtime?",!0)):!1}async function oe(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:(L(e,"--repo or --no-repo"),d(`Prepare ${n} for reproducible rnx runs?`,!0))}async function ie(e,n){return e.productAnalytics!==void 0?e.productAnalytics:n.configured?n.productAnalytics:e.yes||e.ci||!process.stdin.isTTY?!1:d("Share anonymous package incompatibilities and error classes to improve rnx?",!1)}function L(e,n){if(!(process.stdin.isTTY&&!e.ci))throw new Error(`non-interactive setup requires ${n}, or --yes to accept defaults`)}function se(e){let n=JSON.parse(ee.readFileSync(F.join(e,"package.json"),"utf8"));if(!n||typeof n!="object")throw new Error("package.json must contain an object");return D(n)}function ae(e){let n=q.platform(),r=q.arch();return{path:x(e),key:`sootsim-runtime-${n}-${r}-${e}`,inputs:{platform:n,arch:r,runtimeVersion:e}}}function ce(e){e.json||console.log(`
|
|
5
5
|
rnx setup`)}function pe(e,n,r,o){e.json||(console.log(`
|
|
6
6
|
1. machine`),console.log(` stable runtime: ${o}`),console.log(` background service: ${n.supported?r?"install":"skip":"unsupported on this platform"}`))}function ue(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: ${m(n)}`);for(let o of y(r))console.log(` ${e.dryRun?"would run":"run"}: ${o}`)}}function le(e,n){e.json||(console.log(`
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.352 | (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-BQE4E24T.js";import"./chunk-WNJDE2JT.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(`rnx 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.352 | (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-TF6VBUZ7.js";import"./chunk-H4IF54WS.js";import{q as c,s as l}from"./chunk-EHQHK7KN.js";import"./chunk-EGKGCDG5.js";import"./chunk-DFTG53TX.js";import"./chunk-WNJDE2JT.js";function g(t){return!!t&&typeof t=="object"&&typeof Reflect.get(t,"capturedAt")=="number"}function p(){console.log(`
|
|
5
5
|
rnx 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.352 | (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 f}from"./chunk-
|
|
4
|
+
import{a as f}from"./chunk-NQMZOJPX.js";import"./chunk-TF6VBUZ7.js";import"./chunk-H4IF54WS.js";import"./chunk-EHQHK7KN.js";import{b as t,c as l,d as s,e as c,f as a}from"./chunk-3Y7NWE22.js";import"./chunk-EGKGCDG5.js";import"./chunk-DFTG53TX.js";import"./chunk-WNJDE2JT.js";function p(){console.log(`
|
|
5
5
|
rnx storage profile \u2014 manage isolated storage profiles
|
|
6
6
|
|
|
7
7
|
usage:
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! rnx v0.1.352 | (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-LRKODRWI.js";import"./chunk-RH6FJI5O.js";import"./chunk-WNJDE2JT.js";export{a as settingsStore};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! rnx v0.1.352 | (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}from"./chunk-FHLEA4S5.js";import"./chunk-YAMKV3UB.js";import"./chunk-S63ENXGH.js";import"./chunk-AR3CPCW3.js";import"./chunk-DFTG53TX.js";import"./chunk-WNJDE2JT.js";export{a as buildCliDiagnosticEvent,d as flushCliTelemetry,b as trackCliDiagnostic,c as trackCliError};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.352 | (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-EHQHK7KN.js";import"./chunk-EGKGCDG5.js";import"./chunk-DFTG53TX.js";import"./chunk-WNJDE2JT.js";import{writeFileSync as g}from"fs";function u(){console.log(`
|
|
5
5
|
rnx timeline \u2014 control the semantic event timeline
|
|
6
6
|
|
|
7
7
|
usage:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.352 | (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-QP7KGSU4.js";import{b as p}from"./chunk-RASWCAJJ.js";import"./chunk-ELNSQ352.js";import"./chunk-EHQHK7KN.js";import"./chunk-EGKGCDG5.js";import{b as g}from"./chunk-M6DC6JZL.js";import{J as a,g as m,h as u,l as d}from"./chunk-DFTG53TX.js";import{a as f}from"./chunk-S2PJOB2C.js";import"./chunk-BQE4E24T.js";import"./chunk-WNJDE2JT.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(`rnx 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.352 | (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-7T7DR34H.js";import"./chunk-XI4W6LRQ.js";import"./chunk-R4P7WO4L.js";import"./chunk-DSF4WC4X.js";import"./chunk-4AOAJXE2.js";import"./chunk-PEBQKBEP.js";import"./chunk-ELNSQ352.js";import"./chunk-EHQHK7KN.js";import"./chunk-EGKGCDG5.js";import"./chunk-DFTG53TX.js";import"./chunk-BQE4E24T.js";import"./chunk-WNJDE2JT.js";export{a as resolveDefaultUploadOrigin,b as resolvePublicPreviewOrigin,c as runUpload};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.352 | (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 m}from"./chunk-
|
|
4
|
+
import{a as m}from"./chunk-JEPQ5YX3.js";import{b as a}from"./chunk-RASWCAJJ.js";import"./chunk-ELNSQ352.js";import"./chunk-EHQHK7KN.js";import"./chunk-EGKGCDG5.js";import{d as s,f as t}from"./chunk-M6DC6JZL.js";import{l as r}from"./chunk-DFTG53TX.js";import{a as l}from"./chunk-S2PJOB2C.js";import"./chunk-BQE4E24T.js";import"./chunk-WNJDE2JT.js";import g from"node:fs";import d from"node:path";async function R($){let{IS_BETA:c,BETA_LABEL:u}=await import("./beta-AQQUYVA5.js"),f=c?` \xB7 ${u}`:"";console.log(`rnx 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 `rnx runtime install`"):console.log(`${o.primary} \xB7 ${n}`);let{config:e}=await a();if(e?.runtimeVersion){let p=g.existsSync(d.join(r(e.runtimeVersion),"index.html"));console.log(`project runtime v${e.runtimeVersion} \xB7 configured \xB7 ${p?"installed":"installs on open"}`)}let i=await t.checkUpToDate({channel:n});i.outdated&&i.latest&&console.log(`
|
|
5
5
|
\u2191 default runtime v${i.latest} available; run \`rnx 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.352 | (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-DJAYEBF3.js";import"./chunk-WNJDE2JT.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,5 +1,5 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.352 | (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{r as f}from"./chunk-
|
|
5
|
-
welcome to rnx`),console.log(` diagnostics: ${e.configured&&e.productAnalytics?"bounded opt-in on":"off until you opt in"}`),console.log(" looking for a running React Native app\u2026");let o=[...await u({excludePorts:[7668]})].sort((r,n)=>r.port-n.port);if(o.length===0)return console.error(" no running React Native development server found."),console.error(" start your app normally, then run `npx rnxsim` again."),1;if(o.length>1&&!d()){console.error(" multiple React Native development servers found.");for(let r of o)console.error(` ${a(r)}: rnx open ${r.port}`);return console.error(" choose one explicitly; automated runs do not guess."),1}let g=o.length===1?0:await p("which running app should rnx open?",o.map(a)),t=o[g];if(!t)throw new Error("rnx app selection returned an invalid choice");console.log(` found ${a(t)} \xB7 opening simulator\u2026`);let i=await f([t.bundleUrl]);if(i!==void 0){let{runInspect:r}=await import("./inspect-
|
|
4
|
+
import{r as f}from"./chunk-2WJABJ6C.js";import"./chunk-6NSUY346.js";import"./chunk-5JE5PNIV.js";import"./chunk-DSF4WC4X.js";import{k as u}from"./chunk-4AOAJXE2.js";import"./chunk-5JINX2IB.js";import"./chunk-LRKODRWI.js";import"./chunk-RH6FJI5O.js";import"./chunk-PEBQKBEP.js";import"./chunk-RASWCAJJ.js";import"./chunk-ELNSQ352.js";import"./chunk-TF6VBUZ7.js";import"./chunk-H4IF54WS.js";import{r as m}from"./chunk-EHQHK7KN.js";import"./chunk-ESVF72YH.js";import"./chunk-HF2FZ2WN.js";import"./chunk-3Y7NWE22.js";import"./chunk-EGKGCDG5.js";import"./chunk-M6DC6JZL.js";import"./chunk-H6MTPXZS.js";import{a as d}from"./chunk-YAMKV3UB.js";import{b as p}from"./chunk-S63ENXGH.js";import"./chunk-AR3CPCW3.js";import{C as l}from"./chunk-DFTG53TX.js";import"./chunk-BQE4E24T.js";import"./chunk-WNJDE2JT.js";function a(e){return`${e.projectName?.trim()||e.framework} on :${e.port}`}async function R(){let e=l();console.log(`
|
|
5
|
+
welcome to rnx`),console.log(` diagnostics: ${e.configured&&e.productAnalytics?"bounded opt-in on":"off until you opt in"}`),console.log(" looking for a running React Native app\u2026");let o=[...await u({excludePorts:[7668]})].sort((r,n)=>r.port-n.port);if(o.length===0)return console.error(" no running React Native development server found."),console.error(" start your app normally, then run `npx rnxsim` again."),1;if(o.length>1&&!d()){console.error(" multiple React Native development servers found.");for(let r of o)console.error(` ${a(r)}: rnx open ${r.port}`);return console.error(" choose one explicitly; automated runs do not guess."),1}let g=o.length===1?0:await p("which running app should rnx open?",o.map(a)),t=o[g];if(!t)throw new Error("rnx app selection returned an invalid choice");console.log(` found ${a(t)} \xB7 opening simulator\u2026`);let i=await f([t.bundleUrl]);if(i!==void 0){let{runInspect:r}=await import("./inspect-DW3V2FD4.js");await r(["wait","ready","--max-ms","120000"],{port:i});let n=m(i,{commandTimeoutMs:45e3});try{let s=await n.send({type:"screenshot"}),c="data:image/png;base64,";if(typeof s!="string"||!s.startsWith(c)||s.length<=c.length)throw new Error("the simulator connected but did not produce a visible app frame")}finally{n.close()}}return 0}export{R as runWelcome};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.352 | (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-H4IF54WS.js";import{e as k,q as x,s as N}from"./chunk-EHQHK7KN.js";import"./chunk-EGKGCDG5.js";import"./chunk-DFTG53TX.js";import"./chunk-WNJDE2JT.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 i=Number(s);if(Number.isFinite(i)&&i>1e12)return{since:i,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,i=l?.phase;if(!i||i==="enter"||i==="appear"||i==="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
|
rnx 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.352 | (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.352 | (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.352 | (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.352 | (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.352 | (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.352 | (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.352 | (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.352 | (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.352 | (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.352 | (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.352 | (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.352 | (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.352 | (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.352 | (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.352 | (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.352 | (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.352 | (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.352 | (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.352 | (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.352 | (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.352 | (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.352 | (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.352 | (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.352 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/menu.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.352 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/metro.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.352 | (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.352 | (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.352 | (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.352 | (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.352 | (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.352 | (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.352 | (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.352 | (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.352 | (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.352 | (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.350 | (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-OBMEHXQT.js";import"./chunk-DBJDREMK.js";import"./chunk-XK6LTJZT.js";export{a as getCliVersion};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! rnx v0.1.350 | (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-GXMLC2LR.js";import"./chunk-S54BTRYQ.js";import"./chunk-U3KMAGXM.js";import"./chunk-QXFKBXUG.js";import"./chunk-QF4HMUED.js";import"./chunk-GHU7ZZAR.js";import"./chunk-M47A3UW3.js";import"./chunk-NLWR4YFX.js";import"./chunk-OGSKLPNG.js";import"./chunk-4XOWVQ2V.js";import"./chunk-OBMEHXQT.js";import"./chunk-DBJDREMK.js";import"./chunk-3XCBHTCB.js";import"./chunk-XK6LTJZT.js";export{c as daemonInstall,b as getDaemonServiceStatus,a as runDaemon,e as teardownDaemonService,d as teardownLegacyMacDaemonArtifacts,f as teardownSootsimHome};
|