@noxsoft/anima 3.0.3 → 3.0.4
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/{accounts-MCFGsqbc.js → accounts-0-iS_1ON.js} +6 -6
- package/dist/{acp-cli-Cc4hge8F.js → acp-cli-DR2eCnHa.js} +3 -3
- package/dist/{agent-kw6IKi2M.js → agent-D67QJfSA.js} +7 -7
- package/dist/{agent-events-k0oEWcJi.js → agent-events-DpLOd9j3.js} +1 -1
- package/dist/{agents-CRHhdnpS.js → agents-CC7YooRa.js} +4 -4
- package/dist/{audit-Bmlx4ME3.js → audit-DTa_eoCX.js} +8 -8
- package/dist/{auth-choice-DmJpz3dy.js → auth-choice-uTkXmBsF.js} +1 -1
- package/dist/{banner-CMa8sLDM.js → banner-7w2BYzBm.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +6 -6
- package/dist/{call-CtVjogkV.js → call-CdAIguFD.js} +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{chrome-DZ7VChHP.js → chrome-dggtj3Lb.js} +7 -7
- package/dist/{cli-BxZOVbN0.js → cli-qFdAHCu_.js} +18 -18
- package/dist/{cli-session-C_Pb_tJG.js → cli-session-CfTs7I9q.js} +4 -4
- package/dist/{command-registry-CNfXgZ7o.js → command-registry-BOtCwS6q.js} +11 -11
- package/dist/{completion-cli-BkFQCDYI.js → completion-cli-DXr9R51W.js} +2 -2
- package/dist/{config-CW3mWEFv.js → config-BqjdiIqb.js} +1 -1
- package/dist/{config-cli-Ls75E1u6.js → config-cli-AUXa07PR.js} +3 -3
- package/dist/{config-guard-CXr4ahlE.js → config-guard-CLE9lMNz.js} +2 -2
- package/dist/{configure-DsCZMKY0.js → configure-BHdbhvvf.js} +30 -30
- package/dist/{configure-SEpZ5Jbz.js → configure-DeN_4KMQ.js} +8 -8
- package/dist/{context-C-EeDlhY.js → context-D3iu8n-R.js} +1 -1
- package/dist/{control-service-C1xo0dfl.js → control-service-BZzmO7c_.js} +2 -2
- package/dist/{cron-cli-C0yeWgUd.js → cron-cli-CyzK6gZC.js} +4 -4
- package/dist/{daemon-cli-YXtw9DJy.js → daemon-cli-BJbm--Cv.js} +5 -5
- package/dist/{daemon-runtime-D5KhD82Y.js → daemon-runtime-RjPFjiQt.js} +1 -1
- package/dist/{deliver-D9gk6vPm.js → deliver-BAvC6OQB.js} +1 -1
- package/dist/{deliver-COTg5qFH.js → deliver-JdSpxDGI.js} +1 -1
- package/dist/{dispatcher-DQsImjGf.js → dispatcher-B8eU53gY.js} +1 -1
- package/dist/{dns-cli-CQYWiaMa.js → dns-cli-DL2BM6hq.js} +2 -2
- package/dist/{docs-cli-DehEwN7Q.js → docs-cli-CKSiSdnb.js} +1 -1
- package/dist/{doctor-completion-CZj6kSxM.js → doctor-completion-DmQMefih.js} +1 -1
- package/dist/{doctor-config-flow-BKTWsoKo.js → doctor-config-flow-D-6JwPG8.js} +5 -5
- package/dist/{doctor-Bby-UShx.js → doctor-pLYoBJMk.js} +15 -15
- package/dist/entry.js +3 -3
- package/dist/{exec-approvals-cli-D9pfvckh.js → exec-approvals-cli-BZVoSyyq.js} +6 -6
- package/dist/{gateway-cli-DtO8TW8i.js → gateway-cli-BdOVgRop.js} +46 -46
- package/dist/{gateway-rpc-D7Nplm8G.js → gateway-rpc-UUEXPkWC.js} +1 -1
- package/dist/{gmail-setup-utils-Du3JjS1M.js → gmail-setup-utils-DjQ4vBw0.js} +1 -1
- package/dist/{health-btYQz_wA.js → health-DHDWvsfA.js} +8 -8
- package/dist/{heartbeat-visibility-Czw1aXJ9.js → heartbeat-visibility-Cmb6Uty9.js} +1 -1
- package/dist/{hooks-cli-BnYhHSTh.js → hooks-cli-CKrriqp_.js} +20 -20
- package/dist/{hooks-status-DnB6ZK0J.js → hooks-status-C02SnWNJ.js} +1 -1
- package/dist/{io-CHeqqEl4.js → io-iWIjWIkl.js} +5 -5
- package/dist/{login-C25KYCCB.js → login-BdEL76u1.js} +1 -1
- package/dist/{login-qr-Beuo6oxw.js → login-qr-YcClTis-.js} +1 -1
- package/dist/{login-qr-lzEKpHxZ.js → login-qr-hjfbYYQE.js} +3 -3
- package/dist/{login-DlQyFFdq.js → login-yr3VtZqb.js} +2 -2
- package/dist/{logs-cli-CEX1x2UC.js → logs-cli-Dl8iaTM8.js} +4 -4
- package/dist/{memory-cli-B3CyQMHl.js → memory-cli-BIi9M09T.js} +1 -1
- package/dist/{models-By2DCCb_.js → models-B-eLP2W_.js} +19 -19
- package/dist/{node-cli-BzroW-6N.js → node-cli-o5qdBDXv.js} +7 -7
- package/dist/{onboard-C3IoqClv.js → onboard-D8heZS4W.js} +6 -6
- package/dist/{onboard-channels-zGd24jDH.js → onboard-channels-CvE0fndb.js} +1 -1
- package/dist/{onboard-helpers-BnB7o14v.js → onboard-helpers-C8-npM73.js} +2 -2
- package/dist/{onboarding-DrIg7AOV.js → onboarding-GTIvnear.js} +9 -9
- package/dist/{outbound-CttO4U0C.js → outbound-DbFD3d8r.js} +1 -1
- package/dist/{parse-timeout-CZ6_B_Wu.js → parse-timeout-BVEX2Lz1.js} +1 -1
- package/dist/{pi-embedded-helpers-sqsbN-zA.js → pi-embedded-helpers-g9om0xJ7.js} +4 -4
- package/dist/{pi-tools.policy-DksWz3BP.js → pi-tools.policy-B4I325aj.js} +2 -2
- package/dist/{plugin-registry-ssaLz5G3.js → plugin-registry-SWpB3D-5.js} +2 -2
- package/dist/{plugins-cli-49bp8GOB.js → plugins-cli-Bj60hoG3.js} +19 -19
- package/dist/{program-Cl1iECHu.js → program-ufvQ9_i3.js} +24 -24
- package/dist/{pw-ai-W08ktaHA.js → pw-ai-CBmRQ9aU.js} +1 -1
- package/dist/{register.agent-CMcR6wn3.js → register.agent-DlRL0gZs.js} +23 -23
- package/dist/{register.anima-CT63Jw6G.js → register.anima-BGcCs9zl.js} +3 -3
- package/dist/{register.configure-C5hYdZNC.js → register.configure-mvmlHvKz.js} +26 -26
- package/dist/{register.maintenance-DR8HDTM1.js → register.maintenance-D2stmLYe.js} +30 -30
- package/dist/{register.onboard-c3wKMzVQ.js → register.onboard-BvMT5000.js} +30 -30
- package/dist/{register.setup-CsdtvJfr.js → register.setup-BTn79YSi.js} +32 -32
- package/dist/{register.status-health-sessions-1BNEGniX.js → register.status-health-sessions-DTfOz28I.js} +25 -25
- package/dist/{register.subclis-APOnK1oY.js → register.subclis-Cb-XMz3t.js} +21 -21
- package/dist/{reply-DiXFAQ6Y.js → reply-CDFwIHRO.js} +23 -23
- package/dist/{reply-prefix-BJ6vG158.js → reply-prefix-RmDHulxO.js} +2 -2
- package/dist/{routes-BC-Mvhwy.js → routes-Cmc5ZQhi.js} +2 -2
- package/dist/{run-main-DSmCSQvU.js → run-main-5ODo8rXB.js} +36 -36
- package/dist/{sandbox-cli-DEmOMuhf.js → sandbox-cli-C_W6JLJ8.js} +7 -7
- package/dist/{sandbox-C9Ow3VqW.js → sandbox-gSH3_12R.js} +3 -3
- package/dist/{security-cli-CJ_CU3Lv.js → security-cli-C347Qhcz.js} +10 -10
- package/dist/{server-context-B7l8uLo0.js → server-context-B0zBRUkt.js} +1 -1
- package/dist/{server-node-events-nClUCOTS.js → server-node-events-DORX1Ogk.js} +11 -11
- package/dist/{service-audit-BCC0aFGF.js → service-audit-BwLKMovx.js} +1 -1
- package/dist/{session-CeToKqd8.js → session-BxRbDXzF.js} +1 -1
- package/dist/{sessions-CO93wesA.js → sessions-B090A8HC.js} +1 -1
- package/dist/{sessions-7zgD7x8B.js → sessions-Bm1ebRIk.js} +3 -3
- package/dist/{settings-cli-Sq63XV_Z.js → settings-cli-BfG2LeHS.js} +27 -27
- package/dist/{skills-CG8iI6v6.js → skills-C4C8s_X9.js} +2 -2
- package/dist/{skills-cli-BcqCAYEs.js → skills-cli-BGRR3n2i.js} +6 -6
- package/dist/{skills-install-_5laUMxp.js → skills-install-1LM_zHZp.js} +1 -1
- package/dist/{skills-status-CNEd8Dm9.js → skills-status-H7e--DXr.js} +1 -1
- package/dist/{start-BsO9TOE5.js → start-Dx14-Dv4.js} +1 -1
- package/dist/{status-L2HZk3ud.js → status-BrCv8UvC.js} +12 -12
- package/dist/{status-DsBDigvs.js → status-CUx95WWH.js} +2 -2
- package/dist/{status.update-DREm9Pli.js → status.update-BeqJtF19.js} +1 -1
- package/dist/{subagent-registry-CAKZ3Y17.js → subagent-registry-B9LkM5jI.js} +7 -7
- package/dist/{subagent-registry-BfTldsNb.js → subagent-registry-Dc6tpkgu.js} +6 -6
- package/dist/{system-cli-DzSUCwFN.js → system-cli-CMuR4lX6.js} +4 -4
- package/dist/{tui-C2XIQ9jV.js → tui-D-VaXawe.js} +3 -3
- package/dist/{tui-cli-piy12AAM.js → tui-cli-CrNpDqdm.js} +10 -10
- package/dist/{update-cli-DxE9ARmb.js → update-cli-BbW_TUAN.js} +32 -32
- package/dist/{update-runner-DfXRVjBp.js → update-runner-B1Y2OBKb.js} +1 -1
- package/dist/{usage-ClDzxVdl.js → usage-CdVLaB19.js} +2 -2
- package/dist/{web-nlpa6AmG.js → web-CXb6AGwW.js} +22 -22
- package/dist/{web-DBI1ImUV.js → web-DjsezaZk.js} +13 -13
- package/dist/{webhooks-cli--V32JTnS.js → webhooks-cli-C5yo-utx.js} +4 -4
- package/dist/{whatsapp-actions-DZgyP_1e.js → whatsapp-actions-D5Kl_XTd.js} +3 -3
- package/package.json +1 -1
|
@@ -8,26 +8,26 @@ import "./model-selection-01zouBRC.js";
|
|
|
8
8
|
import "./file-lock-CxXn285m.js";
|
|
9
9
|
import "./agent-paths-CrZhIsTW.js";
|
|
10
10
|
import "./pi-model-discovery-DgwvfEmd.js";
|
|
11
|
-
import "./skills-
|
|
11
|
+
import "./skills-C4C8s_X9.js";
|
|
12
12
|
import "./manifest-registry-BHcAJo9u.js";
|
|
13
|
-
import "./skills-status-
|
|
14
|
-
import { i as readConfigFileSnapshot, s as writeConfigFile } from "./io-
|
|
13
|
+
import "./skills-status-H7e--DXr.js";
|
|
14
|
+
import { i as readConfigFileSnapshot, s as writeConfigFile } from "./io-iWIjWIkl.js";
|
|
15
15
|
import "./shell-env-DAw9qXji.js";
|
|
16
|
-
import "./config-
|
|
16
|
+
import "./config-BqjdiIqb.js";
|
|
17
17
|
import "./client-Dz6cszHd.js";
|
|
18
|
-
import "./call-
|
|
18
|
+
import "./call-CdAIguFD.js";
|
|
19
19
|
import "./message-channel-BiajZfgz.js";
|
|
20
20
|
import "./timeout-CXND7zJu.js";
|
|
21
|
-
import "./sessions-
|
|
22
|
-
import "./subagent-registry-
|
|
21
|
+
import "./sessions-B090A8HC.js";
|
|
22
|
+
import "./subagent-registry-Dc6tpkgu.js";
|
|
23
23
|
import "./identity-CflMRbky.js";
|
|
24
24
|
import "./plugins-zFmidMaf.js";
|
|
25
25
|
import "./pi-embedded-helpers-DzLrWN23.js";
|
|
26
|
-
import "./sandbox-
|
|
26
|
+
import "./sandbox-gSH3_12R.js";
|
|
27
27
|
import "./chrome-ghYAPiTX.js";
|
|
28
28
|
import "./auth-FzNxH03k.js";
|
|
29
|
-
import "./server-context-
|
|
30
|
-
import "./routes-
|
|
29
|
+
import "./server-context-B0zBRUkt.js";
|
|
30
|
+
import "./routes-Cmc5ZQhi.js";
|
|
31
31
|
import "./image-ops-O-_KYHXN.js";
|
|
32
32
|
import "./ports-D7xIe6xi.js";
|
|
33
33
|
import "./paths-BEkHcryg.js";
|
|
@@ -37,15 +37,15 @@ import "./media-BrtQHQhO.js";
|
|
|
37
37
|
import "./chunk-ChJt8EsD.js";
|
|
38
38
|
import "./common-BGjkU4kk.js";
|
|
39
39
|
import "./noxsoft-auth-Bqo9l6Li.js";
|
|
40
|
-
import "./control-service-
|
|
41
|
-
import "./cli-session-
|
|
42
|
-
import "./reply-
|
|
40
|
+
import "./control-service-BZzmO7c_.js";
|
|
41
|
+
import "./cli-session-CfTs7I9q.js";
|
|
42
|
+
import "./reply-CDFwIHRO.js";
|
|
43
43
|
import "./model-auth-ajey777y.js";
|
|
44
|
-
import "./context-
|
|
45
|
-
import "./parse-timeout-
|
|
46
|
-
import "./deliver-
|
|
47
|
-
import "./pi-tools.policy-
|
|
48
|
-
import "./memory-cli-
|
|
44
|
+
import "./context-D3iu8n-R.js";
|
|
45
|
+
import "./parse-timeout-BVEX2Lz1.js";
|
|
46
|
+
import "./deliver-JdSpxDGI.js";
|
|
47
|
+
import "./pi-tools.policy-B4I325aj.js";
|
|
48
|
+
import "./memory-cli-BIi9M09T.js";
|
|
49
49
|
import "./manager-z25H5SAC.js";
|
|
50
50
|
import "./sqlite-B5LCMIbh.js";
|
|
51
51
|
import "./redact-Bk0VS_m7.js";
|
|
@@ -57,22 +57,22 @@ import { t as formatDocsLink } from "./links-DtaFNkkY.js";
|
|
|
57
57
|
import "./progress-IbQIsvcD.js";
|
|
58
58
|
import "./logging-DhWghNIK.js";
|
|
59
59
|
import "./auth-store-6mqMhd96.js";
|
|
60
|
-
import "./dispatcher-
|
|
60
|
+
import "./dispatcher-B8eU53gY.js";
|
|
61
61
|
import "./delivery-queue-bafdRh4B.js";
|
|
62
62
|
import "./session-cost-usage-D2RKVFwJ.js";
|
|
63
63
|
import "./accounts-D_Or1tM0.js";
|
|
64
|
-
import "./daemon-runtime-
|
|
65
|
-
import "./onboard-helpers-
|
|
64
|
+
import "./daemon-runtime-RjPFjiQt.js";
|
|
65
|
+
import "./onboard-helpers-C8-npM73.js";
|
|
66
66
|
import "./prompt-style-CtqNME6o.js";
|
|
67
67
|
import "./systemd-DMnpU3vJ.js";
|
|
68
68
|
import "./service-Df_H0-VH.js";
|
|
69
69
|
import "./widearea-dns-Bg5y7TWc.js";
|
|
70
|
-
import "./skills-install-
|
|
71
|
-
import "./health-
|
|
70
|
+
import "./skills-install-1LM_zHZp.js";
|
|
71
|
+
import "./health-DHDWvsfA.js";
|
|
72
72
|
import "./catalog-BLrEgoPa.js";
|
|
73
73
|
import "./plugin-auto-enable-BTi8mF_C.js";
|
|
74
74
|
import "./health-format-DikxNm9W.js";
|
|
75
|
-
import "./auth-choice-
|
|
75
|
+
import "./auth-choice-uTkXmBsF.js";
|
|
76
76
|
import "./prompts-C2Ix0I5o.js";
|
|
77
77
|
import "./logging-DMCxh6UT.js";
|
|
78
78
|
import "./note-BwhOxUoJ.js";
|
|
@@ -81,10 +81,10 @@ import "./archive-CNqghdwQ.js";
|
|
|
81
81
|
import "./npm-registry-spec-CzobuF_v.js";
|
|
82
82
|
import "./installs-CdufPfQa.js";
|
|
83
83
|
import "./clack-prompter-BHyHNf9y.js";
|
|
84
|
-
import "./onboard-channels-
|
|
85
|
-
import { a as CONFIGURE_WIZARD_SECTIONS, i as buildGatewayAuthConfig, n as configureCommandWithSections, o as parseConfigureWizardSections, r as runConfigureWizard, t as configureCommand } from "./configure-
|
|
84
|
+
import "./onboard-channels-CvE0fndb.js";
|
|
85
|
+
import { a as CONFIGURE_WIZARD_SECTIONS, i as buildGatewayAuthConfig, n as configureCommandWithSections, o as parseConfigureWizardSections, r as runConfigureWizard, t as configureCommand } from "./configure-DeN_4KMQ.js";
|
|
86
86
|
import "./systemd-linger-BV9rUksz.js";
|
|
87
|
-
import
|
|
87
|
+
import json5 from "json5";
|
|
88
88
|
|
|
89
89
|
//#region src/cli/config-cli.ts
|
|
90
90
|
function isIndexSegment(raw) {
|
|
@@ -130,12 +130,12 @@ function parsePath(raw) {
|
|
|
130
130
|
function parseValue(raw, opts) {
|
|
131
131
|
const trimmed = raw.trim();
|
|
132
132
|
if (opts.json) try {
|
|
133
|
-
return
|
|
133
|
+
return json5.parse(trimmed);
|
|
134
134
|
} catch (err) {
|
|
135
135
|
throw new Error(`Failed to parse JSON5 value: ${String(err)}`, { cause: err });
|
|
136
136
|
}
|
|
137
137
|
try {
|
|
138
|
-
return
|
|
138
|
+
return json5.parse(trimmed);
|
|
139
139
|
} catch {
|
|
140
140
|
return raw;
|
|
141
141
|
}
|
|
@@ -294,7 +294,7 @@ async function runConfigSet(opts) {
|
|
|
294
294
|
}
|
|
295
295
|
function registerConfigCli(program) {
|
|
296
296
|
const cmd = program.command("config").description("Read, write, and manage ANIMA configuration").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/config", "docs.noxsoft.net/anima/cli/config")}\n`).option("--section <section>", "Configure wizard sections (repeatable). Use with no subcommand.", (value, previous) => [...previous, value], []).action(async (opts) => {
|
|
297
|
-
const { CONFIGURE_WIZARD_SECTIONS, configureCommand, configureCommandWithSections, parseConfigureWizardSections } = await import("./configure-
|
|
297
|
+
const { CONFIGURE_WIZARD_SECTIONS, configureCommand, configureCommandWithSections, parseConfigureWizardSections } = await import("./configure-BHdbhvvf.js");
|
|
298
298
|
const { sections, invalid } = parseConfigureWizardSections(opts.section);
|
|
299
299
|
if (sections.length === 0) {
|
|
300
300
|
await configureCommand(defaultRuntime);
|
|
@@ -2,26 +2,26 @@ import { R as CONFIG_PATH, h as defaultRuntime, q as resolveGatewayPort } from "
|
|
|
2
2
|
import { h as normalizeSecretInput, l as ensureAuthProfileStore } from "./auth-profiles-Bl1ly3l-.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-B9HGdNTg.js";
|
|
4
4
|
import { S as shortenHomePath, y as resolveUserPath } from "./utils-DwcweD55.js";
|
|
5
|
-
import { t as buildWorkspaceSkillStatus } from "./skills-status-
|
|
6
|
-
import { i as readConfigFileSnapshot, n as loadConfig, s as writeConfigFile } from "./io-
|
|
5
|
+
import { t as buildWorkspaceSkillStatus } from "./skills-status-H7e--DXr.js";
|
|
6
|
+
import { i as readConfigFileSnapshot, n as loadConfig, s as writeConfigFile } from "./io-iWIjWIkl.js";
|
|
7
7
|
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-zFmidMaf.js";
|
|
8
8
|
import { p as findTailscaleBinary } from "./auth-FzNxH03k.js";
|
|
9
9
|
import { n as withProgress } from "./progress-IbQIsvcD.js";
|
|
10
|
-
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-
|
|
11
|
-
import { _ as summarizeExistingConfig, a as ensureWorkspaceAndSessions, f as printWizardHeader, g as resolveNodeManagerOptions, h as resolveControlUiLinks, m as randomToken, n as applyWizardMetadata, p as probeGatewayReachable, r as detectBinary, s as guardCancel, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput, v as validateGatewayPasswordInput, y as waitForGatewayReachable } from "./onboard-helpers-
|
|
10
|
+
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-RjPFjiQt.js";
|
|
11
|
+
import { _ as summarizeExistingConfig, a as ensureWorkspaceAndSessions, f as printWizardHeader, g as resolveNodeManagerOptions, h as resolveControlUiLinks, m as randomToken, n as applyWizardMetadata, p as probeGatewayReachable, r as detectBinary, s as guardCancel, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput, v as validateGatewayPasswordInput, y as waitForGatewayReachable } from "./onboard-helpers-C8-npM73.js";
|
|
12
12
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-CtqNME6o.js";
|
|
13
13
|
import { t as resolveGatewayService } from "./service-Df_H0-VH.js";
|
|
14
14
|
import { n as resolveWideAreaDiscoveryDomain } from "./widearea-dns-Bg5y7TWc.js";
|
|
15
|
-
import { n as discoverGatewayBeacons, t as installSkill } from "./skills-install-
|
|
16
|
-
import { r as healthCommand } from "./health-
|
|
15
|
+
import { n as discoverGatewayBeacons, t as installSkill } from "./skills-install-1LM_zHZp.js";
|
|
16
|
+
import { r as healthCommand } from "./health-DHDWvsfA.js";
|
|
17
17
|
import { n as ensureControlUiAssetsBuilt, t as formatHealthCheckFailure } from "./health-format-DikxNm9W.js";
|
|
18
|
-
import { a as applyModelFallbacksFromSelection, c as promptModelAllowlist, i as applyModelAllowlist, l as promptAuthChoiceGrouped, o as applyPrimaryModel, r as applyAuthChoice, s as promptDefaultModel, t as resolvePreferredProviderForAuthChoice } from "./auth-choice-
|
|
18
|
+
import { a as applyModelFallbacksFromSelection, c as promptModelAllowlist, i as applyModelAllowlist, l as promptAuthChoiceGrouped, o as applyPrimaryModel, r as applyAuthChoice, s as promptDefaultModel, t as resolvePreferredProviderForAuthChoice } from "./auth-choice-uTkXmBsF.js";
|
|
19
19
|
import { t as WizardCancelledError } from "./prompts-C2Ix0I5o.js";
|
|
20
20
|
import { n as logConfigUpdated } from "./logging-DMCxh6UT.js";
|
|
21
21
|
import { t as note$1 } from "./note-BwhOxUoJ.js";
|
|
22
22
|
import { t as validateIPv4AddressInput } from "./ipv4-Dya3HKmh.js";
|
|
23
23
|
import { t as createClackPrompter } from "./clack-prompter-BHyHNf9y.js";
|
|
24
|
-
import { n as setupChannels, t as noteChannelStatus } from "./onboard-channels-
|
|
24
|
+
import { n as setupChannels, t as noteChannelStatus } from "./onboard-channels-CvE0fndb.js";
|
|
25
25
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-BV9rUksz.js";
|
|
26
26
|
import { confirm, intro, outro, select, text } from "@clack/prompts";
|
|
27
27
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as __exportAll } from "./chunk-BXK9XSlF.js";
|
|
2
2
|
import { o as createSubsystemLogger } from "./entry.js";
|
|
3
|
-
import { n as loadConfig } from "./io-
|
|
3
|
+
import { n as loadConfig } from "./io-iWIjWIkl.js";
|
|
4
4
|
import { _ as ensureChromeExtensionRelayServer } from "./chrome-ghYAPiTX.js";
|
|
5
|
-
import { a as resolveBrowserConfig, m as ensureBrowserControlAuth, n as listKnownProfileNames, o as resolveProfile, t as createBrowserRouteContext } from "./server-context-
|
|
5
|
+
import { a as resolveBrowserConfig, m as ensureBrowserControlAuth, n as listKnownProfileNames, o as resolveProfile, t as createBrowserRouteContext } from "./server-context-B0zBRUkt.js";
|
|
6
6
|
|
|
7
7
|
//#region src/browser/control-service.ts
|
|
8
8
|
var control_service_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -5,11 +5,11 @@ import "./exec-Dmz2Tr6K.js";
|
|
|
5
5
|
import "./agent-scope-QT1urvJx.js";
|
|
6
6
|
import "./model-selection-01zouBRC.js";
|
|
7
7
|
import "./manifest-registry-BHcAJo9u.js";
|
|
8
|
-
import "./io-
|
|
8
|
+
import "./io-iWIjWIkl.js";
|
|
9
9
|
import "./shell-env-DAw9qXji.js";
|
|
10
|
-
import "./config-
|
|
10
|
+
import "./config-BqjdiIqb.js";
|
|
11
11
|
import "./client-Dz6cszHd.js";
|
|
12
|
-
import "./call-
|
|
12
|
+
import "./call-CdAIguFD.js";
|
|
13
13
|
import "./message-channel-BiajZfgz.js";
|
|
14
14
|
import { n as listChannelPlugins } from "./plugins-zFmidMaf.js";
|
|
15
15
|
import { n as formatDurationHuman } from "./format-duration-RY4rhz_Z.js";
|
|
@@ -17,7 +17,7 @@ import { t as formatDocsLink } from "./links-DtaFNkkY.js";
|
|
|
17
17
|
import "./progress-IbQIsvcD.js";
|
|
18
18
|
import { t as parseAbsoluteTimeMs } from "./parse-nANz-Y9N.js";
|
|
19
19
|
import { n as parsePositiveIntOrUndefined } from "./helpers-xCg96Vkw.js";
|
|
20
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
20
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-UUEXPkWC.js";
|
|
21
21
|
|
|
22
22
|
//#region src/cli/cron-cli/shared.ts
|
|
23
23
|
const getCronChannelOptions = () => ["last", ...listChannelPlugins().map((plugin) => plugin.id)].join("|");
|
|
@@ -2,9 +2,9 @@ import { n as __exportAll } from "./chunk-BXK9XSlF.js";
|
|
|
2
2
|
import { A as colorize, F as getResolvedLoggerSettings, J as resolveIsNixMode, M as theme, U as resolveConfigPath, Z as resolveStateDir, h as defaultRuntime, j as isRich, q as resolveGatewayPort } from "./entry.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-B9HGdNTg.js";
|
|
4
4
|
import { S as shortenHomePath } from "./utils-DwcweD55.js";
|
|
5
|
-
import { i as readConfigFileSnapshot, n as loadConfig, s as writeConfigFile, t as createConfigIO } from "./io-
|
|
5
|
+
import { i as readConfigFileSnapshot, n as loadConfig, s as writeConfigFile, t as createConfigIO } from "./io-iWIjWIkl.js";
|
|
6
6
|
import { t as pickPrimaryTailnetIPv4 } from "./tailnet-BfvykhPh.js";
|
|
7
|
-
import { n as callGateway } from "./call-
|
|
7
|
+
import { n as callGateway } from "./call-CdAIguFD.js";
|
|
8
8
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-BiajZfgz.js";
|
|
9
9
|
import { c as resolveGatewayBindHost } from "./net-BnxQUp32.js";
|
|
10
10
|
import { i as resolveGatewayAuth } from "./auth-FzNxH03k.js";
|
|
@@ -12,15 +12,15 @@ import { i as formatPortDiagnostics, n as inspectPortUsage } from "./ports-D7xIe
|
|
|
12
12
|
import { t as formatDocsLink } from "./links-DtaFNkkY.js";
|
|
13
13
|
import { n as withProgress } from "./progress-IbQIsvcD.js";
|
|
14
14
|
import { d as resolveGatewaySystemdServiceName, l as resolveGatewayLaunchAgentLabel } from "./constants-P5ZvbYA7.js";
|
|
15
|
-
import { i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-
|
|
16
|
-
import { h as resolveControlUiLinks, m as randomToken } from "./onboard-helpers-
|
|
15
|
+
import { i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-RjPFjiQt.js";
|
|
16
|
+
import { h as resolveControlUiLinks, m as randomToken } from "./onboard-helpers-C8-npM73.js";
|
|
17
17
|
import { n as isWSLEnv } from "./wsl-BuHG4oQZ.js";
|
|
18
18
|
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-Df_H0-VH.js";
|
|
19
19
|
import { a as filterDaemonEnv, c as pickProbeHostForBind, d as safeDaemonEnv, f as buildDaemonServiceSnapshot, i as runServiceUninstall, l as renderGatewayServiceStartHints, n as runServiceStart, o as normalizeListenerAddress, p as createDaemonActionContext, r as runServiceStop, s as parsePortFromArgs, t as runServiceRestart, u as renderRuntimeHints } from "./lifecycle-core-BAgYqtjQ.js";
|
|
20
20
|
import { n as renderSystemdUnavailableHints, r as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-Der7vKos.js";
|
|
21
21
|
import { t as parsePort } from "./parse-port-BfMN_ADA.js";
|
|
22
22
|
import { t as readLastGatewayErrorLine } from "./diagnostics-DUEfwTso.js";
|
|
23
|
-
import { a as renderGatewayServiceCleanupHints, i as findExtraGatewayServices, n as auditGatewayServiceConfig } from "./service-audit-
|
|
23
|
+
import { a as renderGatewayServiceCleanupHints, i as findExtraGatewayServices, n as auditGatewayServiceConfig } from "./service-audit-BwLKMovx.js";
|
|
24
24
|
|
|
25
25
|
//#region src/cli/daemon-cli/install.ts
|
|
26
26
|
async function runDaemonInstall(opts) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as formatCliCommand } from "./command-format-B9HGdNTg.js";
|
|
2
|
-
import { O as collectConfigEnvVars, j as VERSION } from "./io-
|
|
2
|
+
import { O as collectConfigEnvVars, j as VERSION } from "./io-iWIjWIkl.js";
|
|
3
3
|
import { a as NODE_SERVICE_MARKER, d as resolveGatewaySystemdServiceName, g as resolveNodeWindowsTaskName, h as resolveNodeSystemdServiceName, i as NODE_SERVICE_KIND, l as resolveGatewayLaunchAgentLabel, m as resolveNodeLaunchAgentLabel, n as GATEWAY_SERVICE_KIND, o as NODE_WINDOWS_TASK_SCRIPT_NAME, r as GATEWAY_SERVICE_MARKER } from "./constants-P5ZvbYA7.js";
|
|
4
4
|
import { n as isSupportedNodeVersion } from "./runtime-guard-CPcNpD_J.js";
|
|
5
5
|
import { execFile } from "node:child_process";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as __exportAll } from "./chunk-BXK9XSlF.js";
|
|
2
2
|
import { s as resolveStateDir } from "./paths-B-AkG5FD.js";
|
|
3
3
|
import { p as getActivePluginRegistry, t as createSubsystemLogger } from "./subsystem-BlEuMJjX.js";
|
|
4
|
-
import { $ as appendAssistantMessageToSessionTranscript, Mt as isSilentReplyText, Tt as getChannelDock, d as isMessagingToolDuplicate, et as resolveMirroredTranscriptText, jt as SILENT_REPLY_TOKEN } from "./pi-embedded-helpers-
|
|
4
|
+
import { $ as appendAssistantMessageToSessionTranscript, Mt as isSilentReplyText, Tt as getChannelDock, d as isMessagingToolDuplicate, et as resolveMirroredTranscriptText, jt as SILENT_REPLY_TOKEN } from "./pi-embedded-helpers-g9om0xJ7.js";
|
|
5
5
|
import { C as normalizeChannelId, x as getChannelPlugin } from "./image-ops-B9l57jLE.js";
|
|
6
6
|
import { c as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, l as parseFenceSpans, n as chunkByParagraph, s as resolveChunkMode } from "./chunk-uuju6yOD.js";
|
|
7
7
|
import path from "node:path";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as __exportAll } from "./chunk-BXK9XSlF.js";
|
|
2
2
|
import { lt as getActivePluginRegistry, o as createSubsystemLogger } from "./entry.js";
|
|
3
|
-
import { E as getChannelDock, n as appendAssistantMessageToSessionTranscript, r as resolveMirroredTranscriptText } from "./sessions-
|
|
3
|
+
import { E as getChannelDock, n as appendAssistantMessageToSessionTranscript, r as resolveMirroredTranscriptText } from "./sessions-B090A8HC.js";
|
|
4
4
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-zFmidMaf.js";
|
|
5
5
|
import { f as isMessagingToolDuplicate } from "./pi-embedded-helpers-DzLrWN23.js";
|
|
6
6
|
import { n as SILENT_REPLY_TOKEN, r as isSilentReplyText } from "./tokens-DCf522am.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as escapeRegExp } from "./utils-DwcweD55.js";
|
|
2
|
-
import { t as registerBrowserRoutes } from "./routes-
|
|
2
|
+
import { t as registerBrowserRoutes } from "./routes-Cmc5ZQhi.js";
|
|
3
3
|
|
|
4
4
|
//#region src/browser/routes/dispatcher.ts
|
|
5
5
|
function compileRoute(path) {
|
|
@@ -4,9 +4,9 @@ import "./exec-Dmz2Tr6K.js";
|
|
|
4
4
|
import "./agent-scope-QT1urvJx.js";
|
|
5
5
|
import "./model-selection-01zouBRC.js";
|
|
6
6
|
import "./manifest-registry-BHcAJo9u.js";
|
|
7
|
-
import { n as loadConfig } from "./io-
|
|
7
|
+
import { n as loadConfig } from "./io-iWIjWIkl.js";
|
|
8
8
|
import "./shell-env-DAw9qXji.js";
|
|
9
|
-
import "./config-
|
|
9
|
+
import "./config-BqjdiIqb.js";
|
|
10
10
|
import { n as pickPrimaryTailnetIPv6, t as pickPrimaryTailnetIPv4 } from "./tailnet-BfvykhPh.js";
|
|
11
11
|
import { t as formatDocsLink } from "./links-DtaFNkkY.js";
|
|
12
12
|
import { n as resolveWideAreaDiscoveryDomain, t as getWideAreaZonePath } from "./widearea-dns-Bg5y7TWc.js";
|
|
@@ -2,7 +2,7 @@ import { M as theme, h as defaultRuntime, j as isRich } from "./entry.js";
|
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-B9HGdNTg.js";
|
|
3
3
|
import "./utils-DwcweD55.js";
|
|
4
4
|
import { t as runCommandWithTimeout } from "./exec-Dmz2Tr6K.js";
|
|
5
|
-
import { x as hasBinary } from "./skills-
|
|
5
|
+
import { x as hasBinary } from "./skills-C4C8s_X9.js";
|
|
6
6
|
import "./manifest-registry-BHcAJo9u.js";
|
|
7
7
|
import { t as formatDocsLink } from "./links-DtaFNkkY.js";
|
|
8
8
|
import { t as runCommandWithRuntime } from "./cli-utils-BcbWvLzf.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as resolveCliName } from "./command-format-B9HGdNTg.js";
|
|
2
2
|
import { t as resolveAnimaPackageRoot } from "./anima-root-DBcJL1ZM.js";
|
|
3
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
3
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-DXr9R51W.js";
|
|
4
4
|
import { t as note } from "./note-BwhOxUoJ.js";
|
|
5
5
|
import { spawnSync } from "node:child_process";
|
|
6
6
|
import path from "node:path";
|
|
@@ -3,15 +3,15 @@ import { t as formatCliCommand } from "./command-format-B9HGdNTg.js";
|
|
|
3
3
|
import { i as buildAgentMainSessionKey, l as normalizeAgentId, r as DEFAULT_MAIN_KEY, t as DEFAULT_ACCOUNT_ID } from "./session-key-DP2WHl90.js";
|
|
4
4
|
import { _ as resolveHomeDir, d as isRecord } from "./utils-DwcweD55.js";
|
|
5
5
|
import { c as resolveDefaultAgentId } from "./agent-scope-QT1urvJx.js";
|
|
6
|
-
import { i as readConfigFileSnapshot, l as AnimaSchema } from "./io-
|
|
7
|
-
import { n as migrateLegacyConfig } from "./config-
|
|
8
|
-
import { s as saveSessionStore, y as canonicalizeMainSessionAlias } from "./sessions-
|
|
6
|
+
import { i as readConfigFileSnapshot, l as AnimaSchema } from "./io-iWIjWIkl.js";
|
|
7
|
+
import { n as migrateLegacyConfig } from "./config-BqjdiIqb.js";
|
|
8
|
+
import { s as saveSessionStore, y as canonicalizeMainSessionAlias } from "./sessions-B090A8HC.js";
|
|
9
9
|
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-BTi8mF_C.js";
|
|
10
10
|
import { t as note } from "./note-BwhOxUoJ.js";
|
|
11
11
|
import os from "node:os";
|
|
12
12
|
import path from "node:path";
|
|
13
13
|
import fs from "node:fs";
|
|
14
|
-
import
|
|
14
|
+
import json5 from "json5";
|
|
15
15
|
import fs$1 from "node:fs/promises";
|
|
16
16
|
|
|
17
17
|
//#region src/commands/doctor-legacy-config.ts
|
|
@@ -216,7 +216,7 @@ function isLegacyWhatsAppAuthFile(name) {
|
|
|
216
216
|
function readSessionStoreJson5(storePath) {
|
|
217
217
|
try {
|
|
218
218
|
const raw = fs.readFileSync(storePath, "utf-8");
|
|
219
|
-
const parsed =
|
|
219
|
+
const parsed = json5.parse(raw);
|
|
220
220
|
if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return {
|
|
221
221
|
store: parsed,
|
|
222
222
|
ok: true
|
|
@@ -6,40 +6,40 @@ import { n as runExec, t as runCommandWithTimeout } from "./exec-Dmz2Tr6K.js";
|
|
|
6
6
|
import { t as resolveAnimaPackageRoot } from "./anima-root-DBcJL1ZM.js";
|
|
7
7
|
import { c as resolveDefaultAgentId, d as DEFAULT_AGENTS_FILENAME, r as resolveAgentDir, s as resolveAgentWorkspaceDir } from "./agent-scope-QT1urvJx.js";
|
|
8
8
|
import { _ as DEFAULT_MODEL, d as resolveConfiguredModelRef, i as getModelRefStatus, p as resolveHooksGmailModel, v as DEFAULT_PROVIDER } from "./model-selection-01zouBRC.js";
|
|
9
|
-
import { t as buildWorkspaceSkillStatus } from "./skills-status-
|
|
10
|
-
import { i as readConfigFileSnapshot, s as writeConfigFile } from "./io-
|
|
11
|
-
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-
|
|
9
|
+
import { t as buildWorkspaceSkillStatus } from "./skills-status-H7e--DXr.js";
|
|
10
|
+
import { i as readConfigFileSnapshot, s as writeConfigFile } from "./io-iWIjWIkl.js";
|
|
11
|
+
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-CdAIguFD.js";
|
|
12
12
|
import { c as resolveGatewayBindHost, n as isLoopbackHost } from "./net-BnxQUp32.js";
|
|
13
|
-
import { S as resolveMainSessionKey, i as loadSessionStore } from "./sessions-
|
|
13
|
+
import { S as resolveMainSessionKey, i as loadSessionStore } from "./sessions-B090A8HC.js";
|
|
14
14
|
import { n as listChannelPlugins } from "./plugins-zFmidMaf.js";
|
|
15
|
-
import { C as DEFAULT_SANDBOX_IMAGE, S as DEFAULT_SANDBOX_COMMON_IMAGE, l as resolveSandboxScope, x as DEFAULT_SANDBOX_BROWSER_IMAGE } from "./sandbox-
|
|
15
|
+
import { C as DEFAULT_SANDBOX_IMAGE, S as DEFAULT_SANDBOX_COMMON_IMAGE, l as resolveSandboxScope, x as DEFAULT_SANDBOX_BROWSER_IMAGE } from "./sandbox-gSH3_12R.js";
|
|
16
16
|
import { i as resolveGatewayAuth } from "./auth-FzNxH03k.js";
|
|
17
17
|
import { i as formatPortDiagnostics, n as inspectPortUsage } from "./ports-D7xIe6xi.js";
|
|
18
18
|
import { c as resolveStorePath, n as resolveSessionFilePath, s as resolveSessionTranscriptsDirForAgent } from "./paths-BEkHcryg.js";
|
|
19
|
-
import { Yt as loadModelCatalog } from "./cli-session-
|
|
20
|
-
import { J as loadAnimaPlugins } from "./reply-
|
|
19
|
+
import { Yt as loadModelCatalog } from "./cli-session-CfTs7I9q.js";
|
|
20
|
+
import { J as loadAnimaPlugins } from "./reply-CDFwIHRO.js";
|
|
21
21
|
import { i as resolveApiKeyForProvider } from "./model-auth-ajey777y.js";
|
|
22
|
-
import { l as readChannelAllowFromStore } from "./pi-tools.policy-
|
|
22
|
+
import { l as readChannelAllowFromStore } from "./pi-tools.policy-B4I325aj.js";
|
|
23
23
|
import { n as resolveMemorySearchConfig } from "./manager-z25H5SAC.js";
|
|
24
24
|
import { d as resolveGatewaySystemdServiceName, f as resolveGatewayWindowsTaskName, l as resolveGatewayLaunchAgentLabel, m as resolveNodeLaunchAgentLabel } from "./constants-P5ZvbYA7.js";
|
|
25
|
-
import { a as gatewayInstallErrorHint, d as renderSystemNodeWarning, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, p as resolveSystemNodeInfo, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-
|
|
26
|
-
import { f as printWizardHeader, m as randomToken, n as applyWizardMetadata, s as guardCancel } from "./onboard-helpers-
|
|
25
|
+
import { a as gatewayInstallErrorHint, d as renderSystemNodeWarning, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, p as resolveSystemNodeInfo, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-RjPFjiQt.js";
|
|
26
|
+
import { f as printWizardHeader, m as randomToken, n as applyWizardMetadata, s as guardCancel } from "./onboard-helpers-C8-npM73.js";
|
|
27
27
|
import { n as isWSLEnv, t as isWSL } from "./wsl-BuHG4oQZ.js";
|
|
28
28
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-CtqNME6o.js";
|
|
29
29
|
import { r as isSystemdUserServiceAvailable } from "./systemd-DMnpU3vJ.js";
|
|
30
30
|
import { a as launchAgentPlistExists, i as isLaunchAgentLoaded, o as repairLaunchAgentBootstrap, r as isLaunchAgentListed, s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-Df_H0-VH.js";
|
|
31
31
|
import { n as renderSystemdUnavailableHints, r as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-Der7vKos.js";
|
|
32
32
|
import { t as readLastGatewayErrorLine } from "./diagnostics-DUEfwTso.js";
|
|
33
|
-
import { a as renderGatewayServiceCleanupHints, i as findExtraGatewayServices, n as auditGatewayServiceConfig, r as needsNodeRuntimeMigration, t as SERVICE_AUDIT_CODES } from "./service-audit-
|
|
33
|
+
import { a as renderGatewayServiceCleanupHints, i as findExtraGatewayServices, n as auditGatewayServiceConfig, r as needsNodeRuntimeMigration, t as SERVICE_AUDIT_CODES } from "./service-audit-BwLKMovx.js";
|
|
34
34
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BUW2xtvb.js";
|
|
35
|
-
import { r as healthCommand } from "./health-
|
|
35
|
+
import { r as healthCommand } from "./health-DHDWvsfA.js";
|
|
36
36
|
import { i as resolveControlUiDistIndexPathForRoot, r as resolveControlUiDistIndexHealth, t as formatHealthCheckFailure } from "./health-format-DikxNm9W.js";
|
|
37
37
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-Brky9enJ.js";
|
|
38
38
|
import { n as logConfigUpdated } from "./logging-DMCxh6UT.js";
|
|
39
39
|
import { t as note$1 } from "./note-BwhOxUoJ.js";
|
|
40
|
-
import { n as doctorShellCompletion } from "./doctor-completion-
|
|
41
|
-
import { t as runGatewayUpdate } from "./update-runner-
|
|
42
|
-
import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-
|
|
40
|
+
import { n as doctorShellCompletion } from "./doctor-completion-DmQMefih.js";
|
|
41
|
+
import { t as runGatewayUpdate } from "./update-runner-B1Y2OBKb.js";
|
|
42
|
+
import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-D-6JwPG8.js";
|
|
43
43
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-BV9rUksz.js";
|
|
44
44
|
import { n as buildAuthHealthSummary, r as formatRemainingShort, t as DEFAULT_OAUTH_WARN_MS } from "./auth-health-B_3wexOu.js";
|
|
45
45
|
import { execFile } from "node:child_process";
|
package/dist/entry.js
CHANGED
|
@@ -7,7 +7,7 @@ import path from "node:path";
|
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
import chalk, { Chalk } from "chalk";
|
|
9
9
|
import { Logger } from "tslog";
|
|
10
|
-
import
|
|
10
|
+
import json5 from "json5";
|
|
11
11
|
import util from "node:util";
|
|
12
12
|
|
|
13
13
|
//#region src/infra/home-dir.ts
|
|
@@ -624,7 +624,7 @@ function readLoggingConfig() {
|
|
|
624
624
|
try {
|
|
625
625
|
if (!fs.existsSync(configPath)) return;
|
|
626
626
|
const raw = fs.readFileSync(configPath, "utf-8");
|
|
627
|
-
const logging =
|
|
627
|
+
const logging = json5.parse(raw)?.logging;
|
|
628
628
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
629
629
|
return logging;
|
|
630
630
|
} catch {
|
|
@@ -1509,7 +1509,7 @@ if (!ensureExperimentalWarningSuppressed()) {
|
|
|
1509
1509
|
applyCliProfileEnv({ profile: parsed.profile });
|
|
1510
1510
|
process$1.argv = parsed.argv;
|
|
1511
1511
|
}
|
|
1512
|
-
import("./run-main-
|
|
1512
|
+
import("./run-main-5ODo8rXB.js").then(({ runCli }) => runCli(process$1.argv)).catch((error) => {
|
|
1513
1513
|
console.error("[anima] Failed to start CLI:", error instanceof Error ? error.stack ?? error.message : error);
|
|
1514
1514
|
process$1.exitCode = 1;
|
|
1515
1515
|
});
|
|
@@ -4,23 +4,23 @@ import "./exec-Dmz2Tr6K.js";
|
|
|
4
4
|
import "./agent-scope-QT1urvJx.js";
|
|
5
5
|
import "./model-selection-01zouBRC.js";
|
|
6
6
|
import "./manifest-registry-BHcAJo9u.js";
|
|
7
|
-
import "./io-
|
|
7
|
+
import "./io-iWIjWIkl.js";
|
|
8
8
|
import "./shell-env-DAw9qXji.js";
|
|
9
|
-
import "./config-
|
|
9
|
+
import "./config-BqjdiIqb.js";
|
|
10
10
|
import "./client-Dz6cszHd.js";
|
|
11
|
-
import { n as callGateway } from "./call-
|
|
11
|
+
import { n as callGateway } from "./call-CdAIguFD.js";
|
|
12
12
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-BiajZfgz.js";
|
|
13
13
|
import { p as saveExecApprovals, s as readExecApprovalsSnapshot } from "./exec-approvals-WuHCaecR.js";
|
|
14
14
|
import { t as resolveNodeIdFromCandidates } from "./node-match-BHCCdrYx.js";
|
|
15
15
|
import { n as formatTimeAgo } from "./format-relative-D4GQsWlP.js";
|
|
16
16
|
import { t as formatDocsLink } from "./links-DtaFNkkY.js";
|
|
17
17
|
import { n as withProgress } from "./progress-IbQIsvcD.js";
|
|
18
|
-
import { n as callGatewayFromCli } from "./gateway-rpc-
|
|
18
|
+
import { n as callGatewayFromCli } from "./gateway-rpc-UUEXPkWC.js";
|
|
19
19
|
import "./systemd-DMnpU3vJ.js";
|
|
20
20
|
import "./service-Df_H0-VH.js";
|
|
21
21
|
import { t as renderTable } from "./table-C2NJJLb2.js";
|
|
22
22
|
import { t as describeUnknownError } from "./shared-CYr8czrP.js";
|
|
23
|
-
import
|
|
23
|
+
import json5 from "json5";
|
|
24
24
|
import fs from "node:fs/promises";
|
|
25
25
|
|
|
26
26
|
//#region src/cli/nodes-cli/format.ts
|
|
@@ -320,7 +320,7 @@ function registerExecApprovalsCli(program) {
|
|
|
320
320
|
const raw = opts.stdin ? await readStdin() : await fs.readFile(String(opts.file), "utf8");
|
|
321
321
|
let file;
|
|
322
322
|
try {
|
|
323
|
-
file =
|
|
323
|
+
file = json5.parse(raw);
|
|
324
324
|
} catch (err) {
|
|
325
325
|
exitWithError(`Failed to parse approvals JSON: ${String(err)}`);
|
|
326
326
|
}
|