sootsim 0.1.199 → 0.1.200
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-GA53H7QE.js → agent-RJBLYNGF.js} +2 -2
- package/dist-cli/chunks/{agent-wrapper-73RLH2FX.js → agent-wrapper-E6WLI6L3.js} +2 -2
- package/dist-cli/chunks/{app-fonts-ZOBNZS33.js → app-fonts-O3VYBYQW.js} +2 -2
- package/dist-cli/chunks/{assert-F3R5WDTF.js → assert-VFBTT2JB.js} +2 -2
- package/dist-cli/chunks/{auth-N4JNH7VV.js → auth-DQ6AJU2X.js} +2 -2
- package/dist-cli/chunks/beta-ZXPAAXGE.js +2 -0
- package/dist-cli/chunks/{camera-UEZRRIHJ.js → camera-C2OFA3JA.js} +2 -2
- package/dist-cli/chunks/{chunk-P3EWMDDY.js → chunk-2E4DUZEV.js} +2 -2
- package/dist-cli/chunks/{chunk-T3JXAKQ6.js → chunk-3BEGOL5T.js} +2 -2
- package/dist-cli/chunks/{chunk-SUPYFVCB.js → chunk-3PAUJH34.js} +1 -1
- package/dist-cli/chunks/{chunk-C3HRAQ67.js → chunk-42G5ZRQR.js} +2 -2
- package/dist-cli/chunks/{chunk-6UD5YAHW.js → chunk-4RUK2YSF.js} +1 -1
- package/dist-cli/chunks/{chunk-EXK4SBZG.js → chunk-5SB3N45C.js} +1 -1
- package/dist-cli/chunks/{chunk-WKM6VBI6.js → chunk-6JKBWHIO.js} +1 -1
- package/dist-cli/chunks/{chunk-EISYHZ3C.js → chunk-6RHOWIGL.js} +1 -1
- package/dist-cli/chunks/{chunk-WAGE3MNW.js → chunk-7BS4AKZT.js} +1 -1
- package/dist-cli/chunks/chunk-CB3I3VQT.js +6 -0
- package/dist-cli/chunks/{chunk-SE66GEIX.js → chunk-DWFS6IIT.js} +2 -2
- package/dist-cli/chunks/chunk-EY2OMKPT.js +1 -0
- package/dist-cli/chunks/{chunk-KKZEPOUI.js → chunk-GKXPIE6X.js} +2 -2
- package/dist-cli/chunks/{chunk-PM7PP77M.js → chunk-GMBG6JLV.js} +2 -2
- package/dist-cli/chunks/{chunk-J4C7UOFF.js → chunk-HGBMGQGP.js} +1 -1
- package/dist-cli/chunks/{chunk-HDPWT5TV.js → chunk-I6DJFJQ6.js} +2 -2
- package/dist-cli/chunks/{chunk-ELPRE3GE.js → chunk-IJ6DRL7N.js} +2 -2
- package/dist-cli/chunks/{chunk-Z2J45FE7.js → chunk-JJOS6L5H.js} +2 -2
- package/dist-cli/chunks/{chunk-RC6SI3HN.js → chunk-KFGBNAV3.js} +1 -1
- package/dist-cli/chunks/{chunk-BXBQYLNE.js → chunk-LSDJTPOY.js} +2 -2
- package/dist-cli/chunks/{chunk-UJJTWWWA.js → chunk-M3AUV33V.js} +2 -2
- package/dist-cli/chunks/{chunk-SPQPX2QY.js → chunk-MZLG4WVE.js} +1 -1
- package/dist-cli/chunks/{chunk-NBB6Q72N.js → chunk-NEQRFWA3.js} +2 -2
- package/dist-cli/chunks/{chunk-UW472OOZ.js → chunk-NK4FF37S.js} +2 -2
- package/dist-cli/chunks/{chunk-STFYNVRB.js → chunk-NX4VSQD5.js} +1 -1
- package/dist-cli/chunks/{chunk-CMN7QN7A.js → chunk-OCA5CK4S.js} +3 -3
- package/dist-cli/chunks/{chunk-BQEFJNMS.js → chunk-P4PCUR4Y.js} +1 -1
- package/dist-cli/chunks/{chunk-PCTTJ3VZ.js → chunk-PJAKGC4A.js} +1 -1
- package/dist-cli/chunks/{chunk-QTVFLCC6.js → chunk-QSWT3OVG.js} +1 -1
- package/dist-cli/chunks/{chunk-6PVLOXE3.js → chunk-RJ6WD7XJ.js} +3 -3
- package/dist-cli/chunks/chunk-SFUQJU5Q.js +119 -0
- package/dist-cli/chunks/{chunk-442ZUQZU.js → chunk-TMXLUWD2.js} +3 -3
- package/dist-cli/chunks/{chunk-5DEVXRVT.js → chunk-U5O3F3NB.js} +2 -2
- package/dist-cli/chunks/{chunk-OLHIKMFT.js → chunk-UGJFYNMX.js} +3 -3
- package/dist-cli/chunks/chunk-USDJA22M.js +1 -0
- package/dist-cli/chunks/{chunk-TOHLMYGO.js → chunk-VACKEJ3E.js} +1 -1
- package/dist-cli/chunks/{chunk-P3RPRFNT.js → chunk-VFSOKG53.js} +2 -2
- package/dist-cli/chunks/chunk-VP4Y767U.js +2 -0
- package/dist-cli/chunks/{chunk-NP665TXX.js → chunk-VXBWUAYL.js} +1 -1
- package/dist-cli/chunks/{chunk-MNOQD44S.js → chunk-XAIDHR55.js} +2 -2
- package/dist-cli/chunks/{chunk-CRW3QH5N.js → chunk-XF3JBBPU.js} +2 -2
- package/dist-cli/chunks/cli-version-E3OGD447.js +2 -0
- package/dist-cli/chunks/{compat-3R6RCNMJ.js → compat-L2E3OQW3.js} +3 -3
- package/dist-cli/chunks/{config-DF544JZV.js → config-K4IMJRHG.js} +2 -2
- package/dist-cli/chunks/{control-MHQW7AUY.js → control-OXJ7S7UG.js} +2 -2
- package/dist-cli/chunks/daemon-G5GBYBJ4.js +2 -0
- package/dist-cli/chunks/{debug-WYWIE3IU.js → debug-ZPKRTLGX.js} +3 -3
- package/dist-cli/chunks/{desktop-C63C3MWQ.js → desktop-YA2UL7Q4.js} +3 -3
- package/dist-cli/chunks/{detox-MP45YNZC.js → detox-LKEZBGH5.js} +2 -2
- package/dist-cli/chunks/{device-FBXT6FPE.js → device-M6YG7TKY.js} +2 -2
- package/dist-cli/chunks/{diagnose-PMP72LQV.js → diagnose-3OUFTELV.js} +2 -2
- package/dist-cli/chunks/drivers-CTSUKCFK.js +2 -0
- package/dist-cli/chunks/flow-R5GJJLLW.js +2 -0
- package/dist-cli/chunks/help-CSSCFOBR.js +2 -0
- package/dist-cli/chunks/home-paths-4V6CGISP.js +2 -0
- package/dist-cli/chunks/inspect-NIBEAJND.js +2 -0
- package/dist-cli/chunks/install-desktop-7TYE6TTP.js +2 -0
- package/dist-cli/chunks/login-RNYBOMNF.js +26 -0
- package/dist-cli/chunks/{logout-UXCCGDIY.js → logout-XBW3BXL4.js} +2 -2
- package/dist-cli/chunks/{maestro-6Y47XI6E.js → maestro-3EBOG357.js} +2 -2
- package/dist-cli/chunks/{mode-XM6OWLJ4.js → mode-E353E6HN.js} +2 -2
- package/dist-cli/chunks/optional-demo-registry-BEUP6OEZ.js +2 -0
- package/dist-cli/chunks/{perf-6FZAXAAJ.js → perf-CIOBGFHU.js} +2 -2
- package/dist-cli/chunks/{record-XGU6VROW.js → record-I626AYJ5.js} +3 -3
- package/dist-cli/chunks/runtime-254BNZHB.js +2 -0
- package/dist-cli/chunks/{screenshot-command-WRYGQ2T3.js → screenshot-command-TTB5OOL2.js} +2 -2
- package/dist-cli/chunks/{serve-LKCBGJKT.js → serve-AEBEXTTW.js} +2 -2
- package/dist-cli/chunks/{setup-JKISHGXR.js → setup-7QCI53ZK.js} +3 -3
- package/dist-cli/chunks/{skills-UILVO42Z.js → skills-7LHL5KHW.js} +2 -2
- package/dist-cli/chunks/{storage-PSMMVX7H.js → storage-BVWLYY23.js} +2 -2
- package/dist-cli/chunks/store-6KAKNNCL.js +2 -0
- package/dist-cli/chunks/telemetry-EZ42CD35.js +2 -0
- package/dist-cli/chunks/{test-FS6RYAX7.js → test-BK4GZZR2.js} +5 -5
- package/dist-cli/chunks/{timeline-SIFXEXG3.js → timeline-BVR4E6PY.js} +2 -2
- package/dist-cli/chunks/{upgrade-XLLID42L.js → upgrade-AY5XC5QI.js} +2 -2
- package/dist-cli/chunks/upload-HOF4XBAG.js +2 -0
- package/dist-cli/chunks/{version-5DWZ2TM2.js → version-WQM34S4E.js} +2 -2
- package/dist-cli/chunks/{web-NNF6DZXX.js → web-HYLNFAXS.js} +2 -2
- package/dist-cli/chunks/{what-happened-YBK4CJEA.js → what-happened-YGRE2NFG.js} +2 -2
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/agent-identity.cjs +1 -1
- package/dist-lib/agent-sessions.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -1
- package/dist-lib/auth/shared-session.cjs +1 -1
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +1 -1
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/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 +11 -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/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 +1 -1
- package/dist-lib/sdk.cjs +1 -1
- package/dist-lib/sdk.mjs +1 -1
- package/dist-lib/skills.cjs +1 -1
- package/dist-lib/vite.cjs +1 -1
- package/package.json +1 -1
- package/src/home-paths.ts +13 -0
- package/dist-cli/chunks/beta-KR2LK3AU.js +0 -2
- package/dist-cli/chunks/chunk-DGEXFRMR.js +0 -1
- package/dist-cli/chunks/chunk-FB6XZBWN.js +0 -2
- package/dist-cli/chunks/chunk-G7B6KHXG.js +0 -6
- package/dist-cli/chunks/chunk-TNBW7HIL.js +0 -119
- package/dist-cli/chunks/chunk-YY3XOAUI.js +0 -1
- package/dist-cli/chunks/cli-version-HNQQGFEE.js +0 -2
- package/dist-cli/chunks/daemon-YDZN4NTZ.js +0 -2
- package/dist-cli/chunks/drivers-PPWJSRVD.js +0 -2
- package/dist-cli/chunks/flow-S4YUJTEY.js +0 -2
- package/dist-cli/chunks/help-3GTYJZFV.js +0 -2
- package/dist-cli/chunks/home-paths-255E7UGU.js +0 -2
- package/dist-cli/chunks/inspect-2QZDXGP5.js +0 -2
- package/dist-cli/chunks/install-desktop-5KINFILK.js +0 -2
- package/dist-cli/chunks/login-527HCUFF.js +0 -26
- package/dist-cli/chunks/optional-demo-registry-FLZS7F5H.js +0 -2
- package/dist-cli/chunks/runtime-M6FJVD6U.js +0 -2
- package/dist-cli/chunks/store-DFYJXYWF.js +0 -2
- package/dist-cli/chunks/telemetry-P3LPM2L3.js +0 -2
- package/dist-cli/chunks/upload-L4ND3SER.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.200 | (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-4RUK2YSF.js";import{g as A,i as _}from"./chunk-VFSOKG53.js";import"./chunk-PJAKGC4A.js";import{b as k}from"./chunk-NX4VSQD5.js";import"./chunk-CB3I3VQT.js";import"./chunk-6RHOWIGL.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,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.200 | (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.200 | (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.200 | (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.200 | (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.200 | (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.200 | (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.200 | (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.200 | (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.200 | (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.200 | (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.200 | (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.200 | (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.200 | (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.200 | (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;
|
|
@@ -62,6 +62,7 @@ __export(home_paths_exports, {
|
|
|
62
62
|
readActiveRuntime: () => readActiveRuntime,
|
|
63
63
|
readDaemonLockfile: () => readDaemonLockfile,
|
|
64
64
|
readDevBridgeLockfile: () => readDevBridgeLockfile,
|
|
65
|
+
readOrCreateAnonymousId: () => readOrCreateAnonymousId,
|
|
65
66
|
readSharedConfig: () => readSharedConfig,
|
|
66
67
|
readTelemetryEnabled: () => readTelemetryEnabled,
|
|
67
68
|
removeDaemonLockfile: () => removeDaemonLockfile,
|
|
@@ -77,6 +78,7 @@ __export(home_paths_exports, {
|
|
|
77
78
|
writeTelemetryEnabled: () => writeTelemetryEnabled
|
|
78
79
|
});
|
|
79
80
|
module.exports = __toCommonJS(home_paths_exports);
|
|
81
|
+
var import_node_crypto = require("node:crypto");
|
|
80
82
|
var import_node_fs = __toESM(require("node:fs"), 1);
|
|
81
83
|
var import_node_os = require("node:os");
|
|
82
84
|
var import_node_path = __toESM(require("node:path"), 1);
|
|
@@ -182,6 +184,13 @@ function writeSharedConfig(patch) {
|
|
|
182
184
|
function readTelemetryEnabled() {
|
|
183
185
|
return readSharedConfig().telemetry !== false;
|
|
184
186
|
}
|
|
187
|
+
function readOrCreateAnonymousId() {
|
|
188
|
+
const existing = readSharedConfig().anonymousId;
|
|
189
|
+
if (typeof existing === "string" && existing.trim()) return existing;
|
|
190
|
+
const created = `anon-cli-${(0, import_node_crypto.randomUUID)()}`;
|
|
191
|
+
writeSharedConfig({ anonymousId: created });
|
|
192
|
+
return created;
|
|
193
|
+
}
|
|
185
194
|
function writeTelemetryEnabled(enabled) {
|
|
186
195
|
writeSharedConfig({ telemetry: enabled });
|
|
187
196
|
}
|
|
@@ -369,6 +378,7 @@ function removeDevBridgeLockfile() {
|
|
|
369
378
|
readActiveRuntime,
|
|
370
379
|
readDaemonLockfile,
|
|
371
380
|
readDevBridgeLockfile,
|
|
381
|
+
readOrCreateAnonymousId,
|
|
372
382
|
readSharedConfig,
|
|
373
383
|
readTelemetryEnabled,
|
|
374
384
|
removeDaemonLockfile,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.200 | (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.200 | (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.200 | (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.200 | (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.200 | (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.200 | (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.200 | (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.200 | (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.200 | (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.200 | (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.200 | (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.200 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/dist-lib/sdk.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.200 | (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
package/dist-lib/skills.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.200 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/dist-lib/vite.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.200 | (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
package/src/home-paths.ts
CHANGED
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
// ├── dev-bridge.json live Vite dev bridge pointer for local CLI commands
|
|
18
18
|
// └── config.json user prefs: update channel, cdn origin override
|
|
19
19
|
|
|
20
|
+
import { randomUUID } from 'node:crypto'
|
|
20
21
|
import fs from 'node:fs'
|
|
21
22
|
import { homedir } from 'node:os'
|
|
22
23
|
import path from 'node:path'
|
|
@@ -215,6 +216,18 @@ export function readTelemetryEnabled(): boolean {
|
|
|
215
216
|
return readSharedConfig().telemetry !== false
|
|
216
217
|
}
|
|
217
218
|
|
|
219
|
+
// stable per-machine anonymous telemetry id. every signed-out cli used to
|
|
220
|
+
// report as the single literal distinct_id 'anonymous-cli', which merged all
|
|
221
|
+
// first-run users into one posthog person and made "a new user's login hung"
|
|
222
|
+
// impossible to see. created lazily on first use, persisted in config.json.
|
|
223
|
+
export function readOrCreateAnonymousId(): string {
|
|
224
|
+
const existing = readSharedConfig().anonymousId
|
|
225
|
+
if (typeof existing === 'string' && existing.trim()) return existing
|
|
226
|
+
const created = `anon-cli-${randomUUID()}`
|
|
227
|
+
writeSharedConfig({ anonymousId: created })
|
|
228
|
+
return created
|
|
229
|
+
}
|
|
230
|
+
|
|
218
231
|
export function writeTelemetryEnabled(enabled: boolean): void {
|
|
219
232
|
writeSharedConfig({ telemetry: enabled })
|
|
220
233
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! sootsim v0.1.199 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! sootsim v0.1.199 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
-
import{a as s}from"./chunk-BXBQYLNE.js";import{A as o}from"./chunk-G7B6KHXG.js";function u(){let e=process.env.DO_NOT_TRACK;return e==="1"||e==="true"||!o()}function a(){if(u())return null;let e=process.env.VITE_POSTHOG_API_KEY||"";if(!e)return null;let t=process.env.SOOT_POSTHOG_HOST||process.env.VITE_POSTHOG_HOST||"https://us.i.posthog.com";return{apiKey:e,host:t.replace(/\/+$/,"")}}function c(e){return e?e.userId?e.userId:e.installationId!=null?`install:${e.installationId}`:e.repoId?`repo:${e.repoId}`:e.shareId?`share:${e.shareId}`:"anonymous-cli":"anonymous-cli"}function p(e){let t=e.identity??{},n={$lib:"soot-cli",source:t.source??"cli",...e.properties};return t.userId&&(n.userId=t.userId),t.repoId&&(n.repoId=t.repoId),t.installationId!=null&&(n.installationId=String(t.installationId)),t.shareId&&(n.shareId=t.shareId),t.plan&&(n.plan=t.plan),{event:e.event,distinct_id:c(t),properties:n,timestamp:new Date().toISOString()}}var r=[],l=!1;async function i(){if(r.length===0)return;let e=a();if(!e){r.length=0;return}let t=r.splice(0,r.length).map(p);try{await fetch(`${e.host}/batch/`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({api_key:e.apiKey,batch:t}),signal:AbortSignal.timeout(2e3)})}catch{}}function d(){l||(l=!0,process.on("beforeExit",()=>void i()),process.on("exit",()=>void i()))}function h(e){if(u())return;d();let t=null;try{t=s()?.user?.id??null}catch{t=null}r.push({...e,identity:{source:"cli",userId:t,...e.identity}})}async function g(){await i()}export{h as a,g as b};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*! sootsim v0.1.199 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
-
import t from"node:fs";import{homedir as A}from"node:os";import o from"node:path";var E="SOOTSIM_HOME",_="active",I="daemon.json",N="dev-bridge.json",P="config.json",x=3e4;function u(){let e=process.env[E];return e&&e.length>0?o.resolve(e):o.join(A(),".sootsim")}function j(){if(process.env.SOOTSIM_FORCE_DAEMON_INSTALL==="1")return!1;let e=process.env.SOOTSIM_DEV;if(e==="1"||e==="true")return!0;if(e==="0"||e==="false")return!1;let r=process.argv[1];if(!r)return!1;try{return t.realpathSync(r).includes(`${o.sep}packages${o.sep}sootsim${o.sep}`)}catch{return!1}}function F(){return process.env.SOOTSIM_FORCE_DAEMON_INSTALL==="1"?!1:process.env.IS_TAMAGUI_DEV==="1"}function W(){return j()||F()}function f(){return o.join(u(),"runtimes")}function w(e){return o.join(f(),e)}function k(){return o.join(f(),_)}function D(){return o.join(u(),"electron")}function X(){return o.join(D(),"userData")}function q(e){return o.join(D(),e)}function T(){return o.join(u(),"profiles")}function B(){return o.join(u(),"daemon-app")}function M(){return o.join(B(),"SootSim Daemon.app")}function z(){return o.join(M(),"Contents","MacOS","sootsim-daemon")}function C(){return o.join(u(),"cache")}function p(){return o.join(u(),I)}function m(){return o.join(u(),N)}function b(){return o.join(u(),P)}function L(){try{let e=t.readFileSync(b(),"utf8"),r=JSON.parse(e);return r&&typeof r=="object"?r:{}}catch{return{}}}function R(e){g();let r=L(),i={...r,...e};e.settings&&typeof e.settings=="object"&&(i.settings={...r.settings&&typeof r.settings=="object"?r.settings:{},...e.settings});let c=`${b()}.tmp`;return t.writeFileSync(c,`${JSON.stringify(i,null,2)}
|
|
3
|
-
`,"utf8"),t.renameSync(c,b()),i}function Q(){return L().telemetry!==!1}function Z(e){R({telemetry:e})}function g(){t.mkdirSync(u(),{recursive:!0}),t.mkdirSync(f(),{recursive:!0}),t.mkdirSync(D(),{recursive:!0}),t.mkdirSync(T(),{recursive:!0}),t.mkdirSync(C(),{recursive:!0})}function $(){try{let e=t.readFileSync(k(),"utf8").trim();return e.length>0?e:null}catch{return null}}function ee(e){t.mkdirSync(f(),{recursive:!0}),t.writeFileSync(k(),`${e}
|
|
4
|
-
`,"utf8")}function re(){try{return t.readdirSync(f(),{withFileTypes:!0}).filter(e=>e.isDirectory()).map(e=>e.name).sort(J)}catch{return[]}}function J(e,r){let i=s=>{let a=s.indexOf("-"),l=a>=0?s.slice(0,a):s,O=a>=0?s.slice(a+1):"",v=l.split(".").map(S=>Number.parseInt(S,10));return v.some(S=>!Number.isFinite(S))?[[Number.POSITIVE_INFINITY],s]:[v,O]},[c,n]=i(e),[h,y]=i(r);for(let s=0;s<Math.max(c.length,h.length);s++){let a=c[s]??0,l=h[s]??0;if(a!==l)return a-l}return n===y?0:n?y?n<y?-1:1:-1:1}function te(){let e=$();if(!e)return null;let r=w(e);try{if(t.statSync(r).isDirectory())return r}catch{}return null}var d=16*1024;function V(){try{let e=t.openSync(p(),"r");try{let r=Buffer.alloc(d),i=t.readSync(e,r,0,d,0),c=r.subarray(0,i).toString("utf8"),n=JSON.parse(c);return n&&n.schema===1&&typeof n.pid=="number"&&typeof n.bridgePort=="number"&&typeof n.runtimePort=="number"&&typeof n.startedAt=="number"&&typeof n.heartbeatAt=="number"?n:null}finally{t.closeSync(e)}}catch{return null}}function ne(){try{let e=t.openSync(m(),"r");try{let r=Buffer.alloc(d),i=t.readSync(e,r,0,d,0),c=r.subarray(0,i).toString("utf8"),n=JSON.parse(c);return n&&n.schema===1&&n.source==="vite-dev"&&typeof n.pid=="number"&&typeof n.bridgePort=="number"&&typeof n.runtimePort=="number"&&typeof n.cwd=="string"&&typeof n.startedAt=="number"&&typeof n.heartbeatAt=="number"&&(n.shellPort===void 0||typeof n.shellPort=="number")?n:null}finally{t.closeSync(e)}}catch{return null}}function H(e,r=Date.now()){if(!e||r-e.heartbeatAt>x)return!1;try{return process.kill(e.pid,0),!0}catch{return!1}}function oe(e,r=Date.now()){if(!e||r-e.heartbeatAt>x)return!1;try{return process.kill(e.pid,0),!0}catch{return!1}}function G(e){g();let r=`${p()}.tmp`;t.writeFileSync(r,`${JSON.stringify(e,null,2)}
|
|
5
|
-
`,"utf8"),t.renameSync(r,p())}function ie(e){g();let r=`${m()}.tmp`;t.writeFileSync(r,`${JSON.stringify(e,null,2)}
|
|
6
|
-
`,"utf8"),t.renameSync(r,m())}function se(e){g();let r=V();return r&&H(r)&&r.pid!==e.pid?!1:(G(e),!0)}function ce(){try{t.unlinkSync(p())}catch{}}function ue(){try{t.unlinkSync(m())}catch{}}export{E as a,_ as b,I as c,N as d,P as e,x as f,u as g,j as h,F as i,W as j,f as k,w as l,k as m,D as n,X as o,q as p,T as q,B as r,M as s,z as t,C as u,p as v,m as w,b as x,L as y,R as z,Q as A,Z as B,g as C,$ as D,ee as E,re as F,J as G,te as H,V as I,ne as J,H as K,oe as L,G as M,ie as N,se as O,ce as P,ue as Q};
|