sootsim 0.1.40 → 0.1.41
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/README.md +15 -15
- package/dist-cli/bin.js +3 -3
- package/dist-cli/chunks/{agent-3F5PO4NL.js → agent-7BJ2ZP22.js} +2 -2
- package/dist-cli/chunks/{agent-wrapper-LVUUZRWL.js → agent-wrapper-OXBYRJVT.js} +2 -2
- package/dist-cli/chunks/{assert-4WMVS3WU.js → assert-NZTYFTTT.js} +2 -2
- package/dist-cli/chunks/auto-bootstrap-4KQT4TCR.js +2 -0
- package/dist-cli/chunks/beta-3S56PNSS.js +2 -0
- package/dist-cli/chunks/{chunk-DSTHAISO.js → chunk-2T6UOHPO.js} +1 -1
- package/dist-cli/chunks/chunk-334L67M2.js +2 -0
- package/dist-cli/chunks/{chunk-Y5CFIRLN.js → chunk-33R6QMNO.js} +1 -1
- package/dist-cli/chunks/{chunk-WPS3TIOB.js → chunk-4UA6P3T2.js} +1 -1
- package/dist-cli/chunks/{chunk-WQXG4I5N.js → chunk-5JOYGXCS.js} +2 -2
- package/dist-cli/chunks/{chunk-PNGBWMQH.js → chunk-6PLNIOJP.js} +2 -2
- package/dist-cli/chunks/{chunk-WZE6T3GT.js → chunk-7YZJHZ7X.js} +1 -1
- package/dist-cli/chunks/{chunk-QUULF2II.js → chunk-ANDSHXLU.js} +2 -2
- package/dist-cli/chunks/chunk-AOYBIMKL.js +4 -0
- package/dist-cli/chunks/chunk-ASSV2FFC.js +1 -0
- package/dist-cli/chunks/chunk-BR6QRN7U.js +11 -0
- package/dist-cli/chunks/{chunk-EOWN4ZFJ.js → chunk-C4AMFYK3.js} +2 -2
- package/dist-cli/chunks/{chunk-BZED27B2.js → chunk-ECIRRKKE.js} +2 -2
- package/dist-cli/chunks/{chunk-LCES5ZJI.js → chunk-FZB4W23Y.js} +2 -2
- package/dist-cli/chunks/{chunk-PKB6IEGM.js → chunk-G2QUPNHI.js} +2 -2
- package/dist-cli/chunks/{chunk-FNIL6BYS.js → chunk-GB3G5LVB.js} +1 -1
- package/dist-cli/chunks/{chunk-KGVH3YAG.js → chunk-GI7FXE7J.js} +2 -2
- package/dist-cli/chunks/{chunk-6XI4VHIL.js → chunk-GOFKXREQ.js} +2 -2
- package/dist-cli/chunks/{chunk-YJMXGTP4.js → chunk-HAVQS3PI.js} +1 -1
- package/dist-cli/chunks/{chunk-6X5NQJT7.js → chunk-HZVPHAJX.js} +20 -20
- package/dist-cli/chunks/{chunk-5IAIIX7B.js → chunk-I5Y4IECP.js} +3 -3
- package/dist-cli/chunks/{chunk-MLCBIX7O.js → chunk-IF33CQL4.js} +2 -2
- package/dist-cli/chunks/chunk-IP2MARRU.js +27 -0
- package/dist-cli/chunks/{chunk-YKEBL6GE.js → chunk-J3JJRXIP.js} +1 -1
- package/dist-cli/chunks/{chunk-OV5TY7M3.js → chunk-LMNB7NYI.js} +2 -2
- package/dist-cli/chunks/{chunk-CCZHRBXJ.js → chunk-LX6KS6TL.js} +1 -1
- package/dist-cli/chunks/{chunk-KVOMVYG6.js → chunk-MBGNDWGV.js} +2 -2
- package/dist-cli/chunks/{chunk-DEBXVPIE.js → chunk-N7DDNZTO.js} +1 -1
- package/dist-cli/chunks/chunk-NZ5O2OEL.js +56 -0
- package/dist-cli/chunks/{chunk-4L45Q3YX.js → chunk-OJFHAMXD.js} +2 -2
- package/dist-cli/chunks/{chunk-W2XRHDQQ.js → chunk-OPDPXAYA.js} +2 -2
- package/dist-cli/chunks/{chunk-U3JD6X75.js → chunk-OXTFYLZJ.js} +2 -2
- package/dist-cli/chunks/{chunk-TK2IPNHL.js → chunk-Q6DGMQ2V.js} +2 -2
- package/dist-cli/chunks/{chunk-553OZX4H.js → chunk-S3SQITOO.js} +2 -2
- package/dist-cli/chunks/{chunk-QMBYRPRK.js → chunk-SHHUVGL2.js} +1 -1
- package/dist-cli/chunks/{chunk-Y66CDFAT.js → chunk-SWHWVYZS.js} +1 -1
- package/dist-cli/chunks/{chunk-5GK4YX7O.js → chunk-TBIGAH3T.js} +1 -1
- package/dist-cli/chunks/chunk-UNJTJDZZ.js +62 -0
- package/dist-cli/chunks/chunk-WN6YFWS5.js +117 -0
- package/dist-cli/chunks/{chunk-Z3I2I4IO.js → chunk-WZDE344I.js} +3 -3
- package/dist-cli/chunks/{chunk-LXR5EI74.js → chunk-Y2YNXUBT.js} +2 -2
- package/dist-cli/chunks/chunk-YFX2XIR4.js +1 -0
- package/dist-cli/chunks/chunk-YKFRPIVC.js +1 -0
- package/dist-cli/chunks/chunk-ZPURE62G.js +1 -0
- package/dist-cli/chunks/{compat-NBFWHK5S.js → compat-BA6HDW3Q.js} +5 -5
- package/dist-cli/chunks/{config-JEDQ3NHA.js → config-QQ63IS5P.js} +2 -2
- package/dist-cli/chunks/control-GNJNC524.js +2 -0
- package/dist-cli/chunks/cpu-profile-3DDV2SYN.js +2 -0
- package/dist-cli/chunks/{daemon-HOL7J3BI.js → daemon-RYSVONEV.js} +2 -2
- package/dist-cli/chunks/{debug-LNVMIWD6.js → debug-YXE4XZLP.js} +3 -3
- package/dist-cli/chunks/demo-app-registry-3VFEW4NV.js +2 -0
- package/dist-cli/chunks/{detox-EEZPH3DZ.js → detox-2UI3EAXA.js} +2 -2
- package/dist-cli/chunks/{device-GVLYQI7X.js → device-UGDJBZKD.js} +2 -2
- package/dist-cli/chunks/diagnose-IRDRYKYZ.js +41 -0
- package/dist-cli/chunks/drivers-EAONIWG3.js +2 -0
- package/dist-cli/chunks/{electron-UDV6K3IH.js → electron-ZCYWIZAE.js} +3 -3
- package/dist-cli/chunks/flow-ECSMFTKS.js +2 -0
- package/dist-cli/chunks/{hints-46PJLATZ.js → hints-OWOBCWJH.js} +2 -2
- package/dist-cli/chunks/{home-paths-XD7AOYU7.js → home-paths-5QMCFTBP.js} +2 -2
- package/dist-cli/chunks/{inspect-EDIKZ6O2.js → inspect-K4VXPM5J.js} +94 -92
- package/dist-cli/chunks/install-YFE7C2NU.js +2 -0
- package/dist-cli/chunks/{install-desktop-CX6ATQTR.js → install-desktop-U3723T63.js} +3 -3
- package/dist-cli/chunks/{keys-CXQIYEVW.js → keys-IFVXJ7C2.js} +2 -2
- package/dist-cli/chunks/{launch-DCFRKVD3.js → launch-NDGFTRZ5.js} +3 -3
- package/dist-cli/chunks/{login-HCIZL5GT.js → login-KEU6RAV3.js} +4 -4
- package/dist-cli/chunks/{logout-7X2YHJY3.js → logout-KNFLP5OQ.js} +2 -2
- package/dist-cli/chunks/{maestro-TY622MIW.js → maestro-GBUBLS6L.js} +2 -2
- package/dist-cli/chunks/{preview-DYI6ESOK.js → preview-7OKMPPMN.js} +2 -2
- package/dist-cli/chunks/{profile-7SXJEJTG.js → profile-CHKDPGJF.js} +2 -2
- package/dist-cli/chunks/{react-VGSDY766.js → react-GYI5VITJ.js} +2 -2
- package/dist-cli/chunks/record-DQR2TEIF.js +45 -0
- package/dist-cli/chunks/runtime-XXNKSGFE.js +2 -0
- package/dist-cli/chunks/{runtime-delivery-PWLODFCY.js → runtime-delivery-JCAY2QVQ.js} +2 -2
- package/dist-cli/chunks/{screenshot-PTKY4UU4.js → screenshot-3T6MNPH7.js} +2 -2
- package/dist-cli/chunks/{screenshot-mode-HSV7VY4G.js → screenshot-mode-BUGXY7SQ.js} +2 -2
- package/dist-cli/chunks/{screenshots-VY7VAGSV.js → screenshots-EMTXGI2Q.js} +2 -2
- package/dist-cli/chunks/server-46H2M4TF.js +35 -0
- package/dist-cli/chunks/setup-repo-P4LCPAF6.js +2 -0
- package/dist-cli/chunks/{skills-KEPQLCMR.js → skills-2RP2CFPD.js} +2 -2
- package/dist-cli/chunks/{start-5CJTBNRM.js → start-QFREXALP.js} +4 -4
- package/dist-cli/chunks/store-GH77HGEB.js +2 -0
- package/dist-cli/chunks/telemetry-WC5J4TE5.js +2 -0
- package/dist-cli/chunks/{test-REKHGKFE.js → test-LI4PGGTE.js} +3 -3
- package/dist-cli/chunks/{three-mode-FZYHB4ZQ.js → three-mode-PKINB46T.js} +2 -2
- package/dist-cli/chunks/{timeline-CWZAY52K.js → timeline-5AREJDL5.js} +2 -2
- package/dist-cli/chunks/{upgrade-AIUJEF5F.js → upgrade-W2AGIOSC.js} +2 -2
- package/dist-cli/chunks/upload-RLS6KTG6.js +2 -0
- package/dist-cli/chunks/web-JM6WDSZQ.js +2 -0
- package/dist-cli/chunks/{what-happened-JSQQVQGE.js → what-happened-SVCASJKT.js} +2 -2
- package/dist-cli/chunks/whoami-5NJ6IPLT.js +2 -0
- 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 +14 -8
- package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
- 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 +14 -8
- package/dist-lib/vite.cjs +1 -1
- package/package.json +1 -1
- package/dist-cli/chunks/auto-bootstrap-Q4A3PTF5.js +0 -2
- package/dist-cli/chunks/beta-CLLKUB5X.js +0 -2
- package/dist-cli/chunks/chunk-4IAKB3C4.js +0 -117
- package/dist-cli/chunks/chunk-CAJ247SC.js +0 -2
- package/dist-cli/chunks/chunk-D2ZMP7G4.js +0 -61
- package/dist-cli/chunks/chunk-D4Z7MWQY.js +0 -11
- package/dist-cli/chunks/chunk-DHJIXXWG.js +0 -27
- package/dist-cli/chunks/chunk-DPZDTJVQ.js +0 -1
- package/dist-cli/chunks/chunk-FFR7EA4U.js +0 -1
- package/dist-cli/chunks/chunk-I7KXFJDK.js +0 -1
- package/dist-cli/chunks/chunk-J6BPROH4.js +0 -4
- package/dist-cli/chunks/chunk-S4PJMUC7.js +0 -2
- package/dist-cli/chunks/chunk-XWXFUFB2.js +0 -1
- package/dist-cli/chunks/control-IMWZVYC3.js +0 -2
- package/dist-cli/chunks/cpu-profile-MQPUSRHG.js +0 -22
- package/dist-cli/chunks/demo-app-registry-4RFMJ4FM.js +0 -2
- package/dist-cli/chunks/diagnose-JQ7DPTSL.js +0 -41
- package/dist-cli/chunks/drivers-JUW6JBWH.js +0 -2
- package/dist-cli/chunks/flow-JOW23WNH.js +0 -2
- package/dist-cli/chunks/install-CCC3IF5S.js +0 -2
- package/dist-cli/chunks/record-7JX2SMVP.js +0 -37
- package/dist-cli/chunks/runtime-FTOQD7QK.js +0 -2
- package/dist-cli/chunks/server-EDB3EK4K.js +0 -35
- package/dist-cli/chunks/setup-repo-S2GFZR7F.js +0 -2
- package/dist-cli/chunks/store-SCRULNVS.js +0 -2
- package/dist-cli/chunks/telemetry-RC3OT67I.js +0 -2
- package/dist-cli/chunks/upload-UDA5ITTE.js +0 -2
- package/dist-cli/chunks/whoami-5WUUPIRN.js +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
2
|
-
import{E as F,r as S,s as k,t as g}from"./chunk-
|
|
1
|
+
/*! sootsim v0.1.41 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
+
import{E as F,r as S,s as k,t as g}from"./chunk-GB3G5LVB.js";import{c as b,e as y}from"./chunk-6PLNIOJP.js";import{b as w}from"./chunk-SWHWVYZS.js";import"./chunk-ASSV2FFC.js";import"./chunk-J3JJRXIP.js";import"./chunk-N7DDNZTO.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:
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! sootsim v0.1.41 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
+
import{d as i}from"./chunk-ANDSHXLU.js";import{d as n}from"./chunk-S3SQITOO.js";import"./chunk-J3JJRXIP.js";import"./chunk-N7DDNZTO.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.41 | (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.41 | (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.41 | (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.41 | (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.41 | (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.41 | (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.41 | (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.41 | (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.41 | (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.41 | (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.41 | (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.41 | (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;
|
|
@@ -3139,9 +3139,7 @@ function buildChromiumUrlCommand(url, options = {}) {
|
|
|
3139
3139
|
throw new Error("browser launch requires Chrome, Chromium, Edge, Brave, or Arc");
|
|
3140
3140
|
}
|
|
3141
3141
|
const args = [];
|
|
3142
|
-
if (options.
|
|
3143
|
-
args.push("--headless=new");
|
|
3144
|
-
} else if (options.newWindow !== false) {
|
|
3142
|
+
if (options.newWindow !== false) {
|
|
3145
3143
|
args.push("--new-window");
|
|
3146
3144
|
}
|
|
3147
3145
|
args.push(url);
|
|
@@ -3212,7 +3210,7 @@ var HTTP_MIME_TYPES = {
|
|
|
3212
3210
|
".map": "application/json",
|
|
3213
3211
|
".txt": "text/plain; charset=utf-8"
|
|
3214
3212
|
};
|
|
3215
|
-
function injectSharedConfigIntoHtml(data) {
|
|
3213
|
+
function injectSharedConfigIntoHtml(data, bridgePort, sootbeanOrigin) {
|
|
3216
3214
|
let payload;
|
|
3217
3215
|
try {
|
|
3218
3216
|
const cfg = readSharedConfig();
|
|
@@ -3220,7 +3218,9 @@ function injectSharedConfigIntoHtml(data) {
|
|
|
3220
3218
|
} catch {
|
|
3221
3219
|
payload = "{}";
|
|
3222
3220
|
}
|
|
3223
|
-
const
|
|
3221
|
+
const bridgePortTag = bridgePort > 0 ? `window.__sootsimBridgePort=${bridgePort};` : "";
|
|
3222
|
+
const sootbeanOriginTag = sootbeanOrigin ? `window.__sootsimSootbeanOrigin=${JSON.stringify(sootbeanOrigin)};` : "";
|
|
3223
|
+
const tag = `<script>window.__sootsimSharedConfig=${payload};` + bridgePortTag + sootbeanOriginTag + `window.__sootsimCliVersion=${JSON.stringify(getCliVersion())};</script>`;
|
|
3224
3224
|
const html = data.toString("utf8");
|
|
3225
3225
|
if (html.includes("</head>")) return html.replace("</head>", tag + "</head>");
|
|
3226
3226
|
if (html.includes("</body>")) return html.replace("</body>", tag + "</body>");
|
|
@@ -3256,6 +3256,7 @@ var SootSimBridgeHost = class _SootSimBridgeHost {
|
|
|
3256
3256
|
preferredPort;
|
|
3257
3257
|
portFallbackCount;
|
|
3258
3258
|
shouldWriteLockfile;
|
|
3259
|
+
sootbeanOrigin = null;
|
|
3259
3260
|
effectivePort = 0;
|
|
3260
3261
|
startedAt = 0;
|
|
3261
3262
|
heartbeatTimer = null;
|
|
@@ -3288,6 +3289,7 @@ var SootSimBridgeHost = class _SootSimBridgeHost {
|
|
|
3288
3289
|
this.portFallbackCount = Math.max(1, opts.portFallbackCount ?? 10);
|
|
3289
3290
|
this.openUrlHandler = opts.openUrl;
|
|
3290
3291
|
this.agentHost = new AgentHost({ getExcludePorts: opts.agentScanExcludes });
|
|
3292
|
+
this.sootbeanOrigin = opts.sootbeanOrigin?.replace(/\/$/, "") || null;
|
|
3291
3293
|
}
|
|
3292
3294
|
/** expose the agent host so tests and embedders can inspect state or
|
|
3293
3295
|
* inject behavior. not part of the public WS protocol. */
|
|
@@ -4170,7 +4172,9 @@ var SootSimBridgeHost = class _SootSimBridgeHost {
|
|
|
4170
4172
|
res.end();
|
|
4171
4173
|
return;
|
|
4172
4174
|
}
|
|
4173
|
-
res.end(
|
|
4175
|
+
res.end(
|
|
4176
|
+
injectSharedConfigIntoHtml(data, this.effectivePort, this.sootbeanOrigin)
|
|
4177
|
+
);
|
|
4174
4178
|
});
|
|
4175
4179
|
return;
|
|
4176
4180
|
}
|
|
@@ -4193,7 +4197,9 @@ var SootSimBridgeHost = class _SootSimBridgeHost {
|
|
|
4193
4197
|
}
|
|
4194
4198
|
return;
|
|
4195
4199
|
}
|
|
4196
|
-
res.end(
|
|
4200
|
+
res.end(
|
|
4201
|
+
injectSharedConfigIntoHtml(data, this.effectivePort, this.sootbeanOrigin)
|
|
4202
|
+
);
|
|
4197
4203
|
});
|
|
4198
4204
|
return;
|
|
4199
4205
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.41 | (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/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.41 | (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.41 | (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.41 | (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.41 | (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.41 | (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;
|
|
@@ -3177,9 +3177,7 @@ function buildChromiumUrlCommand(url, options = {}) {
|
|
|
3177
3177
|
throw new Error("browser launch requires Chrome, Chromium, Edge, Brave, or Arc");
|
|
3178
3178
|
}
|
|
3179
3179
|
const args = [];
|
|
3180
|
-
if (options.
|
|
3181
|
-
args.push("--headless=new");
|
|
3182
|
-
} else if (options.newWindow !== false) {
|
|
3180
|
+
if (options.newWindow !== false) {
|
|
3183
3181
|
args.push("--new-window");
|
|
3184
3182
|
}
|
|
3185
3183
|
args.push(url);
|
|
@@ -3273,7 +3271,7 @@ function shouldAcquireLease(msg) {
|
|
|
3273
3271
|
if (msg.readOnly === true) return false;
|
|
3274
3272
|
return WRITE_COMMAND_TYPES.has(msg.type);
|
|
3275
3273
|
}
|
|
3276
|
-
function injectSharedConfigIntoHtml(data) {
|
|
3274
|
+
function injectSharedConfigIntoHtml(data, bridgePort, sootbeanOrigin) {
|
|
3277
3275
|
let payload;
|
|
3278
3276
|
try {
|
|
3279
3277
|
const cfg = readSharedConfig();
|
|
@@ -3281,7 +3279,9 @@ function injectSharedConfigIntoHtml(data) {
|
|
|
3281
3279
|
} catch {
|
|
3282
3280
|
payload = "{}";
|
|
3283
3281
|
}
|
|
3284
|
-
const
|
|
3282
|
+
const bridgePortTag = bridgePort > 0 ? `window.__sootsimBridgePort=${bridgePort};` : "";
|
|
3283
|
+
const sootbeanOriginTag = sootbeanOrigin ? `window.__sootsimSootbeanOrigin=${JSON.stringify(sootbeanOrigin)};` : "";
|
|
3284
|
+
const tag = `<script>window.__sootsimSharedConfig=${payload};` + bridgePortTag + sootbeanOriginTag + `window.__sootsimCliVersion=${JSON.stringify(getCliVersion())};</script>`;
|
|
3285
3285
|
const html = data.toString("utf8");
|
|
3286
3286
|
if (html.includes("</head>")) return html.replace("</head>", tag + "</head>");
|
|
3287
3287
|
if (html.includes("</body>")) return html.replace("</body>", tag + "</body>");
|
|
@@ -3361,6 +3361,7 @@ var init_bridge_host = __esm({
|
|
|
3361
3361
|
preferredPort;
|
|
3362
3362
|
portFallbackCount;
|
|
3363
3363
|
shouldWriteLockfile;
|
|
3364
|
+
sootbeanOrigin = null;
|
|
3364
3365
|
effectivePort = 0;
|
|
3365
3366
|
startedAt = 0;
|
|
3366
3367
|
heartbeatTimer = null;
|
|
@@ -3393,6 +3394,7 @@ var init_bridge_host = __esm({
|
|
|
3393
3394
|
this.portFallbackCount = Math.max(1, opts.portFallbackCount ?? 10);
|
|
3394
3395
|
this.openUrlHandler = opts.openUrl;
|
|
3395
3396
|
this.agentHost = new AgentHost({ getExcludePorts: opts.agentScanExcludes });
|
|
3397
|
+
this.sootbeanOrigin = opts.sootbeanOrigin?.replace(/\/$/, "") || null;
|
|
3396
3398
|
}
|
|
3397
3399
|
/** expose the agent host so tests and embedders can inspect state or
|
|
3398
3400
|
* inject behavior. not part of the public WS protocol. */
|
|
@@ -4275,7 +4277,9 @@ var init_bridge_host = __esm({
|
|
|
4275
4277
|
res.end();
|
|
4276
4278
|
return;
|
|
4277
4279
|
}
|
|
4278
|
-
res.end(
|
|
4280
|
+
res.end(
|
|
4281
|
+
injectSharedConfigIntoHtml(data, this.effectivePort, this.sootbeanOrigin)
|
|
4282
|
+
);
|
|
4279
4283
|
});
|
|
4280
4284
|
return;
|
|
4281
4285
|
}
|
|
@@ -4298,7 +4302,9 @@ var init_bridge_host = __esm({
|
|
|
4298
4302
|
}
|
|
4299
4303
|
return;
|
|
4300
4304
|
}
|
|
4301
|
-
res.end(
|
|
4305
|
+
res.end(
|
|
4306
|
+
injectSharedConfigIntoHtml(data, this.effectivePort, this.sootbeanOrigin)
|
|
4307
|
+
);
|
|
4302
4308
|
});
|
|
4303
4309
|
return;
|
|
4304
4310
|
}
|
package/dist-lib/vite.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.41 | (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.40 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
-
import{a,b,c,d}from"./chunk-Z3I2I4IO.js";import"./chunk-PNGBWMQH.js";import"./chunk-Y66CDFAT.js";import"./chunk-XWXFUFB2.js";import"./chunk-YKEBL6GE.js";import"./chunk-DEBXVPIE.js";export{c as ensureDaemonRunning,a as ensureRuntimeInstalled,d as ensureSootsimReady,b as resolveBootstrapPort};
|