sootsim 0.1.87 → 0.1.89
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-JVF2PSHI.js → agent-OMQOBVTN.js} +2 -2
- package/dist-cli/chunks/{agent-wrapper-F2F4AOBI.js → agent-wrapper-2KXBGMGM.js} +2 -2
- package/dist-cli/chunks/{assert-YYD6OU4X.js → assert-KVPE3WA7.js} +2 -2
- package/dist-cli/chunks/auto-bootstrap-NSSS6RYN.js +2 -0
- package/dist-cli/chunks/beta-6RNNGY7M.js +2 -0
- package/dist-cli/chunks/{chunk-QFHW7D44.js → chunk-2V2FWDAF.js} +1 -1
- package/dist-cli/chunks/{chunk-HUL7SDXP.js → chunk-3EOBQIPI.js} +2 -2
- package/dist-cli/chunks/{chunk-PJA4MECT.js → chunk-3WTHDJJG.js} +2 -2
- package/dist-cli/chunks/{chunk-PV7UPMMH.js → chunk-4FHMNPCF.js} +2 -2
- package/dist-cli/chunks/{chunk-Y2H2L6L7.js → chunk-4FOEYBND.js} +1 -1
- package/dist-cli/chunks/chunk-5ATB3BNQ.js +12 -0
- package/dist-cli/chunks/{chunk-7KZTQHB3.js → chunk-6GC4TL3O.js} +2 -2
- package/dist-cli/chunks/chunk-6GITV57W.js +1 -0
- package/dist-cli/chunks/{chunk-JIGBO7T2.js → chunk-7GNTDMT5.js} +1 -1
- package/dist-cli/chunks/{chunk-G4DPGAY7.js → chunk-CPVZ46IS.js} +1 -1
- package/dist-cli/chunks/chunk-DRZRPFKM.js +2 -0
- package/dist-cli/chunks/{chunk-5UEPOBEU.js → chunk-DUGUYL7H.js} +1 -1
- package/dist-cli/chunks/{chunk-OOMEG6UD.js → chunk-ETWRACG5.js} +2 -2
- package/dist-cli/chunks/chunk-EXHZED5X.js +2 -0
- package/dist-cli/chunks/{chunk-F2V2RDSF.js → chunk-EYHJPH7C.js} +2 -2
- package/dist-cli/chunks/{chunk-PQIWV724.js → chunk-HBQGKYCA.js} +2 -2
- package/dist-cli/chunks/{chunk-7SX73XWN.js → chunk-HG5VVLD6.js} +2 -2
- package/dist-cli/chunks/{chunk-LKF24E4V.js → chunk-HM762PMQ.js} +2 -2
- package/dist-cli/chunks/{chunk-6JITQIIF.js → chunk-I5WPAK2A.js} +1 -1
- package/dist-cli/chunks/chunk-IVRX3TEH.js +23 -0
- package/dist-cli/chunks/{chunk-BREFZK7S.js → chunk-K5LC4CBM.js} +3 -3
- package/dist-cli/chunks/{chunk-OB6UTULM.js → chunk-KPSFSCKG.js} +2 -2
- package/dist-cli/chunks/chunk-L54TZZAI.js +119 -0
- package/dist-cli/chunks/{chunk-4QWGWI5X.js → chunk-LJXW33TJ.js} +2 -2
- package/dist-cli/chunks/chunk-MHT2T5KD.js +1 -0
- package/dist-cli/chunks/{chunk-ZKJ42ZMK.js → chunk-NCUPGVD4.js} +2 -2
- package/dist-cli/chunks/{chunk-HSIKVDO7.js → chunk-OHEIXPMP.js} +2 -2
- package/dist-cli/chunks/{chunk-BDMAV7YE.js → chunk-OWU7TBIS.js} +1 -1
- package/dist-cli/chunks/{chunk-CQGEFQ2O.js → chunk-PIRJFIZF.js} +1 -1
- package/dist-cli/chunks/{chunk-LAFA2UUY.js → chunk-Q57ZMHYI.js} +2 -2
- package/dist-cli/chunks/{chunk-MDZ6HMDB.js → chunk-QG3METGX.js} +1 -1
- package/dist-cli/chunks/chunk-QSLG7VVY.js +1 -0
- package/dist-cli/chunks/{chunk-QI3CAQIS.js → chunk-RX3LQRCU.js} +2 -2
- package/dist-cli/chunks/{chunk-BGA7UNHQ.js → chunk-SHJOEOUO.js} +2 -2
- package/dist-cli/chunks/{chunk-JNC2KM5L.js → chunk-SITJ5S5B.js} +1 -1
- package/dist-cli/chunks/chunk-TRTHHT4P.js +2 -0
- package/dist-cli/chunks/{chunk-PRQGETWQ.js → chunk-TVMYLEWA.js} +1 -1
- package/dist-cli/chunks/{chunk-L7NMKMAC.js → chunk-W5CC6JIX.js} +2 -2
- package/dist-cli/chunks/{chunk-MAFNPEGR.js → chunk-WJVBMLUZ.js} +5 -4
- package/dist-cli/chunks/{chunk-KHCGD2SK.js → chunk-WSPJ3KNV.js} +1 -1
- package/dist-cli/chunks/{chunk-KOJH7M2Y.js → chunk-YSORRTVM.js} +2 -2
- package/dist-cli/chunks/{chunk-KRG3TVPS.js → chunk-ZV62LZGY.js} +3 -3
- package/dist-cli/chunks/{chunk-RFES5JTB.js → chunk-ZVNQENKL.js} +3 -3
- package/dist-cli/chunks/cli-version-YILQNPVD.js +2 -0
- package/dist-cli/chunks/{compat-46LSYJLF.js → compat-PLXA5SK3.js} +3 -3
- package/dist-cli/chunks/{config-P5NLMUL2.js → config-TAK6HN7F.js} +2 -2
- package/dist-cli/chunks/{control-3O7JEUFC.js → control-CL6MOJ6C.js} +2 -2
- package/dist-cli/chunks/cpu-profile-RZR7QUYN.js +2 -0
- package/dist-cli/chunks/{daemon-BL3MXXR3.js → daemon-M36WKR5U.js} +2 -2
- package/dist-cli/chunks/{debug-SQA6GG37.js → debug-DVITFXQJ.js} +3 -3
- package/dist-cli/chunks/{detox-TY6AOSA7.js → detox-NV2TRX24.js} +2 -2
- package/dist-cli/chunks/{device-QWFX4556.js → device-VW7O4447.js} +2 -2
- package/dist-cli/chunks/{diagnose-P2UVBUN6.js → diagnose-46BV5GDH.js} +2 -2
- package/dist-cli/chunks/drivers-K7GBED3K.js +2 -0
- package/dist-cli/chunks/{electron-U3KDMBJM.js → electron-OEHJRNA7.js} +3 -3
- package/dist-cli/chunks/flow-4OKAL4KU.js +2 -0
- package/dist-cli/chunks/help-P2ZPKY2O.js +2 -0
- package/dist-cli/chunks/{hints-2IYL3NF4.js → hints-ERI46BDJ.js} +2 -2
- package/dist-cli/chunks/{home-paths-5SZOYDCC.js → home-paths-AYPEAQXA.js} +2 -2
- package/dist-cli/chunks/{inspect-FA4L7WIE.js → inspect-G72QMXPL.js} +64 -54
- package/dist-cli/chunks/install-WAKFTJUK.js +2 -0
- package/dist-cli/chunks/{install-desktop-OLT6LS5L.js → install-desktop-KAMMVODZ.js} +3 -3
- package/dist-cli/chunks/{keys-3OXB23J4.js → keys-QY7KAAYQ.js} +2 -2
- package/dist-cli/chunks/{launch-HEXKSA3X.js → launch-ZNXRIQDN.js} +3 -3
- package/dist-cli/chunks/{login-DKQYESDF.js → login-UHQ25HGD.js} +4 -4
- package/dist-cli/chunks/{logout-FMJJ3BR2.js → logout-TFVBF3HC.js} +2 -2
- package/dist-cli/chunks/{maestro-Z24ESGQW.js → maestro-UFAPY6T6.js} +2 -2
- package/dist-cli/chunks/{preview-ODKBHTV5.js → preview-TLVWJA45.js} +2 -2
- package/dist-cli/chunks/{profile-2PIY7B3L.js → profile-JSHBEXKJ.js} +2 -2
- package/dist-cli/chunks/{react-HL4CHJS4.js → react-CFK5WWST.js} +2 -2
- package/dist-cli/chunks/{record-4LYFSZUK.js → record-YWLFSTDG.js} +2 -2
- package/dist-cli/chunks/runtime-73OCON3C.js +2 -0
- package/dist-cli/chunks/{runtime-delivery-U7WIYI7J.js → runtime-delivery-BFTTQ7QC.js} +2 -2
- package/dist-cli/chunks/{screenshot-YUA2BHDF.js → screenshot-PGVRESEV.js} +2 -2
- package/dist-cli/chunks/{screenshot-mode-UIL75CHP.js → screenshot-mode-LDJLLQ3D.js} +2 -2
- package/dist-cli/chunks/{screenshots-YJWODQGP.js → screenshots-7PL4PYGS.js} +2 -2
- package/dist-cli/chunks/{server-J644PTIB.js → server-6IGCTIJN.js} +2 -2
- package/dist-cli/chunks/setup-repo-PUBU6CFG.js +2 -0
- package/dist-cli/chunks/{skills-PEBZZZTL.js → skills-VHQGU7GE.js} +2 -2
- package/dist-cli/chunks/{start-JCJQRDDQ.js → start-CAYFJPJF.js} +4 -4
- package/dist-cli/chunks/store-R53SRYMZ.js +2 -0
- package/dist-cli/chunks/telemetry-JTRSVBLT.js +2 -0
- package/dist-cli/chunks/{test-Z3NU6IN7.js → test-GKUWJJKZ.js} +3 -3
- package/dist-cli/chunks/{three-mode-CFSZ2ZOW.js → three-mode-2VQX6IIB.js} +2 -2
- package/dist-cli/chunks/{timeline-GEND6OI3.js → timeline-IBWWDCOC.js} +2 -2
- package/dist-cli/chunks/{upgrade-6GFR2ZB7.js → upgrade-SFR57VWD.js} +2 -2
- package/dist-cli/chunks/upload-UWFOTY2Q.js +2 -0
- package/dist-cli/chunks/{web-7A27OUAC.js → web-Y3TQSZKE.js} +2 -2
- package/dist-cli/chunks/{what-happened-57G5T2GM.js → what-happened-OOWZOYJ5.js} +2 -2
- package/dist-cli/chunks/{whoami-3ICC26FV.js → whoami-YCS5L53Z.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/beta.cjs +1 -1
- package/dist-lib/beta.mjs +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/detox/index.cjs +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +1 -1
- package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +1 -1
- package/dist-lib/metro.cjs +1 -1
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/render-mode.cjs +1 -1
- package/dist-lib/scripts/demo-app-registry.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/skills.cjs +9 -2
- package/dist-lib/vite.cjs +1 -1
- package/package.json +1 -1
- package/dist-cli/chunks/auto-bootstrap-NUDEO3WI.js +0 -2
- package/dist-cli/chunks/beta-KQR3AUDC.js +0 -2
- package/dist-cli/chunks/chunk-356M3TGV.js +0 -23
- package/dist-cli/chunks/chunk-CIRLGKNJ.js +0 -2
- package/dist-cli/chunks/chunk-FYFVAKLG.js +0 -1
- package/dist-cli/chunks/chunk-IFTNXJFC.js +0 -2
- package/dist-cli/chunks/chunk-NNBW2HSI.js +0 -1
- package/dist-cli/chunks/chunk-P7TSRSCR.js +0 -119
- package/dist-cli/chunks/chunk-PQ64ESHO.js +0 -12
- package/dist-cli/chunks/chunk-SFGIFF2S.js +0 -2
- package/dist-cli/chunks/chunk-TRLVCBYL.js +0 -1
- package/dist-cli/chunks/cli-version-QYZHMOJT.js +0 -2
- package/dist-cli/chunks/cpu-profile-LDMMDC7S.js +0 -2
- package/dist-cli/chunks/drivers-HPRXOC6D.js +0 -2
- package/dist-cli/chunks/flow-XGMUH4JT.js +0 -2
- package/dist-cli/chunks/help-HZCKWAH5.js +0 -2
- package/dist-cli/chunks/install-SYVS2T2T.js +0 -2
- package/dist-cli/chunks/runtime-JML6VARG.js +0 -2
- package/dist-cli/chunks/setup-repo-GSEZY74V.js +0 -2
- package/dist-cli/chunks/store-XGTUSOGS.js +0 -2
- package/dist-cli/chunks/telemetry-Y3IESY7P.js +0 -2
- package/dist-cli/chunks/upload-OPMPP35I.js +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
2
|
-
import{A as y,L as x,y as F,z as T}from"./chunk-
|
|
1
|
+
/*! sootsim v0.1.89 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
+
import{A as y,L as x,y as F,z as T}from"./chunk-WSPJ3KNV.js";import{c as S,e as N}from"./chunk-IVRX3TEH.js";import{b as k}from"./chunk-7GNTDMT5.js";import"./chunk-EXHZED5X.js";import"./chunk-4FOEYBND.js";import"./chunk-TVMYLEWA.js";function _(n){let e=[];for(let t=0;t<n.length;t++)if(n[t]==="--since"&&t+1<n.length){e.push(t,t+1);let s=n[t+1].trim(),l=/^(\d+(?:\.\d+)?)(ms|s|m)?$/.exec(s);if(l){let a=Number(l[1]),m=l[2]??"ms",$=m==="s"?a*1e3:m==="m"?a*6e4:a;return{since:Date.now()-$,consumed:e}}let o=Number(s);if(Number.isFinite(o)&&o>1e12)return{since:o,consumed:e}}return{consumed:e}}function K(n){let e=[];for(let t=0;t<n.length;t++)if(n[t]==="--kinds"&&t+1<n.length)return e.push(t,t+1),{kinds:n[t+1].split(",").map(s=>s.trim()).filter(Boolean),consumed:e};return{consumed:e}}function O(n){let e=[];for(let t=0;t<n.length;t++)if(n[t]==="--limit"&&t+1<n.length){e.push(t,t+1);let s=Number(n[t+1]);if(Number.isFinite(s)&&s>0)return{limit:s,consumed:e}}return{consumed:e}}function j(n,e){if(e===null)return new Date(n).toLocaleTimeString();let t=(n-e)/1e3;return`${t>=0?"+":""}${t.toFixed(2)}s`}function B(n,e){switch(n){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"layout":return`${e.kind??"?"} ${e.testID??e.type??""}${e.skipped?` skipped:${e.reason??"unknown"}`:""}`;case"react-commit":{let t=e.slowest;return`${e.fiberCount??"?"} fibers ${e.durationMs??"?"}ms${t?.displayName?` \xB7 ${t.displayName} ${t.durationMs??"?"}ms`:""}`}case"reanimated":case"animation":return`${e.kind??""} ${e.target??""}${e.durationMs?` ${e.durationMs}ms`:""}`}}function A(n,e){let t=j(n.t,e).padStart(8),s=n.context.padEnd(6),l=`[${n.kind}]`.padEnd(15),o="",a=n.data;return a&&typeof a=="object"&&(o=B(n.kind,a)),` ${t} ${s} ${l} ${o}`}function M(n){let e=[],t={label:"initial state",events:[],startedAt:n[0]?.t??null};e.push(t);for(let s of n)if(t.events.push(s),s.kind==="screen"||s.kind==="route"){let l=s.data,o=l?.phase;if(!o||o==="enter"||o==="appear"||o==="active"){let a=l?.name||l?.activeName||l?.path||l?.pathname||s.kind;e.length===1&&t.events.length===1?t.label=`${s.kind}: ${a}`:(t={label:`${s.kind}: ${a}`,events:[],startedAt:s.t},e.push(t))}}return e}async function J(n,e){let t=S(n,{port:e.port,stripBooleanFlags:["--summary","--all","--json","--no-advance","--help","-h","--flow","--noisy"],stripValueFlags:["--since","--kinds","--limit"]});(n.includes("--help")||n.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.89 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
+
import{d as i}from"./chunk-OHEIXPMP.js";import{d as n}from"./chunk-W5CC6JIX.js";import"./chunk-4FOEYBND.js";import"./chunk-TVMYLEWA.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.89 | (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.89 | (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.89 | (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.89 | (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.89 | (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.89 | (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
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.89 | (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
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.89 | (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.89 | (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.89 | (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
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.89 | (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.89 | (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.89 | (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.89 | (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.89 | (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.89 | (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.89 | (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
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.89 | (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
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.89 | (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.89 | (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.89 | (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.89 | (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.89 | (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.89 | (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/skills.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.89 | (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;
|
|
@@ -14947,7 +14947,7 @@ function parseBridgeCliArgs(args, opts = {}) {
|
|
|
14947
14947
|
i++;
|
|
14948
14948
|
continue;
|
|
14949
14949
|
}
|
|
14950
|
-
if (arg === "--sim") {
|
|
14950
|
+
if (arg === "--sim" || arg === "--session" || arg === "--tab") {
|
|
14951
14951
|
flagIndices.add(i);
|
|
14952
14952
|
if (i + 1 < args.length) {
|
|
14953
14953
|
flagIndices.add(i + 1);
|
|
@@ -14957,6 +14957,13 @@ function parseBridgeCliArgs(args, opts = {}) {
|
|
|
14957
14957
|
i++;
|
|
14958
14958
|
continue;
|
|
14959
14959
|
}
|
|
14960
|
+
const simEq = arg.startsWith("--sim=") ? arg.slice("--sim=".length) : arg.startsWith("--session=") ? arg.slice("--session=".length) : arg.startsWith("--tab=") ? arg.slice("--tab=".length) : void 0;
|
|
14961
|
+
if (simEq !== void 0) {
|
|
14962
|
+
flagIndices.add(i);
|
|
14963
|
+
simId = simEq.trim() || void 0;
|
|
14964
|
+
simIdSource = "flag";
|
|
14965
|
+
continue;
|
|
14966
|
+
}
|
|
14960
14967
|
if (stripBooleanFlags.has(arg)) {
|
|
14961
14968
|
flagIndices.add(i);
|
|
14962
14969
|
continue;
|
package/dist-lib/vite.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.89 | (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.87 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
-
import{a,b,c,d}from"./chunk-RFES5JTB.js";import"./chunk-356M3TGV.js";import"./chunk-JIGBO7T2.js";import"./chunk-SFGIFF2S.js";import"./chunk-Y2H2L6L7.js";import"./chunk-PRQGETWQ.js";export{c as ensureDaemonRunning,a as ensureRuntimeInstalled,d as ensureSootsimReady,b as resolveBootstrapPort};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*! sootsim v0.1.87 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
-
import{a as k,c as T,e as C}from"./chunk-JIGBO7T2.js";import{E as v,F as P}from"./chunk-Y2H2L6L7.js";import{WebSocket as I}from"ws";function $(){let e=v();return e&&P(e)?e.bridgePort:7668}var w=class extends Error{lock;constructor(t,i){super(t),this.name="BridgeSimLockedError",this.lock=i}};function F(e){return e==="flag"?"via --sim":e==="saved"?"saved via `sootsim use`":"primary fallback \u2014 no sim pinned"}function R(e,t={}){let i=new Set,d=t.port??$(),a=t.commandTimeoutMs??15e3,r,g="none",p=new Set(t.stripBooleanFlags??[]),y=new Set(t.stripValueFlags??[]);for(let n=0;n<e.length;n++){let l=e[n];if(l==="--port"||l==="-p"){i.add(n),n+1<e.length&&(i.add(n+1),d=Number(e[n+1])),n++;continue}if(l.startsWith("--port=")){i.add(n),d=Number(l.slice(7));continue}if(l==="--timeout"){i.add(n),n+1<e.length&&(i.add(n+1),a=Number(e[n+1])),n++;continue}if(l==="--sim"){i.add(n),n+1<e.length&&(i.add(n+1),r=e[n+1]?.trim()||void 0,g="flag"),n++;continue}if(p.has(l)){i.add(n);continue}y.has(l)&&(i.add(n),n+1<e.length&&i.add(n+1),n++)}if(!r){let n=T();n&&(r=n.trim()||void 0,g="saved")}return{positional:e.filter((n,l)=>!i.has(l)),wsPort:d,simId:r,simIdSource:g,commandTimeoutMs:a}}function W(e,t={}){let i=1,d=t.commandTimeoutMs??15e3,a=new Map,r=new I(`ws://localhost:${e}`),g=t.simId?{key:`sim:${t.simId}`,source:"explicit-sim-id",stable:!0}:k(),p=new Promise((s,o)=>{r.on("open",()=>{try{r.send(JSON.stringify({type:"bridge:hello",id:0,cliIdentityKey:g.key,cliIdentitySource:g.source,cliLabel:t.cliLabel}))}catch{}s()}),r.on("error",c=>{let m=c.message?`: ${c.message}`:"";o(new Error(`could not connect to ws://localhost:${e}${m}`))})}),y=!1,n=!1;function l(s,o){if(n||process.env.SOOTSIM_QUIET_TARGET_NOTICE==="1"||s.startsWith("bridge:")||s==="focus"||s==="close")return;n=!0;let c=o??"primary",m=F(o?t.simIdSource:"none");process.stderr.write(` \u2192 ${c} (${m})
|
|
3
|
-
`)}return r.on("message",s=>{let o;try{o=JSON.parse(s.toString())}catch{return}if(o.id===0)return;let c=a.get(o.id);c&&(a.delete(o.id),o.i>0&&!y&&(y=!0,process.stderr.write(`
|
|
4
|
-
\u26A0 ${o.i} other CLI identity/identities are driving this sim
|
|
5
|
-
taps, scrolls, and keyboard input from multiple agents will collide on
|
|
6
|
-
the same screen state (this is not a bridge throughput limit).
|
|
7
|
-
use \`sootsim open --new\` for an isolated sim per agent.
|
|
8
|
-
|
|
9
|
-
`)),o.error?o.o?c.reject(new w(o.error,o.o)):c.reject(new Error(o.error)):c.resolve(o.result))}),r.on("close",(s,o)=>{let c=o?.toString()||"connection closed";for(let[m,u]of a)a.delete(m),u.reject(new Error(`sim disconnected: ${c} (code ${s})`))}),{async send(s,o){let c=o?.timeoutMs??d,m=async u=>{await p;let f=i++;return new Promise((A,S)=>{let B=setTimeout(()=>{a.delete(f),S(new Error(`command timed out after ${Math.round(c/1e3)}s`))},c);a.set(f,{resolve:h=>{clearTimeout(B),A(h)},reject:h=>{clearTimeout(B),S(h)}});let b={...s,id:f};b.simId===void 0&&u&&(b.simId=u),l(s.type??"",b.simId),r.send(JSON.stringify(b))})};try{return await m(t.simId)}catch(u){let f=u instanceof Error?u.message:String(u);throw t.simIdSource==="saved"&&t.simId&&s.simId===void 0&&f===`no sim connected with id ${t.simId}`?(C(),new Error(`saved sim ${t.simId} is gone; run \`sootsim list\` and \`sootsim use <sim>\`, or open a fresh sim`)):u}},async listSims(){let s=await this.send({type:"bridge:list-sims"});return Array.isArray(s)?s:[]},async openUrl(s,o={}){return this.send({type:"bridge:open",url:s,newWindow:o.newWindow===!0})},async focusSim(s){return this.send({type:"focus",simId:s})},async closeSim(s){return this.send({type:"close",simId:s})},async claim(s,o={}){return await this.send({type:"bridge:claim",simId:s,force:o.force===!0})},close(){try{r.readyState===I.OPEN&&r.send(JSON.stringify({type:"bridge:bye",id:0}))}catch{}r.close();let s=setTimeout(()=>{r.readyState!==I.CLOSED&&r.terminate()},250)}}}function V(e){return W(e.wsPort,{commandTimeoutMs:e.commandTimeoutMs,simId:e.simId,simIdSource:e.simIdSource})}function E(e,t){let i=e.filter(r=>r.readyState==="open"&&r.id!==t),d=i.find(r=>r.userFocused)??i.find(r=>r.userVisible===!0&&r.isPrimary)??i.find(r=>r.userVisible===!0)??i.find(r=>r.isPrimary);if(!d)return null;let a=[d.isPrimary?"primary":null,d.userVisible===!1?"hidden":d.userVisible===!0?"visible":null,d.userFocused?"focused":null].filter(Boolean);return`${d.id}${a.length?` [${a.join(", ")}]`:""}`}async function _(e){try{let t=await e.send({type:"evaluate",code:`(() => ({
|
|
10
|
-
hidden: document.hidden,
|
|
11
|
-
visibilityState: document.visibilityState,
|
|
12
|
-
hasFocus: typeof document.hasFocus === 'function' ? document.hasFocus() : null,
|
|
13
|
-
simId: window.__sootsimBridge?.id ?? window.SootSim?.state?.simId ?? null,
|
|
14
|
-
url: location.href
|
|
15
|
-
}))()`}),i=typeof t=="object"&&t!==null?t:{hidden:t===!0};if(i.hidden===!0===!0){let a=null;try{a=E(await e.listSims(),i.simId)}catch{}return process.stderr.write(`
|
|
16
|
-
\u26A0 target sim${i.simId?` ${i.simId}`:""} is hidden (document.hidden = true)
|
|
17
|
-
`+(i.visibilityState?` visibility: ${i.visibilityState}
|
|
18
|
-
`:"")+` animations and rAF callbacks are throttled \u2014 coordinates may be wrong
|
|
19
|
-
and launch/transition animations will not complete.
|
|
20
|
-
`+(a?` another open sim looks usable: ${a}; target it with --sim.
|
|
21
|
-
`:" run `sootsim list` to find the visible sim and target it with --sim.\n")+` page-level window.focus() cannot unhide a browser tab.
|
|
22
|
-
|
|
23
|
-
`),{hidden:!0,warned:!0,simId:i.simId}}return{hidden:!1,warned:!1,simId:i.simId}}catch{return{hidden:!1,warned:!1}}}async function j(e,t,i={}){let d={type:"evaluate",code:t};return i.acquireLock&&(d.acquireLock=!0),e.send(d)}async function D(e,t,...i){return e.send({type:"call",path:t,args:i})}async function q(e,t,...i){return e.send({type:"call",path:t,args:i,acquireLock:!0})}export{$ as a,w as b,R as c,W as d,V as e,_ as f,j as g,D as h,q as i};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! sootsim v0.1.87 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! sootsim v0.1.87 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
-
var c={"--help":{type:"boolean",short:"-h"},"--version":{type:"boolean",short:"-V"},"--verbose":{type:"boolean",short:"-v"},"--port":{type:"number",short:"-p"},"--device":{type:"string",short:"-d"},"--theme":{type:"string",short:"-t"},"--headless":{type:"boolean"},"--driver":{type:"string"},"--sim":{type:"string"}},g=new Set(["list","describe","find","get","do","wait","network","logs","shell"]),p=new Set(["do","get","wait","shell","debug"]),b={tap:"sootsim do tap","double-tap":"sootsim do double-tap","tap-text":"sootsim do tap-text","tap-id":"sootsim do tap-id",type:"sootsim do type","type-into":"sootsim do type-into",key:"sootsim do key",dispatch:"sootsim do dispatch",dismiss:"sootsim do dismiss",scroll:"sootsim do scroll",drag:"sootsim do drag",swipe:"sootsim do swipe",pinch:"sootsim do pinch",reload:"sootsim do reload",sleep:"sootsim do sleep",settle:"sootsim do settle",tree:"sootsim get tree",a11y:"sootsim get a11y",count:"sootsim get count",layout:"sootsim get layout",url:"sootsim get url",globals:"sootsim get globals",errors:"sootsim get errors",warnings:"sootsim get warnings",requests:"sootsim get requests",node:"sootsim get node",state:"sootsim debug state",js:"sootsim debug js",eval:"sootsim debug eval",perf:"sootsim debug perf","sample-color":"sootsim debug sample-color","find-id":"sootsim find --testid",query:"sootsim find --text|--role|--type|--pressable|--visible",capture:"sootsim screenshot"},u=new Set(["preview","test","detox","maestro","flow","record","profile","cpu-profile","react","screenshot","screenshots","screenshot-mode","three-mode","3d-mode","inspect","debug","timeline","what-happened","diagnose","shell","assert","device","open","list","use","focus","claim","close","config","compat","scan","electron","login","logout","whoami","install","setup-repo","install-desktop","server","daemon","runtime","upgrade","launch","start","skills","upload","keys","hints","agent-wrapper","agent",...g,...Object.keys(b)]);function h(m){let i=m.slice(2),e={command:null,commandArgs:[],globalFlags:{},help:!1,version:!1,verbose:!1},s=0;for(;s<i.length;){let o=i[s];if(o==="--"){e.commandArgs.push(...i.slice(s+1));break}let a=Object.entries(c).find(([n,t])=>n===o||t.short===o);if(a){let[n,t]=a,l=n.replace(/^--/,"");if(t.type==="boolean")e.globalFlags[l]=!0,s++;else{let r=i[s+1];if(r===void 0||r.startsWith("-")){console.error(` warning: ${o} requires a value`),s++;continue}if(t.type==="number"){let d=Number(r);if(Number.isNaN(d)){console.error(` warning: ${o} requires a number, got "${r}"`),s+=2;continue}e.globalFlags[l]=d}else e.globalFlags[l]=r;s+=2}continue}if(!e.command&&!o.startsWith("-")){let n=o.indexOf("-");if(n>0){let t=o.slice(0,n),l=o.slice(n+1);if(p.has(t)&&l.length>0){e.command=t;let r=i.slice(s+1);e.commandArgs=[l,...r[0]==="--"?r.slice(1):r];break}}if(u.has(o)){e.command=o;let t=i.slice(s+1);e.commandArgs=t[0]==="--"?t.slice(1):t;break}e.commandArgs=i.slice(s);break}e.commandArgs.push(o),s++}return e.help=!!e.globalFlags.help,e.version=!!e.globalFlags.version,e.verbose=!!e.globalFlags.verbose,e}export{g as a,b,h as c};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! sootsim v0.1.87 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|