@symerian/symi 3.5.22 → 3.5.23
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/{agent-NT0EKnK_.js → agent-CBfp75J4.js} +18 -18
- package/dist/{agent-scope-Bnsyyeci.js → agent-scope-DOrZjOnW.js} +18 -18
- package/dist/{agents.config-DA0ISLi7.js → agents.config-B7sNDvhz.js} +1 -1
- package/dist/{audit-CXIXYDRx.js → audit-Ce-u6aaR.js} +20 -20
- package/dist/{auth-choice-BtXIQPTU.js → auth-choice-CUvx59kv.js} +11 -11
- package/dist/{auth-profiles-D5nYBj_Z.js → auth-profiles-Ce7R_25e.js} +2 -2
- package/dist/{auth-token-fgnCQEHT.js → auth-token-Cr28IDKY.js} +3 -3
- package/dist/{browser-cli-DOTM7UBC.js → browser-cli-Ibgld3mA.js} +9 -9
- package/dist/build-info.json +3 -3
- package/dist/{call-Bpjj5p7I.js → call-xdEE97oU.js} +9 -9
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-XRJiHUm5.js → channel-options-DCmWOAc0.js} +1 -1
- package/dist/{channels-cli-CQ4M05oy.js → channels-cli-Cs1Z0dn8.js} +57 -57
- package/dist/{chrome-DNssqQJs.js → chrome-3jl2ulOE.js} +7 -7
- package/dist/{chrome-38OnGyuN.js → chrome-DJChpTwP.js} +2 -2
- package/dist/{cli-B-uoiYP2.js → cli-CadU09SC.js} +45 -45
- package/dist/{client-CTrfpKT3.js → client-Cs9Bh-G0.js} +1 -1
- package/dist/{commands-registry-CwXsDVuO.js → commands-registry-Ca5hh7nh.js} +1 -1
- package/dist/{completion-cli-Cn_81QBb.js → completion-cli-Dd56ibFZ.js} +12 -12
- package/dist/{config-BngIfn5l.js → config-B4jkreCN.js} +2 -2
- package/dist/{config-cli-B1cPkJ4p.js → config-cli-GwUJEapt.js} +4 -4
- package/dist/{config-guard-DStz4_V2.js → config-guard-BRm3RiOi.js} +6 -6
- package/dist/{config-validation-Dxj9LRzr.js → config-validation-Cdyg1BZB.js} +1 -1
- package/dist/{configure-C7zmSgvC.js → configure-5md67tCP.js} +14 -14
- package/dist/{consolidate-CO32_TEx.js → consolidate-DymnvvYm.js} +6 -6
- package/dist/{control-service-CUreKVeY.js → control-service-D8kKOts5.js} +4 -4
- package/dist/control-ui/css/style.css +27 -3
- package/dist/{control-ui-assets-B8B9z_Ll.js → control-ui-assets-CJQ97d4u.js} +1 -1
- package/dist/{cost-cli-D-ssjcRF.js → cost-cli-DWiVCOCx.js} +3 -3
- package/dist/{cron-cli-otPeKxmi.js → cron-cli-CE9bV9Et.js} +7 -7
- package/dist/{daemon-cli-qDdMg615.js → daemon-cli-BYiG4GOU.js} +11 -11
- package/dist/{daemon-runtime-CKn0wmCk.js → daemon-runtime-DlQla_dA.js} +10 -10
- package/dist/{deliver-q23ar_Pm.js → deliver-f3cIWxXT.js} +4 -4
- package/dist/{deliver-CWMFmMCv.js → deliver-lTZLIQqf.js} +2 -2
- package/dist/{deps-CdibsPMx.js → deps-Bf9dt2UO.js} +1 -1
- package/dist/{devices-cli-DDPwF2Nx.js → devices-cli-Bhr6jGtH.js} +6 -6
- package/dist/{diagnostics-CYkqD5lP.js → diagnostics-DlZODdRf.js} +5 -5
- package/dist/{directory-cli-giqTe8Yg.js → directory-cli-Bm5QYEo-.js} +3 -3
- package/dist/{dm-policy-shared-B61_yf6G.js → dm-policy-shared-CeFt0nch.js} +1 -1
- package/dist/{dns-cli-Dssz4RqF.js → dns-cli-CubLq4j9.js} +3 -3
- package/dist/{docs-cli-Ct1STieY.js → docs-cli-PS8m1er7.js} +1 -1
- package/dist/{doctor-completion-CL7MyXlo.js → doctor-completion-BpUGRguQ.js} +2 -2
- package/dist/{doctor-config-flow-ljVnQJjo.js → doctor-config-flow-C52W1uUK.js} +9 -9
- package/dist/{exec-approvals-cli-DsBoQu5H.js → exec-approvals-cli-CzvIqBUd.js} +13 -13
- package/dist/extensionAPI.js +4 -4
- package/dist/{file-lock-2AecMjCa.js → file-lock-BVUYnlQv.js} +8 -8
- package/dist/{fs-safe-B0Is-oLk.js → fs-safe-BdejYjW8.js} +6 -6
- package/dist/{gateway-cli-DG_2YZ8B.js → gateway-cli-D1d5YAt0.js} +98 -98
- package/dist/{gateway-rpc-gaoD882s.js → gateway-rpc-BTGT1SuZ.js} +1 -1
- package/dist/{glass-ui-ws-Bof7krDJ.js → glass-ui-ws-BH9WH_VN.js} +67 -67
- package/dist/{health-CMbUI4aN.js → health-DpE9GWGn.js} +4 -4
- package/dist/{hooks-cli-Cgjor7F-.js → hooks-cli-D7xxbEwI.js} +59 -59
- package/dist/{image-ops-BzCBIakN.js → image-ops-L70xVnpG.js} +10 -10
- package/dist/index.js +52 -52
- package/dist/{inspect-DzYUb_Dl.js → inspect-CGKsaVZ4.js} +4 -4
- package/dist/{install-safe-path-BrpA09f2.js → install-safe-path-B2JrFspY.js} +11 -11
- package/dist/{installs-bnDlOSq2.js → installs-D890uIIW.js} +10 -10
- package/dist/{internal-csqU78gW.js → internal-DVCddhhN.js} +9 -9
- package/dist/{lifecycle-core-cSR_xiIO.js → lifecycle-core-wFwnK_mD.js} +5 -5
- package/dist/{local-roots-2Jb79HZ8.js → local-roots-CgDCgCuM.js} +1 -1
- package/dist/{logs-cli-Kr145PO_.js → logs-cli-DvIVuW0d.js} +7 -7
- package/dist/{manager-DG6PODgu.js → manager-CoCX7L5u.js} +15 -15
- package/dist/{manager-qrAOWmHt.js → manager-V4UCf0Av.js} +1 -1
- package/dist/{memory-BFnx3v3_.js → memory-B067LTL9.js} +5 -5
- package/dist/{memory-cli-CHNghdrm.js → memory-cli-D8Z_5-Nz.js} +12 -12
- package/dist/{model-Cwbcw-km.js → model-MUMSB_7d.js} +1 -1
- package/dist/{model-auth-_C07_3Yr.js → model-auth-1EAQvYRv.js} +2 -2
- package/dist/{model-catalog-BWurV7gl.js → model-catalog-IWi6-nY9.js} +3 -3
- package/dist/{model-picker-Dpkr5xBW.js → model-picker-Cf6UgQEh.js} +5 -5
- package/dist/{model-selection-CCTzD29o.js → model-selection-7wdmO-Iw.js} +1 -1
- package/dist/{models-cli-BbK8HMKa.js → models-cli-C979SN3Z.js} +55 -55
- package/dist/{models-config-DlXge3Sd.js → models-config-B5Xxy-c-.js} +8 -8
- package/dist/{node-cli-BPnBosC4.js → node-cli-DGybtex_.js} +27 -27
- package/dist/{node-service-Cc18m-uk.js → node-service-BH08wY5j.js} +1 -1
- package/dist/{nodes-cli-CN_m6PO5.js → nodes-cli-C-mEw2av.js} +10 -10
- package/dist/{nodes-screen-Cp5QP3ET.js → nodes-screen-De9ma6e1.js} +4 -4
- package/dist/{npm-registry-spec-C-muP97-.js → npm-registry-spec-DTqn-NXZ.js} +9 -9
- package/dist/{onboard-B2IcTMv-.js → onboard-CotuAZi6.js} +15 -15
- package/dist/{onboard-channels-wfGO5Zlh.js → onboard-channels-DSyynpou.js} +4 -4
- package/dist/{onboard-custom-DnDrvxSg.js → onboard-custom-BcRYreNG.js} +3 -3
- package/dist/{onboard-helpers-BKejzolA.js → onboard-helpers-CLXJ8zp0.js} +8 -8
- package/dist/{onboard-hooks-D9jHwImb.js → onboard-hooks-2SCajRKc.js} +1 -1
- package/dist/{onboard-remote-y3ZmP90U.js → onboard-remote-BYBai0w3.js} +1 -1
- package/dist/{onboard-skills-BFhHfrt9.js → onboard-skills-BxJlS1Bk.js} +3 -3
- package/dist/{onboarding-DqlPV372.js → onboarding-BnoGiOh3.js} +12 -12
- package/dist/{onboarding.finalize-Bwjv3jew.js → onboarding.finalize-g86Q4433.js} +31 -31
- package/dist/{onboarding.gateway-config-CiRo9EMt.js → onboarding.gateway-config-CEXjbEM0.js} +8 -8
- package/dist/{openai-model-default-De-UAjwg.js → openai-model-default-BkuuK-Di.js} +2 -2
- package/dist/{pairing-cli-CBMMCNnx.js → pairing-cli-Rsae0KnN.js} +5 -5
- package/dist/{pairing-store-Be-ZQK87.js → pairing-store-BNhJOnWn.js} +1 -1
- package/dist/{pairing-token-B703A1U3.js → pairing-token-Dcy37-4s.js} +7 -7
- package/dist/{paths-BWqg8NZT.js → paths-DObzwe08.js} +1 -1
- package/dist/{pi-auth-json-D-vdh-nY.js → pi-auth-json-Db8XJVGL.js} +6 -6
- package/dist/{pi-embedded-CviuByGd.js → pi-embedded-B9rtlNMc.js} +10 -10
- package/dist/{pi-embedded-helpers-j1JrlsI0.js → pi-embedded-helpers-D-OFjhdI.js} +6 -6
- package/dist/{pi-tools.policy-CvAqjEH9.js → pi-tools.policy-H2t-Xkfc.js} +3 -3
- package/dist/{plugin-auto-enable-BXSJTxI7.js → plugin-auto-enable-DJBhDIMq.js} +1 -1
- package/dist/{plugin-registry-B43UosQh.js → plugin-registry-AsC9gydF.js} +3 -3
- package/dist/{plugins-cli-BV2wbjfI.js → plugins-cli-CbByGz8z.js} +54 -54
- package/dist/{ports-CB_Iu83U.js → ports-gxLM5ahL.js} +2 -2
- package/dist/{ports-Bi3V_3n9.js → ports-r7LBic2V.js} +1 -1
- package/dist/{program-context-BmXxHUKe.js → program-context-CiyK6MfV.js} +40 -40
- package/dist/{prompt-select-styled-BlQZX6pK.js → prompt-select-styled-DaNQ_GgB.js} +38 -38
- package/dist/{provider-auth-helpers-WLwb6tL4.js → provider-auth-helpers-D2FDvwT5.js} +6 -6
- package/dist/{push-apns-CBGvXev_.js → push-apns-va-DRu4U.js} +4 -4
- package/dist/{pw-ai-CP5pn3eU.js → pw-ai-BiBvIJzd.js} +7 -7
- package/dist/{pw-ai-v__CyAlM.js → pw-ai-DOAsQ5NX.js} +1 -1
- package/dist/{qmd-manager-Dxyue7B1.js → qmd-manager-C8-M4Pru.js} +19 -19
- package/dist/{qr-cli-DHw6muwK.js → qr-cli-1sCVaPcF.js} +3 -3
- package/dist/{register.agent-CXdTiqyP.js → register.agent-BqdQ0s30.js} +67 -67
- package/dist/{register.configure-DVcn-gCO.js → register.configure-Dhwi-4FG.js} +70 -70
- package/dist/{register.maintenance-cpspl8D6.js → register.maintenance-iMjNw9uy.js} +67 -67
- package/dist/{register.message-BjcYy5UG.js → register.message-Ao_b9s2g.js} +47 -47
- package/dist/{register.onboard-D4RN92s2.js → register.onboard-ymhSAezZ.js} +25 -25
- package/dist/{register.setup-BvoXF0xl.js → register.setup-CKs9mqtD.js} +28 -28
- package/dist/{register.status-health-sessions-DjDvCXBn.js → register.status-health-sessions-U-azRmpb.js} +41 -41
- package/dist/{replies-B_3j7R_Q.js → replies-CbXXjn9X.js} +1 -1
- package/dist/{reply-prefix-CtZtkTJK.js → reply-prefix-BFNeXT65.js} +1 -1
- package/dist/{resolve-route-Du0VftVs.js → resolve-route-C1IIA6kH.js} +1 -1
- package/dist/{routes-BwTUoI5h.js → routes-ivqbutvM.js} +10 -10
- package/dist/{rpc-CwxSZZOx.js → rpc-DjqFrbOc.js} +1 -1
- package/dist/{sandbox-CZGTCone.js → sandbox-BkznAPKO.js} +18 -18
- package/dist/{sandbox-cli-DEtGT_4y.js → sandbox-cli-Bb9cBtBH.js} +13 -13
- package/dist/{security-cli-DJd7Fcdy.js → security-cli-JKsf9SIu.js} +29 -29
- package/dist/{send-CxjvucMO.js → send-B0jHSNMF.js} +7 -7
- package/dist/{server-context-DXdk410X.js → server-context-ChcbJgNo.js} +5 -5
- package/dist/{server-methods-DfVfzYqq.js → server-methods-B2tykucj.js} +60 -60
- package/dist/{server-node-events-B0yC6hi1.js → server-node-events-BKqszk_a.js} +48 -48
- package/dist/{service-CRZoXO_n.js → service-e6MzlLCd.js} +15 -15
- package/dist/{session-dirs-a00Ad2SO.js → session-dirs-C9E2G0yZ.js} +2 -2
- package/dist/{session-utils-CJhcRx3E.js → session-utils-Cs1jlD-q.js} +14 -14
- package/dist/{sessions-BCc3THTm.js → sessions-Dxf5Kjig.js} +10 -10
- package/dist/{shared-C39SiDDJ.js → shared-1xPo9ygd.js} +1 -1
- package/dist/{shared-Dh-O8nRd.js → shared-COtpr3Ad.js} +3 -3
- package/dist/{skill-commands-DWvXs3lz.js → skill-commands-DDGGlq68.js} +4 -4
- package/dist/{skill-scanner-CIlHPszT.js → skill-scanner-BCgVcIwi.js} +5 -5
- package/dist/{skills-CYcBtLGH.js → skills-BwDmcZdt.js} +4 -4
- package/dist/{skills-cli-CD9s3cgm.js → skills-cli-B-7TY-vS.js} +7 -7
- package/dist/{skills-install-BTa9IuQ6.js → skills-install-Dwzsjoc8.js} +3 -3
- package/dist/{skills-remote-BcRQTDsZ.js → skills-remote-bz71Bstn.js} +3 -3
- package/dist/{skills-status-DLnCHUZ2.js → skills-status-BKX1PjCc.js} +1 -1
- package/dist/{sqlite-BpogPlQW.js → sqlite-Cod7C5ba.js} +5 -5
- package/dist/{status-BWxLtb3D.js → status-DHBVIMyL.js} +23 -23
- package/dist/{status-Doq8T1zj.js → status-DPGFZPpp.js} +3 -3
- package/dist/{status.update-CKfyV6zw.js → status.update-DGJi0OLl.js} +3 -3
- package/dist/{symframe-cli-D1CtN3pf.js → symframe-cli-CX3dINPw.js} +9 -9
- package/dist/{symi-root-DeCVdZB4.js → symi-root-BQ0IpoW2.js} +2 -2
- package/dist/{synthesis-DuP2d469.js → synthesis-Bc2QkGvt.js} +4 -4
- package/dist/{synthesis-VZNnlUTf.js → synthesis-DmqicCsT.js} +45 -45
- package/dist/{system-cli-r7WJj0Xh.js → system-cli-DUHzCGfK.js} +7 -7
- package/dist/{systemd-CsoVnIbM.js → systemd-CUIM0n5P.js} +5 -5
- package/dist/{systemd-hints-QISwLlFU.js → systemd-hints-CsrzMCTD.js} +6 -6
- package/dist/{systemd-linger-BnhuRdbt.js → systemd-linger-BzYk7A6M.js} +1 -1
- package/dist/{tui-J7Jxp-FF.js → tui-DCqVZ6sC.js} +7 -7
- package/dist/{tui-cli-DR48dU_C.js → tui-cli-CI-P3sei.js} +19 -19
- package/dist/{unified-runner-DXjH-prv.js → unified-runner-CznU7Ad0.js} +101 -101
- package/dist/{update-check-u6Jgr1cz.js → update-check-BCL_K7kx.js} +5 -5
- package/dist/{update-cli-CKpjWtlv.js → update-cli-DBoIBDNe.js} +77 -77
- package/dist/{update-runner-G2YgEATs.js → update-runner-BLV8SI96.js} +15 -15
- package/dist/{update-Cb0Fmxic.js → update-yYduAjKd.js} +3 -3
- package/dist/{webhooks-cli-DjUITimx.js → webhooks-cli-D5k-Y2A8.js} +4 -4
- package/dist/{with-timeout-CLrF-Yr_.js → with-timeout-DPR4A2dx.js} +1 -1
- package/dist/{workspace-dirs-DCICLTHx.js → workspace-dirs-jKFQf7of.js} +1 -1
- package/dist/{wsl-DTi7eX-V.js → wsl-CglTdtlb.js} +2 -2
- package/extensions/memory-core/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +6 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/outlook/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { t as runCommandWithTimeout } from "./exec-DuYbft0z.js";
|
|
|
2
2
|
import { n as fetchWithTimeout } from "./fetch-timeout-BhdrdVp5.js";
|
|
3
3
|
import { r as parseSemver } from "./runtime-guard-CWA00ZXa.js";
|
|
4
4
|
import path from "node:path";
|
|
5
|
-
import
|
|
5
|
+
import fs from "node:fs/promises";
|
|
6
6
|
|
|
7
7
|
//#region src/infra/update-channels.ts
|
|
8
8
|
const DEFAULT_PACKAGE_CHANNEL = "stable";
|
|
@@ -86,11 +86,11 @@ function resolveUpdateChannelDisplay(params) {
|
|
|
86
86
|
//#region src/infra/detect-package-manager.ts
|
|
87
87
|
async function detectPackageManager$1(root) {
|
|
88
88
|
try {
|
|
89
|
-
const raw = await
|
|
89
|
+
const raw = await fs.readFile(path.join(root, "package.json"), "utf-8");
|
|
90
90
|
const pm = JSON.parse(raw)?.packageManager?.split("@")[0]?.trim();
|
|
91
91
|
if (pm === "pnpm" || pm === "bun" || pm === "npm") return pm;
|
|
92
92
|
} catch {}
|
|
93
|
-
const files = await
|
|
93
|
+
const files = await fs.readdir(root).catch(() => []);
|
|
94
94
|
if (files.includes("pnpm-lock.yaml")) return "pnpm";
|
|
95
95
|
if (files.includes("bun.lockb")) return "bun";
|
|
96
96
|
if (files.includes("package-lock.json")) return "npm";
|
|
@@ -112,7 +112,7 @@ function formatGitInstallLabel(update) {
|
|
|
112
112
|
}
|
|
113
113
|
async function exists(p) {
|
|
114
114
|
try {
|
|
115
|
-
await
|
|
115
|
+
await fs.access(p);
|
|
116
116
|
return true;
|
|
117
117
|
} catch {
|
|
118
118
|
return false;
|
|
@@ -239,7 +239,7 @@ async function checkGitUpdateStatus(params) {
|
|
|
239
239
|
}
|
|
240
240
|
async function statMtimeMs(p) {
|
|
241
241
|
try {
|
|
242
|
-
return (await
|
|
242
|
+
return (await fs.stat(p)).mtimeMs;
|
|
243
243
|
} catch {
|
|
244
244
|
return null;
|
|
245
245
|
}
|
|
@@ -1,136 +1,136 @@
|
|
|
1
|
-
import "./unified-runner-
|
|
1
|
+
import "./unified-runner-CznU7Ad0.js";
|
|
2
2
|
import { j as theme } from "./registry-Sbac4a4z.js";
|
|
3
3
|
import { _ as resolveStateDir } from "./paths-By0XjHBk.js";
|
|
4
4
|
import { f as pathExists } from "./utils-CTPsqyE_.js";
|
|
5
5
|
import { f as defaultRuntime } from "./subsystem-CHbO_DkH.js";
|
|
6
|
-
import "./auth-profiles-
|
|
6
|
+
import "./auth-profiles-Ce7R_25e.js";
|
|
7
7
|
import { n as resolveCliName, t as replaceCliName } from "./cli-name-CzMV-gJF.js";
|
|
8
8
|
import { t as formatCliCommand } from "./command-format-BzjsXBTi.js";
|
|
9
|
-
import { t as resolveSymiPackageRoot } from "./symi-root-
|
|
9
|
+
import { t as resolveSymiPackageRoot } from "./symi-root-BQ0IpoW2.js";
|
|
10
10
|
import { t as runCommandWithTimeout } from "./exec-DuYbft0z.js";
|
|
11
|
-
import "./agent-scope-
|
|
12
|
-
import "./model-selection-
|
|
13
|
-
import "./file-lock-
|
|
11
|
+
import "./agent-scope-DOrZjOnW.js";
|
|
12
|
+
import "./model-selection-7wdmO-Iw.js";
|
|
13
|
+
import "./file-lock-BVUYnlQv.js";
|
|
14
14
|
import "./agent-paths-BbZSGrUA.js";
|
|
15
|
-
import "./pi-embedded-helpers-
|
|
16
|
-
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-
|
|
15
|
+
import "./pi-embedded-helpers-D-OFjhdI.js";
|
|
16
|
+
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-B4jkreCN.js";
|
|
17
17
|
import "./boolean-CbZoNRMn.js";
|
|
18
18
|
import "./env-BRnPI9sO.js";
|
|
19
19
|
import "./shell-env-Dc3iU7HK.js";
|
|
20
20
|
import "./manifest-registry-D1MLZEjS.js";
|
|
21
|
-
import "./sandbox-
|
|
22
|
-
import "./chrome-
|
|
21
|
+
import "./sandbox-BkznAPKO.js";
|
|
22
|
+
import "./chrome-DJChpTwP.js";
|
|
23
23
|
import "./tailscale-DpKBMIvx.js";
|
|
24
24
|
import "./auth-Bkx-QuRN.js";
|
|
25
|
-
import "./server-context-
|
|
25
|
+
import "./server-context-ChcbJgNo.js";
|
|
26
26
|
import "./frontmatter-B_jqcova.js";
|
|
27
|
-
import "./skills-
|
|
28
|
-
import "./routes-
|
|
27
|
+
import "./skills-BwDmcZdt.js";
|
|
28
|
+
import "./routes-ivqbutvM.js";
|
|
29
29
|
import "./redact-B3O-RBO1.js";
|
|
30
30
|
import "./errors-bI7Tdx75.js";
|
|
31
|
-
import "./fs-safe-
|
|
32
|
-
import "./paths-
|
|
31
|
+
import "./fs-safe-BdejYjW8.js";
|
|
32
|
+
import "./paths-DObzwe08.js";
|
|
33
33
|
import "./ssrf-DOZRI5XH.js";
|
|
34
|
-
import "./image-ops-
|
|
35
|
-
import "./ports-
|
|
34
|
+
import "./image-ops-L70xVnpG.js";
|
|
35
|
+
import "./ports-gxLM5ahL.js";
|
|
36
36
|
import "./trash-_YhavPQI.js";
|
|
37
|
-
import "./sessions-
|
|
37
|
+
import "./sessions-Dxf5Kjig.js";
|
|
38
38
|
import "./dock-hF45sewN.js";
|
|
39
39
|
import "./message-channel-DgjXWzf-.js";
|
|
40
40
|
import "./plugins-CF5skkHh.js";
|
|
41
|
-
import "./send-
|
|
41
|
+
import "./send-B0jHSNMF.js";
|
|
42
42
|
import "./paths-BtvQ7JvU.js";
|
|
43
43
|
import "./thinking-COroyVA5.js";
|
|
44
44
|
import "./tokens-0yh2UnJq.js";
|
|
45
|
-
import "./deliver-
|
|
45
|
+
import "./deliver-lTZLIQqf.js";
|
|
46
46
|
import "./diagnostic-DbT9t0Sh.js";
|
|
47
47
|
import "./diagnostic-session-state-DnkpMfCl.js";
|
|
48
|
-
import "./model-auth-
|
|
48
|
+
import "./model-auth-1EAQvYRv.js";
|
|
49
49
|
import "./github-copilot-token-D-FdDfee.js";
|
|
50
|
-
import "./models-config-
|
|
51
|
-
import "./pi-auth-json-
|
|
50
|
+
import "./models-config-B5Xxy-c-.js";
|
|
51
|
+
import "./pi-auth-json-Db8XJVGL.js";
|
|
52
52
|
import "./session-cost-usage-D3mgssM_.js";
|
|
53
|
-
import { h as trimLogTail } from "./session-utils-
|
|
54
|
-
import "./with-timeout-
|
|
55
|
-
import "./reply-prefix-
|
|
56
|
-
import "./memory-
|
|
57
|
-
import "./manager-
|
|
58
|
-
import "./sqlite-
|
|
53
|
+
import { h as trimLogTail } from "./session-utils-Cs1jlD-q.js";
|
|
54
|
+
import "./with-timeout-DPR4A2dx.js";
|
|
55
|
+
import "./reply-prefix-BFNeXT65.js";
|
|
56
|
+
import "./memory-B067LTL9.js";
|
|
57
|
+
import "./manager-CoCX7L5u.js";
|
|
58
|
+
import "./sqlite-Cod7C5ba.js";
|
|
59
59
|
import "./chunk-BxfKjCUx.js";
|
|
60
60
|
import "./markdown-tables-CS1Tvb3z.js";
|
|
61
61
|
import "./fetch-guard-JHxT9355.js";
|
|
62
|
-
import "./local-roots-
|
|
62
|
+
import "./local-roots-CgDCgCuM.js";
|
|
63
63
|
import "./commands-DUzLGgEZ.js";
|
|
64
|
-
import "./commands-registry-
|
|
65
|
-
import "./client-
|
|
66
|
-
import "./call-
|
|
67
|
-
import "./pairing-token-
|
|
64
|
+
import "./commands-registry-Ca5hh7nh.js";
|
|
65
|
+
import "./client-Cs9Bh-G0.js";
|
|
66
|
+
import "./call-xdEE97oU.js";
|
|
67
|
+
import "./pairing-token-Dcy37-4s.js";
|
|
68
68
|
import "./tool-display-DFOL6UQ9.js";
|
|
69
|
-
import "./skills-remote-
|
|
70
|
-
import "./workspace-dirs-
|
|
69
|
+
import "./skills-remote-bz71Bstn.js";
|
|
70
|
+
import "./workspace-dirs-jKFQf7of.js";
|
|
71
71
|
import "./pi-model-discovery-ClQLvlCW.js";
|
|
72
|
-
import "./model-catalog-
|
|
73
|
-
import "./skill-commands-
|
|
74
|
-
import "./pairing-store-
|
|
72
|
+
import "./model-catalog-IWi6-nY9.js";
|
|
73
|
+
import "./skill-commands-DDGGlq68.js";
|
|
74
|
+
import "./pairing-store-BNhJOnWn.js";
|
|
75
75
|
import "./exec-approvals-DioSaIeH.js";
|
|
76
|
-
import "./nodes-screen-
|
|
76
|
+
import "./nodes-screen-De9ma6e1.js";
|
|
77
77
|
import { r as formatDurationPrecise } from "./format-duration-CIjmjQST.js";
|
|
78
78
|
import "./breakdown-B_Dhhm3K.js";
|
|
79
79
|
import { c as resolveGatewayLaunchAgentLabel, d as resolveGatewaySystemdServiceName, f as resolveGatewayWindowsTaskName } from "./constants-BLIhifCJ.js";
|
|
80
|
-
import "./control-service-
|
|
80
|
+
import "./control-service-D8kKOts5.js";
|
|
81
81
|
import "./stagger-DQs772BN.js";
|
|
82
82
|
import "./channel-selection-H1qOf0q-.js";
|
|
83
83
|
import "./delivery-queue-OAc7hsIs.js";
|
|
84
84
|
import "./bindings-DIhsYGa_.js";
|
|
85
|
-
import "./resolve-route-
|
|
85
|
+
import "./resolve-route-C1IIA6kH.js";
|
|
86
86
|
import { t as formatDocsLink } from "./links-Bqr0FxXx.js";
|
|
87
87
|
import "./cli-utils-CuyGL3rq.js";
|
|
88
88
|
import { t as formatHelpExamples } from "./help-format-7hFcsqss.js";
|
|
89
89
|
import "./progress-swt2y17x.js";
|
|
90
|
-
import "./memory-cli-
|
|
90
|
+
import "./memory-cli-D8Z_5-Nz.js";
|
|
91
91
|
import "./logging-BWknayJl.js";
|
|
92
|
-
import "./replies-
|
|
93
|
-
import "./pi-tools.policy-
|
|
94
|
-
import "./model-
|
|
92
|
+
import "./replies-CbXXjn9X.js";
|
|
93
|
+
import "./pi-tools.policy-H2t-Xkfc.js";
|
|
94
|
+
import "./model-MUMSB_7d.js";
|
|
95
95
|
import { r as parseSemver } from "./runtime-guard-CWA00ZXa.js";
|
|
96
|
-
import "./program-context-
|
|
96
|
+
import "./program-context-CiyK6MfV.js";
|
|
97
97
|
import "./catalog-BptA-dUv.js";
|
|
98
|
-
import "./skills-status-
|
|
98
|
+
import "./skills-status-BKX1PjCc.js";
|
|
99
99
|
import { n as inheritOptionFromParent } from "./command-options-DDDwkB9t.js";
|
|
100
100
|
import { n as stylePromptMessage } from "./prompt-style-olk5zI5k.js";
|
|
101
101
|
import "./note-D9FXI2qW.js";
|
|
102
|
-
import "./plugin-auto-enable-
|
|
103
|
-
import "./install-safe-path-
|
|
104
|
-
import "./npm-registry-spec-
|
|
105
|
-
import "./skill-scanner-
|
|
106
|
-
import "./installs-
|
|
102
|
+
import "./plugin-auto-enable-DJBhDIMq.js";
|
|
103
|
+
import "./install-safe-path-B2JrFspY.js";
|
|
104
|
+
import "./npm-registry-spec-DTqn-NXZ.js";
|
|
105
|
+
import "./skill-scanner-BCgVcIwi.js";
|
|
106
|
+
import "./installs-D890uIIW.js";
|
|
107
107
|
import "./channels-status-issues-DLIzUsjR.js";
|
|
108
|
-
import { r as installCompletion } from "./completion-cli-
|
|
109
|
-
import "./daemon-runtime-
|
|
110
|
-
import "./onboard-helpers-
|
|
111
|
-
import "./systemd-
|
|
112
|
-
import { t as resolveGatewayService } from "./service-
|
|
113
|
-
import "./lifecycle-core-
|
|
114
|
-
import "./systemd-hints-
|
|
115
|
-
import { i as runDaemonInstall, r as runDaemonRestart } from "./daemon-cli-
|
|
116
|
-
import "./diagnostics-
|
|
108
|
+
import { r as installCompletion } from "./completion-cli-Dd56ibFZ.js";
|
|
109
|
+
import "./daemon-runtime-DlQla_dA.js";
|
|
110
|
+
import "./onboard-helpers-CLXJ8zp0.js";
|
|
111
|
+
import "./systemd-CUIM0n5P.js";
|
|
112
|
+
import { t as resolveGatewayService } from "./service-e6MzlLCd.js";
|
|
113
|
+
import "./lifecycle-core-wFwnK_mD.js";
|
|
114
|
+
import "./systemd-hints-CsrzMCTD.js";
|
|
115
|
+
import { i as runDaemonInstall, r as runDaemonRestart } from "./daemon-cli-BYiG4GOU.js";
|
|
116
|
+
import "./diagnostics-DlZODdRf.js";
|
|
117
117
|
import { t as renderTable } from "./table-0A3xKJVC.js";
|
|
118
|
-
import "./health-
|
|
119
|
-
import "./control-ui-assets-
|
|
120
|
-
import { a as resolveNpmChannelTag, c as DEFAULT_PACKAGE_CHANNEL, d as formatUpdateChannelLabel, g as resolveUpdateChannelDisplay, h as resolveEffectiveUpdateChannel, m as normalizeUpdateChannel, n as compareSemverStrings, r as fetchNpmTagVersion, s as DEFAULT_GIT_CHANNEL, t as checkUpdateStatus, u as channelToNpmTag } from "./update-check-
|
|
121
|
-
import "./dm-policy-shared-
|
|
122
|
-
import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, t as formatUpdateAvailableHint } from "./status.update-
|
|
123
|
-
import { a as globalInstallArgs, c as readPackageVersion, i as detectGlobalInstallManagerForRoot, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, r as detectGlobalInstallManagerByPresence, s as readPackageName, t as runGatewayUpdate } from "./update-runner-
|
|
118
|
+
import "./health-DpE9GWGn.js";
|
|
119
|
+
import "./control-ui-assets-CJQ97d4u.js";
|
|
120
|
+
import { a as resolveNpmChannelTag, c as DEFAULT_PACKAGE_CHANNEL, d as formatUpdateChannelLabel, g as resolveUpdateChannelDisplay, h as resolveEffectiveUpdateChannel, m as normalizeUpdateChannel, n as compareSemverStrings, r as fetchNpmTagVersion, s as DEFAULT_GIT_CHANNEL, t as checkUpdateStatus, u as channelToNpmTag } from "./update-check-BCL_K7kx.js";
|
|
121
|
+
import "./dm-policy-shared-CeFt0nch.js";
|
|
122
|
+
import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, t as formatUpdateAvailableHint } from "./status.update-DGJi0OLl.js";
|
|
123
|
+
import { a as globalInstallArgs, c as readPackageVersion, i as detectGlobalInstallManagerForRoot, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, r as detectGlobalInstallManagerByPresence, s as readPackageName, t as runGatewayUpdate } from "./update-runner-BLV8SI96.js";
|
|
124
124
|
import "./logging-DDnP1BTp.js";
|
|
125
|
-
import { n as updateNpmInstalledPlugins, t as syncPluginsForUpdateChannel } from "./update-
|
|
126
|
-
import "./doctor-config-flow-
|
|
127
|
-
import "./systemd-linger-
|
|
125
|
+
import { n as updateNpmInstalledPlugins, t as syncPluginsForUpdateChannel } from "./update-yYduAjKd.js";
|
|
126
|
+
import "./doctor-config-flow-C52W1uUK.js";
|
|
127
|
+
import "./systemd-linger-BzYk7A6M.js";
|
|
128
128
|
import "./health-format-Bxg84_f4.js";
|
|
129
|
-
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-
|
|
130
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
129
|
+
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-DaNQ_GgB.js";
|
|
130
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-BpUGRguQ.js";
|
|
131
131
|
import path from "node:path";
|
|
132
132
|
import os from "node:os";
|
|
133
|
-
import
|
|
133
|
+
import fs from "node:fs/promises";
|
|
134
134
|
import { spawn, spawnSync } from "node:child_process";
|
|
135
135
|
import { confirm, isCancel, spinner } from "@clack/prompts";
|
|
136
136
|
|
|
@@ -173,7 +173,7 @@ async function resolveTargetVersion(tag, timeoutMs) {
|
|
|
173
173
|
}
|
|
174
174
|
async function isGitCheckout(root) {
|
|
175
175
|
try {
|
|
176
|
-
await
|
|
176
|
+
await fs.stat(path.join(root, ".git"));
|
|
177
177
|
return true;
|
|
178
178
|
} catch {
|
|
179
179
|
return false;
|
|
@@ -185,7 +185,7 @@ async function isCorePackage(root) {
|
|
|
185
185
|
}
|
|
186
186
|
async function isEmptyDir(targetPath) {
|
|
187
187
|
try {
|
|
188
|
-
return (await
|
|
188
|
+
return (await fs.readdir(targetPath)).length === 0;
|
|
189
189
|
} catch {
|
|
190
190
|
return false;
|
|
191
191
|
}
|
|
@@ -582,7 +582,7 @@ del "%~f0"
|
|
|
582
582
|
`;
|
|
583
583
|
} else return null;
|
|
584
584
|
const scriptPath = path.join(tmpDir, filename);
|
|
585
|
-
await
|
|
585
|
+
await fs.writeFile(scriptPath, scriptContent, { mode: 493 });
|
|
586
586
|
return scriptPath;
|
|
587
587
|
} catch {
|
|
588
588
|
return null;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { f as pathExists } from "./utils-CTPsqyE_.js";
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec-DuYbft0z.js";
|
|
3
|
-
import { h as trimLogTail } from "./session-utils-
|
|
4
|
-
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-
|
|
5
|
-
import { c as DEFAULT_PACKAGE_CHANNEL, f as isBetaTag, l as DEV_BRANCH, n as compareSemverStrings, o as detectPackageManager$1, p as isStableTag, u as channelToNpmTag } from "./update-check-
|
|
3
|
+
import { h as trimLogTail } from "./session-utils-Cs1jlD-q.js";
|
|
4
|
+
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-CJQ97d4u.js";
|
|
5
|
+
import { c as DEFAULT_PACKAGE_CHANNEL, f as isBetaTag, l as DEV_BRANCH, n as compareSemverStrings, o as detectPackageManager$1, p as isStableTag, u as channelToNpmTag } from "./update-check-BCL_K7kx.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import os from "node:os";
|
|
8
|
-
import
|
|
8
|
+
import fs from "node:fs/promises";
|
|
9
9
|
|
|
10
10
|
//#region src/infra/package-json.ts
|
|
11
11
|
async function readPackageVersion(root) {
|
|
12
12
|
try {
|
|
13
|
-
const raw = await
|
|
13
|
+
const raw = await fs.readFile(path.join(root, "package.json"), "utf-8");
|
|
14
14
|
const parsed = JSON.parse(raw);
|
|
15
15
|
return typeof parsed?.version === "string" ? parsed.version : null;
|
|
16
16
|
} catch {
|
|
@@ -19,7 +19,7 @@ async function readPackageVersion(root) {
|
|
|
19
19
|
}
|
|
20
20
|
async function readPackageName(root) {
|
|
21
21
|
try {
|
|
22
|
-
const raw = await
|
|
22
|
+
const raw = await fs.readFile(path.join(root, "package.json"), "utf-8");
|
|
23
23
|
const name = JSON.parse(raw)?.name?.trim();
|
|
24
24
|
return name ? name : null;
|
|
25
25
|
} catch {
|
|
@@ -39,7 +39,7 @@ const NPM_GLOBAL_INSTALL_QUIET_FLAGS = [
|
|
|
39
39
|
];
|
|
40
40
|
async function tryRealpath(targetPath) {
|
|
41
41
|
try {
|
|
42
|
-
return await
|
|
42
|
+
return await fs.realpath(targetPath);
|
|
43
43
|
} catch {
|
|
44
44
|
return path.resolve(targetPath);
|
|
45
45
|
}
|
|
@@ -140,7 +140,7 @@ async function cleanupGlobalRenameDirs(params) {
|
|
|
140
140
|
const prefix = `${GLOBAL_RENAME_PREFIX}${name}-`;
|
|
141
141
|
let entries = [];
|
|
142
142
|
try {
|
|
143
|
-
entries = await
|
|
143
|
+
entries = await fs.readdir(root);
|
|
144
144
|
} catch {
|
|
145
145
|
return { removed };
|
|
146
146
|
}
|
|
@@ -148,8 +148,8 @@ async function cleanupGlobalRenameDirs(params) {
|
|
|
148
148
|
if (!entry.startsWith(prefix)) continue;
|
|
149
149
|
const target = path.join(root, entry);
|
|
150
150
|
try {
|
|
151
|
-
if (!(await
|
|
152
|
-
await
|
|
151
|
+
if (!(await fs.lstat(target)).isDirectory()) continue;
|
|
152
|
+
await fs.rm(target, {
|
|
153
153
|
recursive: true,
|
|
154
154
|
force: true
|
|
155
155
|
});
|
|
@@ -261,7 +261,7 @@ async function findPackageRoot(candidates) {
|
|
|
261
261
|
for (let i = 0; i < 12; i += 1) {
|
|
262
262
|
const pkgPath = path.join(current, "package.json");
|
|
263
263
|
try {
|
|
264
|
-
const raw = await
|
|
264
|
+
const raw = await fs.readFile(pkgPath, "utf-8");
|
|
265
265
|
const name = JSON.parse(raw)?.name?.trim();
|
|
266
266
|
if (name && CORE_PACKAGE_NAMES.has(name)) return current;
|
|
267
267
|
} catch {}
|
|
@@ -543,7 +543,7 @@ async function runGatewayUpdate(opts = {}) {
|
|
|
543
543
|
durationMs: Date.now() - startedAt
|
|
544
544
|
};
|
|
545
545
|
const manager = await detectPackageManager(gitRoot);
|
|
546
|
-
const preflightRoot = await
|
|
546
|
+
const preflightRoot = await fs.mkdtemp(path.join(os.tmpdir(), "symi-update-preflight-"));
|
|
547
547
|
const worktreeDir = path.join(preflightRoot, "worktree");
|
|
548
548
|
const worktreeStep = await runStep(step("preflight worktree", [
|
|
549
549
|
"git",
|
|
@@ -557,7 +557,7 @@ async function runGatewayUpdate(opts = {}) {
|
|
|
557
557
|
], gitRoot));
|
|
558
558
|
steps.push(worktreeStep);
|
|
559
559
|
if (worktreeStep.exitCode !== 0) {
|
|
560
|
-
await
|
|
560
|
+
await fs.rm(preflightRoot, {
|
|
561
561
|
recursive: true,
|
|
562
562
|
force: true
|
|
563
563
|
}).catch(() => {});
|
|
@@ -621,7 +621,7 @@ async function runGatewayUpdate(opts = {}) {
|
|
|
621
621
|
cwd: gitRoot,
|
|
622
622
|
timeoutMs
|
|
623
623
|
}).catch(() => null);
|
|
624
|
-
await
|
|
624
|
+
await fs.rm(preflightRoot, {
|
|
625
625
|
recursive: true,
|
|
626
626
|
force: true
|
|
627
627
|
}).catch(() => {});
|
|
@@ -769,7 +769,7 @@ async function runGatewayUpdate(opts = {}) {
|
|
|
769
769
|
durationMs: Date.now() - startedAt
|
|
770
770
|
};
|
|
771
771
|
const doctorEntry = path.join(gitRoot, "symi.mjs");
|
|
772
|
-
if (!await
|
|
772
|
+
if (!await fs.stat(doctorEntry).then(() => true).catch(() => false)) {
|
|
773
773
|
steps.push({
|
|
774
774
|
name: "symi doctor entry",
|
|
775
775
|
command: `verify ${doctorEntry}`,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { h as resolveUserPath } from "./utils-CTPsqyE_.js";
|
|
2
2
|
import { o as loadPluginManifest, r as discoverSymiPlugins } from "./manifest-registry-D1MLZEjS.js";
|
|
3
|
-
import { i as resolvePluginInstallDir, n as installPluginFromNpmSpec, t as recordPluginInstall } from "./installs-
|
|
4
|
-
import
|
|
3
|
+
import { i as resolvePluginInstallDir, n as installPluginFromNpmSpec, t as recordPluginInstall } from "./installs-D890uIIW.js";
|
|
4
|
+
import fs from "node:fs/promises";
|
|
5
5
|
|
|
6
6
|
//#region src/plugins/update.ts
|
|
7
7
|
async function readInstalledPackageVersion(dir) {
|
|
8
8
|
try {
|
|
9
|
-
const raw = await
|
|
9
|
+
const raw = await fs.readFile(`${dir}/package.json`, "utf-8");
|
|
10
10
|
const parsed = JSON.parse(raw);
|
|
11
11
|
return typeof parsed.version === "string" ? parsed.version : void 0;
|
|
12
12
|
} catch {
|
|
@@ -4,15 +4,15 @@ import { a as displayPath } from "./utils-CTPsqyE_.js";
|
|
|
4
4
|
import { f as defaultRuntime } from "./subsystem-CHbO_DkH.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-BzjsXBTi.js";
|
|
6
6
|
import { t as runCommandWithTimeout } from "./exec-DuYbft0z.js";
|
|
7
|
-
import "./agent-scope-
|
|
8
|
-
import "./model-selection-
|
|
9
|
-
import { i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot, u as validateConfigObjectWithPlugins } from "./config-
|
|
7
|
+
import "./agent-scope-DOrZjOnW.js";
|
|
8
|
+
import "./model-selection-7wdmO-Iw.js";
|
|
9
|
+
import { i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot, u as validateConfigObjectWithPlugins } from "./config-B4jkreCN.js";
|
|
10
10
|
import "./boolean-CbZoNRMn.js";
|
|
11
11
|
import "./env-BRnPI9sO.js";
|
|
12
12
|
import "./shell-env-Dc3iU7HK.js";
|
|
13
13
|
import "./manifest-registry-D1MLZEjS.js";
|
|
14
14
|
import "./frontmatter-B_jqcova.js";
|
|
15
|
-
import "./skills-
|
|
15
|
+
import "./skills-BwDmcZdt.js";
|
|
16
16
|
import { t as formatDocsLink } from "./links-Bqr0FxXx.js";
|
|
17
17
|
import { C as normalizeServePath, S as normalizeHooksPath, T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, a as ensureTopic, b as generateHookToken, c as DEFAULT_GMAIL_LABEL, d as DEFAULT_GMAIL_SERVE_BIND, f as DEFAULT_GMAIL_SERVE_PATH, g as buildDefaultHookUrl, h as DEFAULT_GMAIL_TOPIC, i as ensureTailscaleEndpoint, l as DEFAULT_GMAIL_MAX_BYTES, m as DEFAULT_GMAIL_SUBSCRIPTION, n as ensureGcloudAuth, o as resolveProjectIdFromGogCredentials, p as DEFAULT_GMAIL_SERVE_PORT, r as ensureSubscription, s as runGcloud, t as ensureDependency, u as DEFAULT_GMAIL_RENEW_MINUTES, v as buildGogWatchStartArgs, w as parseTopicPath, x as mergeHookPresets, y as buildTopicPath } from "./gmail-setup-utils-CGaQ7-Vb.js";
|
|
18
18
|
import { spawn } from "node:child_process";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as escapeRegExp } from "./utils-CTPsqyE_.js";
|
|
2
|
-
import { t as registerBrowserRoutes } from "./routes-
|
|
2
|
+
import { t as registerBrowserRoutes } from "./routes-ivqbutvM.js";
|
|
3
3
|
import os from "node:os";
|
|
4
4
|
import { promisify } from "node:util";
|
|
5
5
|
import { execFile } from "node:child_process";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-
|
|
1
|
+
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-DOrZjOnW.js";
|
|
2
2
|
|
|
3
3
|
//#region src/agents/workspace-dirs.ts
|
|
4
4
|
function listAgentWorkspaceDirs(cfg) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import fs$1 from "node:fs/promises";
|
|
2
2
|
|
|
3
3
|
//#region src/infra/wsl.ts
|
|
4
4
|
let wslCached = null;
|
|
@@ -13,7 +13,7 @@ async function isWSL() {
|
|
|
13
13
|
return wslCached;
|
|
14
14
|
}
|
|
15
15
|
try {
|
|
16
|
-
const release = await
|
|
16
|
+
const release = await fs$1.readFile("/proc/sys/kernel/osrelease", "utf8");
|
|
17
17
|
wslCached = release.toLowerCase().includes("microsoft") || release.toLowerCase().includes("wsl");
|
|
18
18
|
} catch {
|
|
19
19
|
wslCached = false;
|