@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
|
@@ -7,26 +7,26 @@ import "./model-selection-01zouBRC.js";
|
|
|
7
7
|
import "./file-lock-CxXn285m.js";
|
|
8
8
|
import "./agent-paths-CrZhIsTW.js";
|
|
9
9
|
import "./pi-model-discovery-DgwvfEmd.js";
|
|
10
|
-
import "./skills-
|
|
10
|
+
import "./skills-C4C8s_X9.js";
|
|
11
11
|
import "./manifest-registry-BHcAJo9u.js";
|
|
12
|
-
import "./skills-status-
|
|
13
|
-
import { i as readConfigFileSnapshot } from "./io-
|
|
12
|
+
import "./skills-status-H7e--DXr.js";
|
|
13
|
+
import { i as readConfigFileSnapshot } from "./io-iWIjWIkl.js";
|
|
14
14
|
import "./shell-env-DAw9qXji.js";
|
|
15
|
-
import "./config-
|
|
15
|
+
import "./config-BqjdiIqb.js";
|
|
16
16
|
import "./client-Dz6cszHd.js";
|
|
17
|
-
import "./call-
|
|
17
|
+
import "./call-CdAIguFD.js";
|
|
18
18
|
import "./message-channel-BiajZfgz.js";
|
|
19
19
|
import "./timeout-CXND7zJu.js";
|
|
20
|
-
import "./sessions-
|
|
21
|
-
import "./subagent-registry-
|
|
20
|
+
import "./sessions-B090A8HC.js";
|
|
21
|
+
import "./subagent-registry-Dc6tpkgu.js";
|
|
22
22
|
import "./identity-CflMRbky.js";
|
|
23
23
|
import "./plugins-zFmidMaf.js";
|
|
24
24
|
import "./pi-embedded-helpers-DzLrWN23.js";
|
|
25
|
-
import "./sandbox-
|
|
25
|
+
import "./sandbox-gSH3_12R.js";
|
|
26
26
|
import "./chrome-ghYAPiTX.js";
|
|
27
27
|
import "./auth-FzNxH03k.js";
|
|
28
|
-
import "./server-context-
|
|
29
|
-
import "./routes-
|
|
28
|
+
import "./server-context-B0zBRUkt.js";
|
|
29
|
+
import "./routes-Cmc5ZQhi.js";
|
|
30
30
|
import "./image-ops-O-_KYHXN.js";
|
|
31
31
|
import "./ports-D7xIe6xi.js";
|
|
32
32
|
import "./paths-BEkHcryg.js";
|
|
@@ -36,15 +36,15 @@ import "./media-BrtQHQhO.js";
|
|
|
36
36
|
import "./chunk-ChJt8EsD.js";
|
|
37
37
|
import "./common-BGjkU4kk.js";
|
|
38
38
|
import "./noxsoft-auth-Bqo9l6Li.js";
|
|
39
|
-
import "./control-service-
|
|
40
|
-
import "./cli-session-
|
|
41
|
-
import "./reply-
|
|
39
|
+
import "./control-service-BZzmO7c_.js";
|
|
40
|
+
import "./cli-session-CfTs7I9q.js";
|
|
41
|
+
import "./reply-CDFwIHRO.js";
|
|
42
42
|
import "./model-auth-ajey777y.js";
|
|
43
|
-
import "./context-
|
|
44
|
-
import "./parse-timeout-
|
|
45
|
-
import "./deliver-
|
|
46
|
-
import "./pi-tools.policy-
|
|
47
|
-
import "./memory-cli-
|
|
43
|
+
import "./context-D3iu8n-R.js";
|
|
44
|
+
import "./parse-timeout-BVEX2Lz1.js";
|
|
45
|
+
import "./deliver-JdSpxDGI.js";
|
|
46
|
+
import "./pi-tools.policy-B4I325aj.js";
|
|
47
|
+
import "./memory-cli-BIi9M09T.js";
|
|
48
48
|
import "./manager-z25H5SAC.js";
|
|
49
49
|
import "./sqlite-B5LCMIbh.js";
|
|
50
50
|
import "./redact-Bk0VS_m7.js";
|
|
@@ -56,22 +56,22 @@ import { t as formatDocsLink } from "./links-DtaFNkkY.js";
|
|
|
56
56
|
import "./progress-IbQIsvcD.js";
|
|
57
57
|
import "./logging-DhWghNIK.js";
|
|
58
58
|
import "./auth-store-6mqMhd96.js";
|
|
59
|
-
import "./dispatcher-
|
|
59
|
+
import "./dispatcher-B8eU53gY.js";
|
|
60
60
|
import "./delivery-queue-bafdRh4B.js";
|
|
61
61
|
import "./session-cost-usage-D2RKVFwJ.js";
|
|
62
62
|
import "./accounts-D_Or1tM0.js";
|
|
63
|
-
import "./daemon-runtime-
|
|
64
|
-
import "./onboard-helpers-
|
|
63
|
+
import "./daemon-runtime-RjPFjiQt.js";
|
|
64
|
+
import "./onboard-helpers-C8-npM73.js";
|
|
65
65
|
import "./prompt-style-CtqNME6o.js";
|
|
66
66
|
import "./systemd-DMnpU3vJ.js";
|
|
67
67
|
import "./service-Df_H0-VH.js";
|
|
68
68
|
import "./widearea-dns-Bg5y7TWc.js";
|
|
69
|
-
import "./skills-install-
|
|
70
|
-
import "./health-
|
|
69
|
+
import "./skills-install-1LM_zHZp.js";
|
|
70
|
+
import "./health-DHDWvsfA.js";
|
|
71
71
|
import "./catalog-BLrEgoPa.js";
|
|
72
72
|
import "./plugin-auto-enable-BTi8mF_C.js";
|
|
73
73
|
import "./health-format-DikxNm9W.js";
|
|
74
|
-
import "./auth-choice-
|
|
74
|
+
import "./auth-choice-uTkXmBsF.js";
|
|
75
75
|
import "./prompts-C2Ix0I5o.js";
|
|
76
76
|
import "./logging-DMCxh6UT.js";
|
|
77
77
|
import "./note-BwhOxUoJ.js";
|
|
@@ -80,10 +80,10 @@ import "./archive-CNqghdwQ.js";
|
|
|
80
80
|
import "./npm-registry-spec-CzobuF_v.js";
|
|
81
81
|
import "./installs-CdufPfQa.js";
|
|
82
82
|
import "./clack-prompter-BHyHNf9y.js";
|
|
83
|
-
import "./onboard-channels-
|
|
84
|
-
import { a as CONFIGURE_WIZARD_SECTIONS, n as configureCommandWithSections, o as parseConfigureWizardSections } from "./configure-
|
|
83
|
+
import "./onboard-channels-CvE0fndb.js";
|
|
84
|
+
import { a as CONFIGURE_WIZARD_SECTIONS, n as configureCommandWithSections, o as parseConfigureWizardSections } from "./configure-DeN_4KMQ.js";
|
|
85
85
|
import "./systemd-linger-BV9rUksz.js";
|
|
86
|
-
import { i as runConfigUnset, n as runConfigGet, r as runConfigSet } from "./configure-
|
|
86
|
+
import { i as runConfigUnset, n as runConfigGet, r as runConfigSet } from "./configure-BHdbhvvf.js";
|
|
87
87
|
|
|
88
88
|
//#region src/cli/settings-cli.ts
|
|
89
89
|
const GATEWAY_SETTINGS_SECTIONS = [
|
|
@@ -5,7 +5,7 @@ import { c as resolveEnableState, f as LEGACY_MANIFEST_KEYS, l as resolveMemoryS
|
|
|
5
5
|
import os from "node:os";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import fs from "node:fs";
|
|
8
|
-
import
|
|
8
|
+
import json5 from "json5";
|
|
9
9
|
import fs$1 from "node:fs/promises";
|
|
10
10
|
import { fileURLToPath } from "node:url";
|
|
11
11
|
import { formatSkillsForPrompt, loadSkillsFromDir } from "@mariozechner/pi-coding-agent";
|
|
@@ -193,7 +193,7 @@ function resolveAnimaManifestBlock(params) {
|
|
|
193
193
|
const raw = getFrontmatterString(params.frontmatter, params.key ?? "metadata");
|
|
194
194
|
if (!raw) return;
|
|
195
195
|
try {
|
|
196
|
-
const parsed =
|
|
196
|
+
const parsed = json5.parse(raw);
|
|
197
197
|
if (!parsed || typeof parsed !== "object") return;
|
|
198
198
|
const manifestKeys = [MANIFEST_KEY, ...LEGACY_MANIFEST_KEYS];
|
|
199
199
|
for (const key of manifestKeys) {
|
|
@@ -5,9 +5,9 @@ import "./exec-Dmz2Tr6K.js";
|
|
|
5
5
|
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-QT1urvJx.js";
|
|
6
6
|
import "./model-selection-01zouBRC.js";
|
|
7
7
|
import "./manifest-registry-BHcAJo9u.js";
|
|
8
|
-
import { n as loadConfig } from "./io-
|
|
8
|
+
import { n as loadConfig } from "./io-iWIjWIkl.js";
|
|
9
9
|
import "./shell-env-DAw9qXji.js";
|
|
10
|
-
import "./config-
|
|
10
|
+
import "./config-BqjdiIqb.js";
|
|
11
11
|
import { t as formatDocsLink } from "./links-DtaFNkkY.js";
|
|
12
12
|
import { t as renderTable } from "./table-C2NJJLb2.js";
|
|
13
13
|
|
|
@@ -238,7 +238,7 @@ function registerSkillsCli(program) {
|
|
|
238
238
|
try {
|
|
239
239
|
const config = loadConfig();
|
|
240
240
|
const workspaceDir = resolveAgentWorkspaceDir(config, resolveDefaultAgentId(config));
|
|
241
|
-
const { buildWorkspaceSkillStatus } = await import("./skills-status-
|
|
241
|
+
const { buildWorkspaceSkillStatus } = await import("./skills-status-H7e--DXr.js").then((n) => n.n);
|
|
242
242
|
const report = buildWorkspaceSkillStatus(workspaceDir, { config });
|
|
243
243
|
defaultRuntime.log(formatSkillsList(report, opts));
|
|
244
244
|
} catch (err) {
|
|
@@ -250,7 +250,7 @@ function registerSkillsCli(program) {
|
|
|
250
250
|
try {
|
|
251
251
|
const config = loadConfig();
|
|
252
252
|
const workspaceDir = resolveAgentWorkspaceDir(config, resolveDefaultAgentId(config));
|
|
253
|
-
const { buildWorkspaceSkillStatus } = await import("./skills-status-
|
|
253
|
+
const { buildWorkspaceSkillStatus } = await import("./skills-status-H7e--DXr.js").then((n) => n.n);
|
|
254
254
|
const report = buildWorkspaceSkillStatus(workspaceDir, { config });
|
|
255
255
|
defaultRuntime.log(formatSkillInfo(report, name, opts));
|
|
256
256
|
} catch (err) {
|
|
@@ -262,7 +262,7 @@ function registerSkillsCli(program) {
|
|
|
262
262
|
try {
|
|
263
263
|
const config = loadConfig();
|
|
264
264
|
const workspaceDir = resolveAgentWorkspaceDir(config, resolveDefaultAgentId(config));
|
|
265
|
-
const { buildWorkspaceSkillStatus } = await import("./skills-status-
|
|
265
|
+
const { buildWorkspaceSkillStatus } = await import("./skills-status-H7e--DXr.js").then((n) => n.n);
|
|
266
266
|
const report = buildWorkspaceSkillStatus(workspaceDir, { config });
|
|
267
267
|
defaultRuntime.log(formatSkillsCheck(report, opts));
|
|
268
268
|
} catch (err) {
|
|
@@ -274,7 +274,7 @@ function registerSkillsCli(program) {
|
|
|
274
274
|
try {
|
|
275
275
|
const config = loadConfig();
|
|
276
276
|
const workspaceDir = resolveAgentWorkspaceDir(config, resolveDefaultAgentId(config));
|
|
277
|
-
const { buildWorkspaceSkillStatus } = await import("./skills-status-
|
|
277
|
+
const { buildWorkspaceSkillStatus } = await import("./skills-status-H7e--DXr.js").then((n) => n.n);
|
|
278
278
|
const report = buildWorkspaceSkillStatus(workspaceDir, { config });
|
|
279
279
|
defaultRuntime.log(formatSkillsList(report, {}));
|
|
280
280
|
} catch (err) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { s as ensureDir, t as CONFIG_DIR, y as resolveUserPath } from "./utils-DwcweD55.js";
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec-Dmz2Tr6K.js";
|
|
3
|
-
import { h as resolveSkillKey, i as loadWorkspaceSkillEntries, t as resolveSkillsInstallPreferences, x as hasBinary } from "./skills-
|
|
3
|
+
import { h as resolveSkillKey, i as loadWorkspaceSkillEntries, t as resolveSkillsInstallPreferences, x as hasBinary } from "./skills-C4C8s_X9.js";
|
|
4
4
|
import { o as fetchWithSsrFGuard } from "./media-BrtQHQhO.js";
|
|
5
5
|
import { t as resolveBrewExecutable } from "./brew-CXS7vns_.js";
|
|
6
6
|
import { n as resolveWideAreaDiscoveryDomain } from "./widearea-dns-Bg5y7TWc.js";
|
|
@@ -2,7 +2,7 @@ import { n as __exportAll } from "./chunk-BXK9XSlF.js";
|
|
|
2
2
|
import { o as createSubsystemLogger } from "./entry.js";
|
|
3
3
|
import { t as CONFIG_DIR } from "./utils-DwcweD55.js";
|
|
4
4
|
import { t as evaluateRequirementsFromMetadata } from "./requirements-C-cGAe1q.js";
|
|
5
|
-
import { d as isBundledSkillAllowed, f as isConfigPathTruthy, i as loadWorkspaceSkillEntries, m as resolveSkillConfig, p as resolveBundledAllowlist, s as resolveBundledSkillsDir, t as resolveSkillsInstallPreferences, x as hasBinary } from "./skills-
|
|
5
|
+
import { d as isBundledSkillAllowed, f as isConfigPathTruthy, i as loadWorkspaceSkillEntries, m as resolveSkillConfig, p as resolveBundledAllowlist, s as resolveBundledSkillsDir, t as resolveSkillsInstallPreferences, x as hasBinary } from "./skills-C4C8s_X9.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import { loadSkillsFromDir } from "@mariozechner/pi-coding-agent";
|
|
8
8
|
|
|
@@ -3,7 +3,7 @@ import "./exec-Dmz2Tr6K.js";
|
|
|
3
3
|
import "./agent-scope-QT1urvJx.js";
|
|
4
4
|
import "./model-selection-01zouBRC.js";
|
|
5
5
|
import "./manifest-registry-BHcAJo9u.js";
|
|
6
|
-
import { n as loadConfig } from "./io-
|
|
6
|
+
import { n as loadConfig } from "./io-iWIjWIkl.js";
|
|
7
7
|
import "./shell-env-DAw9qXji.js";
|
|
8
8
|
import "./identity-CflMRbky.js";
|
|
9
9
|
import { n as loadIdentity } from "./loader-DtDfrUyo.js";
|
|
@@ -6,32 +6,32 @@ import { n as runExec } from "./exec-Dmz2Tr6K.js";
|
|
|
6
6
|
import { t as resolveAnimaPackageRoot } from "./anima-root-DBcJL1ZM.js";
|
|
7
7
|
import { s as resolveAgentWorkspaceDir } from "./agent-scope-QT1urvJx.js";
|
|
8
8
|
import { _ as DEFAULT_MODEL, d as resolveConfiguredModelRef, g as DEFAULT_CONTEXT_TOKENS, v as DEFAULT_PROVIDER } from "./model-selection-01zouBRC.js";
|
|
9
|
-
import { t as buildWorkspaceSkillStatus } from "./skills-status-
|
|
10
|
-
import { i as readConfigFileSnapshot, j as VERSION, n as loadConfig } from "./io-
|
|
11
|
-
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-
|
|
12
|
-
import { S as resolveMainSessionKey, i as loadSessionStore, v as resolveFreshSessionTotalTokens } from "./sessions-
|
|
9
|
+
import { t as buildWorkspaceSkillStatus } from "./skills-status-H7e--DXr.js";
|
|
10
|
+
import { i as readConfigFileSnapshot, j as VERSION, n as loadConfig } from "./io-iWIjWIkl.js";
|
|
11
|
+
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-CdAIguFD.js";
|
|
12
|
+
import { S as resolveMainSessionKey, i as loadSessionStore, v as resolveFreshSessionTotalTokens } from "./sessions-B090A8HC.js";
|
|
13
13
|
import { n as listChannelPlugins } from "./plugins-zFmidMaf.js";
|
|
14
14
|
import { h as readTailscaleStatusJson, m as getTailnetHostname } from "./auth-FzNxH03k.js";
|
|
15
15
|
import { i as formatPortDiagnostics, n as inspectPortUsage } from "./ports-D7xIe6xi.js";
|
|
16
16
|
import { c as resolveStorePath } from "./paths-BEkHcryg.js";
|
|
17
|
-
import { c as listAgentsForGateway, i as sha256HexPrefix, mt as getRemoteSkillEligibility, qt as peekSystemEvents } from "./cli-session-
|
|
18
|
-
import { A as summarizeRestartSentinel, _t as buildChannelSummary, c as loadProviderUsageSummary, k as readRestartSentinel, l as formatUsageReportLines, vt as buildChannelAccountSnapshot, yt as formatChannelAllowFrom } from "./reply-
|
|
19
|
-
import { t as lookupContextTokens } from "./context-
|
|
17
|
+
import { c as listAgentsForGateway, i as sha256HexPrefix, mt as getRemoteSkillEligibility, qt as peekSystemEvents } from "./cli-session-CfTs7I9q.js";
|
|
18
|
+
import { A as summarizeRestartSentinel, _t as buildChannelSummary, c as loadProviderUsageSummary, k as readRestartSentinel, l as formatUsageReportLines, vt as buildChannelAccountSnapshot, yt as formatChannelAllowFrom } from "./reply-CDFwIHRO.js";
|
|
19
|
+
import { t as lookupContextTokens } from "./context-D3iu8n-R.js";
|
|
20
20
|
import { r as formatDurationPrecise } from "./format-duration-RY4rhz_Z.js";
|
|
21
21
|
import { n as formatTimeAgo } from "./format-relative-D4GQsWlP.js";
|
|
22
|
-
import { r as getMemorySearchManager } from "./memory-cli-
|
|
22
|
+
import { r as getMemorySearchManager } from "./memory-cli-BIi9M09T.js";
|
|
23
23
|
import { n as withProgress } from "./progress-IbQIsvcD.js";
|
|
24
|
-
import { S as normalizeControlUiBasePath, h as resolveControlUiLinks } from "./onboard-helpers-
|
|
24
|
+
import { S as normalizeControlUiBasePath, h as resolveControlUiLinks } from "./onboard-helpers-C8-npM73.js";
|
|
25
25
|
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-Df_H0-VH.js";
|
|
26
26
|
import { t as readLastGatewayErrorLine } from "./diagnostics-DUEfwTso.js";
|
|
27
27
|
import { t as renderTable } from "./table-C2NJJLb2.js";
|
|
28
|
-
import { a as resolveGatewayProbeAuth$1, c as probeGateway, t as runSecurityAudit } from "./audit-
|
|
28
|
+
import { a as resolveGatewayProbeAuth$1, c as probeGateway, t as runSecurityAudit } from "./audit-DTa_eoCX.js";
|
|
29
29
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BUW2xtvb.js";
|
|
30
|
-
import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-
|
|
30
|
+
import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-DHDWvsfA.js";
|
|
31
31
|
import { a as formatGitInstallLabel, f as formatUpdateChannelLabel, g as resolveEffectiveUpdateChannel, h as normalizeUpdateChannel, n as checkUpdateStatus, r as compareSemverStrings, t as collectChannelStatusIssues } from "./channels-status-issues-Brky9enJ.js";
|
|
32
32
|
import { t as resolveNodeService } from "./node-service-CSjH-x4O.js";
|
|
33
33
|
import { n as redactSecrets, t as formatGatewayAuthUsed } from "./format-BCAtE7cT.js";
|
|
34
|
-
import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, r as getUpdateCheckResult, t as formatUpdateAvailableHint } from "./status.update-
|
|
34
|
+
import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, r as getUpdateCheckResult, t as formatUpdateAvailableHint } from "./status.update-BeqJtF19.js";
|
|
35
35
|
import { spawnSync } from "node:child_process";
|
|
36
36
|
import os from "node:os";
|
|
37
37
|
import path from "node:path";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { o as createSubsystemLogger } from "./entry.js";
|
|
2
2
|
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir, w as resolveDefaultAgentWorkspaceDir } from "./agent-scope-QT1urvJx.js";
|
|
3
|
-
import { n as loadConfig } from "./io-
|
|
4
|
-
import { J as loadAnimaPlugins } from "./reply-
|
|
3
|
+
import { n as loadConfig } from "./io-iWIjWIkl.js";
|
|
4
|
+
import { J as loadAnimaPlugins } from "./reply-CDFwIHRO.js";
|
|
5
5
|
|
|
6
6
|
//#region src/plugins/status.ts
|
|
7
7
|
const log = createSubsystemLogger("plugins");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as formatCliCommand } from "./command-format-B9HGdNTg.js";
|
|
2
2
|
import { t as resolveAnimaPackageRoot } from "./anima-root-DBcJL1ZM.js";
|
|
3
|
-
import { j as VERSION } from "./io-
|
|
3
|
+
import { j as VERSION } from "./io-iWIjWIkl.js";
|
|
4
4
|
import { n as checkUpdateStatus, r as compareSemverStrings } from "./channels-status-issues-Brky9enJ.js";
|
|
5
5
|
|
|
6
6
|
//#region src/commands/status.update.ts
|
|
@@ -5,13 +5,13 @@ import { n as defaultRuntime, t as createSubsystemLogger } from "./subsystem-BlE
|
|
|
5
5
|
import { E as shortenHomeInString, a as logDebug, l as CONFIG_DIR, o as logError, p as ensureDir$1, w as resolveUserPath } from "./exec-BedOwP7n.js";
|
|
6
6
|
import { c as resolveDefaultAgentId, l as resolveSessionAgentId, n as resolveAgentConfig } from "./agent-scope-bF9QUUNB.js";
|
|
7
7
|
import { a as queueEmbeddedPiMessage, c as waitForEmbeddedPiRunEnd, o as resolveEmbeddedSessionLane, r as isEmbeddedPiRunActive } from "./pi-embedded-CVojjlMb.js";
|
|
8
|
-
import { At as HEARTBEAT_TOKEN, Ct as resolveMainSessionKey, Mt as isSilentReplyText, ct as deliveryContextKey, jt as SILENT_REPLY_TOKEN, lt as mergeDeliveryContext, st as deliveryContextFromSession, tt as loadSessionStore, ut as normalizeDeliveryContext, v as sanitizeUserFacingText } from "./pi-embedded-helpers-
|
|
8
|
+
import { At as HEARTBEAT_TOKEN, Ct as resolveMainSessionKey, Mt as isSilentReplyText, ct as deliveryContextKey, jt as SILENT_REPLY_TOKEN, lt as mergeDeliveryContext, st as deliveryContextFromSession, tt as loadSessionStore, ut as normalizeDeliveryContext, v as sanitizeUserFacingText } from "./pi-embedded-helpers-g9om0xJ7.js";
|
|
9
9
|
import { n as saveJsonFile, t as loadJsonFile } from "./json-file-CZ3ssFR9.js";
|
|
10
10
|
import { A as normalizeMessageChannel, C as normalizeChannelId, F as GATEWAY_CLIENT_NAMES, N as GATEWAY_CLIENT_IDS, P as GATEWAY_CLIENT_MODES, w as INTERNAL_MESSAGE_CHANNEL, x as getChannelPlugin } from "./image-ops-B9l57jLE.js";
|
|
11
11
|
import { c as parseDurationMs, n as loadConfig } from "./config-DlcnfxIz.js";
|
|
12
12
|
import { s as resolveStorePath } from "./paths-BGnstOq4.js";
|
|
13
|
-
import { a as resolveAgentTimeoutMs, c as CommandLane, o as AGENT_LANE_NESTED, r as onAgentEvent, u as stripHeartbeatToken } from "./agent-events-
|
|
14
|
-
import { S as pickPrimaryTailnetIPv4, x as pickPrimaryLanIPv4, y as rawDataToString } from "./chrome-
|
|
13
|
+
import { a as resolveAgentTimeoutMs, c as CommandLane, o as AGENT_LANE_NESTED, r as onAgentEvent, u as stripHeartbeatToken } from "./agent-events-DpLOd9j3.js";
|
|
14
|
+
import { S as pickPrimaryTailnetIPv4, x as pickPrimaryLanIPv4, y as rawDataToString } from "./chrome-dggtj3Lb.js";
|
|
15
15
|
import { t as INPUT_PROVENANCE_KIND_VALUES } from "./input-provenance-MbkIKHHL.js";
|
|
16
16
|
import fs from "node:fs/promises";
|
|
17
17
|
import os from "node:os";
|
|
@@ -22,7 +22,7 @@ import { execFile } from "node:child_process";
|
|
|
22
22
|
import { promisify } from "node:util";
|
|
23
23
|
import crypto, { X509Certificate, randomUUID } from "node:crypto";
|
|
24
24
|
import AjvPkg from "ajv";
|
|
25
|
-
import { WebSocket
|
|
25
|
+
import { WebSocket } from "ws";
|
|
26
26
|
import { Type } from "@sinclair/typebox";
|
|
27
27
|
|
|
28
28
|
//#region src/infra/device-identity.ts
|
|
@@ -1489,7 +1489,7 @@ var GatewayClient = class {
|
|
|
1489
1489
|
if (fingerprint !== expected) return /* @__PURE__ */ new Error("ANIMA Gateway TLS fingerprint mismatch");
|
|
1490
1490
|
});
|
|
1491
1491
|
}
|
|
1492
|
-
this.ws = new WebSocket
|
|
1492
|
+
this.ws = new WebSocket(url, wsOptions);
|
|
1493
1493
|
this.ws.on("open", () => {
|
|
1494
1494
|
if (url.startsWith("wss://") && this.opts.tlsFingerprint) {
|
|
1495
1495
|
const tlsError = this.validateTlsFingerprint();
|
|
@@ -1692,7 +1692,7 @@ var GatewayClient = class {
|
|
|
1692
1692
|
return null;
|
|
1693
1693
|
}
|
|
1694
1694
|
async request(method, params, opts) {
|
|
1695
|
-
if (!this.ws || this.ws.readyState !== WebSocket
|
|
1695
|
+
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error("ANIMA Gateway not connected");
|
|
1696
1696
|
const id = randomUUID();
|
|
1697
1697
|
const frame = {
|
|
1698
1698
|
type: "req",
|
|
@@ -2713,7 +2713,7 @@ async function routeReply(params) {
|
|
|
2713
2713
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
2714
2714
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
2715
2715
|
try {
|
|
2716
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
2716
|
+
const { deliverOutboundPayloads } = await import("./deliver-BAvC6OQB.js").then((n) => n.n);
|
|
2717
2717
|
return {
|
|
2718
2718
|
ok: true,
|
|
2719
2719
|
messageId: (await deliverOutboundPayloads({
|
|
@@ -3,11 +3,11 @@ import { Z as resolveStateDir, h as defaultRuntime, o as createSubsystemLogger }
|
|
|
3
3
|
import { _ as isAcpSessionKey, d as resolveAgentIdFromSessionKey, g as getSubagentDepth, u as normalizeMainKey, x as parseAgentSessionKey } from "./session-key-DP2WHl90.js";
|
|
4
4
|
import { c as resolveDefaultAgentId, l as resolveSessionAgentId } from "./agent-scope-QT1urvJx.js";
|
|
5
5
|
import { n as saveJsonFile, t as loadJsonFile } from "./json-file-CB2TLjwS.js";
|
|
6
|
-
import { f as parseDurationMs, n as loadConfig } from "./io-
|
|
7
|
-
import { n as callGateway } from "./call-
|
|
6
|
+
import { f as parseDurationMs, n as loadConfig } from "./io-iWIjWIkl.js";
|
|
7
|
+
import { n as callGateway } from "./call-CdAIguFD.js";
|
|
8
8
|
import { l as normalizeMessageChannel, t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-BiajZfgz.js";
|
|
9
9
|
import { _ as waitForEmbeddedPiRunEnd, c as stripHeartbeatToken, f as isEmbeddedPiRunActive, h as resolveEmbeddedSessionLane, l as CommandLane, m as queueEmbeddedPiMessage, n as AGENT_LANE_NESTED, t as resolveAgentTimeoutMs, x as onAgentEvent } from "./timeout-CXND7zJu.js";
|
|
10
|
-
import { F as normalizeDeliveryContext, M as deliveryContextFromSession, N as deliveryContextKey, P as mergeDeliveryContext, S as resolveMainSessionKey, i as loadSessionStore } from "./sessions-
|
|
10
|
+
import { F as normalizeDeliveryContext, M as deliveryContextFromSession, N as deliveryContextKey, P as mergeDeliveryContext, S as resolveMainSessionKey, i as loadSessionStore } from "./sessions-B090A8HC.js";
|
|
11
11
|
import { n as resolveEffectiveMessagesConfig } from "./identity-CflMRbky.js";
|
|
12
12
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-zFmidMaf.js";
|
|
13
13
|
import { b as sanitizeUserFacingText } from "./pi-embedded-helpers-DzLrWN23.js";
|
|
@@ -16,7 +16,7 @@ import { n as SILENT_REPLY_TOKEN, r as isSilentReplyText, t as HEARTBEAT_TOKEN }
|
|
|
16
16
|
import os from "node:os";
|
|
17
17
|
import path from "node:path";
|
|
18
18
|
import fs from "node:fs";
|
|
19
|
-
import
|
|
19
|
+
import json5 from "json5";
|
|
20
20
|
import crypto from "node:crypto";
|
|
21
21
|
|
|
22
22
|
//#region src/utils/queue-helpers.ts
|
|
@@ -1000,7 +1000,7 @@ async function routeReply(params) {
|
|
|
1000
1000
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
1001
1001
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
1002
1002
|
try {
|
|
1003
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
1003
|
+
const { deliverOutboundPayloads } = await import("./deliver-JdSpxDGI.js").then((n) => n.n);
|
|
1004
1004
|
return {
|
|
1005
1005
|
ok: true,
|
|
1006
1006
|
messageId: (await deliverOutboundPayloads({
|
|
@@ -1235,7 +1235,7 @@ function normalizeSessionKey(value) {
|
|
|
1235
1235
|
function readSessionStore(storePath) {
|
|
1236
1236
|
try {
|
|
1237
1237
|
const raw = fs.readFileSync(storePath, "utf-8");
|
|
1238
|
-
const parsed =
|
|
1238
|
+
const parsed = json5.parse(raw);
|
|
1239
1239
|
if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return parsed;
|
|
1240
1240
|
} catch {}
|
|
1241
1241
|
return {};
|
|
@@ -4,15 +4,15 @@ 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 "./call-
|
|
11
|
+
import "./call-CdAIguFD.js";
|
|
12
12
|
import "./message-channel-BiajZfgz.js";
|
|
13
13
|
import { t as formatDocsLink } from "./links-DtaFNkkY.js";
|
|
14
14
|
import "./progress-IbQIsvcD.js";
|
|
15
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
15
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-UUEXPkWC.js";
|
|
16
16
|
|
|
17
17
|
//#region src/cli/system-cli.ts
|
|
18
18
|
const normalizeWakeMode = (raw) => {
|
|
@@ -2,12 +2,12 @@ import { m as visibleWidth, p as stripAnsi } from "./entry.js";
|
|
|
2
2
|
import { i as buildAgentMainSessionKey, l as normalizeAgentId, u as normalizeMainKey, x as parseAgentSessionKey } from "./session-key-DP2WHl90.js";
|
|
3
3
|
import { x as shortenHomeInString } from "./utils-DwcweD55.js";
|
|
4
4
|
import { c as resolveDefaultAgentId } from "./agent-scope-QT1urvJx.js";
|
|
5
|
-
import { j as VERSION, n as loadConfig } from "./io-
|
|
5
|
+
import { j as VERSION, n as loadConfig } from "./io-iWIjWIkl.js";
|
|
6
6
|
import { Dt as PROTOCOL_VERSION, t as GatewayClient } from "./client-Dz6cszHd.js";
|
|
7
|
-
import { i as ensureExplicitGatewayAuth, o as resolveExplicitGatewayAuth, t as buildGatewayConnectionDetails } from "./call-
|
|
7
|
+
import { i as ensureExplicitGatewayAuth, o as resolveExplicitGatewayAuth, t as buildGatewayConnectionDetails } from "./call-CdAIguFD.js";
|
|
8
8
|
import { f as GATEWAY_CLIENT_CAPS, h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-BiajZfgz.js";
|
|
9
9
|
import { c as normalizeUsageDisplay, m as formatRawAssistantErrorForUi, r as listThinkingLevelLabels, t as formatThinkingLevels, u as resolveResponseUsageMode } from "./pi-embedded-helpers-DzLrWN23.js";
|
|
10
|
-
import { n as listChatCommands, r as listChatCommandsForConfig } from "./parse-timeout-
|
|
10
|
+
import { n as listChatCommands, r as listChatCommandsForConfig } from "./parse-timeout-BVEX2Lz1.js";
|
|
11
11
|
import { n as formatTimeAgo, t as formatRelativeTimestamp } from "./format-relative-D4GQsWlP.js";
|
|
12
12
|
import { n as formatTokenCount } from "./usage-format-D5snHLet.js";
|
|
13
13
|
import { r as redactToolDetail } from "./redact-Bk0VS_m7.js";
|
|
@@ -3,30 +3,30 @@ import "./utils-DwcweD55.js";
|
|
|
3
3
|
import "./exec-Dmz2Tr6K.js";
|
|
4
4
|
import "./agent-scope-QT1urvJx.js";
|
|
5
5
|
import "./model-selection-01zouBRC.js";
|
|
6
|
-
import "./skills-
|
|
6
|
+
import "./skills-C4C8s_X9.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
|
-
import "./sessions-
|
|
14
|
+
import "./sessions-B090A8HC.js";
|
|
15
15
|
import "./plugins-zFmidMaf.js";
|
|
16
16
|
import "./pi-embedded-helpers-DzLrWN23.js";
|
|
17
|
-
import "./sandbox-
|
|
17
|
+
import "./sandbox-gSH3_12R.js";
|
|
18
18
|
import "./chrome-ghYAPiTX.js";
|
|
19
19
|
import "./auth-FzNxH03k.js";
|
|
20
|
-
import "./server-context-
|
|
21
|
-
import "./routes-
|
|
20
|
+
import "./server-context-B0zBRUkt.js";
|
|
21
|
+
import "./routes-Cmc5ZQhi.js";
|
|
22
22
|
import "./image-ops-O-_KYHXN.js";
|
|
23
23
|
import "./ports-D7xIe6xi.js";
|
|
24
24
|
import "./paths-BEkHcryg.js";
|
|
25
25
|
import "./tool-images-Dny5tC-K.js";
|
|
26
|
-
import { t as parseTimeoutMs } from "./parse-timeout-
|
|
26
|
+
import { t as parseTimeoutMs } from "./parse-timeout-BVEX2Lz1.js";
|
|
27
27
|
import "./redact-Bk0VS_m7.js";
|
|
28
28
|
import { t as formatDocsLink } from "./links-DtaFNkkY.js";
|
|
29
|
-
import { t as runTui } from "./tui-
|
|
29
|
+
import { t as runTui } from "./tui-D-VaXawe.js";
|
|
30
30
|
|
|
31
31
|
//#region src/cli/tui-cli.ts
|
|
32
32
|
function registerTuiCli(program) {
|
|
@@ -9,26 +9,26 @@ import "./model-selection-01zouBRC.js";
|
|
|
9
9
|
import "./file-lock-CxXn285m.js";
|
|
10
10
|
import "./agent-paths-CrZhIsTW.js";
|
|
11
11
|
import "./pi-model-discovery-DgwvfEmd.js";
|
|
12
|
-
import "./skills-
|
|
12
|
+
import "./skills-C4C8s_X9.js";
|
|
13
13
|
import "./manifest-registry-BHcAJo9u.js";
|
|
14
|
-
import "./skills-status-
|
|
15
|
-
import { i as readConfigFileSnapshot, s as writeConfigFile } from "./io-
|
|
14
|
+
import "./skills-status-H7e--DXr.js";
|
|
15
|
+
import { i as readConfigFileSnapshot, s as writeConfigFile } from "./io-iWIjWIkl.js";
|
|
16
16
|
import "./shell-env-DAw9qXji.js";
|
|
17
|
-
import "./config-
|
|
17
|
+
import "./config-BqjdiIqb.js";
|
|
18
18
|
import "./client-Dz6cszHd.js";
|
|
19
|
-
import "./call-
|
|
19
|
+
import "./call-CdAIguFD.js";
|
|
20
20
|
import "./message-channel-BiajZfgz.js";
|
|
21
21
|
import "./timeout-CXND7zJu.js";
|
|
22
|
-
import "./sessions-
|
|
23
|
-
import "./subagent-registry-
|
|
22
|
+
import "./sessions-B090A8HC.js";
|
|
23
|
+
import "./subagent-registry-Dc6tpkgu.js";
|
|
24
24
|
import "./identity-CflMRbky.js";
|
|
25
25
|
import "./plugins-zFmidMaf.js";
|
|
26
26
|
import "./pi-embedded-helpers-DzLrWN23.js";
|
|
27
|
-
import "./sandbox-
|
|
27
|
+
import "./sandbox-gSH3_12R.js";
|
|
28
28
|
import "./chrome-ghYAPiTX.js";
|
|
29
29
|
import "./auth-FzNxH03k.js";
|
|
30
|
-
import "./server-context-
|
|
31
|
-
import "./routes-
|
|
30
|
+
import "./server-context-B0zBRUkt.js";
|
|
31
|
+
import "./routes-Cmc5ZQhi.js";
|
|
32
32
|
import "./image-ops-O-_KYHXN.js";
|
|
33
33
|
import "./ports-D7xIe6xi.js";
|
|
34
34
|
import "./paths-BEkHcryg.js";
|
|
@@ -37,16 +37,16 @@ import "./tokens-DCf522am.js";
|
|
|
37
37
|
import "./media-BrtQHQhO.js";
|
|
38
38
|
import "./chunk-ChJt8EsD.js";
|
|
39
39
|
import "./common-BGjkU4kk.js";
|
|
40
|
-
import "./control-service-
|
|
41
|
-
import "./cli-session-
|
|
42
|
-
import { j as trimLogTail } from "./reply-
|
|
40
|
+
import "./control-service-BZzmO7c_.js";
|
|
41
|
+
import "./cli-session-CfTs7I9q.js";
|
|
42
|
+
import { j as trimLogTail } from "./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-
|
|
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
48
|
import { r as formatDurationPrecise } from "./format-duration-RY4rhz_Z.js";
|
|
49
|
-
import "./memory-cli-
|
|
49
|
+
import "./memory-cli-BIi9M09T.js";
|
|
50
50
|
import "./manager-z25H5SAC.js";
|
|
51
51
|
import "./sqlite-B5LCMIbh.js";
|
|
52
52
|
import "./redact-Bk0VS_m7.js";
|
|
@@ -58,45 +58,45 @@ import { t as formatDocsLink } from "./links-DtaFNkkY.js";
|
|
|
58
58
|
import "./progress-IbQIsvcD.js";
|
|
59
59
|
import "./logging-DhWghNIK.js";
|
|
60
60
|
import "./auth-store-6mqMhd96.js";
|
|
61
|
-
import "./dispatcher-
|
|
61
|
+
import "./dispatcher-B8eU53gY.js";
|
|
62
62
|
import "./delivery-queue-bafdRh4B.js";
|
|
63
63
|
import "./session-cost-usage-D2RKVFwJ.js";
|
|
64
64
|
import "./accounts-D_Or1tM0.js";
|
|
65
|
-
import "./register.subclis-
|
|
66
|
-
import "./command-registry-
|
|
65
|
+
import "./register.subclis-Cb-XMz3t.js";
|
|
66
|
+
import "./command-registry-BOtCwS6q.js";
|
|
67
67
|
import "./program-context-KVifve7K.js";
|
|
68
|
-
import { r as installCompletion } from "./completion-cli-
|
|
69
|
-
import "./daemon-runtime-
|
|
68
|
+
import { r as installCompletion } from "./completion-cli-DXr9R51W.js";
|
|
69
|
+
import "./daemon-runtime-RjPFjiQt.js";
|
|
70
70
|
import { r as parseSemver } from "./runtime-guard-CPcNpD_J.js";
|
|
71
|
-
import "./onboard-helpers-
|
|
71
|
+
import "./onboard-helpers-C8-npM73.js";
|
|
72
72
|
import { n as stylePromptMessage, t as stylePromptHint } from "./prompt-style-CtqNME6o.js";
|
|
73
73
|
import "./systemd-DMnpU3vJ.js";
|
|
74
74
|
import "./service-Df_H0-VH.js";
|
|
75
75
|
import "./lifecycle-core-BAgYqtjQ.js";
|
|
76
|
-
import { r as runDaemonRestart } from "./daemon-cli-
|
|
76
|
+
import { r as runDaemonRestart } from "./daemon-cli-BJbm--Cv.js";
|
|
77
77
|
import "./diagnostics-DUEfwTso.js";
|
|
78
|
-
import "./service-audit-
|
|
78
|
+
import "./service-audit-BwLKMovx.js";
|
|
79
79
|
import { t as renderTable } from "./table-C2NJJLb2.js";
|
|
80
|
-
import "./health-
|
|
80
|
+
import "./health-DHDWvsfA.js";
|
|
81
81
|
import "./catalog-BLrEgoPa.js";
|
|
82
82
|
import "./plugin-auto-enable-BTi8mF_C.js";
|
|
83
83
|
import "./health-format-DikxNm9W.js";
|
|
84
84
|
import { c as DEFAULT_GIT_CHANNEL, d as channelToNpmTag, f as formatUpdateChannelLabel, g as resolveEffectiveUpdateChannel, h as normalizeUpdateChannel, i as fetchNpmTagVersion, l as DEFAULT_PACKAGE_CHANNEL, n as checkUpdateStatus, o as resolveNpmChannelTag, r as compareSemverStrings } from "./channels-status-issues-Brky9enJ.js";
|
|
85
85
|
import "./logging-DMCxh6UT.js";
|
|
86
86
|
import "./note-BwhOxUoJ.js";
|
|
87
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
87
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-DmQMefih.js";
|
|
88
88
|
import "./skill-scanner-CPBwCQc4.js";
|
|
89
|
-
import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, t as formatUpdateAvailableHint } from "./status.update-
|
|
89
|
+
import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, t as formatUpdateAvailableHint } from "./status.update-BeqJtF19.js";
|
|
90
90
|
import "./archive-CNqghdwQ.js";
|
|
91
|
-
import { a as globalInstallArgs, i as detectGlobalInstallManagerForRoot, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, r as detectGlobalInstallManagerByPresence, t as runGatewayUpdate } from "./update-runner-
|
|
91
|
+
import { a as globalInstallArgs, i as detectGlobalInstallManagerForRoot, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, r as detectGlobalInstallManagerByPresence, t as runGatewayUpdate } from "./update-runner-B1Y2OBKb.js";
|
|
92
92
|
import "./npm-registry-spec-CzobuF_v.js";
|
|
93
93
|
import "./installs-CdufPfQa.js";
|
|
94
94
|
import { n as updateNpmInstalledPlugins, t as syncPluginsForUpdateChannel } from "./update-ClJ6Zq2b.js";
|
|
95
|
-
import "./doctor-config-flow-
|
|
95
|
+
import "./doctor-config-flow-D-6JwPG8.js";
|
|
96
96
|
import { t as formatHelpExamples } from "./help-format-COStKSFI.js";
|
|
97
97
|
import "./systemd-linger-BV9rUksz.js";
|
|
98
98
|
import "./auth-health-B_3wexOu.js";
|
|
99
|
-
import { t as doctorCommand } from "./doctor-
|
|
99
|
+
import { t as doctorCommand } from "./doctor-pLYoBJMk.js";
|
|
100
100
|
import { spawnSync } from "node:child_process";
|
|
101
101
|
import os from "node:os";
|
|
102
102
|
import path from "node:path";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h as pathExists } from "./utils-DwcweD55.js";
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec-Dmz2Tr6K.js";
|
|
3
|
-
import { j as trimLogTail } from "./reply-
|
|
3
|
+
import { j as trimLogTail } from "./reply-CDFwIHRO.js";
|
|
4
4
|
import { i as resolveControlUiDistIndexPathForRoot, r as resolveControlUiDistIndexHealth } from "./health-format-DikxNm9W.js";
|
|
5
5
|
import { d as channelToNpmTag, l as DEFAULT_PACKAGE_CHANNEL, m as isStableTag, p as isBetaTag, r as compareSemverStrings, s as detectPackageManager$1, u as DEV_BRANCH } from "./channels-status-issues-Brky9enJ.js";
|
|
6
6
|
import os from "node:os";
|
|
@@ -3,13 +3,13 @@ import { t as createSubsystemLogger, v as logVerbose, x as shouldLogVerbose } fr
|
|
|
3
3
|
import { _ as isRecord, l as CONFIG_DIR, m as escapeRegExp, n as runExec, t as runCommandWithTimeout, w as resolveUserPath } from "./exec-BedOwP7n.js";
|
|
4
4
|
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir, u as resolveSessionAgentIds } from "./agent-scope-bF9QUUNB.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-CZk1W3UP.js";
|
|
6
|
-
import { M as resolvePluginSkillDirs, Ot as normalizeChatType, X as resolveBootstrapMaxChars, Y as buildBootstrapContextFiles, Z as resolveBootstrapTotalMaxChars, at as updateSessionStore, f as classifyFailoverReason, g as isLikelyContextOverflowError, h as isFailoverErrorMessage, jt as SILENT_REPLY_TOKEN, st as deliveryContextFromSession } from "./pi-embedded-helpers-
|
|
6
|
+
import { M as resolvePluginSkillDirs, Ot as normalizeChatType, X as resolveBootstrapMaxChars, Y as buildBootstrapContextFiles, Z as resolveBootstrapTotalMaxChars, at as updateSessionStore, f as classifyFailoverReason, g as isLikelyContextOverflowError, h as isFailoverErrorMessage, jt as SILENT_REPLY_TOKEN, st as deliveryContextFromSession } from "./pi-embedded-helpers-g9om0xJ7.js";
|
|
7
7
|
import { c as resolveAnimaAgentDir, n as resolveAuthProfileOrder, o as ensureAuthProfileStore, r as isProfileInCooldown } from "./auth-profiles-B_mkty1M.js";
|
|
8
8
|
import { a as modelKey, d as resolveModelRefFromString, h as DEFAULT_PROVIDER, l as resolveConfiguredModelRef, m as DEFAULT_MODEL, n as buildConfiguredAllowlistKeys, o as normalizeModelRef, r as buildModelAliasIndex, s as normalizeProviderId, u as resolveDefaultModelForAgent } from "./model-selection-B66y1XA8.js";
|
|
9
9
|
import { A as normalizeMessageChannel, C as normalizeChannelId, T as isDeliverableMessageChannel, c as getFileExtension, f as normalizeMimeType, k as listDeliverableMessageChannels, w as INTERNAL_MESSAGE_CHANNEL, x as getChannelPlugin } from "./image-ops-B9l57jLE.js";
|
|
10
10
|
import { n as loadConfig } from "./config-DlcnfxIz.js";
|
|
11
11
|
import { s as isTruthyEnvValue } from "./shell-env-5vFwNQcz.js";
|
|
12
|
-
import { l as resolveHeartbeatPrompt } from "./agent-events-
|
|
12
|
+
import { l as resolveHeartbeatPrompt } from "./agent-events-DpLOd9j3.js";
|
|
13
13
|
import { i as triggerInternalHook, t as createInternalHookEvent } from "./internal-hooks-CmG29WRF.js";
|
|
14
14
|
import { r as requireApiKey, t as getApiKeyForModel } from "./model-auth-C3AmsTxg.js";
|
|
15
15
|
import fs from "node:fs/promises";
|