@symerian/symi 3.4.30 → 3.4.31
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-O3PihJOY.js → agent-ZFfYdexc.js} +10 -10
- package/dist/{agents-C2MpIr16.js → agents-C8naPegc.js} +5 -5
- package/dist/{audit-yf3H4Y1h.js → audit-DOfexJi4.js} +8 -8
- package/dist/{auth-choice-CyBcsQ9T.js → auth-choice-DxH-c3vK.js} +4 -4
- package/dist/{banner-D7__HlM-.js → banner-D7zYLyA8.js} +1 -1
- package/dist/{browser-cli-B_6WWHm_.js → browser-cli-MYIql1Ic.js} +3 -3
- package/dist/build-info.json +1 -1
- package/dist/bundled/boot-md/handler.js +4 -4
- package/dist/bundled/session-memory/handler.js +4 -4
- package/dist/{call-IfleM0ap.js → call-D9U2Sfhp.js} +1 -1
- package/dist/{channel-options-B5974x-7.js → channel-options-9PzSNQLG.js} +1 -1
- package/dist/{channels-cli-C6Nv9mzy.js → channels-cli-C3XnNkE5.js} +30 -30
- package/dist/{chrome-DT1fIVG1.js → chrome-B4P7ycw5.js} +7 -7
- package/dist/{chrome-DJCkCRLf.js → chrome-ClVIwINy.js} +1 -1
- package/dist/{cli-DZoms4qg.js → cli-DhTdzhjk.js} +26 -26
- package/dist/{command-registry--D98SJ6k.js → command-registry-BOwku-e8.js} +11 -11
- package/dist/{completion-cli-CHYvpIPw.js → completion-cli-KZYbGY4H.js} +2 -2
- package/dist/{config-BTSBEAnk.js → config-Byd2Y9rr.js} +5 -5
- package/dist/{config-cli-DstpcB33.js → config-cli-CJ1CRfG8.js} +5 -5
- package/dist/{config-guard-CCJrDmON.js → config-guard-zt0zhFHl.js} +2 -2
- package/dist/{config-validation-YCrMlM9Z.js → config-validation-CRazk6Kd.js} +1 -1
- package/dist/{configure-B-UvSZZ7.js → configure-CFY_XEps.js} +10 -10
- package/dist/{control-service-CwRG4M_O.js → control-service-DN6-IdFk.js} +4 -4
- package/dist/{cron-cli-DUETe3Of.js → cron-cli-fmiz43Pz.js} +3 -3
- package/dist/{daemon-cli-Dy5eY4M7.js → daemon-cli-BilAL40g.js} +6 -6
- package/dist/{daemon-runtime-ChztAKDA.js → daemon-runtime-D4KHzQq2.js} +1 -1
- package/dist/{deliver-59sRVaYQ.js → deliver-BkCYBlzi.js} +4 -4
- package/dist/{deliver-BHmK4isn.js → deliver-CnsfN7km.js} +1 -1
- package/dist/{devices-cli-BCZ2HHjT.js → devices-cli-D7HdOwRI.js} +2 -2
- package/dist/{directory-cli-BVGd0l0T.js → directory-cli-ed6QacBC.js} +1 -1
- package/dist/{dns-cli-DH-ksmiI.js → dns-cli-RPa1dGTQ.js} +1 -1
- package/dist/{docs-cli-BuX8FDdh.js → docs-cli-ZTdS_Gak.js} +2 -2
- package/dist/{doctor-completion-C4Sf8CFV.js → doctor-completion-DpGX8dau.js} +1 -1
- package/dist/{doctor-config-flow-BhmF6EAq.js → doctor-config-flow-CIrG_yW_.js} +4 -4
- package/dist/entry.js +3 -3
- package/dist/{exec-approvals-cli-CyXTXgft.js → exec-approvals-cli-65pcsa1y.js} +6 -6
- package/dist/{frontmatter-BH3ExkUY.js → frontmatter-B4levtVg.js} +2 -2
- package/dist/{gateway-cli-fT43bqlv.js → gateway-cli-CTi7Wl2k.js} +50 -50
- package/dist/{gateway-rpc-BEqCo2JK.js → gateway-rpc-2VPLhMhx.js} +1 -1
- package/dist/{glass-ui-ws-BfMKuf9v.js → glass-ui-ws-Bah_A-jn.js} +38 -38
- package/dist/{gmail-setup-utils-Cz9Tb30q.js → gmail-setup-utils-C9WBC6Cd.js} +1 -1
- package/dist/{health-DDxrkioj.js → health-B5rRzhyV.js} +3 -3
- package/dist/{hooks-cli-Btgk__9z.js → hooks-cli-CSDCGO-W.js} +29 -29
- package/dist/{hooks-status-BaV4_YaJ.js → hooks-status-OorbLcc2.js} +2 -2
- package/dist/index.js +0 -0
- package/dist/{lifecycle-core-B0tG8ERp.js → lifecycle-core-BRc-XqTk.js} +2 -2
- package/dist/llm-slug-generator.js +4 -4
- package/dist/{logs-cli-CUhZrDw7.js → logs-cli-D5phVUOT.js} +3 -3
- package/dist/{manager-BeNnzSJv.js → manager-BfhHvsI9.js} +1 -1
- package/dist/{manager-Di9qtuZF.js → manager-DzBH9uQG.js} +1 -1
- package/dist/{memory-BDeydRz3.js → memory-BCj0cj5v.js} +3 -3
- package/dist/{memory-cli-D4hZiGr5.js → memory-cli-9WUMBHol.js} +3 -3
- package/dist/{model-catalog-DPnCNs5N.js → model-catalog-CD2kTz4V.js} +2 -2
- package/dist/{model-picker-DuPommMc.js → model-picker-CVd5UuXV.js} +2 -2
- package/dist/{models-cli-CL5K06Wu.js → models-cli-rd4eX_6P.js} +30 -30
- package/dist/{models-config-CPlvO1b0.js → models-config-oxaGiRUT.js} +1 -1
- package/dist/{models-B0wNKA18.js → models-sbKIrJBG.js} +9 -9
- package/dist/{node-cli-CWWMajKF.js → node-cli-ClLXSdFL.js} +9 -9
- package/dist/{nodes-cli-YmE7S-JB.js → nodes-cli-DY38p5In.js} +3 -3
- package/dist/{onboard-HqUZVKyD.js → onboard-BAyp_UFm.js} +7 -7
- package/dist/{onboard-channels-BbF5-N3g.js → onboard-channels-CUpkV_IJ.js} +1 -1
- package/dist/{onboard-custom-63SI3jrk.js → onboard-custom-BMgLK-vo.js} +2 -2
- package/dist/{onboard-helpers-Cb3WFLl9.js → onboard-helpers-DIQjpQ-s.js} +2 -2
- package/dist/{onboard-hooks-DXXg3YH9.js → onboard-hooks-KZKmj5Dk.js} +3 -3
- package/dist/{onboard-remote-CqtCrqtm.js → onboard-remote-C-_NUgBl.js} +1 -1
- package/dist/{onboard-skills-CS3l5fhH.js → onboard-skills-CwvicFTi.js} +3 -3
- package/dist/{onboarding-Be_HJIFA.js → onboarding-BxCNNo75.js} +11 -11
- package/dist/{onboarding.finalize-dsCUTKCQ.js → onboarding.finalize-DgMPXTtO.js} +18 -18
- package/dist/{onboarding.gateway-config-Ctd1_QW4.js → onboarding.gateway-config-BAaWvPSX.js} +4 -4
- package/dist/{outbound-send-deps-DPsU_Xdy.js → outbound-send-deps-qhFaNYAY.js} +1 -1
- package/dist/{pairing-cli-PtlNv7Gr.js → pairing-cli-CFkiSx8t.js} +1 -1
- package/dist/{pi-embedded-helpers-CVKIHnFv.js → pi-embedded-helpers-CRG5LMS7.js} +1 -1
- package/dist/{pi-tools.policy-8_wTu7v2.js → pi-tools.policy-De6xHjVL.js} +2 -2
- package/dist/{plugin-registry-BG51uZOA.js → plugin-registry-BNe5jtPK.js} +2 -2
- package/dist/plugin-sdk/index.js +6 -6
- package/dist/{plugins-cli-B-zVOiQN.js → plugins-cli-CWj33_Hj.js} +27 -27
- package/dist/{program-BOh0XGsA.js → program-Z2OLlhsB.js} +33 -33
- package/dist/{prompt-select-styled-Bj-hrPCx.js → prompt-select-styled-BNwbBBcH.js} +16 -16
- package/dist/{provider-auth-helpers-BK6NFk2Q.js → provider-auth-helpers-5qb15Hje.js} +2 -2
- package/dist/{push-apns-CMxk3Hxf.js → push-apns-D6qV5P4h.js} +1 -1
- package/dist/{pw-ai-C5MJKzUM.js → pw-ai-BsEf8C15.js} +1 -1
- package/dist/{pw-ai-CE2TBGif.js → pw-ai-C7mvVllB.js} +2 -2
- package/dist/{qr-cli-BeHlC33g.js → qr-cli-oENcXq8d.js} +1 -1
- package/dist/{redact-identifier-B1VHIbnd.js → redact-identifier-ZE8OIUof.js} +1 -1
- package/dist/{register.agent-COv5OPLQ.js → register.agent-DpiHPMca.js} +36 -36
- package/dist/{register.configure-RhKVlfWH.js → register.configure-DRFaroYF.js} +40 -40
- package/dist/{register.maintenance-BAK-DiQY.js → register.maintenance-BGNNTt_1.js} +38 -38
- package/dist/{register.message-CCBmn5ja.js → register.message-R4AIHhlU.js} +28 -28
- package/dist/{register.onboard-B3jO_Goy.js → register.onboard-Cl-_Suyv.js} +13 -13
- package/dist/{register.setup-CYSISTDO.js → register.setup-Dt98v2V3.js} +15 -15
- package/dist/{register.status-health-sessions-CGbg9k6d.js → register.status-health-sessions-DiX5lVyr.js} +23 -23
- package/dist/{register.subclis-loifbhVx.js → register.subclis-DVObuR_P.js} +28 -28
- package/dist/{replies-Dj640LxQ.js → replies-VTJu1jUK.js} +1 -1
- package/dist/{routes-B5y-oAKp.js → routes-DOFg6X5M.js} +3 -3
- package/dist/{rpc-qWm1bRo5.js → rpc-BIHKXdlN.js} +1 -1
- package/dist/{run-main-B7Ria3zD.js → run-main-NAgYKzSu.js} +44 -44
- package/dist/{sandbox-BJgHc4Vu.js → sandbox-EB7cFSML.js} +6 -6
- package/dist/{sandbox-cli-CSudrHYL.js → sandbox-cli-D4dy6sUK.js} +8 -8
- package/dist/{security-cli-B2lCR2xX.js → security-cli-DwCKOrFm.js} +11 -11
- package/dist/{send-CY9na-Jw.js → send-CkRtuQbr.js} +1 -1
- package/dist/{server-context-DdWWaDf6.js → server-context-ww1jytet.js} +5 -5
- package/dist/{server-methods-Dk_EnINI.js → server-methods-BDiZyPvS.js} +23 -23
- package/dist/{server-node-events-BHegSgG9.js → server-node-events-9cY40B4m.js} +29 -29
- package/dist/{session-utils-CAVPV2Hh.js → session-utils-CStjqGE6.js} +3 -3
- package/dist/{sessions-BDM9kNY0.js → sessions-BSRHJH8T.js} +3 -3
- package/dist/{sessions-CqLQkkWg.js → sessions-CInbrqsF.js} +1 -1
- package/dist/{shared-CpwtQRJB.js → shared-DEAo94kI.js} +1 -1
- package/dist/{skill-commands-CRQniaHy.js → skill-commands-BkKfrbHt.js} +2 -2
- package/dist/{skills-CTcjFd_F.js → skills-CFLijAZ-.js} +1 -1
- package/dist/{skills-cli-9Mlb7VRg.js → skills-cli-BbagnO6p.js} +5 -5
- package/dist/{skills-install-D5ikt72d.js → skills-install-dLRO1KGp.js} +2 -2
- package/dist/{skills-remote-BASG1Doo.js → skills-remote-DQVB-3Pj.js} +1 -1
- package/dist/{skills-status-1iVfuVIG.js → skills-status-HWybfj0K.js} +2 -2
- package/dist/{status-Bci6O3aA.js → status-BSrVEUoJ.js} +2 -2
- package/dist/{status-D5RhVO0A.js → status-FIp7UKru.js} +12 -12
- package/dist/{status.update-D5CachQ_.js → status.update-Cm8Fm8QD.js} +1 -1
- package/dist/{subagent-registry-CsXaK_sy.js → subagent-registry-DqryocLT.js} +31 -31
- package/dist/{synthesis-dplLmFIP.js → synthesis-CS-lrEGy.js} +4 -4
- package/dist/{synthesis-BoZf8BeO.js → synthesis-DKhH0YwU.js} +26 -26
- package/dist/{system-cli-D5FffFX5.js → system-cli-DYSI6cIB.js} +3 -3
- package/dist/{systemd-hints-CufcSfMk.js → systemd-hints-EIfW5y8K.js} +1 -1
- package/dist/{tui-DZ8gksSZ.js → tui-C20rHOeB.js} +4 -4
- package/dist/{tui-cli-CyBJYh9u.js → tui-cli-JwlzHCza.js} +11 -11
- package/dist/{unified-runner-BFLLzEHE.js → unified-runner-AM9tFC5q.js} +10 -10
- package/dist/{update-cli-yW6Xl6fs.js → update-cli-BYfA3RPc.js} +41 -41
- package/dist/{update-runner-CIgLduhH.js → update-runner-CBG8p9iG.js} +1 -1
- package/dist/{webhooks-cli-4bmyKzwb.js → webhooks-cli-MuG_QGLp.js} +4 -4
- package/dist/{with-timeout-bWr6yBeX.js → with-timeout-BvxaeAo6.js} +1 -1
- package/dist/{workspace-DxscDsm6.js → workspace-D0d7Gi4-.js} +1 -1
- package/extensions/memory-core/node_modules/.bin/symi +0 -0
- package/extensions/msteams/node_modules/.bin/symi +0 -0
- package/extensions/outlook/node_modules/.bin/symi +0 -0
- package/extensions/slack/node_modules/.bin/symi +0 -0
- package/package.json +108 -79
- package/dist/control-ui/css/revert-red-theme.md +0 -141
- package/dist/control-ui/css/style.css +0 -5843
- package/dist/control-ui/css/style.css.backup-2026-03-03-162525 +0 -3546
- package/dist/control-ui/css/style.css.backup-before-red-2026-03-03-162525 +0 -3546
- package/dist/control-ui/css/style.css.backup-before-red-theme-2026-03-03-162530 +0 -3546
- package/dist/control-ui/css/style.css.pre-2row +0 -2165
- package/dist/control-ui/css/style.css.pre-brand +0 -1776
- package/dist/control-ui/css/style.css.pre-history +0 -1974
- package/dist/control-ui/css/style.css.pre-nav +0 -2264
- package/dist/control-ui/css/style.css.pre-newsession +0 -1898
- package/dist/control-ui/css/style.css.pre-queue +0 -2195
- package/dist/control-ui/css/style.css.pre-red-prompt +0 -2524
- package/dist/control-ui/css/style.css.pre-stop +0 -2239
- package/dist/control-ui/css/style.css.pre-textarea +0 -2184
- package/dist/control-ui/css/style.css.pre-watchdog +0 -1848
- package/dist/control-ui/css/style.css.red-theme +0 -2999
- package/dist/control-ui/index.html +0 -1042
- package/dist/control-ui/js/app.js +0 -1304
- package/dist/control-ui/js/app.js.pre-2row +0 -463
- package/dist/control-ui/js/app.js.pre-heartbeat-filter +0 -595
- package/dist/control-ui/js/app.js.pre-newsession +0 -408
- package/dist/control-ui/js/app.js.pre-queue +0 -476
- package/dist/control-ui/js/app.js.pre-stop +0 -564
- package/dist/control-ui/js/app.js.pre-textarea +0 -467
- package/dist/control-ui/js/app.js.pre-watchdog +0 -293
- package/dist/control-ui/js/connections.js +0 -438
- package/dist/control-ui/js/gateway.js +0 -233
- package/dist/control-ui/js/gateway.js.pre-stop +0 -110
- package/dist/control-ui/js/history.js +0 -732
- package/dist/control-ui/js/logs.js +0 -238
- package/dist/control-ui/js/menu.js +0 -230
- package/dist/control-ui/js/menu.js.pre-nav +0 -66
- package/dist/control-ui/js/metrics.js +0 -53
- package/dist/control-ui/js/models.js +0 -138
- package/dist/control-ui/js/render.js +0 -882
- package/dist/control-ui/js/render.test.js +0 -112
- package/dist/control-ui/js/scheduling.js +0 -461
- package/dist/control-ui/js/settings.js +0 -909
- package/dist/control-ui/js/slash-autocomplete.js +0 -168
- package/dist/control-ui/js/subagents.js +0 -560
- package/dist/control-ui/js/utils.js +0 -29
- package/dist/control-ui/vendor/highlight.min.js +0 -2518
- package/dist/control-ui/vendor/marked.min.js +0 -69
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { Mt as pathExists, l as routeLogsToStderr, yt as resolveStateDir } from "./entry.js";
|
|
3
|
-
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-
|
|
4
|
-
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry
|
|
3
|
+
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-DVObuR_P.js";
|
|
4
|
+
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-BOwku-e8.js";
|
|
5
5
|
import { t as getProgramContext } from "./program-context-BFKw4l9I.js";
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import path from "node:path";
|
|
@@ -9,7 +9,7 @@ import { createRequire } from "node:module";
|
|
|
9
9
|
import os from "node:os";
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
import fs from "node:fs";
|
|
12
|
-
import
|
|
12
|
+
import JSON5 from "json5";
|
|
13
13
|
import { isDeepStrictEqual } from "node:util";
|
|
14
14
|
import crypto from "node:crypto";
|
|
15
15
|
import dotenv from "dotenv";
|
|
@@ -902,7 +902,7 @@ function safeRealpath(target) {
|
|
|
902
902
|
}
|
|
903
903
|
const defaultResolver = {
|
|
904
904
|
readFile: (p) => fs.readFileSync(p, "utf-8"),
|
|
905
|
-
parseJson: (raw) =>
|
|
905
|
+
parseJson: (raw) => JSON5.parse(raw)
|
|
906
906
|
};
|
|
907
907
|
/**
|
|
908
908
|
* Resolves all $include directives in a parsed config object.
|
|
@@ -4679,7 +4679,7 @@ function resolveConfigPathForDeps(deps) {
|
|
|
4679
4679
|
function normalizeDeps(overrides = {}) {
|
|
4680
4680
|
return {
|
|
4681
4681
|
fs: overrides.fs ?? fs,
|
|
4682
|
-
json5: overrides.json5 ??
|
|
4682
|
+
json5: overrides.json5 ?? JSON5,
|
|
4683
4683
|
env: overrides.env ?? process.env,
|
|
4684
4684
|
homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
|
|
4685
4685
|
configPath: overrides.configPath ?? "",
|
|
@@ -4690,11 +4690,11 @@ function maybeLoadDotEnvForConfig(env) {
|
|
|
4690
4690
|
if (env !== process.env) return;
|
|
4691
4691
|
loadDotEnv({ quiet: true });
|
|
4692
4692
|
}
|
|
4693
|
-
function parseConfigJson5(raw, json5
|
|
4693
|
+
function parseConfigJson5(raw, json5 = JSON5) {
|
|
4694
4694
|
try {
|
|
4695
4695
|
return {
|
|
4696
4696
|
ok: true,
|
|
4697
|
-
parsed: json5
|
|
4697
|
+
parsed: json5.parse(raw)
|
|
4698
4698
|
};
|
|
4699
4699
|
} catch (err) {
|
|
4700
4700
|
return {
|
|
@@ -5,9 +5,9 @@ import "./exec-B6oWJSJW.js";
|
|
|
5
5
|
import "./agent-scope-Ck_TLGsV.js";
|
|
6
6
|
import "./github-copilot-token-CrM1aEWo.js";
|
|
7
7
|
import "./manifest-registry-0FO1WTmC.js";
|
|
8
|
-
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-
|
|
8
|
+
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-Byd2Y9rr.js";
|
|
9
9
|
import { t as formatDocsLink } from "./links-D4w-tJYZ.js";
|
|
10
|
-
import
|
|
10
|
+
import JSON5 from "json5";
|
|
11
11
|
|
|
12
12
|
//#region src/cli/config-cli.ts
|
|
13
13
|
function isIndexSegment(raw) {
|
|
@@ -53,12 +53,12 @@ function parsePath(raw) {
|
|
|
53
53
|
function parseValue(raw, opts) {
|
|
54
54
|
const trimmed = raw.trim();
|
|
55
55
|
if (opts.strictJson) try {
|
|
56
|
-
return
|
|
56
|
+
return JSON5.parse(trimmed);
|
|
57
57
|
} catch (err) {
|
|
58
58
|
throw new Error(`Failed to parse JSON5 value: ${String(err)}`, { cause: err });
|
|
59
59
|
}
|
|
60
60
|
try {
|
|
61
|
-
return
|
|
61
|
+
return JSON5.parse(trimmed);
|
|
62
62
|
} catch {
|
|
63
63
|
return raw;
|
|
64
64
|
}
|
|
@@ -201,7 +201,7 @@ async function runConfigUnset(opts) {
|
|
|
201
201
|
}
|
|
202
202
|
function registerConfigCli(program) {
|
|
203
203
|
const cmd = program.command("config").description("Non-interactive config helpers (get/set/unset). Run without subcommand for the setup wizard.").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/config", "docs.symi.ai/cli/config")}\n`).option("--section <section>", "Configure wizard sections (repeatable). Use with no subcommand.", (value, previous) => [...previous, value], []).action(async (opts) => {
|
|
204
|
-
const { configureCommandFromSectionsArg } = await import("./configure-
|
|
204
|
+
const { configureCommandFromSectionsArg } = await import("./configure-CFY_XEps.js").then((n) => n.t);
|
|
205
205
|
await configureCommandFromSectionsArg(opts.section, defaultRuntime);
|
|
206
206
|
});
|
|
207
207
|
cmd.command("get").description("Get a config value by dot path").argument("<path>", "Config path (dot or bracket notation)").option("--json", "Output JSON", false).action(async (path, opts) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { Q as theme, Rt as shortenHomePath, X as colorize, Z as isRich, rn as shouldMigrateStateFromPath } from "./entry.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-6B5tP-i9.js";
|
|
4
|
-
import { o as readConfigFileSnapshot } from "./config-
|
|
5
|
-
import { t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-
|
|
4
|
+
import { o as readConfigFileSnapshot } from "./config-Byd2Y9rr.js";
|
|
5
|
+
import { t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-CIrG_yW_.js";
|
|
6
6
|
|
|
7
7
|
//#region src/cli/program/config-guard.ts
|
|
8
8
|
var config_guard_exports = /* @__PURE__ */ __exportAll({ ensureConfigReady: () => ensureConfigReady });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as formatCliCommand } from "./command-format-6B5tP-i9.js";
|
|
2
|
-
import { o as readConfigFileSnapshot } from "./config-
|
|
2
|
+
import { o as readConfigFileSnapshot } from "./config-Byd2Y9rr.js";
|
|
3
3
|
|
|
4
4
|
//#region src/commands/config-validation.ts
|
|
5
5
|
async function requireValidConfigSnapshot(runtime) {
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { Ft as resolveUserPath, Rt as shortenHomePath, _ as defaultRuntime, ft as resolveGatewayPort, rt as CONFIG_PATH } from "./entry.js";
|
|
3
3
|
import { b as ensureAuthProfileStore } from "./auth-profiles-BG_wMJz6.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-6B5tP-i9.js";
|
|
5
|
-
import { i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot } from "./config-
|
|
5
|
+
import { i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot } from "./config-Byd2Y9rr.js";
|
|
6
6
|
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-Bq-Msc8Z.js";
|
|
7
7
|
import { a as findTailscaleBinary } from "./tailscale-BsA0YClX.js";
|
|
8
8
|
import { n as withProgress } from "./progress-C4ck6JXh.js";
|
|
@@ -10,22 +10,22 @@ import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint }
|
|
|
10
10
|
import { t as note$1 } from "./note-DKRm9hYC.js";
|
|
11
11
|
import { t as WizardCancelledError } from "./prompts-fhztJPuZ.js";
|
|
12
12
|
import { t as createClackPrompter } from "./clack-prompter-Cm3OvXXT.js";
|
|
13
|
-
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-
|
|
14
|
-
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-
|
|
15
|
-
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, g as resolveControlUiLinks, h as randomToken, m as probeGatewayReachable, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput, v as summarizeExistingConfig, y as validateGatewayPasswordInput } from "./onboard-helpers-
|
|
13
|
+
import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-CUpkV_IJ.js";
|
|
14
|
+
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-D4KHzQq2.js";
|
|
15
|
+
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, g as resolveControlUiLinks, h as randomToken, m as probeGatewayReachable, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput, v as summarizeExistingConfig, y as validateGatewayPasswordInput } from "./onboard-helpers-DIQjpQ-s.js";
|
|
16
16
|
import { t as resolveGatewayService } from "./service-BIixwO-v.js";
|
|
17
|
-
import { r as healthCommand } from "./health-
|
|
17
|
+
import { r as healthCommand } from "./health-B5rRzhyV.js";
|
|
18
18
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-B5BrwGRs.js";
|
|
19
19
|
import { n as logConfigUpdated } from "./logging-DrqPd0Fg.js";
|
|
20
20
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-DBfm0y9l.js";
|
|
21
|
-
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-
|
|
22
|
-
import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-
|
|
21
|
+
import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-DxH-c3vK.js";
|
|
22
|
+
import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-CVd5UuXV.js";
|
|
23
23
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-BM4qvprK.js";
|
|
24
|
-
import { a as promptCustomApiConfig } from "./onboard-custom-
|
|
24
|
+
import { a as promptCustomApiConfig } from "./onboard-custom-BMgLK-vo.js";
|
|
25
25
|
import { i as TAILSCALE_MISSING_BIN_NOTE_LINES, n as TAILSCALE_DOCS_LINES, r as TAILSCALE_EXPOSURE_OPTIONS, t as validateIPv4AddressInput } from "./ipv4-DK4xoUQ-.js";
|
|
26
26
|
import { t as formatHealthCheckFailure } from "./health-format-DaP03FBk.js";
|
|
27
|
-
import { n as promptRemoteGatewayConfig } from "./onboard-remote-
|
|
28
|
-
import { n as setupSkills } from "./onboard-skills-
|
|
27
|
+
import { n as promptRemoteGatewayConfig } from "./onboard-remote-C-_NUgBl.js";
|
|
28
|
+
import { n as setupSkills } from "./onboard-skills-CwvicFTi.js";
|
|
29
29
|
import { confirm, intro, outro, select, text } from "@clack/prompts";
|
|
30
30
|
|
|
31
31
|
//#region src/commands/configure.shared.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { o as createSubsystemLogger } from "./entry.js";
|
|
3
|
-
import { i as loadConfig } from "./config-
|
|
4
|
-
import { x as ensureChromeExtensionRelayServer } from "./chrome-
|
|
5
|
-
import { a as resolveProfile, i as resolveBrowserConfig, n as listKnownProfileNames, p as ensureBrowserControlAuth, t as createBrowserRouteContext } from "./server-context-
|
|
3
|
+
import { i as loadConfig } from "./config-Byd2Y9rr.js";
|
|
4
|
+
import { x as ensureChromeExtensionRelayServer } from "./chrome-ClVIwINy.js";
|
|
5
|
+
import { a as resolveProfile, i as resolveBrowserConfig, n as listKnownProfileNames, p as ensureBrowserControlAuth, t as createBrowserRouteContext } from "./server-context-ww1jytet.js";
|
|
6
6
|
|
|
7
7
|
//#region src/browser/server-lifecycle.ts
|
|
8
8
|
async function ensureExtensionRelayForProfiles(params) {
|
|
@@ -80,7 +80,7 @@ async function stopBrowserControlService() {
|
|
|
80
80
|
});
|
|
81
81
|
state = null;
|
|
82
82
|
try {
|
|
83
|
-
await (await import("./pw-ai-
|
|
83
|
+
await (await import("./pw-ai-C7mvVllB.js")).closePlaywrightBrowserConnection();
|
|
84
84
|
} catch {}
|
|
85
85
|
}
|
|
86
86
|
|
|
@@ -5,9 +5,9 @@ import "./exec-B6oWJSJW.js";
|
|
|
5
5
|
import "./agent-scope-Ck_TLGsV.js";
|
|
6
6
|
import "./github-copilot-token-CrM1aEWo.js";
|
|
7
7
|
import "./manifest-registry-0FO1WTmC.js";
|
|
8
|
-
import "./config-
|
|
8
|
+
import "./config-Byd2Y9rr.js";
|
|
9
9
|
import "./client-Bcz3rG5V.js";
|
|
10
|
-
import "./call-
|
|
10
|
+
import "./call-D9U2Sfhp.js";
|
|
11
11
|
import "./message-channel-CNPAq1Tl.js";
|
|
12
12
|
import "./pairing-token-Cup-49D-.js";
|
|
13
13
|
import { n as listChannelPlugins } from "./plugins-Bq-Msc8Z.js";
|
|
@@ -15,7 +15,7 @@ import { n as formatDurationHuman } from "./format-duration-DbZRICyO.js";
|
|
|
15
15
|
import { i as parseAbsoluteTimeMs, n as resolveCronStaggerMs } from "./stagger-C2kEx8j9.js";
|
|
16
16
|
import { t as formatDocsLink } from "./links-D4w-tJYZ.js";
|
|
17
17
|
import "./progress-C4ck6JXh.js";
|
|
18
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
18
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-2VPLhMhx.js";
|
|
19
19
|
import { n as parsePositiveIntOrUndefined } from "./helpers-DCwtPrez.js";
|
|
20
20
|
|
|
21
21
|
//#region src/cli/cron-cli/shared.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { Q as theme, Rt as shortenHomePath, X as colorize, Z as isRich, _ as defaultRuntime, ct as resolveConfigPath, ft as resolveGatewayPort, pt as resolveIsNixMode, tt as getResolvedLoggerSettings, yt as resolveStateDir } from "./entry.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-6B5tP-i9.js";
|
|
4
|
-
import { i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot, r as createConfigIO } from "./config-
|
|
5
|
-
import { n as callGateway } from "./call-
|
|
4
|
+
import { i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot, r as createConfigIO } from "./config-Byd2Y9rr.js";
|
|
5
|
+
import { n as callGateway } from "./call-D9U2Sfhp.js";
|
|
6
6
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-CNPAq1Tl.js";
|
|
7
7
|
import { l as resolveGatewayBindHost } from "./net-DZ5Ayk-W.js";
|
|
8
8
|
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-Cmumpn76.js";
|
|
@@ -12,12 +12,12 @@ import { c as resolveGatewayLaunchAgentLabel, d as resolveGatewaySystemdServiceN
|
|
|
12
12
|
import { t as formatDocsLink } from "./links-D4w-tJYZ.js";
|
|
13
13
|
import { n as withProgress } from "./progress-C4ck6JXh.js";
|
|
14
14
|
import { n as inheritOptionFromParent } from "./command-options-BtJGezJl.js";
|
|
15
|
-
import { i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-
|
|
16
|
-
import { g as resolveControlUiLinks, h as randomToken } from "./onboard-helpers-
|
|
15
|
+
import { i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-D4KHzQq2.js";
|
|
16
|
+
import { g as resolveControlUiLinks, h as randomToken } from "./onboard-helpers-DIQjpQ-s.js";
|
|
17
17
|
import { n as isWSLEnv } from "./wsl-DehumVkT.js";
|
|
18
18
|
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-BIixwO-v.js";
|
|
19
|
-
import { a as createCliStatusTextStyles, c as parsePortFromArgs, d as renderRuntimeHints, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, l as pickProbeHostForBind, m as buildDaemonServiceSnapshot, n as runServiceStart, o as filterDaemonEnv, p as safeDaemonEnv, r as runServiceStop, s as normalizeListenerAddress, t as runServiceRestart, u as renderGatewayServiceStartHints } from "./lifecycle-core-
|
|
20
|
-
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-
|
|
19
|
+
import { a as createCliStatusTextStyles, c as parsePortFromArgs, d as renderRuntimeHints, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, l as pickProbeHostForBind, m as buildDaemonServiceSnapshot, n as runServiceStart, o as filterDaemonEnv, p as safeDaemonEnv, r as runServiceStop, s as normalizeListenerAddress, t as runServiceRestart, u as renderGatewayServiceStartHints } from "./lifecycle-core-BRc-XqTk.js";
|
|
20
|
+
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-EIfW5y8K.js";
|
|
21
21
|
import { t as parsePort } from "./parse-port-DQ6H4gFT.js";
|
|
22
22
|
import { t as readLastGatewayErrorLine } from "./diagnostics-DELEpbg2.js";
|
|
23
23
|
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-34eBJ_Nm.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as formatCliCommand } from "./command-format-6B5tP-i9.js";
|
|
2
|
-
import { N as VERSION, k as collectConfigServiceEnvVars } from "./config-
|
|
2
|
+
import { N as VERSION, k as collectConfigServiceEnvVars } from "./config-Byd2Y9rr.js";
|
|
3
3
|
import { a as NODE_SERVICE_MARKER, c as resolveGatewayLaunchAgentLabel, d as resolveGatewaySystemdServiceName, g as resolveNodeWindowsTaskName, h as resolveNodeSystemdServiceName, i as NODE_SERVICE_KIND, m as resolveNodeLaunchAgentLabel, n as GATEWAY_SERVICE_KIND, o as NODE_WINDOWS_TASK_SCRIPT_NAME, r as GATEWAY_SERVICE_MARKER } from "./constants-C0e51aio.js";
|
|
4
4
|
import { n as isSupportedNodeVersion } from "./runtime-guard-p4-FMx0l.js";
|
|
5
5
|
import { execFile } from "node:child_process";
|
|
@@ -8,7 +8,7 @@ import { _ as runExec, a as DEFAULT_SYMICORE_FILENAME, c as DEFAULT_USER_FILENAM
|
|
|
8
8
|
import { g as isPidAlive, h as resolveProcessScopedMap, tt as formatCliCommand } from "./auth-profiles-Boy_KMd1.js";
|
|
9
9
|
import { t as parseBooleanValue } from "./boolean-mcn6kL0s.js";
|
|
10
10
|
import { c as loadConfig, d as writeConfigFile, m as parseByteSize, p as parseDurationMs, s as createConfigIO, t as SsrFBlockedError } from "./ssrf-CeQ2Aub-.js";
|
|
11
|
-
import { A as DEFAULT_BROWSER_EVALUATE_ENABLED, D as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, E as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, M as DEFAULT_SYMI_BROWSER_ENABLED, N as DEFAULT_SYMI_BROWSER_PROFILE_NAME, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, S as stopChromeExtensionRelayServer, _ as fetchJson, a as resolveSymiUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, g as appendCdpPath, h as withBrowserNavigationPolicy, i as launchSymiChrome, j as DEFAULT_SYMI_BROWSER_COLOR, k as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, l as createTargetViaCdp, m as assertBrowserNavigationAllowed, n as isChromeCdpReady, o as stopSymiChrome, p as InvalidBrowserNavigationUrlError, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as fetchOk, w as isLoopbackHost, x as ensureChromeExtensionRelayServer } from "./chrome-
|
|
11
|
+
import { A as DEFAULT_BROWSER_EVALUATE_ENABLED, D as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, E as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, M as DEFAULT_SYMI_BROWSER_ENABLED, N as DEFAULT_SYMI_BROWSER_PROFILE_NAME, O as DEFAULT_AI_SNAPSHOT_MAX_CHARS, S as stopChromeExtensionRelayServer, _ as fetchJson, a as resolveSymiUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, g as appendCdpPath, h as withBrowserNavigationPolicy, i as launchSymiChrome, j as DEFAULT_SYMI_BROWSER_COLOR, k as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, l as createTargetViaCdp, m as assertBrowserNavigationAllowed, n as isChromeCdpReady, o as stopSymiChrome, p as InvalidBrowserNavigationUrlError, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as fetchOk, w as isLoopbackHost, x as ensureChromeExtensionRelayServer } from "./chrome-B4P7ycw5.js";
|
|
12
12
|
import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-DaU_5XvP.js";
|
|
13
13
|
import { n as formatErrorMessage, t as extractErrorCode } from "./errors-BkfLlDKo.js";
|
|
14
14
|
import { b as SafeOpenError, d as extensionForMime, i as buildImageResizeSideGrid, l as resizeToJpeg, o as getImageMetadata, r as IMAGE_REDUCE_QUALITY_STEPS, t as getAgentScopedMediaLocalRoots, u as detectMime, x as openFileWithinRoot } from "./local-roots-BCTg2O-a.js";
|
|
@@ -938,7 +938,7 @@ function isModuleNotFoundError(err) {
|
|
|
938
938
|
}
|
|
939
939
|
async function loadPwAiModule(mode) {
|
|
940
940
|
try {
|
|
941
|
-
return await import("./pw-ai-
|
|
941
|
+
return await import("./pw-ai-BsEf8C15.js");
|
|
942
942
|
} catch (err) {
|
|
943
943
|
if (mode === "soft") return null;
|
|
944
944
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -3535,11 +3535,11 @@ function createProfileContext(opts, profile) {
|
|
|
3535
3535
|
const userDataDir = resolveSymiUserDataDir(profile.name);
|
|
3536
3536
|
const profileState = getProfileState();
|
|
3537
3537
|
if (await isHttpReachable(300) && !profileState.running) try {
|
|
3538
|
-
await (await import("./pw-ai-
|
|
3538
|
+
await (await import("./pw-ai-BsEf8C15.js")).closePlaywrightBrowserConnection();
|
|
3539
3539
|
} catch {}
|
|
3540
3540
|
if (profileState.running) await stopRunningBrowser();
|
|
3541
3541
|
try {
|
|
3542
|
-
await (await import("./pw-ai-
|
|
3542
|
+
await (await import("./pw-ai-BsEf8C15.js")).closePlaywrightBrowserConnection();
|
|
3543
3543
|
} catch {}
|
|
3544
3544
|
if (!fs.existsSync(userDataDir)) return {
|
|
3545
3545
|
moved: false,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { Kt as triggerInternalHook, M as getActivePluginRegistry, Wt as createInternalHookEvent, o as createSubsystemLogger } from "./entry.js";
|
|
3
|
-
import { i as resolveMirroredTranscriptText, r as appendAssistantMessageToSessionTranscript } from "./sessions-
|
|
3
|
+
import { i as resolveMirroredTranscriptText, r as appendAssistantMessageToSessionTranscript } from "./sessions-CInbrqsF.js";
|
|
4
4
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-Bq-Msc8Z.js";
|
|
5
5
|
import { c as resolveChunkMode, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph } from "./chunk-BySyfaEr.js";
|
|
6
6
|
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-DSeNuIW-.js";
|
|
@@ -4,9 +4,9 @@ import "./exec-B6oWJSJW.js";
|
|
|
4
4
|
import "./agent-scope-Ck_TLGsV.js";
|
|
5
5
|
import "./github-copilot-token-CrM1aEWo.js";
|
|
6
6
|
import "./manifest-registry-0FO1WTmC.js";
|
|
7
|
-
import "./config-
|
|
7
|
+
import "./config-Byd2Y9rr.js";
|
|
8
8
|
import { Gt as listDevicePairing, Ht as approveDevicePairing, Zt as summarizeDeviceTokens } from "./client-Bcz3rG5V.js";
|
|
9
|
-
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-
|
|
9
|
+
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-D9U2Sfhp.js";
|
|
10
10
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-CNPAq1Tl.js";
|
|
11
11
|
import "./pairing-token-Cup-49D-.js";
|
|
12
12
|
import { n as isLoopbackHost } from "./net-DZ5Ayk-W.js";
|
|
@@ -4,7 +4,7 @@ import "./exec-B6oWJSJW.js";
|
|
|
4
4
|
import "./agent-scope-Ck_TLGsV.js";
|
|
5
5
|
import "./github-copilot-token-CrM1aEWo.js";
|
|
6
6
|
import "./manifest-registry-0FO1WTmC.js";
|
|
7
|
-
import { i as loadConfig } from "./config-
|
|
7
|
+
import { i as loadConfig } from "./config-Byd2Y9rr.js";
|
|
8
8
|
import "./message-channel-CNPAq1Tl.js";
|
|
9
9
|
import { t as getChannelPlugin } from "./plugins-Bq-Msc8Z.js";
|
|
10
10
|
import { n as resolveMessageChannelSelection } from "./channel-selection-p35DYzAL.js";
|
|
@@ -4,7 +4,7 @@ import "./exec-B6oWJSJW.js";
|
|
|
4
4
|
import "./agent-scope-Ck_TLGsV.js";
|
|
5
5
|
import "./github-copilot-token-CrM1aEWo.js";
|
|
6
6
|
import "./manifest-registry-0FO1WTmC.js";
|
|
7
|
-
import { i as loadConfig } from "./config-
|
|
7
|
+
import { i as loadConfig } from "./config-Byd2Y9rr.js";
|
|
8
8
|
import { n as pickPrimaryTailnetIPv4, r as pickPrimaryTailnetIPv6 } from "./tailnet-Cmumpn76.js";
|
|
9
9
|
import { t as formatDocsLink } from "./links-D4w-tJYZ.js";
|
|
10
10
|
import { t as renderTable } from "./table-Sfrx6RZ-.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Q as theme, Z as isRich, _ as defaultRuntime } from "./entry.js";
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-6B5tP-i9.js";
|
|
3
3
|
import { t as runCommandWithTimeout } from "./exec-B6oWJSJW.js";
|
|
4
|
-
import { d as hasBinary } from "./frontmatter-
|
|
5
|
-
import "./skills-
|
|
4
|
+
import { d as hasBinary } from "./frontmatter-B4levtVg.js";
|
|
5
|
+
import "./skills-CFLijAZ-.js";
|
|
6
6
|
import "./manifest-registry-0FO1WTmC.js";
|
|
7
7
|
import "./redact-KvsGzUFH.js";
|
|
8
8
|
import "./errors-TVUWuVoP.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as resolveCliName } from "./command-format-6B5tP-i9.js";
|
|
2
2
|
import { t as resolveSymiPackageRoot } from "./symi-root-CK6iELVh.js";
|
|
3
3
|
import { t as note } from "./note-DKRm9hYC.js";
|
|
4
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
4
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-KZYbGY4H.js";
|
|
5
5
|
import { spawnSync } from "node:child_process";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|
|
@@ -2,15 +2,15 @@ import { At as isRecord, Pt as resolveHomeDir, _t as resolveOAuthDir, gt as reso
|
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-6B5tP-i9.js";
|
|
3
3
|
import { n as DEFAULT_MAIN_KEY, o as normalizeAgentId, p as DEFAULT_ACCOUNT_ID, r as buildAgentMainSessionKey } from "./session-key-BfskPVEs.js";
|
|
4
4
|
import { l as resolveDefaultAgentId } from "./agent-scope-Ck_TLGsV.js";
|
|
5
|
-
import { d as SymiSchema, n as migrateLegacyConfig, o as readConfigFileSnapshot } from "./config-
|
|
6
|
-
import { M as canonicalizeMainSessionAlias, l as saveSessionStore } from "./sessions-
|
|
5
|
+
import { d as SymiSchema, n as migrateLegacyConfig, o as readConfigFileSnapshot } from "./config-Byd2Y9rr.js";
|
|
6
|
+
import { M as canonicalizeMainSessionAlias, l as saveSessionStore } from "./sessions-CInbrqsF.js";
|
|
7
7
|
import { t as note } from "./note-DKRm9hYC.js";
|
|
8
8
|
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-BWd5lJQf.js";
|
|
9
9
|
import { t as isWithinDir } from "./path-safety-CnSZJR00.js";
|
|
10
10
|
import os from "node:os";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import fs from "node:fs";
|
|
13
|
-
import
|
|
13
|
+
import JSON5 from "json5";
|
|
14
14
|
import fs$1 from "node:fs/promises";
|
|
15
15
|
|
|
16
16
|
//#region src/commands/doctor-legacy-config.ts
|
|
@@ -214,7 +214,7 @@ function isLegacyWhatsAppAuthFile(name) {
|
|
|
214
214
|
function readSessionStoreJson5(storePath) {
|
|
215
215
|
try {
|
|
216
216
|
const raw = fs.readFileSync(storePath, "utf-8");
|
|
217
|
-
const parsed =
|
|
217
|
+
const parsed = JSON5.parse(raw);
|
|
218
218
|
if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return {
|
|
219
219
|
store: parsed,
|
|
220
220
|
ok: true
|
package/dist/entry.js
CHANGED
|
@@ -6,7 +6,7 @@ import path from "node:path";
|
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import chalk, { Chalk } from "chalk";
|
|
8
8
|
import { Logger } from "tslog";
|
|
9
|
-
import
|
|
9
|
+
import JSON5 from "json5";
|
|
10
10
|
import util from "node:util";
|
|
11
11
|
|
|
12
12
|
//#region src/infra/home-dir.ts
|
|
@@ -820,7 +820,7 @@ function readLoggingConfig() {
|
|
|
820
820
|
try {
|
|
821
821
|
if (!fs.existsSync(configPath)) return;
|
|
822
822
|
const raw = fs.readFileSync(configPath, "utf-8");
|
|
823
|
-
const logging =
|
|
823
|
+
const logging = JSON5.parse(raw)?.logging;
|
|
824
824
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
825
825
|
return logging;
|
|
826
826
|
} catch {
|
|
@@ -2315,7 +2315,7 @@ if (!ensureExperimentalWarningSuppressed()) {
|
|
|
2315
2315
|
applyCliProfileEnv({ profile: parsed.profile });
|
|
2316
2316
|
process$1.argv = parsed.argv;
|
|
2317
2317
|
}
|
|
2318
|
-
import("./run-main-
|
|
2318
|
+
import("./run-main-NAgYKzSu.js").then(({ runCli }) => runCli(process$1.argv)).catch((error) => {
|
|
2319
2319
|
console.error("[symi] Failed to start CLI:", error instanceof Error ? error.stack ?? error.message : error);
|
|
2320
2320
|
process$1.exitCode = 1;
|
|
2321
2321
|
});
|
|
@@ -4,22 +4,22 @@ import "./exec-B6oWJSJW.js";
|
|
|
4
4
|
import "./agent-scope-Ck_TLGsV.js";
|
|
5
5
|
import "./github-copilot-token-CrM1aEWo.js";
|
|
6
6
|
import "./manifest-registry-0FO1WTmC.js";
|
|
7
|
-
import "./config-
|
|
7
|
+
import "./config-Byd2Y9rr.js";
|
|
8
8
|
import "./client-Bcz3rG5V.js";
|
|
9
|
-
import "./call-
|
|
9
|
+
import "./call-D9U2Sfhp.js";
|
|
10
10
|
import "./message-channel-CNPAq1Tl.js";
|
|
11
11
|
import "./pairing-token-Cup-49D-.js";
|
|
12
12
|
import { n as formatTimeAgo } from "./format-relative-Cyq001S7.js";
|
|
13
13
|
import { c as readExecApprovalsSnapshot, p as saveExecApprovals } from "./exec-approvals-BndOYKTM.js";
|
|
14
14
|
import { t as formatDocsLink } from "./links-D4w-tJYZ.js";
|
|
15
15
|
import "./progress-C4ck6JXh.js";
|
|
16
|
-
import { n as callGatewayFromCli } from "./gateway-rpc-
|
|
16
|
+
import { n as callGatewayFromCli } from "./gateway-rpc-2VPLhMhx.js";
|
|
17
17
|
import "./systemd-p_nEAkHC.js";
|
|
18
18
|
import "./service-BIixwO-v.js";
|
|
19
19
|
import { t as renderTable } from "./table-Sfrx6RZ-.js";
|
|
20
20
|
import { t as describeUnknownError } from "./shared-D7tsGdxc.js";
|
|
21
|
-
import { i as resolveNodeId, r as nodesCallOpts } from "./rpc-
|
|
22
|
-
import
|
|
21
|
+
import { i as resolveNodeId, r as nodesCallOpts } from "./rpc-BIHKXdlN.js";
|
|
22
|
+
import JSON5 from "json5";
|
|
23
23
|
import fs from "node:fs/promises";
|
|
24
24
|
|
|
25
25
|
//#region src/cli/exec-approvals-cli.ts
|
|
@@ -313,7 +313,7 @@ function registerExecApprovalsCli(program) {
|
|
|
313
313
|
const raw = opts.stdin ? await readStdin() : await fs.readFile(String(opts.file), "utf8");
|
|
314
314
|
let file;
|
|
315
315
|
try {
|
|
316
|
-
file =
|
|
316
|
+
file = JSON5.parse(raw);
|
|
317
317
|
} catch (err) {
|
|
318
318
|
exitWithError(`Failed to parse approvals JSON: ${String(err)}`);
|
|
319
319
|
}
|
|
@@ -2,7 +2,7 @@ import { a as parseBooleanValue } from "./entry.js";
|
|
|
2
2
|
import { a as MANIFEST_KEY, i as LEGACY_MANIFEST_KEYS } from "./scan-paths-BVaXDn8b.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs";
|
|
5
|
-
import
|
|
5
|
+
import JSON5 from "json5";
|
|
6
6
|
import YAML from "yaml";
|
|
7
7
|
|
|
8
8
|
//#region src/shared/config-eval.ts
|
|
@@ -210,7 +210,7 @@ function resolveSymiManifestBlock(params) {
|
|
|
210
210
|
const raw = getFrontmatterString(params.frontmatter, params.key ?? "metadata");
|
|
211
211
|
if (!raw) return;
|
|
212
212
|
try {
|
|
213
|
-
const parsed =
|
|
213
|
+
const parsed = JSON5.parse(raw);
|
|
214
214
|
if (!parsed || typeof parsed !== "object") return;
|
|
215
215
|
const manifestKeys = [MANIFEST_KEY, ...LEGACY_MANIFEST_KEYS];
|
|
216
216
|
for (const key of manifestKeys) {
|