sootsim 0.1.251 → 0.1.253
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -5
- package/dist-cli/bin.js +4 -4
- package/dist-cli/chunks/{agent-OS5AFMNY.js → agent-VULBDRQX.js} +2 -2
- package/dist-cli/chunks/{agent-wrapper-JXCJFH4J.js → agent-wrapper-NIKM5YH7.js} +2 -2
- package/dist-cli/chunks/{app-fonts-KM5VGTPQ.js → app-fonts-H6Q7KUPX.js} +2 -2
- package/dist-cli/chunks/{assert-IWDBWZA3.js → assert-KG4DXXXU.js} +2 -2
- package/dist-cli/chunks/{auth-GGWN2KHL.js → auth-YFAM5XCG.js} +2 -2
- package/dist-cli/chunks/beta-X7YVGAZ7.js +2 -0
- package/dist-cli/chunks/{camera-W5JQ5P6L.js → camera-LDDRWGWU.js} +2 -2
- package/dist-cli/chunks/chunk-36BZF4FN.js +29 -0
- package/dist-cli/chunks/{chunk-CQKALFGJ.js → chunk-3UCSOXI3.js} +1 -1
- package/dist-cli/chunks/{chunk-XJYAJ5C3.js → chunk-45WNNP6S.js} +2 -2
- package/dist-cli/chunks/{chunk-UTNAJIRM.js → chunk-46TTKKZH.js} +2 -2
- package/dist-cli/chunks/chunk-57Y54BSR.js +1 -0
- package/dist-cli/chunks/{chunk-LJKL5JQ7.js → chunk-5FUEGJVZ.js} +2 -2
- package/dist-cli/chunks/{chunk-CDZTB6JX.js → chunk-5KIOJ7EY.js} +2 -2
- package/dist-cli/chunks/{chunk-IC4GREHT.js → chunk-5LRIUIDH.js} +1 -1
- package/dist-cli/chunks/{chunk-KEBLYJBJ.js → chunk-7X342NBJ.js} +2 -2
- package/dist-cli/chunks/chunk-AVDM5PJT.js +7 -0
- package/dist-cli/chunks/{chunk-7HCKUJ5R.js → chunk-BMDLK4TN.js} +1 -1
- package/dist-cli/chunks/{chunk-VO5UXLRE.js → chunk-C5WLLPSP.js} +2 -2
- package/dist-cli/chunks/chunk-DCSZ4W7L.js +4 -0
- package/dist-cli/chunks/{chunk-55GPRX3M.js → chunk-DEPT2HN2.js} +2 -2
- package/dist-cli/chunks/{chunk-KD347J3Y.js → chunk-DVL3QEUF.js} +2 -2
- package/dist-cli/chunks/{chunk-LETXRLKY.js → chunk-GQEV66R5.js} +1 -1
- package/dist-cli/chunks/{chunk-Z7IG2OVW.js → chunk-HWJY7OMU.js} +1 -1
- package/dist-cli/chunks/chunk-HWUTV647.js +1 -0
- package/dist-cli/chunks/{chunk-MK5FIMS5.js → chunk-I2SPWGIX.js} +2 -2
- package/dist-cli/chunks/{chunk-7MEV3VTL.js → chunk-IRKSPKGN.js} +1 -1
- package/dist-cli/chunks/{chunk-PM3MMXYH.js → chunk-L2MLV2CS.js} +2 -2
- package/dist-cli/chunks/{chunk-FBAFTRKJ.js → chunk-L6CZJTQL.js} +2 -2
- package/dist-cli/chunks/{chunk-KEJB5OS5.js → chunk-LQGKEJEY.js} +2 -2
- package/dist-cli/chunks/{chunk-WD4B3KV6.js → chunk-MJVYTFNP.js} +3 -3
- package/dist-cli/chunks/{chunk-YJEU2B3D.js → chunk-MWMCDY2F.js} +1 -1
- package/dist-cli/chunks/{chunk-RBHEKEEX.js → chunk-NGPLOHLX.js} +2 -2
- package/dist-cli/chunks/{chunk-63FDEQKS.js → chunk-NKBPE462.js} +1 -1
- package/dist-cli/chunks/{chunk-OOLWKYWS.js → chunk-NTITLMC6.js} +1 -1
- package/dist-cli/chunks/{chunk-TQJZ2AP4.js → chunk-NUEXSE26.js} +2 -2
- package/dist-cli/chunks/{chunk-DVLNBQO6.js → chunk-NUPOCIXQ.js} +2 -2
- package/dist-cli/chunks/{chunk-GMJ3ROI3.js → chunk-PDGZJCKZ.js} +2 -2
- package/dist-cli/chunks/{chunk-ULYIJUKO.js → chunk-PPEVHLXX.js} +2 -2
- package/dist-cli/chunks/{chunk-EY5V6OC5.js → chunk-Q5HUMK3X.js} +2 -2
- package/dist-cli/chunks/{chunk-NQCAEFUQ.js → chunk-QLD2JSAY.js} +1 -1
- package/dist-cli/chunks/{chunk-H3YZXLYR.js → chunk-RKLOJJIQ.js} +1 -1
- package/dist-cli/chunks/{chunk-IYPXOVE4.js → chunk-ROP4FQW2.js} +1 -1
- package/dist-cli/chunks/{chunk-ZL3QAP5O.js → chunk-SM36BLYO.js} +3 -3
- package/dist-cli/chunks/{chunk-37PWKV2H.js → chunk-UTHHCEOE.js} +1 -1
- package/dist-cli/chunks/{chunk-X4HNMVAY.js → chunk-VUUVN4CA.js} +2 -2
- package/dist-cli/chunks/{chunk-PZZPL7XB.js → chunk-WLTTYQFC.js} +1 -1
- package/dist-cli/chunks/{chunk-5T62AM5W.js → chunk-WXXCER5Y.js} +3 -3
- package/dist-cli/chunks/{chunk-7JTW5KO4.js → chunk-XRDM6KN6.js} +1 -1
- package/dist-cli/chunks/{chunk-HLD3JMUC.js → chunk-Y66ZEDLD.js} +2 -2
- package/dist-cli/chunks/{chunk-Z6ZYU2VN.js → chunk-YQDI7PAU.js} +1 -1
- package/dist-cli/chunks/cli-version-YK3KEAWE.js +2 -0
- package/dist-cli/chunks/{compat-Q7NF5FGR.js → compat-5MLHRLL7.js} +3 -3
- package/dist-cli/chunks/{config-CHFGC57H.js → config-XQU7NIBN.js} +2 -2
- package/dist-cli/chunks/{control-GMXYQHOC.js → control-CP27GWY2.js} +2 -2
- package/dist-cli/chunks/daemon-SZ5235QJ.js +2 -0
- package/dist-cli/chunks/{debug-JVFKA6ZJ.js → debug-XAS5RRTR.js} +3 -3
- package/dist-cli/chunks/{desktop-DT6WBVHN.js → desktop-DMRDH54D.js} +3 -3
- package/dist-cli/chunks/{detox-OQ3DVIZB.js → detox-5RWKQ4FY.js} +2 -2
- package/dist-cli/chunks/{device-XBBNWO67.js → device-K4QUDQJW.js} +2 -2
- package/dist-cli/chunks/{diagnose-JFWKSZI6.js → diagnose-XQ3UCGAC.js} +2 -2
- package/dist-cli/chunks/drivers-4XIRJTRV.js +2 -0
- package/dist-cli/chunks/{film-3BI63O2P.js → film-NBO7R7YE.js} +3 -3
- package/dist-cli/chunks/flow-IPFJBZ2T.js +2 -0
- package/dist-cli/chunks/help-OVFNRXKE.js +2 -0
- package/dist-cli/chunks/{hidden-runtime-alias-JGY2SN3U.js → hidden-runtime-alias-HMRDTRPL.js} +2 -2
- package/dist-cli/chunks/home-paths-IHLLHTH3.js +2 -0
- package/dist-cli/chunks/inspect-OLDRJZFR.js +2 -0
- package/dist-cli/chunks/install-desktop-4LN5U3GV.js +2 -0
- package/dist-cli/chunks/{login-QT6OUDLD.js → login-JJ26E3ZL.js} +4 -4
- package/dist-cli/chunks/{logout-QM7I6EYI.js → logout-Z4T2ZUMV.js} +2 -2
- package/dist-cli/chunks/{maestro-YU5YDZ44.js → maestro-27CX2MYE.js} +3 -3
- package/dist-cli/chunks/{maestro-generate-YQ5GE6LW.js → maestro-generate-S2HMOTKV.js} +3 -3
- package/dist-cli/chunks/{mode-MHOIKOWG.js → mode-MUI6VEX5.js} +2 -2
- package/dist-cli/chunks/optional-demo-registry-B5KGRDC7.js +2 -0
- package/dist-cli/chunks/{perf-UDWM5CLN.js → perf-XLL4NAW4.js} +2 -2
- package/dist-cli/chunks/{record-EEYIMPNW.js → record-CO6ZZXOF.js} +3 -3
- package/dist-cli/chunks/runtime-3BT5LEI2.js +2 -0
- package/dist-cli/chunks/{screenshot-command-MDOO4W2M.js → screenshot-command-7TLIPP6M.js} +3 -3
- package/dist-cli/chunks/{screenshots-capture-MYFBKRYI.js → screenshots-capture-W47CLDWK.js} +2 -2
- package/dist-cli/chunks/{serve-TFGKULND.js → serve-JFWQW3PY.js} +15 -15
- package/dist-cli/chunks/{setup-WOB5DERX.js → setup-64WP25N3.js} +3 -3
- package/dist-cli/chunks/{skills-MFFPTR5A.js → skills-FEOY5MFR.js} +2 -2
- package/dist-cli/chunks/{storage-6IZXGU2O.js → storage-DVJEOSE5.js} +2 -2
- package/dist-cli/chunks/store-VWZLLKMA.js +2 -0
- package/dist-cli/chunks/telemetry-RRR64APJ.js +2 -0
- package/dist-cli/chunks/{timeline-BRXK7M5J.js → timeline-BN4FOIE5.js} +2 -2
- package/dist-cli/chunks/{upgrade-K6A4PITT.js → upgrade-R6FMWF53.js} +4 -4
- package/dist-cli/chunks/upload-VV6ASI6M.js +2 -0
- package/dist-cli/chunks/version-5GYDQEIP.js +4 -0
- package/dist-cli/chunks/{web-P3ANEMOL.js → web-SZQMAIF5.js} +2 -2
- package/dist-cli/chunks/{what-happened-OFMSOZZB.js → what-happened-2KMAVPKZ.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 +1 -33
- package/dist-lib/host/bridge-host.cjs +404 -329
- 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 +523 -435
- package/dist-lib/vite.cjs +1 -1
- package/package.json +2 -1
- package/src/home-paths.ts +5 -40
- package/src/host/bridge-host.ts +4 -5
- package/src/runtime-delivery.ts +36 -377
- package/dist-cli/chunks/beta-LVHWRJCU.js +0 -2
- package/dist-cli/chunks/chunk-2273TU3I.js +0 -1
- package/dist-cli/chunks/chunk-6ACR2P3U.js +0 -1
- package/dist-cli/chunks/chunk-HMOZ6UBM.js +0 -29
- package/dist-cli/chunks/chunk-JFXVQVXW.js +0 -4
- package/dist-cli/chunks/chunk-OLCSJXAQ.js +0 -7
- package/dist-cli/chunks/cli-version-Z2MVFJOA.js +0 -2
- package/dist-cli/chunks/daemon-NM537LET.js +0 -2
- package/dist-cli/chunks/drivers-NOJ7CRI4.js +0 -2
- package/dist-cli/chunks/flow-7ETXJJ6C.js +0 -2
- package/dist-cli/chunks/help-FE5IIJIM.js +0 -2
- package/dist-cli/chunks/home-paths-BLOAGTA2.js +0 -2
- package/dist-cli/chunks/inspect-UA376AF4.js +0 -2
- package/dist-cli/chunks/install-desktop-KBXAATJW.js +0 -2
- package/dist-cli/chunks/optional-demo-registry-RF4SZYRO.js +0 -2
- package/dist-cli/chunks/runtime-UJOIMMBS.js +0 -2
- package/dist-cli/chunks/store-JG2JCUFN.js +0 -2
- package/dist-cli/chunks/telemetry-HI4GNTOS.js +0 -2
- package/dist-cli/chunks/upload-ZNSE6XIN.js +0 -2
- package/dist-cli/chunks/version-4HZWAXW3.js +0 -4
|
@@ -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.253 | (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-3UCSOXI3.js";import{g as A,i as _}from"./chunk-PDGZJCKZ.js";import"./chunk-QLD2JSAY.js";import{c as k}from"./chunk-NTITLMC6.js";import"./chunk-AVDM5PJT.js";import"./chunk-MWMCDY2F.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.253 | (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.253 | (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.253 | (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.253 | (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.253 | (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.253 | (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.253 | (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.253 | (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.253 | (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.253 | (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.253 | (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.253 | (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.253 | (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.253 | (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;
|
|
@@ -42,7 +42,6 @@ __export(home_paths_exports, {
|
|
|
42
42
|
activeRuntimeFile: () => activeRuntimeFile,
|
|
43
43
|
cacheDir: () => cacheDir,
|
|
44
44
|
claimDaemonLockfile: () => claimDaemonLockfile,
|
|
45
|
-
compareSemver: () => compareSemver,
|
|
46
45
|
configFilePath: () => configFilePath,
|
|
47
46
|
consumeRuntimeUpgradeNotice: () => consumeRuntimeUpgradeNotice,
|
|
48
47
|
daemonAppBundlePath: () => daemonAppBundlePath,
|
|
@@ -58,7 +57,6 @@ __export(home_paths_exports, {
|
|
|
58
57
|
isDevBridgeLockfileFresh: () => isDevBridgeLockfileFresh,
|
|
59
58
|
isDevWorkstation: () => isDevWorkstation,
|
|
60
59
|
isSootsimDevCheckout: () => isSootsimDevCheckout,
|
|
61
|
-
listInstalledRuntimes: () => listInstalledRuntimes,
|
|
62
60
|
profilesDir: () => profilesDir,
|
|
63
61
|
readActiveRuntime: () => readActiveRuntime,
|
|
64
62
|
readDaemonLockfile: () => readDaemonLockfile,
|
|
@@ -242,34 +240,6 @@ function writeActiveRuntime(version) {
|
|
|
242
240
|
import_node_fs.default.writeFileSync(activeRuntimeFile(), `${version}
|
|
243
241
|
`, "utf8");
|
|
244
242
|
}
|
|
245
|
-
function listInstalledRuntimes() {
|
|
246
|
-
try {
|
|
247
|
-
return import_node_fs.default.readdirSync(runtimesDir(), { withFileTypes: true }).filter((d) => d.isDirectory()).map((d) => d.name).sort(compareSemver);
|
|
248
|
-
} catch {
|
|
249
|
-
return [];
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
function compareSemver(a, b) {
|
|
253
|
-
const parse = (v) => {
|
|
254
|
-
const hyphen = v.indexOf("-");
|
|
255
|
-
const core = hyphen >= 0 ? v.slice(0, hyphen) : v;
|
|
256
|
-
const pre = hyphen >= 0 ? v.slice(hyphen + 1) : "";
|
|
257
|
-
const parts = core.split(".").map((n) => Number.parseInt(n, 10));
|
|
258
|
-
if (parts.some((n) => !Number.isFinite(n))) return [[Number.POSITIVE_INFINITY], v];
|
|
259
|
-
return [parts, pre];
|
|
260
|
-
};
|
|
261
|
-
const [an, ap] = parse(a);
|
|
262
|
-
const [bn, bp] = parse(b);
|
|
263
|
-
for (let i = 0; i < Math.max(an.length, bn.length); i++) {
|
|
264
|
-
const av = an[i] ?? 0;
|
|
265
|
-
const bv = bn[i] ?? 0;
|
|
266
|
-
if (av !== bv) return av - bv;
|
|
267
|
-
}
|
|
268
|
-
if (ap === bp) return 0;
|
|
269
|
-
if (!ap) return 1;
|
|
270
|
-
if (!bp) return -1;
|
|
271
|
-
return ap < bp ? -1 : 1;
|
|
272
|
-
}
|
|
273
243
|
function activeRuntimeDir() {
|
|
274
244
|
const version = readActiveRuntime();
|
|
275
245
|
if (!version) return null;
|
|
@@ -386,7 +356,6 @@ function removeDevBridgeLockfile() {
|
|
|
386
356
|
activeRuntimeFile,
|
|
387
357
|
cacheDir,
|
|
388
358
|
claimDaemonLockfile,
|
|
389
|
-
compareSemver,
|
|
390
359
|
configFilePath,
|
|
391
360
|
consumeRuntimeUpgradeNotice,
|
|
392
361
|
daemonAppBundlePath,
|
|
@@ -402,7 +371,6 @@ function removeDevBridgeLockfile() {
|
|
|
402
371
|
isDevBridgeLockfileFresh,
|
|
403
372
|
isDevWorkstation,
|
|
404
373
|
isSootsimDevCheckout,
|
|
405
|
-
listInstalledRuntimes,
|
|
406
374
|
profilesDir,
|
|
407
375
|
readActiveRuntime,
|
|
408
376
|
readDaemonLockfile,
|