sootsim 0.1.179 → 0.1.181
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-IVX2OKG5.js → agent-RKWUNS7I.js} +2 -2
- package/dist-cli/chunks/{agent-wrapper-ZNK7CWJG.js → agent-wrapper-5EPZRSPB.js} +2 -2
- package/dist-cli/chunks/{app-fonts-26YQ2LXF.js → app-fonts-EU7F6Z3S.js} +2 -2
- package/dist-cli/chunks/{assert-NJFGETXK.js → assert-RKFBXF3E.js} +2 -2
- package/dist-cli/chunks/beta-VXVNIBH6.js +2 -0
- package/dist-cli/chunks/{camera-QK33IHK2.js → camera-TD6M3UW4.js} +2 -2
- package/dist-cli/chunks/{chunk-7N73VST2.js → chunk-3DX6C7P7.js} +2 -2
- package/dist-cli/chunks/{chunk-ORU4M7HC.js → chunk-455VGZ2C.js} +9 -9
- package/dist-cli/chunks/{chunk-JOTROIZO.js → chunk-4GUWBLYM.js} +1 -1
- package/dist-cli/chunks/{chunk-CKSZVH4M.js → chunk-5KF6ZRPL.js} +1 -1
- package/dist-cli/chunks/{chunk-JAKFPOU4.js → chunk-6OJJAJRM.js} +1 -1
- package/dist-cli/chunks/{chunk-VLTTKNAU.js → chunk-7IY6HRHX.js} +1 -1
- package/dist-cli/chunks/chunk-7VFWDDKF.js +1 -0
- package/dist-cli/chunks/{chunk-QSB4XZH5.js → chunk-7WGUVK3H.js} +2 -2
- package/dist-cli/chunks/{chunk-HHBOFGWG.js → chunk-ANIFL7F2.js} +1 -1
- package/dist-cli/chunks/{chunk-SOYTNR2Q.js → chunk-DFOAKJLV.js} +2 -2
- package/dist-cli/chunks/chunk-DG25DVQA.js +1 -0
- package/dist-cli/chunks/chunk-DXXFRQDT.js +2 -0
- package/dist-cli/chunks/{chunk-SZT3HRKL.js → chunk-ELFPYLAD.js} +2 -2
- package/dist-cli/chunks/{chunk-7LNH4A5G.js → chunk-EXA5KQMJ.js} +1 -1
- package/dist-cli/chunks/{chunk-6NCYDHS5.js → chunk-FSWR7SL3.js} +1 -1
- package/dist-cli/chunks/{chunk-7PDA36Q7.js → chunk-HIDL7MR4.js} +2 -2
- package/dist-cli/chunks/{chunk-R4YLBNCO.js → chunk-IE7FPLMT.js} +1 -1
- package/dist-cli/chunks/{chunk-B4QYQJYE.js → chunk-IGSJWOD3.js} +1 -1
- package/dist-cli/chunks/{chunk-UM5XHBTT.js → chunk-JFDRB2AQ.js} +2 -2
- package/dist-cli/chunks/{chunk-WIFE3R5F.js → chunk-JXIJPGAA.js} +1 -1
- package/dist-cli/chunks/{chunk-CWBQ4VR3.js → chunk-KW2G6CYT.js} +2 -2
- package/dist-cli/chunks/chunk-MBWEZB7G.js +2 -0
- package/dist-cli/chunks/{chunk-FVLADGKB.js → chunk-MOLUWZMJ.js} +2 -2
- package/dist-cli/chunks/{chunk-SRV4YD3I.js → chunk-N5BWYBPY.js} +2 -2
- package/dist-cli/chunks/{chunk-S3QWJ76W.js → chunk-NXOSVZ5V.js} +2 -2
- package/dist-cli/chunks/{chunk-CZJ74QZM.js → chunk-PHPGJPFL.js} +2 -2
- package/dist-cli/chunks/{chunk-HJPQAS3T.js → chunk-QRJWVT3L.js} +3 -3
- package/dist-cli/chunks/{chunk-HOS3HFAX.js → chunk-RYOEWY42.js} +2 -2
- package/dist-cli/chunks/{chunk-3EEQRIEH.js → chunk-SFI66XFY.js} +2 -2
- package/dist-cli/chunks/{chunk-IR2KKNHX.js → chunk-TF24QNTS.js} +1 -1
- package/dist-cli/chunks/{chunk-PGDHMJ2V.js → chunk-TVAG4EDK.js} +1 -1
- package/dist-cli/chunks/{chunk-UT76PROO.js → chunk-TVUKWQKF.js} +2 -2
- package/dist-cli/chunks/{chunk-SN7SSPO3.js → chunk-UQYVIUVV.js} +2 -2
- package/dist-cli/chunks/chunk-V53IQMHL.js +5 -0
- package/dist-cli/chunks/{chunk-XL4TROEL.js → chunk-VBHBFJZ3.js} +1 -1
- package/dist-cli/chunks/{chunk-C2LRNUYZ.js → chunk-VBQD7ZVI.js} +2 -2
- package/dist-cli/chunks/{chunk-VCU44BK4.js → chunk-VNE4KDKB.js} +2 -2
- package/dist-cli/chunks/{chunk-J7K5DKTW.js → chunk-VPPTIGEA.js} +1 -1
- package/dist-cli/chunks/{chunk-ZNBHWKKF.js → chunk-VYFQBXF5.js} +2 -2
- package/dist-cli/chunks/{chunk-XMZU4AX3.js → chunk-WAC236L6.js} +2 -2
- package/dist-cli/chunks/{chunk-LTM24CWP.js → chunk-WJ7YLEHP.js} +2 -2
- package/dist-cli/chunks/{chunk-6L3RBC37.js → chunk-WY2T6Z4D.js} +2 -2
- package/dist-cli/chunks/{chunk-6RK5PLS5.js → chunk-X25HNIMN.js} +1 -1
- package/dist-cli/chunks/{chunk-GDBCGIDS.js → chunk-XCQ5SHW4.js} +3 -3
- package/dist-cli/chunks/{chunk-VOOUQQET.js → chunk-Y6PKI2Q2.js} +2 -2
- package/dist-cli/chunks/cli-version-VH6P4API.js +2 -0
- package/dist-cli/chunks/{compat-CQA2G4YG.js → compat-2LW53L3X.js} +3 -3
- package/dist-cli/chunks/{control-M43MOUBZ.js → control-TPJXIRFC.js} +2 -2
- package/dist-cli/chunks/{cpu-profile-DSDDZ4S4.js → cpu-profile-ILWMOPGM.js} +2 -2
- package/dist-cli/chunks/daemon-BE42RCVB.js +2 -0
- package/dist-cli/chunks/{debug-N3EXWDAM.js → debug-B3YI66U3.js} +3 -3
- package/dist-cli/chunks/{detox-3EB23Z3A.js → detox-P4ZT3VE5.js} +2 -2
- package/dist-cli/chunks/{device-JRVGPK4Q.js → device-L2NDHRYR.js} +3 -3
- package/dist-cli/chunks/{diagnose-SVSB7IOM.js → diagnose-A4HWLBVV.js} +2 -2
- package/dist-cli/chunks/drivers-PZZCFUEV.js +2 -0
- package/dist-cli/chunks/{electron-4VQZSCQN.js → electron-RO3TPVY6.js} +3 -3
- package/dist-cli/chunks/flow-XB73D57F.js +2 -0
- package/dist-cli/chunks/help-S4Z6P3KT.js +2 -0
- package/dist-cli/chunks/{hints-6O4UX2OF.js → hints-G7S3VDTD.js} +2 -2
- package/dist-cli/chunks/{home-paths-WISVEMCR.js → home-paths-OE3OK3DY.js} +2 -2
- package/dist-cli/chunks/{inspect-R4CVXNFC.js → inspect-WXM6H76N.js} +3 -3
- package/dist-cli/chunks/{install-desktop-KP5J5MF5.js → install-desktop-IMVDXK6B.js} +3 -3
- package/dist-cli/chunks/{keys-WE4GTMF3.js → keys-UKEWXNIR.js} +2 -2
- package/dist-cli/chunks/{login-TAA3T2YS.js → login-JMJIS5DW.js} +4 -4
- package/dist-cli/chunks/{logout-BV7HYRQJ.js → logout-G3BGSQEH.js} +2 -2
- package/dist-cli/chunks/{maestro-A6YFL7RW.js → maestro-QZ5TJPFV.js} +2 -2
- package/dist-cli/chunks/optional-demo-registry-QZ3N5NTN.js +2 -0
- package/dist-cli/chunks/{preview-KHM6EDYR.js → preview-7QFRBTZB.js} +2 -2
- package/dist-cli/chunks/{profile-LBXEFSPL.js → profile-MEH7CCAS.js} +2 -2
- package/dist-cli/chunks/{react-UXZ4MTPG.js → react-LXBEY3LK.js} +2 -2
- package/dist-cli/chunks/{record-O26WY3BX.js → record-MRCRQ6YX.js} +2 -2
- package/dist-cli/chunks/runtime-BQEZQUBD.js +2 -0
- package/dist-cli/chunks/{screenshot-BCCNWCT2.js → screenshot-ML2KX4BZ.js} +2 -2
- package/dist-cli/chunks/{screenshot-mode-DJI7KC7J.js → screenshot-mode-RAZUOTEN.js} +2 -2
- package/dist-cli/chunks/{screenshots-DUZZGRH4.js → screenshots-BZGYDJXS.js} +4 -4
- package/dist-cli/chunks/{screenshots-capture-CYVKHWJJ.js → screenshots-capture-XNC3UM3X.js} +2 -2
- package/dist-cli/chunks/{serve-35BEN2TU.js → serve-XWSFQLD7.js} +2 -2
- package/dist-cli/chunks/{setup-MEBAPMJT.js → setup-IDWFS4I4.js} +2 -2
- package/dist-cli/chunks/{skills-EOMZWEIP.js → skills-ROKHF5AD.js} +2 -2
- package/dist-cli/chunks/{slides-RWVSNNUD.js → slides-CWXBPPJD.js} +2 -2
- package/dist-cli/chunks/store-FK6E5CQO.js +2 -0
- package/dist-cli/chunks/telemetry-CBM2UIAG.js +2 -0
- package/dist-cli/chunks/telemetry-WXD6NMEZ.js +2 -0
- package/dist-cli/chunks/{test-KDYWRZJ4.js → test-ZAEKQ7VB.js} +3 -3
- package/dist-cli/chunks/{three-mode-2VUNR3QF.js → three-mode-EGZZJ65O.js} +2 -2
- package/dist-cli/chunks/{timeline-AZ7DXX6R.js → timeline-EBZ2SDVV.js} +2 -2
- package/dist-cli/chunks/{upgrade-F3FAGHHI.js → upgrade-MZRMKVVS.js} +2 -2
- package/dist-cli/chunks/upload-XQH6ZVU6.js +2 -0
- package/dist-cli/chunks/{version-74YI73TC.js → version-CMX4HPI4.js} +2 -2
- package/dist-cli/chunks/{web-OOEXAXRK.js → web-R7FNAVBN.js} +2 -2
- package/dist-cli/chunks/{what-happened-X3RPYIMI.js → what-happened-DUQVN5IX.js} +2 -2
- package/dist-cli/chunks/{whoami-MGM7DDPS.js → whoami-HJIRUPJA.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 +81 -25
- package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +1 -1
- package/dist-lib/jump-to-source-babel.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +1 -1
- package/dist-lib/metro.cjs +1 -1
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/render-mode.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +83 -25
- package/dist-lib/sdk.cjs +1 -1
- package/dist-lib/sdk.mjs +1 -1
- package/dist-lib/skills.cjs +82 -26
- package/dist-lib/vite.cjs +1 -1
- package/package.json +1 -1
- package/scripts/dev-server-scanner.ts +120 -24
- package/skills/soot.md +1 -0
- package/src/screenshots/compose.ts +2 -5
- package/dist-cli/chunks/beta-ZWCMF2ZB.js +0 -2
- package/dist-cli/chunks/chunk-6MDXUC6O.js +0 -1
- package/dist-cli/chunks/chunk-CE2THOSL.js +0 -1
- package/dist-cli/chunks/chunk-RL3JUMAC.js +0 -2
- package/dist-cli/chunks/chunk-T5CZ7MZK.js +0 -5
- package/dist-cli/chunks/chunk-TPQ4OK4D.js +0 -2
- package/dist-cli/chunks/cli-version-SRGEH7HC.js +0 -2
- package/dist-cli/chunks/daemon-H3LVJNYI.js +0 -2
- package/dist-cli/chunks/drivers-AUU7FNGZ.js +0 -2
- package/dist-cli/chunks/flow-NLZNYC5P.js +0 -2
- package/dist-cli/chunks/help-F6PU7KE4.js +0 -2
- package/dist-cli/chunks/optional-demo-registry-I2OXGTLM.js +0 -2
- package/dist-cli/chunks/runtime-RRJHC2RA.js +0 -2
- package/dist-cli/chunks/store-FCLI4TX7.js +0 -2
- package/dist-cli/chunks/telemetry-YQWQMXZJ.js +0 -2
- package/dist-cli/chunks/upload-U5XEPNPJ.js +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
2
|
-
import{C as N,D as F,F as y,Q as T,R as b,S}from"./chunk-
|
|
1
|
+
/*! sootsim v0.1.181 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
+
import{C as N,D as F,F as y,Q as T,R as b,S}from"./chunk-ANIFL7F2.js";import{c as A,e as _}from"./chunk-NXOSVZ5V.js";import"./chunk-EXA5KQMJ.js";import{b as k}from"./chunk-6OJJAJRM.js";import"./chunk-X25HNIMN.js";import"./chunk-4GUWBLYM.js";function O(n){let t=[];for(let e=0;e<n.length;e++)if(n[e]==="--since"&&e+1<n.length){t.push(e,e+1);let s=n[e+1].trim(),l=/^(\d+(?:\.\d+)?)(ms|s|m)?$/.exec(s);if(l){let r=Number(l[1]),u=l[2]??"ms",v=u==="s"?r*1e3:u==="m"?r*6e4:r;return{since:Date.now()-v,consumed:t}}let i=Number(s);if(Number.isFinite(i)&&i>1e12)return{since:i,consumed:t}}return{consumed:t}}function B(n){let t=[];for(let e=0;e<n.length;e++)if(n[e]==="--kinds"&&e+1<n.length)return t.push(e,e+1),{kinds:n[e+1].split(",").map(s=>s.trim()).filter(Boolean),consumed:t};return{consumed:t}}function D(n){let t=[];for(let e=0;e<n.length;e++)if(n[e]==="--limit"&&e+1<n.length){t.push(e,e+1);let s=Number(n[e+1]);if(Number.isFinite(s)&&s>0)return{limit:s,consumed:t}}return{consumed:t}}function x(n){let t=[],e={label:"initial state",events:[],startedAt:n[0]?.t??null};t.push(e);for(let s of n)if(e.events.push(s),s.kind==="screen"||s.kind==="route"){let l=s.data,i=l?.phase;if(!i||i==="enter"||i==="appear"||i==="active"){let r=l?.name||l?.activeName||l?.path||l?.pathname||s.kind;t.length===1&&e.events.length===1?e.label=`${s.kind}: ${r}`:(e={label:`${s.kind}: ${r}`,events:[],startedAt:s.t},t.push(e))}}return t}async function J(n,t){let e=A(n,{port:t.port,stripBooleanFlags:["--summary","--all","--json","--no-advance","--help","-h","--flow","--noisy"],stripValueFlags:["--since","--kinds","--limit"]});(n.includes("--help")||n.includes("-h"))&&(console.log(`
|
|
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.181 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
+
import{d as i}from"./chunk-RYOEWY42.js";import{d as n}from"./chunk-DFOAKJLV.js";import"./chunk-X25HNIMN.js";import"./chunk-4GUWBLYM.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.181 | (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.181 | (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.181 | (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.181 | (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.181 | (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.181 | (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.181 | (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.181 | (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.181 | (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.181 | (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.181 | (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.181 | (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.181 | (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.181 | (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;
|
|
@@ -333,6 +333,49 @@ function applyManifest(result, manifestRes, buildIconProxyUrl) {
|
|
|
333
333
|
}
|
|
334
334
|
return result;
|
|
335
335
|
}
|
|
336
|
+
var ENRICH_TIMEOUT_MS = 2e4;
|
|
337
|
+
var enrichmentCache = /* @__PURE__ */ new Map();
|
|
338
|
+
var enrichmentInFlight = /* @__PURE__ */ new Set();
|
|
339
|
+
function enrichWithManifest(result, buildIconProxyUrl) {
|
|
340
|
+
if (result.projectName) return result;
|
|
341
|
+
const cached3 = enrichmentCache.get(result.port);
|
|
342
|
+
if (cached3) {
|
|
343
|
+
if (cached3.projectName) result.projectName = cached3.projectName;
|
|
344
|
+
if (cached3.iconUrl && !result.iconUrl) {
|
|
345
|
+
result.iconUrl = cached3.iconUrl;
|
|
346
|
+
result.iconPath = cached3.iconPath;
|
|
347
|
+
}
|
|
348
|
+
if (cached3.bundleId && !result.bundleId) result.bundleId = cached3.bundleId;
|
|
349
|
+
return result;
|
|
350
|
+
}
|
|
351
|
+
if (!enrichmentInFlight.has(result.port)) {
|
|
352
|
+
enrichmentInFlight.add(result.port);
|
|
353
|
+
const port = result.port;
|
|
354
|
+
void fetchManifestEnrichment(port, buildIconProxyUrl).finally(
|
|
355
|
+
() => enrichmentInFlight.delete(port)
|
|
356
|
+
);
|
|
357
|
+
}
|
|
358
|
+
return result;
|
|
359
|
+
}
|
|
360
|
+
async function fetchManifestEnrichment(port, buildIconProxyUrl) {
|
|
361
|
+
const manifestRes = await httpGet(port, "/", "GET", ENRICH_TIMEOUT_MS, {
|
|
362
|
+
"expo-platform": "ios"
|
|
363
|
+
});
|
|
364
|
+
if (!manifestRes || manifestRes.statusCode !== 200) return;
|
|
365
|
+
const parsed = applyManifest(
|
|
366
|
+
{ port, framework: "one", bundleUrl: "", lastSeen: 0 },
|
|
367
|
+
manifestRes,
|
|
368
|
+
buildIconProxyUrl
|
|
369
|
+
);
|
|
370
|
+
if (!parsed.projectName && !parsed.iconUrl) return;
|
|
371
|
+
enrichmentCache.set(port, {
|
|
372
|
+
projectName: parsed.projectName,
|
|
373
|
+
iconUrl: parsed.iconUrl,
|
|
374
|
+
iconPath: parsed.iconPath,
|
|
375
|
+
bundleId: parsed.bundleId
|
|
376
|
+
});
|
|
377
|
+
portCache.delete(port);
|
|
378
|
+
}
|
|
336
379
|
var knownNonPatched = /* @__PURE__ */ new Set();
|
|
337
380
|
var knownNonExpo = /* @__PURE__ */ new Set();
|
|
338
381
|
var knownOne = /* @__PURE__ */ new Set();
|
|
@@ -373,24 +416,30 @@ async function probePort(port, buildIconProxyUrl) {
|
|
|
373
416
|
}
|
|
374
417
|
if (statusRes && statusRes.body.includes("packager-status:running")) {
|
|
375
418
|
knownNonPatched.add(port);
|
|
376
|
-
return
|
|
377
|
-
|
|
378
|
-
|
|
419
|
+
return enrichWithManifest(
|
|
420
|
+
applyManifest(
|
|
421
|
+
makeResult(port, expoRes && expoRes.statusCode === 200 ? "expo" : "metro"),
|
|
422
|
+
manifestRes,
|
|
423
|
+
buildIconProxyUrl
|
|
424
|
+
),
|
|
379
425
|
buildIconProxyUrl
|
|
380
426
|
);
|
|
381
427
|
}
|
|
382
428
|
if (sootsimRes && sootsimRes.statusCode === 200 && sootsimRes.body.includes("sootsim-patched")) {
|
|
383
429
|
knownNonPatched.delete(port);
|
|
384
|
-
return
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
430
|
+
return enrichWithManifest(
|
|
431
|
+
applyManifest(
|
|
432
|
+
{
|
|
433
|
+
port,
|
|
434
|
+
framework: "one",
|
|
435
|
+
bundleUrl: withRuntimeConfig(port, `http://localhost:${port}/__soot/bundle.js`),
|
|
436
|
+
hmrUrl: `ws://localhost:${port}/hot`,
|
|
437
|
+
lastSeen: Date.now(),
|
|
438
|
+
patched: true
|
|
439
|
+
},
|
|
440
|
+
manifestRes,
|
|
441
|
+
buildIconProxyUrl
|
|
442
|
+
),
|
|
394
443
|
buildIconProxyUrl
|
|
395
444
|
);
|
|
396
445
|
}
|
|
@@ -402,18 +451,21 @@ async function probePort(port, buildIconProxyUrl) {
|
|
|
402
451
|
if (oneRes && oneRes.statusCode > 0 && oneRes.statusCode < 400 && /application\/javascript/i.test(oneRes.contentType || "")) {
|
|
403
452
|
knownNonPatched.add(port);
|
|
404
453
|
knownOne.add(port);
|
|
405
|
-
return
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
framework: "one",
|
|
409
|
-
bundleUrl: withRuntimeConfig(
|
|
454
|
+
return enrichWithManifest(
|
|
455
|
+
applyManifest(
|
|
456
|
+
{
|
|
410
457
|
port,
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
458
|
+
framework: "one",
|
|
459
|
+
bundleUrl: withRuntimeConfig(
|
|
460
|
+
port,
|
|
461
|
+
`http://localhost:${port}${onePath}&minify=false`
|
|
462
|
+
),
|
|
463
|
+
hmrUrl: `ws://localhost:${port}/hot`,
|
|
464
|
+
lastSeen: Date.now()
|
|
465
|
+
},
|
|
466
|
+
manifestRes,
|
|
467
|
+
buildIconProxyUrl
|
|
468
|
+
),
|
|
417
469
|
buildIconProxyUrl
|
|
418
470
|
);
|
|
419
471
|
}
|
|
@@ -461,6 +513,9 @@ async function scanDevServers(opts = {}) {
|
|
|
461
513
|
for (const p of [...knownOne]) {
|
|
462
514
|
if (!currentPorts.has(p)) knownOne.delete(p);
|
|
463
515
|
}
|
|
516
|
+
for (const p of [...enrichmentCache.keys()]) {
|
|
517
|
+
if (!currentPorts.has(p)) enrichmentCache.delete(p);
|
|
518
|
+
}
|
|
464
519
|
const results = [];
|
|
465
520
|
const toProbe = [];
|
|
466
521
|
for (const { port, pid } of processes) {
|
|
@@ -473,6 +528,7 @@ async function scanDevServers(opts = {}) {
|
|
|
473
528
|
knownNonPatched.delete(port);
|
|
474
529
|
knownNonExpo.delete(port);
|
|
475
530
|
knownOne.delete(port);
|
|
531
|
+
enrichmentCache.delete(port);
|
|
476
532
|
}
|
|
477
533
|
toProbe.push({ port, pid });
|
|
478
534
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.181 | (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.181 | (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.181 | (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.181 | (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.181 | (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.181 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/menu.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.181 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/menu.mjs
CHANGED
package/dist-lib/metro.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.181 | (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.181 | (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.181 | (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.181 | (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;
|
|
@@ -325,6 +325,49 @@ function applyManifest(result, manifestRes, buildIconProxyUrl) {
|
|
|
325
325
|
function __applyManifestForTests(result, manifestBody) {
|
|
326
326
|
return applyManifest(result, { statusCode: 200, body: manifestBody });
|
|
327
327
|
}
|
|
328
|
+
var ENRICH_TIMEOUT_MS = 2e4;
|
|
329
|
+
var enrichmentCache = /* @__PURE__ */ new Map();
|
|
330
|
+
var enrichmentInFlight = /* @__PURE__ */ new Set();
|
|
331
|
+
function enrichWithManifest(result, buildIconProxyUrl) {
|
|
332
|
+
if (result.projectName) return result;
|
|
333
|
+
const cached2 = enrichmentCache.get(result.port);
|
|
334
|
+
if (cached2) {
|
|
335
|
+
if (cached2.projectName) result.projectName = cached2.projectName;
|
|
336
|
+
if (cached2.iconUrl && !result.iconUrl) {
|
|
337
|
+
result.iconUrl = cached2.iconUrl;
|
|
338
|
+
result.iconPath = cached2.iconPath;
|
|
339
|
+
}
|
|
340
|
+
if (cached2.bundleId && !result.bundleId) result.bundleId = cached2.bundleId;
|
|
341
|
+
return result;
|
|
342
|
+
}
|
|
343
|
+
if (!enrichmentInFlight.has(result.port)) {
|
|
344
|
+
enrichmentInFlight.add(result.port);
|
|
345
|
+
const port = result.port;
|
|
346
|
+
void fetchManifestEnrichment(port, buildIconProxyUrl).finally(
|
|
347
|
+
() => enrichmentInFlight.delete(port)
|
|
348
|
+
);
|
|
349
|
+
}
|
|
350
|
+
return result;
|
|
351
|
+
}
|
|
352
|
+
async function fetchManifestEnrichment(port, buildIconProxyUrl) {
|
|
353
|
+
const manifestRes = await httpGet(port, "/", "GET", ENRICH_TIMEOUT_MS, {
|
|
354
|
+
"expo-platform": "ios"
|
|
355
|
+
});
|
|
356
|
+
if (!manifestRes || manifestRes.statusCode !== 200) return;
|
|
357
|
+
const parsed = applyManifest(
|
|
358
|
+
{ port, framework: "one", bundleUrl: "", lastSeen: 0 },
|
|
359
|
+
manifestRes,
|
|
360
|
+
buildIconProxyUrl
|
|
361
|
+
);
|
|
362
|
+
if (!parsed.projectName && !parsed.iconUrl) return;
|
|
363
|
+
enrichmentCache.set(port, {
|
|
364
|
+
projectName: parsed.projectName,
|
|
365
|
+
iconUrl: parsed.iconUrl,
|
|
366
|
+
iconPath: parsed.iconPath,
|
|
367
|
+
bundleId: parsed.bundleId
|
|
368
|
+
});
|
|
369
|
+
portCache.delete(port);
|
|
370
|
+
}
|
|
328
371
|
var knownNonPatched = /* @__PURE__ */ new Set();
|
|
329
372
|
var knownNonExpo = /* @__PURE__ */ new Set();
|
|
330
373
|
var knownOne = /* @__PURE__ */ new Set();
|
|
@@ -365,24 +408,30 @@ async function probePort(port, buildIconProxyUrl) {
|
|
|
365
408
|
}
|
|
366
409
|
if (statusRes && statusRes.body.includes("packager-status:running")) {
|
|
367
410
|
knownNonPatched.add(port);
|
|
368
|
-
return
|
|
369
|
-
|
|
370
|
-
|
|
411
|
+
return enrichWithManifest(
|
|
412
|
+
applyManifest(
|
|
413
|
+
makeResult(port, expoRes && expoRes.statusCode === 200 ? "expo" : "metro"),
|
|
414
|
+
manifestRes,
|
|
415
|
+
buildIconProxyUrl
|
|
416
|
+
),
|
|
371
417
|
buildIconProxyUrl
|
|
372
418
|
);
|
|
373
419
|
}
|
|
374
420
|
if (sootsimRes && sootsimRes.statusCode === 200 && sootsimRes.body.includes("sootsim-patched")) {
|
|
375
421
|
knownNonPatched.delete(port);
|
|
376
|
-
return
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
422
|
+
return enrichWithManifest(
|
|
423
|
+
applyManifest(
|
|
424
|
+
{
|
|
425
|
+
port,
|
|
426
|
+
framework: "one",
|
|
427
|
+
bundleUrl: withRuntimeConfig(port, `http://localhost:${port}/__soot/bundle.js`),
|
|
428
|
+
hmrUrl: `ws://localhost:${port}/hot`,
|
|
429
|
+
lastSeen: Date.now(),
|
|
430
|
+
patched: true
|
|
431
|
+
},
|
|
432
|
+
manifestRes,
|
|
433
|
+
buildIconProxyUrl
|
|
434
|
+
),
|
|
386
435
|
buildIconProxyUrl
|
|
387
436
|
);
|
|
388
437
|
}
|
|
@@ -394,18 +443,21 @@ async function probePort(port, buildIconProxyUrl) {
|
|
|
394
443
|
if (oneRes && oneRes.statusCode > 0 && oneRes.statusCode < 400 && /application\/javascript/i.test(oneRes.contentType || "")) {
|
|
395
444
|
knownNonPatched.add(port);
|
|
396
445
|
knownOne.add(port);
|
|
397
|
-
return
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
framework: "one",
|
|
401
|
-
bundleUrl: withRuntimeConfig(
|
|
446
|
+
return enrichWithManifest(
|
|
447
|
+
applyManifest(
|
|
448
|
+
{
|
|
402
449
|
port,
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
450
|
+
framework: "one",
|
|
451
|
+
bundleUrl: withRuntimeConfig(
|
|
452
|
+
port,
|
|
453
|
+
`http://localhost:${port}${onePath}&minify=false`
|
|
454
|
+
),
|
|
455
|
+
hmrUrl: `ws://localhost:${port}/hot`,
|
|
456
|
+
lastSeen: Date.now()
|
|
457
|
+
},
|
|
458
|
+
manifestRes,
|
|
459
|
+
buildIconProxyUrl
|
|
460
|
+
),
|
|
409
461
|
buildIconProxyUrl
|
|
410
462
|
);
|
|
411
463
|
}
|
|
@@ -444,6 +496,8 @@ function __resetScannerCache() {
|
|
|
444
496
|
knownNonPatched.clear();
|
|
445
497
|
knownNonExpo.clear();
|
|
446
498
|
knownOne.clear();
|
|
499
|
+
enrichmentCache.clear();
|
|
500
|
+
enrichmentInFlight.clear();
|
|
447
501
|
}
|
|
448
502
|
async function scanDevServers(opts = {}) {
|
|
449
503
|
const processes = await discoverListeningProcesses(opts.excludePorts);
|
|
@@ -460,6 +514,9 @@ async function scanDevServers(opts = {}) {
|
|
|
460
514
|
for (const p of [...knownOne]) {
|
|
461
515
|
if (!currentPorts.has(p)) knownOne.delete(p);
|
|
462
516
|
}
|
|
517
|
+
for (const p of [...enrichmentCache.keys()]) {
|
|
518
|
+
if (!currentPorts.has(p)) enrichmentCache.delete(p);
|
|
519
|
+
}
|
|
463
520
|
const results = [];
|
|
464
521
|
const toProbe = [];
|
|
465
522
|
for (const { port, pid } of processes) {
|
|
@@ -472,6 +529,7 @@ async function scanDevServers(opts = {}) {
|
|
|
472
529
|
knownNonPatched.delete(port);
|
|
473
530
|
knownNonExpo.delete(port);
|
|
474
531
|
knownOne.delete(port);
|
|
532
|
+
enrichmentCache.delete(port);
|
|
475
533
|
}
|
|
476
534
|
toProbe.push({ port, pid });
|
|
477
535
|
}
|
package/dist-lib/sdk.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.181 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/sdk.mjs
CHANGED