sootsim 0.1.58 → 0.1.59
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 +3 -3
- package/dist-cli/chunks/{agent-3BDDHXQM.js → agent-GD3Q5RPA.js} +2 -2
- package/dist-cli/chunks/{agent-wrapper-DROXVOMM.js → agent-wrapper-LBIAKQGM.js} +2 -2
- package/dist-cli/chunks/{assert-AOU2ZD7J.js → assert-LZUX5QVA.js} +2 -2
- package/dist-cli/chunks/auto-bootstrap-RGEU3N4Y.js +2 -0
- package/dist-cli/chunks/beta-7YMPFJF7.js +2 -0
- package/dist-cli/chunks/{chunk-AEOY2DUB.js → chunk-24VAZEFY.js} +2 -2
- package/dist-cli/chunks/{chunk-BVQSANTO.js → chunk-4ENZNH7P.js} +2 -2
- package/dist-cli/chunks/{chunk-VCQZZT6G.js → chunk-4L72FYCQ.js} +1 -1
- package/dist-cli/chunks/{chunk-KHUMI2KX.js → chunk-4VNKLERI.js} +2 -2
- package/dist-cli/chunks/{chunk-4PQJLJEY.js → chunk-5DO55JWB.js} +6 -6
- package/dist-cli/chunks/{chunk-KGOAABLH.js → chunk-5RLJWEFW.js} +1 -1
- package/dist-cli/chunks/{chunk-253H4P55.js → chunk-5S62LOV4.js} +2 -2
- package/dist-cli/chunks/{chunk-JU56H25L.js → chunk-A3ATSCOF.js} +2 -2
- package/dist-cli/chunks/{chunk-H3E3TTRU.js → chunk-AMEUPM6D.js} +1 -1
- package/dist-cli/chunks/{chunk-RYTJAEQU.js → chunk-BL3IZLNB.js} +2 -2
- package/dist-cli/chunks/{chunk-ZPNUGF2B.js → chunk-D26QPCEP.js} +2 -2
- package/dist-cli/chunks/{chunk-ZIIN65FP.js → chunk-D6O2NXGB.js} +2 -2
- package/dist-cli/chunks/{chunk-JYI74FY5.js → chunk-DFXUPNYD.js} +1 -1
- package/dist-cli/chunks/{chunk-LGICMZNJ.js → chunk-F2DSLYX4.js} +1 -1
- package/dist-cli/chunks/{chunk-TKNYDQOU.js → chunk-G3A23B5Q.js} +1 -1
- package/dist-cli/chunks/chunk-GL3JT3P7.js +1 -0
- package/dist-cli/chunks/{chunk-X4E3T5FQ.js → chunk-HMPHDE5A.js} +1 -1
- package/dist-cli/chunks/{chunk-AITNV7L5.js → chunk-IY3JNNU7.js} +2 -2
- package/dist-cli/chunks/{chunk-GPHJ6RWQ.js → chunk-KYP5XLIR.js} +2 -2
- package/dist-cli/chunks/chunk-L5PBH3V6.js +1 -0
- package/dist-cli/chunks/{chunk-YQL26DOY.js → chunk-LLOURJ3N.js} +3 -3
- package/dist-cli/chunks/chunk-N7OHTYFK.js +2 -0
- package/dist-cli/chunks/{chunk-PKNUHCHD.js → chunk-NGEPSXEE.js} +1 -1
- package/dist-cli/chunks/chunk-O2W7EB7L.js +11 -0
- package/dist-cli/chunks/{chunk-V7SVZJDN.js → chunk-O4I44BRL.js} +1 -1
- package/dist-cli/chunks/{chunk-MXJ3IUS4.js → chunk-PS57ERTY.js} +2 -2
- package/dist-cli/chunks/{chunk-IMOF5JPS.js → chunk-PSPZTTCO.js} +2 -2
- package/dist-cli/chunks/{chunk-VDZIBJD5.js → chunk-QNH7IX5F.js} +2 -2
- package/dist-cli/chunks/{chunk-KOJBRY23.js → chunk-TYRPY3SN.js} +1 -1
- package/dist-cli/chunks/chunk-UPW76NDZ.js +2 -0
- package/dist-cli/chunks/{chunk-QUZVDUEK.js → chunk-V4SMVFRV.js} +1 -1
- package/dist-cli/chunks/{chunk-CHEHYP6Y.js → chunk-V6NAG62D.js} +1 -1
- package/dist-cli/chunks/chunk-WMTMNKH2.js +5 -0
- package/dist-cli/chunks/{chunk-IMLVQHFL.js → chunk-WQOEMVXN.js} +1 -1
- package/dist-cli/chunks/{chunk-463SH7ZZ.js → chunk-WQXLD5YU.js} +2 -2
- package/dist-cli/chunks/{chunk-LVWOY73Y.js → chunk-XDIT5SEC.js} +2 -2
- package/dist-cli/chunks/{chunk-APYPBMOA.js → chunk-XM4D43UP.js} +2 -2
- package/dist-cli/chunks/{chunk-TPL23F2S.js → chunk-XRMTMRS5.js} +1 -1
- package/dist-cli/chunks/{chunk-TFQ3YDFS.js → chunk-Y65GFG22.js} +3 -3
- package/dist-cli/chunks/{chunk-E6FXRBQY.js → chunk-YT54ZKTQ.js} +2 -2
- package/dist-cli/chunks/chunk-ZEB4DGC6.js +1 -0
- package/dist-cli/chunks/{chunk-KPLBV75X.js → chunk-ZLMNBI7T.js} +2 -2
- package/dist-cli/chunks/{chunk-GVYPZSX3.js → chunk-ZX66GIXV.js} +2 -2
- package/dist-cli/chunks/cli-version-CL32HHD6.js +2 -0
- package/dist-cli/chunks/{compat-WWN2B6GB.js → compat-77WWLIGJ.js} +3 -3
- package/dist-cli/chunks/{config-RQUB7R7X.js → config-WGPGLVTW.js} +2 -2
- package/dist-cli/chunks/control-KZYO5BDN.js +2 -0
- package/dist-cli/chunks/{cpu-profile-SMJ6HWJI.js → cpu-profile-XMBVCI7K.js} +2 -2
- package/dist-cli/chunks/{daemon-IOKHAHBN.js → daemon-FFHD2I32.js} +2 -2
- package/dist-cli/chunks/{debug-HBEVLB74.js → debug-FMXTU6TB.js} +3 -3
- package/dist-cli/chunks/demo-app-registry-RSAPXLUE.js +2 -0
- package/dist-cli/chunks/{detox-DG7BLEZR.js → detox-QGFGC5RT.js} +2 -2
- package/dist-cli/chunks/{device-R5BM6MTL.js → device-OL7VGMK7.js} +2 -2
- package/dist-cli/chunks/{diagnose-OMOEACEV.js → diagnose-6CSSFWBQ.js} +2 -2
- package/dist-cli/chunks/drivers-7PFWCFVQ.js +2 -0
- package/dist-cli/chunks/{electron-WDVKF4WD.js → electron-MHXT6NTC.js} +3 -3
- package/dist-cli/chunks/flow-HMBOPMQV.js +2 -0
- package/dist-cli/chunks/{hints-AQEYMAN7.js → hints-W5DK2COL.js} +2 -2
- package/dist-cli/chunks/{home-paths-SWAUAJK6.js → home-paths-RWCQ7AU2.js} +2 -2
- package/dist-cli/chunks/{inspect-MTQ4VXTU.js → inspect-5XMF34Y7.js} +3 -3
- package/dist-cli/chunks/install-3MNX7DSK.js +2 -0
- package/dist-cli/chunks/{install-desktop-J2JX2FWM.js → install-desktop-YVHWBC3T.js} +3 -3
- package/dist-cli/chunks/{keys-LMEJDEJT.js → keys-6HAEB4IC.js} +2 -2
- package/dist-cli/chunks/{launch-3MFII67G.js → launch-OHCK4MRM.js} +3 -3
- package/dist-cli/chunks/{login-BKQJUITV.js → login-VBHIW5ZN.js} +4 -4
- package/dist-cli/chunks/{logout-AQOAXUYE.js → logout-LHFYJFHT.js} +2 -2
- package/dist-cli/chunks/{maestro-AYHUMC4R.js → maestro-56F3HFUH.js} +2 -2
- package/dist-cli/chunks/{preview-7BC5II5C.js → preview-ATGWKYQI.js} +2 -2
- package/dist-cli/chunks/{profile-7425BUWV.js → profile-UII6DPNJ.js} +2 -2
- package/dist-cli/chunks/{react-SHJTN3IA.js → react-4F2HFSY7.js} +2 -2
- package/dist-cli/chunks/{record-COIO2TZH.js → record-YHRJJJRY.js} +2 -2
- package/dist-cli/chunks/runtime-HOPZF7H6.js +2 -0
- package/dist-cli/chunks/{runtime-delivery-2PJHSLBF.js → runtime-delivery-CUCNWWQP.js} +2 -2
- package/dist-cli/chunks/{screenshot-HCX4THCZ.js → screenshot-GKJ4ICW4.js} +2 -2
- package/dist-cli/chunks/{screenshot-mode-ZALLQWBD.js → screenshot-mode-OCP4HA3H.js} +2 -2
- package/dist-cli/chunks/{screenshots-LPGDPQQI.js → screenshots-RTRJF63K.js} +2 -2
- package/dist-cli/chunks/{server-XJMKY3QD.js → server-SY6BQAVD.js} +3 -3
- package/dist-cli/chunks/setup-repo-Z7WKSSP5.js +2 -0
- package/dist-cli/chunks/{skills-IMN7L26K.js → skills-KX3LI7Y6.js} +2 -2
- package/dist-cli/chunks/{start-V36TN7IJ.js → start-5IOHCWG6.js} +4 -4
- package/dist-cli/chunks/store-WYV5UMFH.js +2 -0
- package/dist-cli/chunks/telemetry-XABHSL5O.js +2 -0
- package/dist-cli/chunks/{test-THC765FS.js → test-2QTF7GWW.js} +3 -3
- package/dist-cli/chunks/{three-mode-HRLR7R5P.js → three-mode-EQSSYVHT.js} +2 -2
- package/dist-cli/chunks/{timeline-KHKZPDPA.js → timeline-GZZYRE2U.js} +2 -2
- package/dist-cli/chunks/{upgrade-JTT44DQY.js → upgrade-KVJ2HKRH.js} +2 -2
- package/dist-cli/chunks/upload-4VWBZXY4.js +2 -0
- package/dist-cli/chunks/web-2C5AJBCN.js +2 -0
- package/dist-cli/chunks/{what-happened-HW3YVAGQ.js → what-happened-YECRPXV5.js} +2 -2
- package/dist-cli/chunks/{whoami-JZP7QGTQ.js → whoami-WCPVDNPA.js} +2 -2
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.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/bridge-constants.cjs +1 -1
- package/dist-lib/cli-constants.cjs +1 -1
- package/dist-lib/config.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 +3 -2
- package/dist-lib/host/fetch-proxy-handler.cjs +3 -2
- package/dist-lib/host/fetch-proxy-overrides.cjs +2 -2
- package/dist-lib/index.cjs +1 -1
- package/dist-lib/metro.cjs +1 -1
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/render-mode.cjs +1 -1
- package/dist-lib/vite-base.cjs +3 -2
- package/dist-lib/vite.cjs +1 -1
- package/package.json +1 -1
- package/dist-cli/chunks/auto-bootstrap-3IRQZ72F.js +0 -2
- package/dist-cli/chunks/beta-YT6MZYKB.js +0 -2
- package/dist-cli/chunks/chunk-BOKT36T3.js +0 -5
- package/dist-cli/chunks/chunk-FP6TIJCL.js +0 -2
- package/dist-cli/chunks/chunk-GTRNGWWM.js +0 -1
- package/dist-cli/chunks/chunk-HSSCI52S.js +0 -2
- package/dist-cli/chunks/chunk-IA34CRQO.js +0 -2
- package/dist-cli/chunks/chunk-MAA6Z6MT.js +0 -11
- package/dist-cli/chunks/chunk-TKR473S6.js +0 -1
- package/dist-cli/chunks/chunk-UG6BCVD3.js +0 -1
- package/dist-cli/chunks/cli-version-5BIGFSRG.js +0 -2
- package/dist-cli/chunks/control-NHE3BU44.js +0 -2
- package/dist-cli/chunks/demo-app-registry-XBVMGUJV.js +0 -2
- package/dist-cli/chunks/drivers-RVEAM6HD.js +0 -2
- package/dist-cli/chunks/flow-I47SBO2G.js +0 -2
- package/dist-cli/chunks/install-PF3SVMRG.js +0 -2
- package/dist-cli/chunks/runtime-PI74NVXC.js +0 -2
- package/dist-cli/chunks/setup-repo-ZUJJ5HWF.js +0 -2
- package/dist-cli/chunks/store-6AH44BL4.js +0 -2
- package/dist-cli/chunks/telemetry-WW662VJA.js +0 -2
- package/dist-cli/chunks/upload-7OMVFN4F.js +0 -2
- package/dist-cli/chunks/web-OIDQAE63.js +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
2
|
-
import{J as F,w as S,x as k,y as g}from"./chunk-
|
|
1
|
+
/*! sootsim v0.1.59 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
+
import{J as F,w as S,x as k,y as g}from"./chunk-NGEPSXEE.js";import{c as b,e as y}from"./chunk-KYP5XLIR.js";import{b as w}from"./chunk-4L72FYCQ.js";import"./chunk-N7OHTYFK.js";import"./chunk-V6NAG62D.js";import"./chunk-AMEUPM6D.js";function M(t){let e=[];for(let n=0;n<t.length;n++)if(t[n]==="--since"&&n+1<t.length){e.push(n,n+1);let s=t[n+1].trim(),a=/^(\d+(?:\.\d+)?)(ms|s|m)?$/.exec(s);if(a){let l=Number(a[1]),u=a[2]??"ms",r=u==="s"?l*1e3:u==="m"?l*6e4:l;return{since:Date.now()-r,consumed:e}}let o=Number(s);if(Number.isFinite(o)&&o>1e12)return{since:o,consumed:e}}return{consumed:e}}function E(t){let e=[];for(let n=0;n<t.length;n++)if(t[n]==="--kinds"&&n+1<t.length)return e.push(n,n+1),{kinds:t[n+1].split(",").map(s=>s.trim()).filter(Boolean),consumed:e};return{consumed:e}}function C(t){let e=[];for(let n=0;n<t.length;n++)if(t[n]==="--limit"&&n+1<t.length){e.push(n,n+1);let s=Number(t[n+1]);if(Number.isFinite(s)&&s>0)return{limit:s,consumed:e}}return{consumed:e}}function _(t,e){if(e===null)return new Date(t).toLocaleTimeString();let n=(t-e)/1e3;return`${n>=0?"+":""}${n.toFixed(2)}s`}function j(t,e){switch(t){case"app-launch":return e.phase==="launch"?`launch ${e.appName??e.toAppId??""}`:`dismiss ${e.appName??e.fromAppId??""} \u2192 ${e.toAppId??""}`;case"toast":return`"${e.text??""}"${e.durationMs?` (${e.durationMs}ms)`:""}`;case"keyboard":return`${e.phase??"?"}${e.heightPx?` h=${e.heightPx}`:""}${e.mode?` ${e.mode}`:""}`;case"screen":return`${e.phase??"?"} ${e.name??e.activeName??""}`;case"route":return`${e.phase??"?"} ${e.path??e.pathname??""}`;case"alert":case"actionsheet":case"picker":return`${e.phase??"?"} ${e.title??e.message??""}`;case"notification":return`${e.title??""}${e.body?` \u2014 ${e.body}`:""}`;case"fetch":return`${e.method??"GET"} ${e.url??""}${e.status?` -> ${e.status}`:""}`;case"console":return`${e.level??"log"}: ${(e.message??"").toString().slice(0,120)}`;case"shell":return`${e.event??e.type??e.phase??""}`;case"scroll":return`${e.phase??"?"} ${e.target??""}`;case"gesture":return`${e.phase??"?"} ${e.type??""}`;case"text-input":return`${e.phase??"?"}${e.value!==void 0?` "${String(e.value).slice(0,40)}"`:""}`;case"react-commit":{let n=e.slowest;return`${e.fiberCount??"?"} fibers ${e.durationMs??"?"}ms${n?.displayName?` \xB7 ${n.displayName} ${n.durationMs??"?"}ms`:""}`}case"reanimated":case"animation":return`${e.kind??""} ${e.target??""}${e.durationMs?` ${e.durationMs}ms`:""}`}}function N(t,e){let n=_(t.t,e).padStart(8),s=t.context.padEnd(6),a=`[${t.kind}]`.padEnd(15),o="",l=t.data;return l&&typeof l=="object"&&(o=j(t.kind,l)),` ${n} ${s} ${a} ${o}`}function T(t){let e=[],n={label:"initial state",events:[],startedAt:t[0]?.t??null};e.push(n);for(let s of t)if(n.events.push(s),s.kind==="screen"||s.kind==="route"){let a=s.data,o=a?.phase;if(!o||o==="enter"||o==="appear"||o==="active"){let l=a?.name||a?.activeName||a?.path||a?.pathname||s.kind;e.length===1&&n.events.length===1?n.label=`${s.kind}: ${l}`:(n={label:`${s.kind}: ${l}`,events:[],startedAt:s.t},e.push(n))}}return e}async function O(t,e){let n=b(t,{port:e.port,stripBooleanFlags:["--summary","--all","--json","--no-advance","--help","-h","--flow"],stripValueFlags:["--since","--kinds","--limit"]});(t.includes("--help")||t.includes("-h"))&&(console.log(`
|
|
3
3
|
sootsim what-happened \u2014 show recent events from the semantic timeline
|
|
4
4
|
|
|
5
5
|
usage:
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
2
|
-
import{d as i}from"./chunk-
|
|
1
|
+
/*! sootsim v0.1.59 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
+
import{d as i}from"./chunk-24VAZEFY.js";import{d as n}from"./chunk-4ENZNH7P.js";import"./chunk-V6NAG62D.js";import"./chunk-AMEUPM6D.js";async function u(){let o=i();if(o||(console.log(" not signed in"),console.log(" set SOOTSIM_API_KEY=sk_sootsim_\u2026 or run `sootsim login`"),process.exit(1)),o.kind==="api-key"){let r=`${o.secret.slice(0,14)}\u2026`,t=o.source==="env"?"SOOTSIM_API_KEY env var":"saved key (~/.config/sootsim/credentials.json)";console.log(` api key ${r}`),console.log(` source: ${t}`);return}if(o.kind==="github"){console.log(` github token (${o.source})`),console.log(` repo: ${o.repoId}`);return}let e=await n(),s=e?.user;console.log(` ${s?.email||s?.name||s?.id||"signed in"}`),console.log(` origin: ${e?.origin??o.origin}`),e?.updatedAt&&console.log(` updated: ${e.updatedAt}`)}export{u as runWhoami};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.59 | (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
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.59 | (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
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.59 | (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
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.59 | (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
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.59 | (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
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.59 | (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
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.59 | (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
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.59 | (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
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.59 | (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
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.59 | (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
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.59 | (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
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.59 | (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;
|
|
@@ -2863,8 +2863,8 @@ function headerOverridesFor(hostname) {
|
|
|
2863
2863
|
}
|
|
2864
2864
|
function getFetchProxyTargetHeaders(targetUrl) {
|
|
2865
2865
|
return {
|
|
2866
|
+
"accept-encoding": "identity",
|
|
2866
2867
|
"user-agent": FETCH_PROXY_BROWSER_USER_AGENT,
|
|
2867
|
-
origin: `${targetUrl.protocol}//${targetUrl.host}`,
|
|
2868
2868
|
...headerOverridesFor(targetUrl.hostname)
|
|
2869
2869
|
};
|
|
2870
2870
|
}
|
|
@@ -2875,6 +2875,7 @@ var STRIP_FETCH_PROXY_HEADERS = /* @__PURE__ */ new Set([
|
|
|
2875
2875
|
"origin",
|
|
2876
2876
|
"referer",
|
|
2877
2877
|
"user-agent",
|
|
2878
|
+
"accept-encoding",
|
|
2878
2879
|
"cookie",
|
|
2879
2880
|
"connection",
|
|
2880
2881
|
"keep-alive",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.59 | (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;
|
|
@@ -64,8 +64,8 @@ function headerOverridesFor(hostname) {
|
|
|
64
64
|
}
|
|
65
65
|
function getFetchProxyTargetHeaders(targetUrl) {
|
|
66
66
|
return {
|
|
67
|
+
"accept-encoding": "identity",
|
|
67
68
|
"user-agent": FETCH_PROXY_BROWSER_USER_AGENT,
|
|
68
|
-
origin: `${targetUrl.protocol}//${targetUrl.host}`,
|
|
69
69
|
...headerOverridesFor(targetUrl.hostname)
|
|
70
70
|
};
|
|
71
71
|
}
|
|
@@ -76,6 +76,7 @@ var STRIP_FETCH_PROXY_HEADERS = /* @__PURE__ */ new Set([
|
|
|
76
76
|
"origin",
|
|
77
77
|
"referer",
|
|
78
78
|
"user-agent",
|
|
79
|
+
"accept-encoding",
|
|
79
80
|
"cookie",
|
|
80
81
|
"connection",
|
|
81
82
|
"keep-alive",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.59 | (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;
|
|
@@ -47,8 +47,8 @@ function headerOverridesFor(hostname) {
|
|
|
47
47
|
}
|
|
48
48
|
function getFetchProxyTargetHeaders(targetUrl) {
|
|
49
49
|
return {
|
|
50
|
+
"accept-encoding": "identity",
|
|
50
51
|
"user-agent": FETCH_PROXY_BROWSER_USER_AGENT,
|
|
51
|
-
origin: `${targetUrl.protocol}//${targetUrl.host}`,
|
|
52
52
|
...headerOverridesFor(targetUrl.hostname)
|
|
53
53
|
};
|
|
54
54
|
}
|
package/dist-lib/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.59 | (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/metro.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.59 | (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
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.59 | (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/render-mode.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.59 | (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/vite-base.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.59 | (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;
|
|
@@ -2921,8 +2921,8 @@ function headerOverridesFor(hostname) {
|
|
|
2921
2921
|
}
|
|
2922
2922
|
function getFetchProxyTargetHeaders(targetUrl) {
|
|
2923
2923
|
return {
|
|
2924
|
+
"accept-encoding": "identity",
|
|
2924
2925
|
"user-agent": FETCH_PROXY_BROWSER_USER_AGENT,
|
|
2925
|
-
origin: `${targetUrl.protocol}//${targetUrl.host}`,
|
|
2926
2926
|
...headerOverridesFor(targetUrl.hostname)
|
|
2927
2927
|
};
|
|
2928
2928
|
}
|
|
@@ -3130,6 +3130,7 @@ var init_fetch_proxy_handler = __esm({
|
|
|
3130
3130
|
"origin",
|
|
3131
3131
|
"referer",
|
|
3132
3132
|
"user-agent",
|
|
3133
|
+
"accept-encoding",
|
|
3133
3134
|
"cookie",
|
|
3134
3135
|
"connection",
|
|
3135
3136
|
"keep-alive",
|
package/dist-lib/vite.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.59 | (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,2 +0,0 @@
|
|
|
1
|
-
/*! sootsim v0.1.58 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
-
import{a,b,c,d}from"./chunk-TFQ3YDFS.js";import"./chunk-GPHJ6RWQ.js";import"./chunk-VCQZZT6G.js";import"./chunk-IA34CRQO.js";import"./chunk-CHEHYP6Y.js";import"./chunk-H3E3TTRU.js";export{c as ensureDaemonRunning,a as ensureRuntimeInstalled,d as ensureSootsimReady,b as resolveBootstrapPort};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/*! sootsim v0.1.58 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
-
import{a as y,c as C}from"./chunk-FP6TIJCL.js";import{a as x}from"./chunk-GVYPZSX3.js";import{exec as U}from"child_process";import _ from"http";import D from"net";import{promisify as T}from"util";var P=T(U),E=250,A=1500,M=120;function R(e,r=M){return new Promise(s=>{let t=new D.Socket,o=!1,i=a=>{o||(o=!0,t.destroy(),s(a))};t.setTimeout(r),t.once("connect",()=>i(!0)),t.once("timeout",()=>i(!1)),t.once("error",()=>i(!1)),t.connect(e,"localhost")})}function h(e,r,s="GET",t=E,o={}){return new Promise(i=>{let a=_.request({hostname:"localhost",port:e,path:r,method:s,timeout:t,headers:o},n=>{let c="";n.on("data",l=>c+=l.toString());let u=(()=>{let l=n.headers["content-type"];if(typeof l=="string")return l;if(Array.isArray(l))return l[0]})();n.on("end",()=>i({statusCode:n.statusCode||0,body:c,contentType:u}))});a.on("error",()=>i(null)),a.setTimeout(t,()=>{a.destroy(),i(null)}),a.end()})}var N=[8081,8082,8083,8084,8085,8086,3e3,3001,19e3].map(e=>({port:e,pid:0}));function v(e,r){return!(e<=0||e>=2e4||r.has(e)||e>=5170&&e<=5200)}async function L(e=[]){let r=new Set(e);try{let{stdout:s}=await P("lsof -iTCP -sTCP:LISTEN -P -n 2>/dev/null | grep -E '^(node|bun)'",{encoding:"utf8",timeout:2e3});if(s.trim()){let t=new Map;for(let o of s.trim().split(`
|
|
3
|
-
`)){let i=o.trim().split(/\s+/);if(i.length<9)continue;let a=Number(i[1]),c=i[8].match(/:(\d+)$/);if(!c)continue;let u=Number(c[1]);v(u,r)&&(t.has(u)||t.set(u,a))}if(t.size>0)return[...t.entries()].map(([o,i])=>({port:o,pid:i}))}}catch{}try{let{stdout:s}=await P(`ss -tlnp 2>/dev/null | grep -E '"(node|bun)"'`,{encoding:"utf8",timeout:2e3});if(s.trim()){let t=new Map;for(let o of s.trim().split(`
|
|
4
|
-
`)){let i=o.match(/:(\d+)\s/),a=o.match(/pid=(\d+)/);if(!i)continue;let n=Number(i[1]),c=a?Number(a[1]):0;v(n,r)&&(t.has(n)||t.set(n,c))}if(t.size>0)return[...t.entries()].map(([o,i])=>({port:o,pid:i}))}}catch{}return N.filter(s=>v(s.port,r))}var S=new Map;async function $(e){if(e<=0)return null;let r=S.get(e);if(r)return r;try{let{stdout:s}=await P(`lsof -p ${e} -a -d cwd -Fn 2>/dev/null`,{encoding:"utf8",timeout:1500});for(let t of s.split(`
|
|
5
|
-
`))if(t.startsWith("n")&&t.length>1){let o=t.slice(1).trim();if(o)return S.set(e,o),o}}catch{}return null}function I(e,r){return{port:e,framework:r,bundleUrl:m(e,`http://localhost:${e}/index.bundle?platform=ios&dev=true&hot=true&minify=false`),hmrUrl:`ws://localhost:${e}/hot`,lastSeen:Date.now()}}function m(e,r){let s=x.find(o=>o.preferredPort===e),t=s?.runtimeConfig?y(r,s.runtimeConfig):r;return C(t)}function O(e){return e.includes("/node_modules/one/metro-entry.bundle")}function j(e){try{let r=JSON.parse(e);return r&&typeof r=="object"?r:null}catch{return null}}function w(e,r,s){if(!r)return e;try{let t=JSON.parse(r.body),o=t?.extra?.expoClient||t?.extra||{};o.name&&(e.projectName=o.name),o.ios?.bundleIdentifier&&(e.bundleId=o.ios.bundleIdentifier),e.framework==="metro"&&o.sdkVersion&&(e.framework="expo");let i=t?.launchAsset?.url;i&&!e.patched&&!O(e.bundleUrl)&&(e.bundleUrl=m(e.port,i));let a=o.iconUrl||o.ios?.iconUrl||o.icon||o.ios?.icon;if(a)if(e.iconPath=a,s)if(a.startsWith("http"))e.iconUrl=s(a);else{let n=a.replace(/^\.\//,"");e.iconUrl=s(`http://localhost:${e.port}/assets/${n}`)}else e.iconUrl=a.startsWith("http")?a:`http://localhost:${e.port}/assets/${a.replace(/^\.\//,"")}`}catch{}return e}var d=new Set,f=new Set,b=new Set;async function H(e,r){if(!await R(e))return null;let s="/node_modules/one/metro-entry.bundle?platform=ios&dev=true",[t,o,i,a,n]=await Promise.all([d.has(e)?Promise.resolve(null):h(e,"/__soot/"),h(e,"/status"),h(e,s,"HEAD"),b.has(e)?Promise.resolve(null):h(e,"/","GET",A,{"expo-platform":"ios"}),f.has(e)?Promise.resolve(null):h(e,"/_expo/status")]);n&&n.statusCode===200?f.delete(e):f.has(e)||f.add(e);let c=a?j(a.body):null,u=typeof c?.launchAsset?.url=="string"?c.launchAsset.url:null,l=c?.extra?.expoClient||c?.extra||{};if(c&&(u||typeof l.name=="string")){d.add(e);let p=u||`http://localhost:${e}/index.bundle?platform=ios&dev=true&hot=true&minify=false`,k=p.includes("/one/metro-entry.bundle")?"one":"expo";return w({port:e,framework:k,bundleUrl:m(e,p),hmrUrl:`ws://localhost:${e}/hot`,lastSeen:Date.now()},a,r)}return i&&i.statusCode>0&&i.statusCode<400&&/application\/javascript/i.test(i.contentType||"")?(d.add(e),b.add(e),w({port:e,framework:"one",bundleUrl:m(e,`http://localhost:${e}${s}&minify=false`),hmrUrl:`ws://localhost:${e}/hot`,lastSeen:Date.now()},a,r)):o&&o.body.includes("packager-status:running")?(d.add(e),w(I(e,n&&n.statusCode===200?"expo":"metro"),a,r)):t&&t.statusCode===200&&t.body.includes("sootsim-patched")?(d.delete(e),w({port:e,framework:"one",bundleUrl:m(e,`http://localhost:${e}/__soot/bundle.js`),hmrUrl:`ws://localhost:${e}/hot`,lastSeen:Date.now(),patched:!0},a,r)):(d.add(e),null)}function B(e){let r=e.projectName?.trim().toLowerCase();return!!(r==="soot"||r==="sootsim"||e.bundleId?.trim().toLowerCase()?.startsWith("dev.soot"))}var g=new Map,G=3e4,W=1500;function F(e){return!e||e.framework==="metro"||e.framework==="unknown"}function z(e){return e?m(e.port,e.bundleUrl)===e.bundleUrl:!0}function q(e,r,s=Date.now()){if(r===0||e.pid!==r||!z(e.result))return!1;let t=s-e.cachedAt;return!(e.result===null&&t>=G||F(e.result)&&t>=W)}async function ee(e={}){let r=await L(e.excludePorts),s=new Set(r.map(n=>n.port));for(let n of[...g.keys()])s.has(n)||g.delete(n);for(let n of[...d])s.has(n)||d.delete(n);for(let n of[...f])s.has(n)||f.delete(n);for(let n of[...b])s.has(n)||b.delete(n);let t=[],o=[];for(let{port:n,pid:c}of r){let u=g.get(n);if(u&&q(u,c)){u.result&&t.push(u.result);continue}u&&u.pid!==c&&(d.delete(n),f.delete(n),b.delete(n)),o.push({port:n,pid:c})}o.length>0&&(await Promise.all(o.map(c=>H(c.port,e.buildIconProxyUrl)))).forEach((c,u)=>{let{port:l,pid:p}=o[u];p!==0&&g.set(l,{pid:p,result:c,cachedAt:Date.now()}),c&&t.push(c)});let i=new Map;for(let{port:n,pid:c}of r)c>0&&i.set(n,c);await Promise.all(t.map(async n=>{let c=i.get(n.port);if(!c)return;n.pid=c;let u=await $(c);u&&(n.cwd=u)}));let a=new Set(i.values());for(let n of[...S.keys()])a.has(n)||S.delete(n);return t.filter(n=>!B(n))}export{ee as a};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! sootsim v0.1.58 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
-
var o="sootsimConfig";function e(n){return!!n&&Object.keys(n).length>0}function s(n){return n?e(n.modules)||e(n.turboModules)||e(n.nativeModules)||e(n.env)||e(n.settings)||e(n.initialState):!1}function d(n,i){let t=new URL(n);return s(i)?t.searchParams.set(o,JSON.stringify(i)):t.searchParams.delete(o),t.toString()}var l="/index.bundle?platform=ios&dev=true&hot=true&minify=false";function r(n){return/^https?:\/\//i.test(n)}function a(n){return n.endsWith(".bundle")}function u(n){process.env.SOOTSIM_PREVIEW_PROD_BUNDLE&&(n.searchParams.set("dev","false"),n.searchParams.set("minify","true"),n.searchParams.has("hot")&&n.searchParams.set("hot","false"))}function S(n){try{let i=r(n),t=new URL(n,"http://soot.local");return t.pathname=t.pathname.replace(/\.\.bundle$/,".bundle"),a(t.pathname)?(t.searchParams.delete("transform.bytecode"),u(t),i?t.toString():`${t.pathname}${t.search}${t.hash}`):n}catch{return n}}export{d as a,l as b,S as c};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! sootsim v0.1.58 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/*! sootsim v0.1.58 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
-
import{a as E,b as H,c as se}from"./chunk-FP6TIJCL.js";import{b as R}from"./chunk-V7SVZJDN.js";import{g as j}from"./chunk-VDZIBJD5.js";import{a as P,b as z}from"./chunk-KGOAABLH.js";import{c as ie}from"./chunk-ZIIN65FP.js";import{d as ne}from"./chunk-TKNYDQOU.js";import{a as ee}from"./chunk-HSSCI52S.js";import{b as re,c as v,d as S,e as I}from"./chunk-GPHJ6RWQ.js";import{c as k,d as w,e as C}from"./chunk-VCQZZT6G.js";import{E as oe,F as te}from"./chunk-CHEHYP6Y.js";import Ie from"node:fs";import xe from"node:os";import G from"node:path";function he(o){return o.replace(/^\[|\]$/g,"").toLowerCase()}function q(o){let t=he(o);return t==="localhost"||t.endsWith(".localhost")||t==="0.0.0.0"||t==="::1"||/^127(?:\.\d{1,3}){3}$/.test(t)}function ae(o){return new Error(`could not resolve a native bundle for ${o}. pass an explicit bundle URL or open Connect and choose the app there.`)}function we(o,t){return o?.includes("/one/metro-entry.bundle")?"one":typeof t=="string"&&t?"expo":"unknown"}function ce(o,t,e){return`${o}//${t}:${e}`}function ye(o){if(typeof window>"u")return!1;try{let t=new URL(o);return q(t.hostname)&&q(window.location.hostname)&&t.origin!==window.location.origin}catch{return!1}}async function le(o,t){let e={...t,cache:t?.cache??"no-store"};return ye(o)?fetch(`/__fetch-proxy?url=${encodeURIComponent(o)}`,e):fetch(o,e)}function be(o){return o==="https:"?443:80}function Se(o){let t=o.pathname||"/";return(t==="/"||t==="")&&!o.search&&!o.hash}async function de(o,t){let e=o.replace(/\/+$/,"");try{let n=await le(`${e}/`,{headers:{"expo-platform":"ios"}});if(n.ok){let r=await n.json(),a=r?.extra?.expoClient||r?.extra||{},i=typeof r?.launchAsset?.url=="string"?r.launchAsset.url:void 0;if(i||a.name)return{bundleUrl:se(i||`${e}${H}`),port:t,framework:we(i,a.sdkVersion),projectName:a.name}}}catch{}try{let n=await le(`${e}/status`);if(n.ok&&(await n.text()).includes("packager-status:running"))return{bundleUrl:`${e}${H}`,port:t,framework:"metro"}}catch{}return null}async function $e(o){return de(ce("http:","localhost",o),o)}async function W(o){let t=o.trim();if(/^\d+$/.test(t)){let s=parseInt(t,10),l=await $e(s);if(l)return l;throw ae(`localhost:${s}`)}let e=t.startsWith("http")?t:`http://${t}`,n;try{n=new URL(e)}catch{throw new Error(`could not parse "${o}". pass a dev-server port, a dev-server base URL, or a full bundle URL.`)}let r=n.protocol||"http:",a=n.port?parseInt(n.port,10):be(r),i=ce(r,n.hostname,a);if(Se(n)){let s=await de(i,a);if(s)return s;throw ae(i)}return{bundleUrl:n.toString(),port:a,framework:"unknown"}}function qe(){console.error(" no sootsim desktop companion found."),console.error(""),console.error(" install the desktop app:"),console.error(" sootsim install-desktop"),console.error(""),console.error(" or wire sootsim into your own project so your dev server hosts the bridge:"),console.error(" sootsim setup-repo"),console.error("")}function me(o){let t=P();if(console.log(` note: no sootsim bridge detected on port ${o}`),t){console.log(" launch the installed companion with:"),console.log(" sootsim electron");return}console.log(""),console.log(" to get a bridge running, either:"),console.log(" sootsim install-desktop # download the electron app"),console.log(" sootsim setup-repo # wire sootsim into your own project")}function ve(o){console.error(""),console.error(` no sim is connected to the sootsim bridge on port ${o}.`),console.error(""),console.error(" start your app dev server, then open it in sootsim:"),console.error(" npx expo start --localhost --port 8081"),console.error(" sootsim open 8081"),console.error(""),console.error(" then inspect the live app:"),console.error(" sootsim describe")}async function We(o,t,e){let n=[];try{n=await o.listSims()}catch{}if(console.error(""),n.length===0){ve(t);return}console.error(` no sim with id "${e}" is connected to the bridge on port ${t}.`),console.error(""),console.error(" connected sims:");for(let r of n){let a=[r.isPrimary?"primary":null,r.readyState].filter(Boolean).join(", ");console.error(` ${r.id} (${a})`)}console.error(""),console.error(" pass a valid --sim id, or run `sootsim list` to see all sessions.")}var ke={rn:"/rn",connectrn:"/rn","connect-rn":"/rn",clock:"/app/clock","native-ui":"/app/native-ui",tamagui:"/app/tamagui",settings:"/app/settings",photos:"/app/photos",camera:"/app/camera"};function x(o){return new Promise(t=>setTimeout(t,o))}function J(o){return o.trim()}function Q(o){try{let t=new URL(o),e=t.pathname.replace(/\/+$/,"")||"/";return t.searchParams.has("open")||t.searchParams.has("port")||t.searchParams.has("bundle")||t.searchParams.has("demo")||t.pathname.includes("/sootsim/index.html")||e==="/sootsim"||t.pathname==="/__soot"||t.pathname==="/__soot/"||e==="/rn"||/^\/rn\/[^/]+$/i.test(e)||/^\/app\/[^/]+$/i.test(e)||e==="/__soot/rn"||/^\/__soot\/rn\/[^/]+$/i.test(e)||/^\/__soot\/app\/[^/]+$/i.test(e)}catch{return!1}}async function co(o){let t=J(o);return(await W(t)).bundleUrl}function V(o){let t=o.replace(/\/+$/,"")||"/";return t==="/__soot"||t.startsWith("/__soot/")?"/__soot":""}function Ce(o,t){let e=J(o),n=new URL(t),r=V(n.pathname);return n.pathname=`${r}/rn`,n.searchParams.delete("bundle"),n.searchParams.delete("demo"),n.searchParams.delete("app"),n.searchParams.delete("open"),n.searchParams.delete("port"),/^\d+$/.test(e)?n.pathname=`${r}/rn/${e}`:(n.pathname=`${r}/rn`,n.searchParams.set("open",e)),n.toString()}function Pe(o){let t=J(o);return/^\d+$/.test(t)||/^https?:\/\//i.test(t)?!0:/^(localhost|127\.0\.0\.1|\[::1\]|[^/]+\.localhost):\d+(?:\/.*)?$/i.test(t)}async function Be(o,t){let e=await W(o),n=new URL(t),r=V(n.pathname);return n.pathname=`${r}/rn`,n.searchParams.delete("open"),n.searchParams.delete("port"),n.searchParams.delete("demo"),n.searchParams.delete("app"),n.searchParams.set("bundle",e.bundleUrl),n.toString()}function Me(o){return o.startsWith("~/")?G.join(xe.homedir(),o.slice(2)):G.isAbsolute(o)?o:G.resolve(process.cwd(),o)}function Te(o){let t={};for(let e=0;e<o.length;e++){if(o[e]!=="--replace")continue;let n=o[e+1];n||(console.error(" sootsim open: --replace expects <module>=<file>"),process.exit(1));let r=n.indexOf("=");(r<=0||r===n.length-1)&&(console.error(" sootsim open: --replace expects <module>=<file>"),process.exit(1));let a=n.slice(0,r).trim(),i=Me(n.slice(r+1).trim());Ie.existsSync(i)||(console.error(` sootsim open: replacement file not found: ${i}`),process.exit(1)),t[a]={file:i},e++}return Object.keys(t).length>0?{modules:t}:void 0}function pe(){let o=oe();return te(o)&&o.runtimePort>0?`http://localhost:${o.runtimePort}/`:ee}async function D(o,t=pe()){if(!o)return new URL(t).toString();if(Q(o))return new URL(o).toString();let e=ke[o.toLowerCase()];if(e){let n=new URL(t),r=V(n.pathname);return n.pathname=`${r}${e}`,n.toString()}return Pe(o)?Be(o,t):Ce(o,t)}function ue(o,t){let e=o?.url||o?.origin||t;try{let n=new URL(e);return n.searchParams.delete("bundle"),n.searchParams.delete("demo"),n.searchParams.delete("app"),n.searchParams.delete("open"),n.searchParams.delete("port"),n.searchParams.delete("inspectOpen"),n.toString()}catch{return t}}async function Ue(o,t,e){let n=new URL(await D(o,t));return n.searchParams.set("inspectOpen",e),n.toString()}async function Oe(o,t,e,n={}){let r=n.attempts??30,a=n.intervalMs??500,i=n.minNodeCount??10;for(let s=0;s<r;s++){let l=S(o,{commandTimeoutMs:t,simId:e,simIdSource:"flag"});try{let c=await l.send({type:"evaluate",code:"(async () => (await window.__sootsimTest?.getNodeCount()) || 0)()"});if(typeof c=="number"&&c>i)return{bridge:l,count:c}}catch{}l.close(),await x(a)}return null}function _e(o){if(!o)return null;try{let t=new URL(o);if(t.searchParams.has("bundle")){let e=t.searchParams.get("bundle")||"";try{let n=new URL(e),r=n.pathname.length>36?`...${n.pathname.slice(-36)}`:n.pathname;return`bundle ${n.host}${r}`}catch{return"bundle"}}return t.searchParams.has("port")?`connect :${t.searchParams.get("port")||""}`:t.searchParams.has("open")?`connect ${t.searchParams.get("open")||""}`:t.searchParams.has("demo")?`demo ${t.searchParams.get("demo")||"default"}`:t.pathname.includes("/sootsim/index.html")||t.pathname==="/sootsim/"||t.pathname==="/sootsim"?"embedded sootsim":null}catch{return null}}function Re(o,t){if(o.length===0){console.log(" no sims connected");return}console.log(` connected sims (${o.length}):
|
|
3
|
-
`);for(let e of o){let n=e.lockedBy&&e.lockExpiresAt?`locked by ${e.lockedBy} (${Math.max(0,Math.round((e.lockExpiresAt-Date.now())/1e3))}s)`:"",r=[e.isPrimary?"primary":"",e.id===t?"selected":"",e.readyState,e.attachedCliCount&&e.attachedCliCount>0?"in use":"",e.userFocused?"focused":"",n].filter(Boolean);console.log(` ${e.id}${r.length?` [${r.join(", ")}]`:""}`);let a=_e(e.url);if(a&&console.log(` loaded: ${a}`),e.url?console.log(` url: ${e.url}`):e.origin&&console.log(` origin: ${e.origin}`),e.title&&console.log(` title: ${e.title}`),console.log(` connected: ${new Date(e.connectedAt).toISOString()}`),e.lastActiveAt&&e.lastActiveAt>0){let i=Math.round((Date.now()-e.lastActiveAt)/1e3),s=i<60?`${i}s ago`:i<3600?`${Math.round(i/60)}m ago`:`${Math.round(i/3600)}h ago`;console.log(` last active: ${s}`)}}}async function L(o,t,e,n={}){let r=n.attempts??30,a=n.intervalMs??500;for(let i=0;i<r;i++){let s=S(o,{commandTimeoutMs:t});try{let c=(await s.listSims()).find(e);if(c)return c}catch{}finally{s.close()}await x(a)}return null}async function Ee(o,t,e,n={}){let r=n.attempts??20,a=n.intervalMs??250;for(let i=0;i<r;i++){let s=S(o,{commandTimeoutMs:t});try{let c=(await s.listSims()).find(d=>d.id===e);if(!c||c.readyState!=="open")return!0}catch{return!0}finally{s.close()}await x(a)}return!1}function A(o,t){if(t){let r=t.trim(),a=o.find(i=>i.id===r);if(!a)throw new Error(`no sim connected with id ${r}`);return a}let e=o.find(r=>r.isPrimary&&r.readyState==="open");if(e)return e;let n=o.find(r=>r.readyState==="open");if(n)return n;throw new Error("no sim connected")}function B(o,t,e){console.log(` ${e==="current sim"?"loaded":"opened"}: ${o} [${e}]`),console.log(` current sim: ${t.id}`),console.log(JSON.stringify({simId:t.id,url:t.url},null,2))}async function M(o,t,e){if(e.includes("--no-describe"))return;let n=process.env.SOOTSIM_QUIET_TARGET_NOTICE;process.env.SOOTSIM_QUIET_TARGET_NOTICE="1";try{await Le(o,t,{stableMs:150,maxMs:400});let r=S(o,{commandTimeoutMs:3e3,simId:t,cliLabel:"open --describe",simIdSource:"flag"});try{let i=`(async () => {
|
|
4
|
-
const t = window.__sootsimTest
|
|
5
|
-
const ms = window.SootSim?.bridges?.mainShell
|
|
6
|
-
if (!t) return null
|
|
7
|
-
let shell = null
|
|
8
|
-
try { shell = ms?.getState ? await ms.getState() : null } catch {}
|
|
9
|
-
const tree = await t.dumpTree(12, ${JSON.stringify({describe:!0,verbose:!1,filter:""})})
|
|
10
|
-
return { tree, shell }
|
|
11
|
-
})()`,s=await r.send({type:"evaluate",code:i});if(!s?.tree)return;if(console.log(""),s.shell?.state){let l=[`state=${s.shell.state}`,s.shell.activeApp?`app=${s.shell.activeApp}`:null].filter(Boolean);console.log(` shell: ${l.join(" ")}`)}console.log(s.tree)}finally{r.close()}}catch{}finally{n===void 0?delete process.env.SOOTSIM_QUIET_TARGET_NOTICE:process.env.SOOTSIM_QUIET_TARGET_NOTICE=n}}async function Le(o,t,e){let n=Date.now()+e.maxMs,r="(async () => (await window.__sootsimTest?.getNodeCount?.()) || 0)()",a=S(o,{commandTimeoutMs:2e3,simId:t,simIdSource:"flag"});try{let i=-1,s=0;for(;Date.now()<n;){let l=-1;try{let c=await a.send({type:"evaluate",code:r});typeof c=="number"&&(l=c)}catch{}if(l>=0&&l===i){if(Date.now()-s>=e.stableMs)return}else i=l,s=Date.now();await x(50)}}finally{a.close()}}async function mo(o,t={}){let e=v(o,{port:t.port,commandTimeoutMs:t.timeoutMs}),n=I(e);try{let r=await n.listSims();Re(r,e.simId)}finally{n.close()}}async function uo(o,t={}){let e=v(o,{port:t.port,commandTimeoutMs:t.timeoutMs,stripBooleanFlags:["--new","--headless","--ephemeral"],stripValueFlags:["--base-url","--replace","--driver","--profile"]}),n=o.find((m,p)=>o[p-1]==="--profile"),r=o.includes("--ephemeral");n&&r&&(console.error(" sootsim open: --profile cannot be combined with --ephemeral"),process.exit(1));let a=n?ie(n).id:void 0,i=!!a||r,s=o.includes("--new")||i,l=Te(o);s&&e.simIdSource==="flag"&&(console.error(" sootsim open: --new, --profile, and --ephemeral cannot be combined with --sim"),process.exit(1));let c=e.positional[0]||"",d=o.find((m,p)=>o[p-1]==="--driver")||"",u=o.includes("--headless"),h=o.find((m,p)=>o[p-1]==="--base-url")||pe(),T=o.includes("--base-url"),X=k();if(!d&&!s&&(e.simIdSource==="flag"||e.simIdSource==="saved"&&!!X)){let m=I(e),p=e.simId?` --sim ${e.simId}`:"",f=!1;try{let g=null;try{let b=await m.listSims();if(e.simIdSource==="saved"?(g=b.find($=>$.id===X&&$.readyState==="open")??null,g||C()):g=A(b,e.simId),!g)if(e.simIdSource==="saved")f=!0;else throw new Error("no sim connected");if(!f&&g){let $=T||Q(c)?h:ue(g,h),_=await D(c,E($,l));m.send({type:"evaluate",simId:g.id,code:`window.location.href = ${JSON.stringify(_)}`}).catch(()=>{})}}catch(b){console.error(` open failed: ${b instanceof Error?b.message:String(b)}`),await R(m,{errorsCommand:`sootsim get errors 5${p}`,warningsCommand:`sootsim get warnings 5${p}`,requestsCommand:`sootsim get requests 5${p}`}),process.exit(1)}if(!f&&g){await x(1500);let b=await Oe(e.wsPort,e.commandTimeoutMs,g.id);b||(console.error(" timed out waiting for current sim to load target"),process.exit(1)),b.bridge.close(),w(g.id);let $=T||Q(c)?h:ue(g,h),_=await D(c,E($,l));B(_,{...g,url:_},"current sim"),await M(e.wsPort,g.id,o);return}}finally{m.close()}}let Y=E(h,l),ge=await D(c,Y),Z=`cli-${Date.now().toString(36)}-${Math.random().toString(36).slice(2,8)}`,y=await Ue(c,Y,Z),N={newWindow:!0},U=m=>m.url?.includes(`inspectOpen=${Z}`)??!1;if(d){let m=j(d);m||(console.error(` unknown driver "${d}" \u2014 run \`sootsim list --drivers\``),process.exit(1));let p=await m.launch({url:y,headless:u,newWindow:N.newWindow,profileId:a,ephemeralProfile:r});p.launched||(console.error(` ${m.name} driver: ${p.message}`),process.exit(1));let f=await L(e.wsPort,e.commandTimeoutMs,U,{attempts:60,intervalMs:500});f||(console.error(" timed out waiting for opened sim to connect"),process.exit(1)),w(f.id),B(y,f,`${m.name} driver`),await M(e.wsPort,f.id,o);return}if(i){let m=P();m||(console.error(" profiles require electron or playwright; install the desktop companion or use `--driver playwright`"),process.exit(1));try{(await z(y,m,{profileId:a,ephemeralProfile:r})).launched||(console.error(" desktop companion failed to start"),process.exit(1))}catch(f){console.error(` desktop companion failed: ${f instanceof Error?f.message:String(f)}`),process.exit(1)}let p=await L(e.wsPort,e.commandTimeoutMs,U,{attempts:40,intervalMs:500});p||(console.error(" timed out waiting for profiled sim to connect"),process.exit(1)),w(p.id),B(y,p,"desktop companion"),await M(e.wsPort,p.id,o);return}let K=!1,F=!1;try{let m=S(e.wsPort,{commandTimeoutMs:2e3});try{await m.listSims(),K=!0}finally{m.close()}}catch{}if(K)try{let m=S(e.wsPort,{commandTimeoutMs:3e3});try{await m.openUrl(y,N),F=!0}finally{m.close()}}catch{}if(!F){let m=P();if(m)try{if((await z(y,m)).launched){let f=await L(e.wsPort,e.commandTimeoutMs,U,{attempts:20,intervalMs:500});if(f){w(f.id),B(y,f,"desktop companion"),await M(e.wsPort,f.id,o);return}}}catch{}try{await ne(y,N)}catch(p){console.error(` open failed: ${p instanceof Error?p.message:String(p)}`),j("playwright")?.availability().available?console.error(" no system browser found \u2014 retry with `sootsim open \u2026 --driver playwright` for a headless sim."):console.error(" run `sootsim list --drivers` to see available drivers."),process.exit(1)}if(!K){console.log(` opened: ${ge}`),me(e.wsPort);return}}let O=await L(e.wsPort,e.commandTimeoutMs,U,{attempts:30,intervalMs:500});O||(console.error(" timed out waiting for opened sim to connect"),process.exit(1)),w(O.id),B(y,O,F?"bridge":"direct shell open"),await M(e.wsPort,O.id,o)}async function fe(o,t={}){let e=v(o,{port:t.port,commandTimeoutMs:t.timeoutMs,stripBooleanFlags:["--force"]}),n=o.includes("--force"),r=I(e),a=e.simId?` --sim ${e.simId}`:"";try{try{let i=await r.listSims(),s=A(i,e.positional[0]||e.simId);if(s.lockedBy&&s.lockExpiresAt&&s.lockExpiresAt>Date.now()){let l=Math.max(0,Math.round((s.lockExpiresAt-Date.now())/1e3));s.lockedByKind==="user-active"&&(console.error(` refused: ${s.id} is locked by the active user (${l}s) \u2014 that's a live human tab`),console.error(" run `sootsim open --new` for a fresh investigation sim"),process.exit(1)),n||(console.error(` refused: ${s.id} is leased by ${s.lockedBy} (${l}s)`),console.error(` \`sootsim use ${s.id} --force\` to take it, or \`sootsim open --new\` for a fresh sim`),process.exit(1))}await r.focusSim(s.id),w(s.id),console.log(` using: ${s.id}`)}catch(i){console.error(` use failed: ${i instanceof Error?i.message:String(i)}`),await R(r,{errorsCommand:`sootsim get errors 5${a}`,warningsCommand:`sootsim get warnings 5${a}`,requestsCommand:`sootsim get requests 5${a}`}),process.exit(1)}}finally{r.close()}}async function po(o,t={}){await fe(o,t)}async function fo(o,t={}){await fe(o,t)}async function go(o,t={}){let e=v(o,{port:t.port,commandTimeoutMs:t.timeoutMs,stripBooleanFlags:["--force"]}),n=o.includes("--force"),r=I(e);try{try{let a=await r.listSims(),i=A(a,e.positional[0]||e.simId),s=n&&i.lockedBy&&i.lockedByKind!=="user-active"?i.lockedBy:null,l=await r.claim(i.id,{force:n});w(i.id);let c=Math.max(0,Math.round((l.lockExpiresAt-Date.now())/1e3)),d=l.bootedCount>0?` (booted ${l.bootedCount})`:"";console.log(` claimed: ${l.simId} [${c}s]${d}`),s&&console.log(` took over from: ${s}`)}catch(a){if(a instanceof re){let i=Math.max(0,Math.round(a.lock.expiresInMs/1e3));console.error(` claim failed: locked by ${a.lock.by} for ${i}s more`),console.error(" use --force to take it, or `sootsim open --new` for a fresh sim"),process.exit(1)}console.error(` claim failed: ${a instanceof Error?a.message:String(a)}`),process.exit(1)}}finally{r.close()}}async function De(o,t,e,n){if(n.length===0)return{closed:[],remaining:[]};await Promise.all(n.map(a=>o.closeSim(a).catch(()=>{})));let r=new Set(n);for(let a=0;a<40;a++){let i=[];try{let s=S(t,{commandTimeoutMs:e});try{i=(await s.listSims()).filter(c=>r.has(c.id)&&c.readyState==="open").map(c=>c.id)}finally{s.close()}}catch{i=[]}if(i.length===0)return{closed:[...r],remaining:[]};if(a===39)return{closed:[...r].filter(s=>!i.includes(s)),remaining:i};await x(250)}return{closed:[...r],remaining:[]}}function Ae(o,t){let e=o.filter(u=>u.readyState==="open"),n=e.map(u=>u.id),r=t.explicitKeepId?.trim()||"",a=t.savedKeepId?.trim()||"",i=a?e.some(u=>u.id===a):!1,s=a&&!i?a:null,l=null,c=null,d=null;if(t.closeOthers)if(r){let u=e.find(h=>h.id===r);u?l=u.id:c=r}else if(a&&i)l=a;else{let u=e.find(h=>h.isPrimary)??e[0]??null;u&&(l=u.id,a&&!i&&(d=u.id))}return{openIds:n,keepId:l,targets:c?[]:n.filter(u=>u!==l),staleSavedId:s,missingExplicitKeepId:c,fallbackKeepId:d}}async function ho(o,t={}){let e=v(o,{port:t.port,commandTimeoutMs:t.timeoutMs,stripBooleanFlags:["--all","--others"]}),n=I(e),r=e.simId?` --sim ${e.simId}`:"",a=o.includes("--all"),i=o.includes("--others");if(a||i){try{let s=await n.listSims(),l=k(),c=e.positional[0]||(e.simIdSource==="flag"?e.simId:void 0),d=Ae(s,{closeOthers:i,explicitKeepId:c,savedKeepId:l});if(d.staleSavedId&&C(),d.fallbackKeepId&&(w(d.fallbackKeepId),console.log(` saved sim ${d.staleSavedId} is gone \u2014 keeping primary ${d.fallbackKeepId}`)),d.missingExplicitKeepId&&(console.error(` close failed: keep sim ${d.missingExplicitKeepId} is not connected; not closing other sims`),process.exit(1)),d.targets.length===0){console.log(d.keepId?` nothing to close \u2014 only the kept sim ${d.keepId} is connected`:d.staleSavedId?` nothing to close \u2014 no sims connected (cleared stale current sim ${d.staleSavedId})`:" nothing to close \u2014 no sims connected");return}let u=await De(n,e.wsPort,e.commandTimeoutMs,d.targets),h=k();h&&u.closed.includes(h)&&(d.keepId?w(d.keepId):C());let T=` closed ${u.closed.length} sim(s)${d.keepId?` (kept ${d.keepId})`:""}`;console.log(T),u.remaining.length>0&&(console.error(` close failed: still connected: ${u.remaining.join(", ")}`),process.exit(1))}catch(s){console.error(` close failed: ${s instanceof Error?s.message:String(s)}`),process.exit(1)}finally{n.close()}return}try{try{let s=await n.listSims(),l=A(s,e.positional[0]||e.simId),c=s.find(u=>u.id!==l.id&&u.readyState==="open");await n.closeSim(l.id),await Ee(e.wsPort,e.commandTimeoutMs,l.id)||(console.error(` close failed: ${l.id} is still connected`),process.exit(1)),k()===l.id&&(c?w(c.id):C()),console.log(` closed: ${l.id}`)}catch(s){console.error(` close failed: ${s instanceof Error?s.message:String(s)}`),await R(n,{errorsCommand:`sootsim get errors 5${r}`,warningsCommand:`sootsim get warnings 5${r}`,requestsCommand:`sootsim get requests 5${r}`}),process.exit(1)}}finally{n.close()}}export{qe as a,ve as b,We as c,co as d,pe as e,D as f,Ue as g,_e as h,Re as i,L as j,mo as k,uo as l,po as m,fo as n,go as o,Ae as p,ho as q};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! sootsim v0.1.58 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! sootsim v0.1.58 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! sootsim v0.1.58 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
-
import{d as a,e as b,f as c,g as d,h as e,i as f,j as g,k as h,l as i,m as j,n as k,o as l,p as m,q as n}from"./chunk-MAA6Z6MT.js";import"./chunk-FP6TIJCL.js";import"./chunk-V7SVZJDN.js";import"./chunk-VDZIBJD5.js";import"./chunk-KGOAABLH.js";import"./chunk-GTRNGWWM.js";import"./chunk-ZIIN65FP.js";import"./chunk-TKNYDQOU.js";import"./chunk-HSSCI52S.js";import"./chunk-GPHJ6RWQ.js";import"./chunk-VCQZZT6G.js";import"./chunk-IA34CRQO.js";import"./chunk-CHEHYP6Y.js";import"./chunk-H3E3TTRU.js";export{d as buildOpenUrl,c as buildShellUrl,m as planBulkCloseTargets,f as printConnectedSims,a as resolveBundleTarget,b as resolveDefaultShellBaseUrl,l as runClaimCommand,n as runCloseCommand,k as runFocusCommand,h as runListCommand,i as runOpenCommand,j as runUseCommand,e as summarizeSimUrl,g as waitForSimMatch};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! sootsim v0.1.58 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
-
import"./chunk-UG6BCVD3.js";import{a,b,c,d,e,f,g,h,i}from"./chunk-VDZIBJD5.js";import"./chunk-KGOAABLH.js";import"./chunk-GTRNGWWM.js";import"./chunk-ZIIN65FP.js";import"./chunk-TKNYDQOU.js";import"./chunk-CHEHYP6Y.js";import"./chunk-H3E3TTRU.js";export{e as ALL_DRIVERS,i as buildDriverListRows,a as chromiumDriver,b as electronDriver,f as getAllDrivers,g as getDriver,c as playwrightDriver,h as resolveDriver,d as systemDriver};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! sootsim v0.1.58 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
-
import{a as c,b as d,c as e,d as f}from"./chunk-4PQJLJEY.js";import"./chunk-BOKT36T3.js";import"./chunk-E6FXRBQY.js";import"./chunk-TKR473S6.js";import"./chunk-463SH7ZZ.js";import"./chunk-ZPNUGF2B.js";import"./chunk-AEOY2DUB.js";import{c as a,d as b}from"./chunk-RYTJAEQU.js";import"./chunk-MAA6Z6MT.js";import"./chunk-FP6TIJCL.js";import"./chunk-V7SVZJDN.js";import"./chunk-VDZIBJD5.js";import"./chunk-KGOAABLH.js";import"./chunk-GTRNGWWM.js";import"./chunk-ZIIN65FP.js";import"./chunk-TKNYDQOU.js";import"./chunk-GVYPZSX3.js";import"./chunk-APYPBMOA.js";import"./chunk-HSSCI52S.js";import"./chunk-JU56H25L.js";import"./chunk-BVQSANTO.js";import"./chunk-AITNV7L5.js";import"./chunk-QUZVDUEK.js";import"./chunk-GPHJ6RWQ.js";import"./chunk-VCQZZT6G.js";import"./chunk-IA34CRQO.js";import"./chunk-CHEHYP6Y.js";import"./chunk-H3E3TTRU.js";export{c as discoverSootsimUrl,e as hoistLeadingSimFlag,a as parseFlowFile,f as runFlow,d as runFlowPlayback,b as validateFlowFile};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! sootsim v0.1.58 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
-
import{a as o}from"./chunk-MXJ3IUS4.js";import"./chunk-X4E3T5FQ.js";import"./chunk-TFQ3YDFS.js";import"./chunk-JU56H25L.js";import"./chunk-BVQSANTO.js";import"./chunk-GPHJ6RWQ.js";import"./chunk-VCQZZT6G.js";import"./chunk-IA34CRQO.js";import"./chunk-CHEHYP6Y.js";import"./chunk-H3E3TTRU.js";async function t(n){console.error(" note: `sootsim install` is now `sootsim setup-repo`. forwarding\u2026\n"),await o(n)}export{t as runInstall};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! sootsim v0.1.58 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
-
import{a}from"./chunk-YQL26DOY.js";import"./chunk-GPHJ6RWQ.js";import"./chunk-VCQZZT6G.js";import"./chunk-IA34CRQO.js";import"./chunk-KHUMI2KX.js";import"./chunk-CHEHYP6Y.js";import"./chunk-H3E3TTRU.js";export{a as runRuntime};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! sootsim v0.1.58 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
-
import{a}from"./chunk-MXJ3IUS4.js";import"./chunk-X4E3T5FQ.js";import"./chunk-TFQ3YDFS.js";import"./chunk-JU56H25L.js";import"./chunk-BVQSANTO.js";import"./chunk-GPHJ6RWQ.js";import"./chunk-VCQZZT6G.js";import"./chunk-IA34CRQO.js";import"./chunk-CHEHYP6Y.js";import"./chunk-H3E3TTRU.js";export{a as runSetupRepo};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! sootsim v0.1.58 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
-
import{a,b,c}from"./chunk-ZPNUGF2B.js";import"./chunk-AEOY2DUB.js";import"./chunk-GTRNGWWM.js";import"./chunk-TKNYDQOU.js";import"./chunk-JU56H25L.js";import"./chunk-BVQSANTO.js";import"./chunk-GPHJ6RWQ.js";import"./chunk-VCQZZT6G.js";import"./chunk-IA34CRQO.js";import"./chunk-CHEHYP6Y.js";import"./chunk-H3E3TTRU.js";export{a as resolveDefaultUploadOrigin,b as resolvePublicPreviewOrigin,c as runUpload};
|