@noxsoft/anima 5.1.1 → 5.1.2
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-Dyb3ijJm.js → accounts-DZsqyow2.js} +38 -38
- package/dist/{active-listener-B7OcwSxK.js → active-listener-GJR3nLhX.js} +5 -5
- package/dist/{agent-B8ciDTm6.js → agent-CaaEZsXl.js} +2 -2
- package/dist/{agent-DImD77Te.js → agent-DUAarfNl.js} +2 -2
- package/dist/{agent-scope-BHR6uOLT.js → agent-scope-BZ8hjIt_.js} +3 -3
- package/dist/{agents-DvkZi7oF.js → agents-t54YcbvK.js} +3 -3
- package/dist/{auth-choice-i9Z_cli_.js → auth-choice-DPWnLV_w.js} +1 -1
- package/dist/{auth-profiles-Da39zGOD.js → auth-profiles-eZzmaeR3.js} +13 -13
- package/dist/{auth-store-Bl6rpC4E.js → auth-store-CnRrUELz.js} +13 -13
- package/dist/{banner-CjrhpA68.js → banner-D9JyV5SF.js} +1 -1
- package/dist/build-info.json +2 -2
- package/dist/bundled/boot-md/handler.js +25 -25
- package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
- package/dist/bundled/command-logger/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +24 -24
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-web-9ikdY9RK.js → channel-web-CQIbtfme.js} +2 -2
- package/dist/{chrome-CkSIMI7j.js → chrome-Cfak4A3i.js} +12 -12
- package/dist/{chunk-5llVa3wc.js → chunk-CyT-_QsQ.js} +3 -3
- package/dist/{clack-prompter-DlmPIB0y.js → clack-prompter-rXuqdPbx.js} +1 -1
- package/dist/{cli-PD3ygS3H.js → cli--Gal7v4I.js} +1 -1
- package/dist/{cli-d0H0Bpz9.js → cli-kT9Mb3dT.js} +1 -1
- package/dist/{command-registry-Dv064HDc.js → command-registry-vEVxxxzI.js} +10 -10
- package/dist/{common-CKoFTq83.js → common-BzPvZcxT.js} +2 -2
- package/dist/{completion-cli-Blp8bILB.js → completion-cli-BBKG6buM.js} +1 -1
- package/dist/{completion-cli-C-fu_7Kd.js → completion-cli-C84I5l8a.js} +2 -2
- package/dist/{config-BfhpauV9.js → config-6FVC8hW0.js} +27 -27
- package/dist/{config-cli-BFQDt_5i.js → config-cli-CQzq5yWB.js} +1 -1
- package/dist/{config-cli-CgG6CaWK.js → config-cli-cyvL43DG.js} +1 -1
- package/dist/{configure-fHta2Meh.js → configure-B-dfdPKX.js} +4 -4
- package/dist/{configure-DLPHJ8nv.js → configure-Bv6mqD0j.js} +7 -7
- package/dist/{configure-Bbx4y0lr.js → configure-DxQqSUJs.js} +6 -6
- package/dist/{configure-CJYocuSp.js → configure-G6h2Ppk0.js} +3 -3
- package/dist/{deliver-CoQP7nSu.js → deliver-D2hQZ9X0.js} +52 -52
- package/dist/{deps-CMFpRoYp.js → deps-CeyVMZf1.js} +1 -1
- package/dist/{doctor-2O2knHXJ.js → doctor-DumyG85t.js} +4 -4
- package/dist/{doctor-completion-jbYrRr0H.js → doctor-completion-C8JSWfqN.js} +1 -1
- package/dist/{doctor-completion-CaC89XwQ.js → doctor-completion-lAyxyd7X.js} +1 -1
- package/dist/{doctor-qayl5A-F.js → doctor-vXt5qjNJ.js} +4 -4
- package/dist/entry.js +1 -1
- package/dist/{exec-CEFTijVj.js → exec-Bfd4ztFZ.js} +7 -7
- package/dist/extensionAPI.js +1 -1
- package/dist/{frontmatter-Dsa7N963.js → frontmatter-BP4GSt5L.js} +2 -2
- package/dist/{gateway-cli-CDg1qmsU.js → gateway-cli-B60L2z4a.js} +13 -13
- package/dist/{gateway-cli-DAPK-NMP.js → gateway-cli-CHhTweWb.js} +13 -13
- package/dist/{health-BNasz7nv.js → health-BttJ1Qeh.js} +1 -1
- package/dist/{health-2sA2ziYt.js → health-D8fJ6U_k.js} +1 -1
- package/dist/{hooks-cli-Cwe9oz1p.js → hooks-cli-BMZF6RF3.js} +2 -2
- package/dist/{hooks-cli-D8SvsiGN.js → hooks-cli-DRUryj5H.js} +2 -2
- package/dist/index.js +7 -7
- package/dist/llm-slug-generator.js +24 -24
- package/dist/{login-7Yj2TvMd.js → login-C4mptULi.js} +5 -5
- package/dist/{login-qr-CuwWMetN.js → login-qr-BxNKHxcf.js} +10 -10
- package/dist/{manager-kdmVqWxk.js → manager-A3pC-CW-.js} +15 -15
- package/dist/{model-selection-BuMFehML.js → model-selection-BI8CKPwQ.js} +1 -1
- package/dist/{models-2GYW4-6h.js → models-ByeH7ZKb.js} +1 -1
- package/dist/{onboard-channels-Cqeff8-v.js → onboard-channels-D6Gt3CsX.js} +1 -1
- package/dist/{onboard-channels-CWMuM-3k.js → onboard-channels-RsbA6EaD.js} +1 -1
- package/dist/{onboard-DbzYS52G.js → onboard-i4CJtSb9.js} +3 -3
- package/dist/{onboard-DJ4ON8sf.js → onboard-xSPFmM29.js} +4 -4
- package/dist/{onboarding-SrNptVqc.js → onboarding-CZBVMwFn.js} +4 -4
- package/dist/{onboarding-GIx1Wpw0.js → onboarding-Cao0a_Z1.js} +4 -4
- package/dist/{outbound-CovlPIFx.js → outbound-DWfSyfZC.js} +4 -4
- package/dist/{paths-CLxC7m0Z.js → paths-Cwszsz1I.js} +2 -2
- package/dist/{paths-B-AkG5FD.js → paths-D2eokayo.js} +3 -3
- package/dist/{pi-auth-json-BLCyhR5p.js → pi-auth-json-smxh_Xud.js} +7 -7
- package/dist/{pi-embedded-BL-Js-lp.js → pi-embedded-D4eEfxIU.js} +31 -23
- package/dist/{pi-embedded-fZ1QlJ9C.js → pi-embedded-DifnZvKk.js} +126 -118
- package/dist/{plugin-registry-X7L3BrUu.js → plugin-registry-CkZnT8Fb.js} +1 -1
- package/dist/{plugin-registry-DboWDOrG.js → plugin-registry-CpXm8ADp.js} +1 -1
- package/dist/plugin-sdk/agents/cli-backends.d.ts +4 -1
- package/dist/{plugins-cli-C-PA_T5k.js → plugins-cli-CrrkMAYM.js} +2 -2
- package/dist/{plugins-cli-BraLLKDO.js → plugins-cli-D4VxQKaJ.js} +2 -2
- package/dist/{program-BriwVW7P.js → program-CTDFmZNx.js} +6 -6
- package/dist/{program-context-oXX-h-yI.js → program-context-Hl6bnPfB.js} +15 -15
- package/dist/{prompts-C9IyM74_.js → prompts-CneQ6SeF.js} +1 -1
- package/dist/{pw-ai-BJfL9dGV.js → pw-ai-CY-VcqJp.js} +4 -4
- package/dist/{qmd-manager-DHQgWjsV.js → qmd-manager-CwbYv6nJ.js} +7 -7
- package/dist/{register.agent-BMKeVZeq.js → register.agent-BKINbWbs.js} +6 -6
- package/dist/{register.agent-BO5BCkbO.js → register.agent-CMoYTJqj.js} +5 -5
- package/dist/{register.anima-BS8nsOpD.js → register.anima-BHrZ90Sv.js} +1 -1
- package/dist/{register.anima-DPurDgXW.js → register.anima-CnEy5VFQ.js} +1 -1
- package/dist/{register.configure-Dvg0Vi23.js → register.configure-3GfqcGLK.js} +6 -6
- package/dist/{register.configure-Di8agIXW.js → register.configure-Cv5NkGH2.js} +5 -5
- package/dist/{register.maintenance-DjXwK16H.js → register.maintenance-DtAw8E_a.js} +8 -8
- package/dist/{register.maintenance-CKE15LXK.js → register.maintenance-YZDsMymb.js} +7 -7
- package/dist/{register.onboard-Du-u1lcX.js → register.onboard-Dswys-iV.js} +9 -9
- package/dist/{register.onboard-BkUxrYi2.js → register.onboard-U3lIfaw_.js} +9 -9
- package/dist/{register.setup-DyqOWQ2D.js → register.setup-CLkGhR-e.js} +9 -9
- package/dist/{register.setup-DEtz71o0.js → register.setup-Dyp5L_GQ.js} +9 -9
- package/dist/{register.status-health-sessions-CXMn5NfF.js → register.status-health-sessions-Cc2Y5gSj.js} +3 -3
- package/dist/{register.status-health-sessions-DjsEuYmp.js → register.status-health-sessions-Dx-qZMol.js} +3 -3
- package/dist/{register.subclis-CMlPDwE5.js → register.subclis-L55mGheS.js} +6 -6
- package/dist/{reply-DWdVFSBB.js → reply-BgPvB-gR.js} +31 -23
- package/dist/{reply-prefix-CRGxza-M.js → reply-prefix-37W_P4kH.js} +1 -1
- package/dist/{reply-prefix-_gr2uQ1Z.js → reply-prefix-DBRqtDEq.js} +1 -1
- package/dist/{run-CXLRGLdR.js → run-BFPM6M2S.js} +8 -8
- package/dist/{run-GZnwhuUG.js → run-DEHnKm2x.js} +10 -10
- package/dist/{run-main-Coy6Vx7R.js → run-main-Cxmjk1SF.js} +14 -14
- package/dist/{semantic-BZw2SVoG.js → semantic-CG6X3rBo.js} +1 -1
- package/dist/{server-node-events-BMO931Md.js → server-node-events-CmZXzWcd.js} +2 -2
- package/dist/{server-node-events-yZM_OBSZ.js → server-node-events-DBOg36in.js} +3 -3
- package/dist/{session-CB9OL4Ml.js → session-3MLbl1-K.js} +1 -1
- package/dist/{settings-cli-_DoMmFH9.js → settings-cli-CCtkuc1r.js} +7 -7
- package/dist/{settings-cli-BVBFgDUd.js → settings-cli-Ccizggz2.js} +6 -6
- package/dist/{shell-env-DaSbgZYX.js → shell-env-B4ae4lFh.js} +1 -1
- package/dist/{soul-B7vtVbSs.js → soul-Bt57OdSx.js} +1 -1
- package/dist/{sqlite-D_h-b5t2.js → sqlite-ClLAW1iQ.js} +4 -4
- package/dist/{start-C0Uw_pIA.js → start-BPye9w5U.js} +13 -13
- package/dist/{start-C6a18wc7.js → start-DfC7PlAH.js} +13 -13
- package/dist/{status-CUyIggna.js → status-BU6h4wUP.js} +1 -1
- package/dist/{status-DyD7gtoK.js → status-BVAoIQ0V.js} +2 -2
- package/dist/{status-DmsznVj5.js → status-BaEcHPtc.js} +1 -1
- package/dist/{status-CWgHkLTE.js → status-C9B6cEM0.js} +2 -2
- package/dist/{subagent-registry-BVrDlKmm.js → subagent-registry-MZIxVf8W.js} +31 -23
- package/dist/{subsystem-BP2l3SHn.js → subsystem-DA3Cno1i.js} +20 -20
- package/dist/{tool-images-CUx-9B7B.js → tool-images-DK97edts.js} +2 -2
- package/dist/{update-cli-4VAEZsrR.js → update-cli-D1e-DsWy.js} +8 -8
- package/dist/{update-cli-JPLB8AtM.js → update-cli-QMVW2eiR.js} +7 -7
- package/dist/{update-runner-BxdLd4Q8.js → update-runner-DPmSGXS3.js} +1 -1
- package/dist/{update-runner-pmlbxeZ-.js → update-runner-iLJQF6VA.js} +1 -1
- package/dist/{web-B3O004_b.js → web-DBQRQY6n.js} +27 -27
- package/dist/{web-D8EsFSet.js → web-DDAkSrtZ.js} +2 -2
- package/dist/{web-B9-C6C1i.js → web-DE-hmqXy.js} +3 -3
- package/dist/{web-cpPr1Em8.js → web-DJRRkHG8.js} +1 -1
- package/dist/{whatsapp-actions-9PCfw-Zh.js → whatsapp-actions-CMEP8v3k.js} +13 -13
- package/dist/{workspace-Cvio8QlZ.js → workspace-BQkffCaR.js} +5 -5
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import "./paths-zhVksOvm.js";
|
|
|
2
2
|
import { V as theme, d as defaultRuntime } from "./subsystem-BMsbqSb4.js";
|
|
3
3
|
import { C as shortenHomePath } from "./utils-B60lF9Wq.js";
|
|
4
4
|
import "./pi-embedded-helpers-B6wVA0hU.js";
|
|
5
|
-
import "./reply-
|
|
5
|
+
import "./reply-BgPvB-gR.js";
|
|
6
6
|
import "./exec-cazBMA02.js";
|
|
7
7
|
import { f as DEFAULT_AGENT_WORKSPACE_DIR, x as ensureAgentWorkspace } from "./agent-scope-D3HZp64M.js";
|
|
8
8
|
import "./model-selection-wCaVeFbb.js";
|
|
@@ -55,27 +55,27 @@ import "./dispatcher-DzT6jltc.js";
|
|
|
55
55
|
import "./pi-model-discovery-ClWISQ3j.js";
|
|
56
56
|
import "./delivery-queue-DZ_ibFDu.js";
|
|
57
57
|
import "./session-cost-usage-BamtB1rn.js";
|
|
58
|
-
import "./program-context-
|
|
58
|
+
import "./program-context-Hl6bnPfB.js";
|
|
59
59
|
import { r as ensureAuthenticated } from "./noxsoft-auth-Bmict45b.js";
|
|
60
|
-
import "./completion-cli-
|
|
60
|
+
import "./completion-cli-BBKG6buM.js";
|
|
61
61
|
import "./daemon-runtime-CIE27usH.js";
|
|
62
62
|
import "./onboard-helpers-DPqXrhma.js";
|
|
63
63
|
import "./prompt-style-DU9Vjqe5.js";
|
|
64
64
|
import "./systemd-5KGZ3NHE.js";
|
|
65
65
|
import "./service-QlHhVsQf.js";
|
|
66
|
-
import "./health-
|
|
66
|
+
import "./health-D8fJ6U_k.js";
|
|
67
67
|
import "./health-format-CH6JWH45.js";
|
|
68
|
-
import "./prompts-
|
|
68
|
+
import "./prompts-CneQ6SeF.js";
|
|
69
69
|
import "./hooks-status-VvwKn90L.js";
|
|
70
|
-
import "./onboarding-
|
|
70
|
+
import "./onboarding-Cao0a_Z1.js";
|
|
71
71
|
import { n as logConfigUpdated, t as formatConfigPath } from "./logging-DhXRGHWg.js";
|
|
72
72
|
import "./tui-DtGKiHUr.js";
|
|
73
73
|
import "./note-De2zPKl3.js";
|
|
74
|
-
import "./doctor-completion-
|
|
75
|
-
import "./clack-prompter-
|
|
74
|
+
import "./doctor-completion-C8JSWfqN.js";
|
|
75
|
+
import "./clack-prompter-rXuqdPbx.js";
|
|
76
76
|
import { t as hasExplicitOptions } from "./command-options-DfPEZwUK.js";
|
|
77
77
|
import "./systemd-linger-B-uyzDap.js";
|
|
78
|
-
import { t as onboardCommand } from "./onboard-
|
|
78
|
+
import { t as onboardCommand } from "./onboard-xSPFmM29.js";
|
|
79
79
|
import JSON5 from "json5";
|
|
80
80
|
import fs from "node:fs/promises";
|
|
81
81
|
import { isDeepStrictEqual } from "node:util";
|
|
@@ -14,7 +14,7 @@ import "./shell-env-2QqHvBMl.js";
|
|
|
14
14
|
import "./client-DzIcZx4J.js";
|
|
15
15
|
import "./call-DHZ76BNg.js";
|
|
16
16
|
import "./message-channel-DdOBO6Qm.js";
|
|
17
|
-
import "./subagent-registry-
|
|
17
|
+
import "./subagent-registry-MZIxVf8W.js";
|
|
18
18
|
import "./sessions-1XK2mH6L.js";
|
|
19
19
|
import "./tokens-CmlI2hSz.js";
|
|
20
20
|
import "./anthropic-direct-runner-CzQb7QkD.js";
|
|
@@ -55,29 +55,29 @@ import "./progress-Dj2aBWOI.js";
|
|
|
55
55
|
import "./logging-Bpf6Cepz.js";
|
|
56
56
|
import "./auth-store-Vfd6oc1G.js";
|
|
57
57
|
import { r as ensureAuthenticated } from "./noxsoft-auth-DpwLJIW0.js";
|
|
58
|
-
import "./register.subclis-
|
|
59
|
-
import "./command-registry-
|
|
58
|
+
import "./register.subclis-L55mGheS.js";
|
|
59
|
+
import "./command-registry-vEVxxxzI.js";
|
|
60
60
|
import "./program-context-Dw8HDTRz.js";
|
|
61
|
-
import "./completion-cli-
|
|
61
|
+
import "./completion-cli-C84I5l8a.js";
|
|
62
62
|
import "./daemon-runtime-BfgstLVI.js";
|
|
63
63
|
import "./onboard-helpers-IeOtcIME.js";
|
|
64
64
|
import "./prompt-style-D6SRiiTV.js";
|
|
65
65
|
import "./systemd-6iLWJxQQ.js";
|
|
66
66
|
import "./service-4VfZwSv1.js";
|
|
67
|
-
import "./health-
|
|
67
|
+
import "./health-BttJ1Qeh.js";
|
|
68
68
|
import "./health-format-BLnFZCH_.js";
|
|
69
|
-
import "./auth-choice-
|
|
69
|
+
import "./auth-choice-DPWnLV_w.js";
|
|
70
70
|
import "./prompts-D6b3zLVO.js";
|
|
71
71
|
import "./hooks-status-DiqubDlK.js";
|
|
72
|
-
import "./onboarding-
|
|
72
|
+
import "./onboarding-CZBVMwFn.js";
|
|
73
73
|
import { n as logConfigUpdated, t as formatConfigPath } from "./logging-DcXIbpwk.js";
|
|
74
74
|
import "./tui-Bm8FEW0b.js";
|
|
75
75
|
import "./note-BaOKDvcy.js";
|
|
76
|
-
import "./doctor-completion-
|
|
76
|
+
import "./doctor-completion-lAyxyd7X.js";
|
|
77
77
|
import "./clack-prompter-QbDK4ABC.js";
|
|
78
78
|
import { t as hasExplicitOptions } from "./command-options-mgpP-XId.js";
|
|
79
79
|
import "./systemd-linger-CS_pA1-a.js";
|
|
80
|
-
import { t as onboardCommand } from "./onboard-
|
|
80
|
+
import { t as onboardCommand } from "./onboard-i4CJtSb9.js";
|
|
81
81
|
import JSON5 from "json5";
|
|
82
82
|
import { isDeepStrictEqual } from "node:util";
|
|
83
83
|
import fs from "node:fs/promises";
|
|
@@ -15,7 +15,7 @@ import "./shell-env-2QqHvBMl.js";
|
|
|
15
15
|
import "./client-DzIcZx4J.js";
|
|
16
16
|
import "./call-DHZ76BNg.js";
|
|
17
17
|
import "./message-channel-DdOBO6Qm.js";
|
|
18
|
-
import "./subagent-registry-
|
|
18
|
+
import "./subagent-registry-MZIxVf8W.js";
|
|
19
19
|
import "./sessions-1XK2mH6L.js";
|
|
20
20
|
import "./tokens-CmlI2hSz.js";
|
|
21
21
|
import "./anthropic-direct-runner-CzQb7QkD.js";
|
|
@@ -64,8 +64,8 @@ import "./service-4VfZwSv1.js";
|
|
|
64
64
|
import "./diagnostics-BhSwKIcN.js";
|
|
65
65
|
import "./table-Bt7rSYC6.js";
|
|
66
66
|
import "./audit-HJOpXfgY.js";
|
|
67
|
-
import { n as statusCommand } from "./status-
|
|
68
|
-
import { r as healthCommand } from "./health-
|
|
67
|
+
import { n as statusCommand } from "./status-C9B6cEM0.js";
|
|
68
|
+
import { r as healthCommand } from "./health-BttJ1Qeh.js";
|
|
69
69
|
import "./channels-status-issues-CklLFAsD.js";
|
|
70
70
|
import "./skill-scanner-FO7SyxAD.js";
|
|
71
71
|
import "./node-service-BDlDNv3t.js";
|
|
@@ -2,7 +2,7 @@ import "./paths-zhVksOvm.js";
|
|
|
2
2
|
import { A as info, B as isRich, F as setVerbose, V as theme, d as defaultRuntime } from "./subsystem-BMsbqSb4.js";
|
|
3
3
|
import "./utils-B60lF9Wq.js";
|
|
4
4
|
import "./pi-embedded-helpers-B6wVA0hU.js";
|
|
5
|
-
import { er as lookupContextTokens } from "./reply-
|
|
5
|
+
import { er as lookupContextTokens } from "./reply-BgPvB-gR.js";
|
|
6
6
|
import "./exec-cazBMA02.js";
|
|
7
7
|
import "./agent-scope-D3HZp64M.js";
|
|
8
8
|
import { _ as DEFAULT_MODEL, d as resolveConfiguredModelRef, g as DEFAULT_CONTEXT_TOKENS, v as DEFAULT_PROVIDER } from "./model-selection-wCaVeFbb.js";
|
|
@@ -66,8 +66,8 @@ import "./service-QlHhVsQf.js";
|
|
|
66
66
|
import "./diagnostics-DXeDqA_-.js";
|
|
67
67
|
import "./table-CdHBo5d1.js";
|
|
68
68
|
import "./audit-ByHmjh-G.js";
|
|
69
|
-
import { t as statusCommand } from "./status-
|
|
70
|
-
import { r as healthCommand } from "./health-
|
|
69
|
+
import { t as statusCommand } from "./status-BVAoIQ0V.js";
|
|
70
|
+
import { r as healthCommand } from "./health-D8fJ6U_k.js";
|
|
71
71
|
import "./channels-status-issues-DdjvFHx9.js";
|
|
72
72
|
import "./skill-scanner-DGoUYV22.js";
|
|
73
73
|
import "./node-service-4B-0AjmA.js";
|
|
@@ -31,7 +31,7 @@ const entries = [
|
|
|
31
31
|
name: "gateway",
|
|
32
32
|
description: "ANIMA Gateway management and control",
|
|
33
33
|
register: async (program) => {
|
|
34
|
-
(await import("./gateway-cli-
|
|
34
|
+
(await import("./gateway-cli-B60L2z4a.js")).registerGatewayCli(program);
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
37
|
{
|
|
@@ -108,7 +108,7 @@ const entries = [
|
|
|
108
108
|
name: "hooks",
|
|
109
109
|
description: "Agent hook lifecycle and dependency management",
|
|
110
110
|
register: async (program) => {
|
|
111
|
-
(await import("./hooks-cli-
|
|
111
|
+
(await import("./hooks-cli-DRUryj5H.js")).registerHooksCli(program);
|
|
112
112
|
}
|
|
113
113
|
},
|
|
114
114
|
{
|
|
@@ -122,8 +122,8 @@ const entries = [
|
|
|
122
122
|
name: "plugins",
|
|
123
123
|
description: "Install, update, and manage ANIMA extensions",
|
|
124
124
|
register: async (program) => {
|
|
125
|
-
(await import("./plugins-cli-
|
|
126
|
-
const { registerPluginCliCommands } = await import("./cli-
|
|
125
|
+
(await import("./plugins-cli-D4VxQKaJ.js")).registerPluginsCli(program);
|
|
126
|
+
const { registerPluginCliCommands } = await import("./cli-kT9Mb3dT.js");
|
|
127
127
|
registerPluginCliCommands(program, await loadConfig());
|
|
128
128
|
}
|
|
129
129
|
},
|
|
@@ -145,14 +145,14 @@ const entries = [
|
|
|
145
145
|
name: "update",
|
|
146
146
|
description: "Update ANIMA to the latest version",
|
|
147
147
|
register: async (program) => {
|
|
148
|
-
(await import("./update-cli-
|
|
148
|
+
(await import("./update-cli-D1e-DsWy.js")).registerUpdateCli(program);
|
|
149
149
|
}
|
|
150
150
|
},
|
|
151
151
|
{
|
|
152
152
|
name: "completion",
|
|
153
153
|
description: "Generate shell completion for tab-complete support",
|
|
154
154
|
register: async (program) => {
|
|
155
|
-
(await import("./completion-cli-
|
|
155
|
+
(await import("./completion-cli-C84I5l8a.js").then((n) => n.n)).registerCompletionCli(program);
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
];
|
|
@@ -4683,8 +4683,7 @@ const DEFAULT_CODEX_BACKEND = {
|
|
|
4683
4683
|
"--json",
|
|
4684
4684
|
"--color",
|
|
4685
4685
|
"never",
|
|
4686
|
-
"--sandbox",
|
|
4687
|
-
"danger-full-access",
|
|
4686
|
+
"--dangerously-bypass-approvals-and-sandbox",
|
|
4688
4687
|
"--skip-git-repo-check"
|
|
4689
4688
|
],
|
|
4690
4689
|
resumeArgs: [
|
|
@@ -4762,6 +4761,7 @@ const LEGACY_CODEX_RESUME_ARGS = [
|
|
|
4762
4761
|
"read-only",
|
|
4763
4762
|
"--skip-git-repo-check"
|
|
4764
4763
|
];
|
|
4764
|
+
const CODEX_BYPASS_FLAG = "--dangerously-bypass-approvals-and-sandbox";
|
|
4765
4765
|
function normalizeBackendKey(key) {
|
|
4766
4766
|
return normalizeProviderId(key);
|
|
4767
4767
|
}
|
|
@@ -4798,27 +4798,34 @@ function argsEqual(left, right) {
|
|
|
4798
4798
|
if (!left || !right || left.length !== right.length) return false;
|
|
4799
4799
|
return left.every((entry, index) => entry === right[index]);
|
|
4800
4800
|
}
|
|
4801
|
-
function
|
|
4801
|
+
function resolveCodexExecModeArg(args) {
|
|
4802
4802
|
if (!args) return;
|
|
4803
|
+
if (args.includes(CODEX_BYPASS_FLAG)) return CODEX_BYPASS_FLAG;
|
|
4803
4804
|
const index = args.indexOf("--sandbox");
|
|
4804
4805
|
const value = index >= 0 ? args[index + 1] : void 0;
|
|
4805
|
-
return
|
|
4806
|
-
}
|
|
4807
|
-
function
|
|
4808
|
-
const nextArgs = [
|
|
4809
|
-
const
|
|
4810
|
-
|
|
4811
|
-
|
|
4812
|
-
|
|
4806
|
+
return value === "workspace-write" || value === "read-only" ? value : void 0;
|
|
4807
|
+
}
|
|
4808
|
+
function setCodexExecModeArgs(args, mode) {
|
|
4809
|
+
const nextArgs = [];
|
|
4810
|
+
const source = args ?? [];
|
|
4811
|
+
for (let i = 0; i < source.length; i += 1) {
|
|
4812
|
+
const entry = source[i];
|
|
4813
|
+
if (entry === CODEX_BYPASS_FLAG) continue;
|
|
4814
|
+
if (entry === "--sandbox") {
|
|
4815
|
+
i += 1;
|
|
4816
|
+
continue;
|
|
4817
|
+
}
|
|
4818
|
+
nextArgs.push(entry);
|
|
4813
4819
|
}
|
|
4814
|
-
nextArgs.push(
|
|
4820
|
+
if (mode === CODEX_BYPASS_FLAG) nextArgs.push(CODEX_BYPASS_FLAG);
|
|
4821
|
+
else nextArgs.push("--sandbox", mode);
|
|
4815
4822
|
return nextArgs;
|
|
4816
4823
|
}
|
|
4817
|
-
function
|
|
4824
|
+
function resolveManagedCodexExecMode(cfg) {
|
|
4818
4825
|
const workspaceAccess = cfg?.agents?.defaults?.sandbox?.workspaceAccess;
|
|
4819
4826
|
if (workspaceAccess === "ro") return "read-only";
|
|
4820
4827
|
if (workspaceAccess === "rw") return "workspace-write";
|
|
4821
|
-
return
|
|
4828
|
+
return CODEX_BYPASS_FLAG;
|
|
4822
4829
|
}
|
|
4823
4830
|
function resolveCliBackendConfig(provider, cfg) {
|
|
4824
4831
|
const normalized = normalizeBackendKey(provider);
|
|
@@ -4846,9 +4853,9 @@ function resolveCliBackendConfig(provider, cfg) {
|
|
|
4846
4853
|
...merged,
|
|
4847
4854
|
resumeArgs: DEFAULT_CODEX_BACKEND.resumeArgs
|
|
4848
4855
|
};
|
|
4849
|
-
if (!
|
|
4856
|
+
if (!resolveCodexExecModeArg(override?.args) || (override?.args ? argsEqual(override.args, LEGACY_CODEX_ARGS) : false)) merged = {
|
|
4850
4857
|
...merged,
|
|
4851
|
-
args:
|
|
4858
|
+
args: setCodexExecModeArgs(merged.args, resolveManagedCodexExecMode(cfg))
|
|
4852
4859
|
};
|
|
4853
4860
|
const command = merged.command?.trim();
|
|
4854
4861
|
if (!command) return null;
|
|
@@ -4905,7 +4912,7 @@ async function runCliAgent(params) {
|
|
|
4905
4912
|
const backendResolved = resolveCliBackendConfig(params.provider, params.config);
|
|
4906
4913
|
if (!backendResolved) throw new Error(`Unknown CLI backend: ${params.provider}`);
|
|
4907
4914
|
const backend = backendResolved.config;
|
|
4908
|
-
const
|
|
4915
|
+
const effectiveCodexExecMode = resolveCodexExecModeArg(backend.args);
|
|
4909
4916
|
const modelId = (params.model ?? "default").trim() || "default";
|
|
4910
4917
|
const normalizedModel = normalizeCliModel(modelId, backend);
|
|
4911
4918
|
const modelDisplay = `${params.provider}/${modelId}`;
|
|
@@ -4956,10 +4963,11 @@ async function runCliAgent(params) {
|
|
|
4956
4963
|
const lines = (await readFile(params.sessionFile, "utf-8")).trim().split("\n");
|
|
4957
4964
|
const lastLine = lines[lines.length - 1];
|
|
4958
4965
|
if (lastLine) {
|
|
4959
|
-
const
|
|
4960
|
-
const
|
|
4961
|
-
|
|
4962
|
-
|
|
4966
|
+
const parsed = JSON.parse(lastLine);
|
|
4967
|
+
const previousMode = parsed.metadata?.effectiveCodexExecMode ?? parsed.metadata?.effectiveSandbox;
|
|
4968
|
+
const currentMode = effectiveCodexExecMode;
|
|
4969
|
+
if (previousMode && previousMode !== currentMode) {
|
|
4970
|
+
log$6.info(`Codex execution mode changed (${previousMode} -> ${currentMode}); forcing session restart.`);
|
|
4963
4971
|
useResume = false;
|
|
4964
4972
|
isNew = true;
|
|
4965
4973
|
}
|
|
@@ -5108,7 +5116,7 @@ async function runCliAgent(params) {
|
|
|
5108
5116
|
provider: params.provider,
|
|
5109
5117
|
model: modelId,
|
|
5110
5118
|
usage: output.usage,
|
|
5111
|
-
...
|
|
5119
|
+
...effectiveCodexExecMode ? { metadata: { effectiveCodexExecMode } } : {}
|
|
5112
5120
|
}
|
|
5113
5121
|
}
|
|
5114
5122
|
};
|
|
@@ -9457,7 +9465,7 @@ function loadWebLoginQr() {
|
|
|
9457
9465
|
return webLoginQrPromise;
|
|
9458
9466
|
}
|
|
9459
9467
|
function loadWebChannel() {
|
|
9460
|
-
webChannelPromise ??= import("./web-
|
|
9468
|
+
webChannelPromise ??= import("./web-DE-hmqXy.js");
|
|
9461
9469
|
return webChannelPromise;
|
|
9462
9470
|
}
|
|
9463
9471
|
function loadWhatsAppActions() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Xn as resolveIdentityName, Yn as resolveEffectiveMessagesConfig, _n as extractShortModelName, jn as CURRENT_MESSAGE_MARKER } from "./reply-
|
|
1
|
+
import { Xn as resolveIdentityName, Yn as resolveEffectiveMessagesConfig, _n as extractShortModelName, jn as CURRENT_MESSAGE_MARKER } from "./reply-BgPvB-gR.js";
|
|
2
2
|
|
|
3
3
|
//#region src/auto-reply/reply/history.ts
|
|
4
4
|
const HISTORY_CONTEXT_MARKER = "[Chat messages since your last reply - for context]";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Mt as extractShortModelName, br as resolveIdentityName, hr as CURRENT_MESSAGE_MARKER, yr as resolveEffectiveMessagesConfig } from "./subagent-registry-
|
|
1
|
+
import { Mt as extractShortModelName, br as resolveIdentityName, hr as CURRENT_MESSAGE_MARKER, yr as resolveEffectiveMessagesConfig } from "./subagent-registry-MZIxVf8W.js";
|
|
2
2
|
|
|
3
3
|
//#region src/auto-reply/reply/history.ts
|
|
4
4
|
const HISTORY_CONTEXT_MARKER = "[Chat messages since your last reply - for context]";
|
|
@@ -16,7 +16,7 @@ import { n as pickPrimaryTailnetIPv6, t as pickPrimaryTailnetIPv4 } from "./tail
|
|
|
16
16
|
import { s as loadGatewayTlsRuntime$1 } from "./call-DHZ76BNg.js";
|
|
17
17
|
import { f as GATEWAY_CLIENT_CAPS, g as hasGatewayClientCap, i as isGatewayMessageChannel, l as normalizeMessageChannel, n as isDeliverableMessageChannel, p as GATEWAY_CLIENT_IDS, r as isGatewayCliClient, s as isWebchatClient, t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-DdOBO6Qm.js";
|
|
18
18
|
import { c as resolveGatewayBindHost, d as rawDataToString, i as isTrustedProxyAddress, l as resolveGatewayClientIp, n as isLoopbackHost, r as isPrivateOrLoopbackAddress, s as pickPrimaryLanIPv4, t as isLoopbackAddress, u as resolveGatewayListenHosts } from "./net-CRsiP49R.js";
|
|
19
|
-
import { $ as resolveOutboundSessionRoute, $n as normalizeMimeList, A as getTotalQueueSize, At as applyBrowserProxyPaths, B as loadCombinedSessionStoreForGateway, Bn as registerUnhandledRejectionHandler, Bt as markGatewaySigusr1RestartHandled, Cn as createAsyncLock, Cr as runCliAgent, Ct as normalizePayloadToSystemText, D as setCliSessionId, Dn as writeJsonAtomic, Dr as getAgentRunContext, Dt as detectSuspiciousPatterns, E as getCliSessionId, En as resolvePairingPaths, Er as emitAgentEvent, Et as buildSafeExternalPrompt, F as readLatestAssistantReply, Fn as isSystemEventContextChanged, Ft as CommandLane, G as archiveFileOnDisk, Gn as DEFAULT_INPUT_IMAGE_MIMES, H as pruneLegacyStoreKeys, Hn as DEFAULT_INPUT_FILE_MAX_CHARS, Ht as setGatewaySigusr1RestartPolicy, I as resolveAnnounceTargetFromKey, It as consumeGatewaySigusr1RestartAuthorization, J as readSessionMessages, Jn as DEFAULT_INPUT_PDF_MAX_PIXELS, Jt as maskApiKey, K as archiveSessionTranscripts, Kn as DEFAULT_INPUT_MAX_REDIRECTS, Kt as loadProviderUsageSummary, L as canonicalizeSpawnedByForAgent, Lt as deferGatewayRestartUntilIdle, M as setCommandLaneConcurrency, Mn as applyVerboseOverride, N as waitForActiveTasks, Nn as parseVerboseOverride, O as getActiveTaskCount, On as getSkillsSnapshotVersion, Or as onAgentEvent, Ot as getHookType, P as createAnimaTools, Pn as enqueueSystemEvent, Q as ensureOutboundSessionEntry, Qn as extractImageContentFromSource, R as listAgentsForGateway, Rn as loadModelCatalog, Rt as emitGatewayRestart, S as getTotalPendingReplies, Sn as verifyPairingToken, St as normalizeOptionalText, T as BARE_SESSION_RESET_PROMPT, Tn as readJsonFile, Tr as clearAgentRunContext, Tt as migrateLegacyCronPayload, U as resolveGatewaySessionStoreTarget, Un as DEFAULT_INPUT_FILE_MIMES, Ut as setPreRestartDeferralCheck, V as loadSessionEntry, Vn as DEFAULT_INPUT_FILE_MAX_BYTES, Vt as scheduleGatewaySigusr1Restart, W as resolveSessionModelRef, Wn as DEFAULT_INPUT_IMAGE_MAX_BYTES, Wt as normalizeGroupActivation, X as resolveSessionTranscriptCandidates, Xn as DEFAULT_INPUT_TIMEOUT_MS, Y as readSessionPreviewItemsFromTranscript, Yn as DEFAULT_INPUT_PDF_MIN_TEXT_CHARS, Yt as saveProviderStore, Z as stripEnvelopeFromMessages, Zn as extractFileContentFromSource, _n as renamePairedNode, _t as writeRestartSentinel, a as runSubagentAnnounceFlow, an as normalizeSendPolicy, ar as isDiagnosticsEnabled, b as dispatchInboundMessage, bn as verifyNodeToken, bt as inferLegacyName, c as runEmbeddedPiAgent, cn as primeRemoteSkillsCache, ct as resetDirectoryCache, d as buildDefaultToolPolicyPipelineSteps, dn as refreshRemoteNodeBins, dt as consumeRestartSentinel, er as estimateBase64DecodedBytes, f as sniffMimeFromBase64, fn as removeRemoteNodeInfo, ft as formatDoctorNonInteractiveHint, g as getChannelActivity, gn as rejectNodePairing, hn as listNodePairing, ht as summarizeRestartSentinel, ir as stopDiagnosticHeartbeat, j as resetAllLanes, jn as applyModelOverrideToSessionEntry, jt as persistBrowserProxyFiles, kn as registerSkillsChangeListener, kr as registerAgentRunContext, kt as isExternalHookSession, l as waitForEmbeddedPiRunEnd, ln as recordRemoteNodeInfo, lt as resolveMessageChannelSelection, m as loadAnimaPlugins, mn as approveNodePairing, mr as stopSubagentsForRequester, n as initSubagentRegistry, nr as resolveAgentTimeoutMs, o as clearSessionQueues, on as resolveSendPolicy, ot as resolveOutboundTarget, p as getPluginToolMeta, pn as setSkillsRemoteRegistry, pr as isAbortTrigger, pt as formatRestartSentinelMessage, q as capArrayByJsonBytes, qn as DEFAULT_INPUT_PDF_MAX_PAGES, qt as loadProviderStore, r as listDescendantRunsForRequester, rn as requestHeartbeatNow, rr as startDiagnosticHeartbeat, s as abortEmbeddedPiRun, sn as getRemoteSkillEligibility, st as resolveSessionDeliveryTarget, t as countActiveDescendantRuns, u as applyToolPolicyPipeline, un as refreshRemoteBinsForConnectedNodes, ur as formatZonedTimestamp, ut as runWithModelFallback, vn as requestNodePairing, vr as resolveAgentIdentity, vt as normalizeCronJobCreate, wn as pruneExpiredPending, wt as normalizeRequiredName, x as createReplyDispatcher, xn as generatePairingToken, xt as normalizeOptionalAgentId, yn as updatePairedNodeMetadata, yt as normalizeCronJobPatch, z as listSessionsFromStore, zt as isGatewaySigusr1RestartExternallyAllowed } from "./subagent-registry-
|
|
19
|
+
import { $ as resolveOutboundSessionRoute, $n as normalizeMimeList, A as getTotalQueueSize, At as applyBrowserProxyPaths, B as loadCombinedSessionStoreForGateway, Bn as registerUnhandledRejectionHandler, Bt as markGatewaySigusr1RestartHandled, Cn as createAsyncLock, Cr as runCliAgent, Ct as normalizePayloadToSystemText, D as setCliSessionId, Dn as writeJsonAtomic, Dr as getAgentRunContext, Dt as detectSuspiciousPatterns, E as getCliSessionId, En as resolvePairingPaths, Er as emitAgentEvent, Et as buildSafeExternalPrompt, F as readLatestAssistantReply, Fn as isSystemEventContextChanged, Ft as CommandLane, G as archiveFileOnDisk, Gn as DEFAULT_INPUT_IMAGE_MIMES, H as pruneLegacyStoreKeys, Hn as DEFAULT_INPUT_FILE_MAX_CHARS, Ht as setGatewaySigusr1RestartPolicy, I as resolveAnnounceTargetFromKey, It as consumeGatewaySigusr1RestartAuthorization, J as readSessionMessages, Jn as DEFAULT_INPUT_PDF_MAX_PIXELS, Jt as maskApiKey, K as archiveSessionTranscripts, Kn as DEFAULT_INPUT_MAX_REDIRECTS, Kt as loadProviderUsageSummary, L as canonicalizeSpawnedByForAgent, Lt as deferGatewayRestartUntilIdle, M as setCommandLaneConcurrency, Mn as applyVerboseOverride, N as waitForActiveTasks, Nn as parseVerboseOverride, O as getActiveTaskCount, On as getSkillsSnapshotVersion, Or as onAgentEvent, Ot as getHookType, P as createAnimaTools, Pn as enqueueSystemEvent, Q as ensureOutboundSessionEntry, Qn as extractImageContentFromSource, R as listAgentsForGateway, Rn as loadModelCatalog, Rt as emitGatewayRestart, S as getTotalPendingReplies, Sn as verifyPairingToken, St as normalizeOptionalText, T as BARE_SESSION_RESET_PROMPT, Tn as readJsonFile, Tr as clearAgentRunContext, Tt as migrateLegacyCronPayload, U as resolveGatewaySessionStoreTarget, Un as DEFAULT_INPUT_FILE_MIMES, Ut as setPreRestartDeferralCheck, V as loadSessionEntry, Vn as DEFAULT_INPUT_FILE_MAX_BYTES, Vt as scheduleGatewaySigusr1Restart, W as resolveSessionModelRef, Wn as DEFAULT_INPUT_IMAGE_MAX_BYTES, Wt as normalizeGroupActivation, X as resolveSessionTranscriptCandidates, Xn as DEFAULT_INPUT_TIMEOUT_MS, Y as readSessionPreviewItemsFromTranscript, Yn as DEFAULT_INPUT_PDF_MIN_TEXT_CHARS, Yt as saveProviderStore, Z as stripEnvelopeFromMessages, Zn as extractFileContentFromSource, _n as renamePairedNode, _t as writeRestartSentinel, a as runSubagentAnnounceFlow, an as normalizeSendPolicy, ar as isDiagnosticsEnabled, b as dispatchInboundMessage, bn as verifyNodeToken, bt as inferLegacyName, c as runEmbeddedPiAgent, cn as primeRemoteSkillsCache, ct as resetDirectoryCache, d as buildDefaultToolPolicyPipelineSteps, dn as refreshRemoteNodeBins, dt as consumeRestartSentinel, er as estimateBase64DecodedBytes, f as sniffMimeFromBase64, fn as removeRemoteNodeInfo, ft as formatDoctorNonInteractiveHint, g as getChannelActivity, gn as rejectNodePairing, hn as listNodePairing, ht as summarizeRestartSentinel, ir as stopDiagnosticHeartbeat, j as resetAllLanes, jn as applyModelOverrideToSessionEntry, jt as persistBrowserProxyFiles, kn as registerSkillsChangeListener, kr as registerAgentRunContext, kt as isExternalHookSession, l as waitForEmbeddedPiRunEnd, ln as recordRemoteNodeInfo, lt as resolveMessageChannelSelection, m as loadAnimaPlugins, mn as approveNodePairing, mr as stopSubagentsForRequester, n as initSubagentRegistry, nr as resolveAgentTimeoutMs, o as clearSessionQueues, on as resolveSendPolicy, ot as resolveOutboundTarget, p as getPluginToolMeta, pn as setSkillsRemoteRegistry, pr as isAbortTrigger, pt as formatRestartSentinelMessage, q as capArrayByJsonBytes, qn as DEFAULT_INPUT_PDF_MAX_PAGES, qt as loadProviderStore, r as listDescendantRunsForRequester, rn as requestHeartbeatNow, rr as startDiagnosticHeartbeat, s as abortEmbeddedPiRun, sn as getRemoteSkillEligibility, st as resolveSessionDeliveryTarget, t as countActiveDescendantRuns, u as applyToolPolicyPipeline, un as refreshRemoteBinsForConnectedNodes, ur as formatZonedTimestamp, ut as runWithModelFallback, vn as requestNodePairing, vr as resolveAgentIdentity, vt as normalizeCronJobCreate, wn as pruneExpiredPending, wt as normalizeRequiredName, x as createReplyDispatcher, xn as generatePairingToken, xt as normalizeOptionalAgentId, yn as updatePairedNodeMetadata, yt as normalizeCronJobPatch, z as listSessionsFromStore, zt as isGatewaySigusr1RestartExternallyAllowed } from "./subagent-registry-MZIxVf8W.js";
|
|
20
20
|
import { C as resolveMainSessionKeyFromConfig, I as normalizeSessionDeliveryFields, M as deliveryContextFromSession, P as mergeDeliveryContext, S as resolveMainSessionKey, T as snapshotSessionOrigin, b as resolveAgentMainSessionKey, i as loadSessionStore, l as updateSessionStore, t as extractDeliveryInfo, x as resolveExplicitAgentSessionKey } from "./sessions-1XK2mH6L.js";
|
|
21
21
|
import { n as SILENT_REPLY_TOKEN, r as isSilentReplyText } from "./tokens-CmlI2hSz.js";
|
|
22
22
|
import { B as resolveTtsPrefsPath, K as setTtsProvider, L as resolveTtsApiKey, N as isTtsEnabled, P as isTtsProviderConfigured, R as resolveTtsAutoMode, V as resolveTtsProviderOrder, W as setTtsEnabled, X as OPENAI_TTS_VOICES, Y as OPENAI_TTS_MODELS, at as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, it as triggerInternalHook, j as getTtsProvider, lt as stripHeartbeatToken, nt as createInternalHookEvent, q as textToSpeech, rt as registerInternalHook, tt as clearInternalHooks, w as resolveUserTimezone, z as resolveTtsConfig } from "./anthropic-direct-runner-CzQb7QkD.js";
|
|
@@ -42,7 +42,7 @@ import { t as createBrowserRouteDispatcher } from "./dispatcher-DpSnqIL0.js";
|
|
|
42
42
|
import { t as parseAbsoluteTimeMs } from "./parse-DLMgOMDI.js";
|
|
43
43
|
import { c as saveToken, i as getToken, l as whoami, n as clearToken, o as registerWithInvite, s as resolveSuggestedIdentity, t as TOKEN_PATH } from "./noxsoft-auth-DpwLJIW0.js";
|
|
44
44
|
import { c as resolveCronStyleNow, i as onHeartbeatEvent, r as getLastHeartbeatEvent, t as resolveHeartbeatVisibility } from "./heartbeat-visibility-DcGQOTXe.js";
|
|
45
|
-
import { r as buildHistoryContextFromEntries, t as createReplyPrefixOptions } from "./reply-prefix-
|
|
45
|
+
import { r as buildHistoryContextFromEntries, t as createReplyPrefixOptions } from "./reply-prefix-DBRqtDEq.js";
|
|
46
46
|
import { t as ensureAnimaCliOnPath } from "./path-env-CafGfJPa.js";
|
|
47
47
|
import { n as DEFAULT_GATEWAY_HTTP_TOOL_DENY } from "./dangerous-tools-Asx2qyrG.js";
|
|
48
48
|
import { C as resolveAssistantAvatarUrl, S as normalizeControlUiBasePath, b as CONTROL_UI_AVATAR_PREFIX, c as handleReset, h as resolveControlUiLinks, x as buildControlUiAvatarUrl } from "./onboard-helpers-IeOtcIME.js";
|
|
@@ -51,10 +51,10 @@ import { t as parsePort } from "./parse-port-BKB9Exlg.js";
|
|
|
51
51
|
import { n as resolveWideAreaDiscoveryDomain, r as writeWideAreaGatewayZone } from "./widearea-dns-CtU9Fx7K.js";
|
|
52
52
|
import { i as toOptionString, n as extractGatewayMiskeys, r as maybeExplainGatewayServiceStop, t as describeUnknownError } from "./shared-7KwLAyAq.js";
|
|
53
53
|
import { o as isNodeCommandAllowed, s as resolveNodeCommandAllowlist } from "./audit-HJOpXfgY.js";
|
|
54
|
-
import { r as getStatusSummary } from "./status-
|
|
54
|
+
import { r as getStatusSummary } from "./status-C9B6cEM0.js";
|
|
55
55
|
import { t as resolveChannelDefaultAccountId } from "./helpers-CVp8W9aa.js";
|
|
56
|
-
import { c as setHeartbeatsEnabled, l as startHeartbeatRunner, n as getHealthSnapshot, s as runHeartbeatOnce } from "./health-
|
|
57
|
-
import { a as createOutboundSendDeps, i as resolveAgentOutboundTarget, o as createDefaultDeps, r as resolveAgentDeliveryPlan, s as createOutboundSendDeps$1, t as agentCommand } from "./agent-
|
|
56
|
+
import { c as setHeartbeatsEnabled, l as startHeartbeatRunner, n as getHealthSnapshot, s as runHeartbeatOnce } from "./health-BttJ1Qeh.js";
|
|
57
|
+
import { a as createOutboundSendDeps, i as resolveAgentOutboundTarget, o as createDefaultDeps, r as resolveAgentDeliveryPlan, s as createOutboundSendDeps$1, t as agentCommand } from "./agent-DUAarfNl.js";
|
|
58
58
|
import { t as buildChannelUiCatalog } from "./catalog-B-TAbJ2o.js";
|
|
59
59
|
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-OqDAK-ap.js";
|
|
60
60
|
import { a as resolveControlUiRootOverrideSync, n as ensureControlUiAssetsBuilt, o as resolveControlUiRootSync } from "./health-format-BLnFZCH_.js";
|
|
@@ -62,13 +62,13 @@ import { n as validateSystemRunCommandConsistency, r as getMachineDisplayName, t
|
|
|
62
62
|
import { h as normalizeUpdateChannel, l as DEFAULT_PACKAGE_CHANNEL, n as checkUpdateStatus, o as resolveNpmChannelTag, r as compareSemverStrings } from "./channels-status-issues-CklLFAsD.js";
|
|
63
63
|
import { t as WizardCancelledError } from "./prompts-D6b3zLVO.js";
|
|
64
64
|
import { i as shouldIncludeHook, n as loadWorkspaceHookEntries, r as resolveHookConfig } from "./hooks-status-DiqubDlK.js";
|
|
65
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
65
|
+
import { t as runOnboardingWizard } from "./onboarding-CZBVMwFn.js";
|
|
66
66
|
import { a as setGatewayWsLogStyle, i as summarizeAgentEventForWsLog, n as logWs, r as shouldLogWs, t as formatForLog } from "./ws-log-BA9w1cJs.js";
|
|
67
67
|
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-CR33Gqfc.js";
|
|
68
68
|
import { a as loadAgentIdentity, c as loadAgentIdentityFromWorkspace, i as listAgentEntries, o as pruneAgentConfig, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-DibGEnBs.js";
|
|
69
69
|
import { t as migrateFromCoherence } from "./migrate-DkBWjPPs.js";
|
|
70
70
|
import { t as installSkill } from "./skills-install-CE6djAWL.js";
|
|
71
|
-
import { t as runGatewayUpdate } from "./update-runner-
|
|
71
|
+
import { t as runGatewayUpdate } from "./update-runner-iLJQF6VA.js";
|
|
72
72
|
import { n as forceFreePortAndWait } from "./ports-aNJUI3Mi.js";
|
|
73
73
|
import { execFile, spawn, spawnSync } from "node:child_process";
|
|
74
74
|
import os from "node:os";
|
|
@@ -11418,7 +11418,7 @@ const nodeHandlers = {
|
|
|
11418
11418
|
const p = params;
|
|
11419
11419
|
const payloadJSON = typeof p.payloadJSON === "string" ? p.payloadJSON : p.payload !== void 0 ? JSON.stringify(p.payload) : null;
|
|
11420
11420
|
await respondUnavailableOnThrow(respond, async () => {
|
|
11421
|
-
const { handleNodeEvent } = await import("./server-node-events-
|
|
11421
|
+
const { handleNodeEvent } = await import("./server-node-events-CmZXzWcd.js");
|
|
11422
11422
|
const nodeId = client?.connect?.device?.id ?? client?.connect?.client?.id ?? "node";
|
|
11423
11423
|
await handleNodeEvent({
|
|
11424
11424
|
deps: context.deps,
|
|
@@ -2,7 +2,7 @@ import { h as expandHomePrefix, i as isNixMode, l as resolveGatewayLockDir, m as
|
|
|
2
2
|
import { E as getActivePluginRegistry, F as setVerbose, G as setLoggerOverride, H as getChildLogger, U as getLogger, W as getResolvedLoggerSettings, d as defaultRuntime, g as CHANNEL_IDS, i as getResolvedConsoleSettings, n as runtimeForLogger, o as setConsoleSubsystemFilter, s as setConsoleTimestampPrefix, t as createSubsystemLogger, v as DEFAULT_CHAT_CHANNEL } from "./subsystem-BMsbqSb4.js";
|
|
3
3
|
import { C as shortenHomePath, D as truncateUtf16Safe, b as resolveUserPath, c as ensureDir, d as isPlainObject, r as clamp, t as CONFIG_DIR } from "./utils-B60lF9Wq.js";
|
|
4
4
|
import { C as supportsXHighThinking, _ as normalizeElevatedLevel, b as normalizeUsageDisplay, m as formatXHighModelHint, p as formatThinkingLevels, v as normalizeReasoningLevel, x as normalizeVerboseLevel, y as normalizeThinkLevel } from "./pi-embedded-helpers-B6wVA0hU.js";
|
|
5
|
-
import { $ as saveProviderStore, $n as runCliAgent, $t as getHookType, A as writeJsonAtomic, An as stopSubagentsForRequester, At as emitGatewayRestart, B as abortEmbeddedPiRun, Bt as summarizeRestartSentinel, C as verifyNodeToken, Cr as extractImageContentFromSource, Ct as resolveOutboundTarget, D as pruneExpiredPending, Dt as runWithModelFallback, E as createAsyncLock, En as formatZonedTimestamp, Et as resolveMessageChannelSelection, Fn as initSubagentRegistry, Ft as setPreRestartDeferralCheck, G as sniffMimeFromBase64, Gn as getAgentRunContext, Gt as inferLegacyName, H as waitForEmbeddedPiRunEnd, Hn as CommandLane, Ht as writeRestartSentinel, I as getTotalQueueSize, In as listDescendantRunsForRequester, It as consumeRestartSentinel, J as createAnimaTools, Jn as resolveAgentIdentity, Jt as normalizePayloadToSystemText, K as requestHeartbeatNow, Kn as onAgentEvent, Kt as normalizeOptionalAgentId, L as resetAllLanes, Lt as formatDoctorNonInteractiveHint, M as registerSkillsChangeListener, Mt as markGatewaySigusr1RestartHandled, N as clearSessionQueues, Nt as scheduleGatewaySigusr1Restart, O as readJsonFile, Or as resolveAgentTimeoutMs, Ot as consumeGatewaySigusr1RestartAuthorization, P as getActiveTaskCount, Pn as countActiveDescendantRuns, Pt as setGatewaySigusr1RestartPolicy, Q as maskApiKey, Qt as detectSuspiciousPatterns, R as setCommandLaneConcurrency, Rn as runSubagentAnnounceFlow, Rt as formatRestartSentinelMessage, S as updatePairedNodeMetadata, Sr as extractFileContentFromSource, T as verifyPairingToken, Tr as estimateBase64DecodedBytes, Tt as resetDirectoryCache, U as applyToolPolicyPipeline, Un as clearAgentRunContext, Ut as normalizeCronJobCreate, V as runEmbeddedPiAgent, W as buildDefaultToolPolicyPipelineSteps, Wn as emitAgentEvent, Wt as normalizeCronJobPatch, X as loadProviderUsageSummary, Xt as migrateLegacyCronPayload, Y as resolveAnnounceTargetFromKey, Yt as normalizeRequiredName, Z as loadProviderStore, Zt as buildSafeExternalPrompt, _ as approveNodePairing, _r as DEFAULT_INPUT_MAX_REDIRECTS, _t as normalizeGroupActivation, ar as enqueueSystemEvent, at as loadSessionEntry, b as renamePairedNode, bn as stopDiagnosticHeartbeat, br as DEFAULT_INPUT_PDF_MIN_TEXT_CHARS, bt as resolveOutboundSessionRoute, c as normalizeSendPolicy, ct as resolveSessionModelRef, d as primeRemoteSkillsCache, dr as registerUnhandledRejectionHandler, dt as capArrayByJsonBytes, en as isExternalHookSession, er as lookupContextTokens, f as recordRemoteNodeInfo, fr as DEFAULT_INPUT_FILE_MAX_BYTES, ft as readSessionMessages, g as setSkillsRemoteRegistry, gn as getTotalPendingReplies, gr as DEFAULT_INPUT_IMAGE_MIMES, h as removeRemoteNodeInfo, hn as createReplyDispatcher, hr as DEFAULT_INPUT_IMAGE_MAX_BYTES, ht as stripEnvelopeFromMessages, i as setCliSessionId, in as loadAnimaPlugins, ir as parseVerboseOverride, it as loadCombinedSessionStoreForGateway, j as getSkillsSnapshotVersion, jt as isGatewaySigusr1RestartExternallyAllowed, k as resolvePairingPaths, kn as isAbortTrigger, kt as deferGatewayRestartUntilIdle, l as resolveSendPolicy, lr as loadModelCatalog, lt as archiveFileOnDisk, m as refreshRemoteNodeBins, mn as dispatchInboundMessage, mr as DEFAULT_INPUT_FILE_MIMES, mt as resolveSessionTranscriptCandidates, n as BARE_SESSION_RESET_PROMPT, nn as persistBrowserProxyFiles, nr as applyModelOverrideToSessionEntry, nt as listAgentsForGateway, or as isSystemEventContextChanged, ot as pruneLegacyStoreKeys, p as refreshRemoteBinsForConnectedNodes, pr as DEFAULT_INPUT_FILE_MAX_CHARS, pt as readSessionPreviewItemsFromTranscript, qn as registerAgentRunContext, qt as normalizeOptionalText, r as getCliSessionId, rn as getPluginToolMeta, rr as applyVerboseOverride, rt as listSessionsFromStore, st as resolveGatewaySessionStoreTarget, tn as applyBrowserProxyPaths, tt as canonicalizeSpawnedByForAgent, u as getRemoteSkillEligibility, un as getChannelActivity, ut as archiveSessionTranscripts, v as listNodePairing, vr as DEFAULT_INPUT_PDF_MAX_PAGES, w as generatePairingToken, wr as normalizeMimeList, wt as resolveSessionDeliveryTarget, x as requestNodePairing, xn as isDiagnosticsEnabled, xr as DEFAULT_INPUT_TIMEOUT_MS, y as rejectNodePairing, yn as startDiagnosticHeartbeat, yr as DEFAULT_INPUT_PDF_MAX_PIXELS, yt as ensureOutboundSessionEntry, z as waitForActiveTasks, zn as readLatestAssistantReply } from "./reply-
|
|
5
|
+
import { $ as saveProviderStore, $n as runCliAgent, $t as getHookType, A as writeJsonAtomic, An as stopSubagentsForRequester, At as emitGatewayRestart, B as abortEmbeddedPiRun, Bt as summarizeRestartSentinel, C as verifyNodeToken, Cr as extractImageContentFromSource, Ct as resolveOutboundTarget, D as pruneExpiredPending, Dt as runWithModelFallback, E as createAsyncLock, En as formatZonedTimestamp, Et as resolveMessageChannelSelection, Fn as initSubagentRegistry, Ft as setPreRestartDeferralCheck, G as sniffMimeFromBase64, Gn as getAgentRunContext, Gt as inferLegacyName, H as waitForEmbeddedPiRunEnd, Hn as CommandLane, Ht as writeRestartSentinel, I as getTotalQueueSize, In as listDescendantRunsForRequester, It as consumeRestartSentinel, J as createAnimaTools, Jn as resolveAgentIdentity, Jt as normalizePayloadToSystemText, K as requestHeartbeatNow, Kn as onAgentEvent, Kt as normalizeOptionalAgentId, L as resetAllLanes, Lt as formatDoctorNonInteractiveHint, M as registerSkillsChangeListener, Mt as markGatewaySigusr1RestartHandled, N as clearSessionQueues, Nt as scheduleGatewaySigusr1Restart, O as readJsonFile, Or as resolveAgentTimeoutMs, Ot as consumeGatewaySigusr1RestartAuthorization, P as getActiveTaskCount, Pn as countActiveDescendantRuns, Pt as setGatewaySigusr1RestartPolicy, Q as maskApiKey, Qt as detectSuspiciousPatterns, R as setCommandLaneConcurrency, Rn as runSubagentAnnounceFlow, Rt as formatRestartSentinelMessage, S as updatePairedNodeMetadata, Sr as extractFileContentFromSource, T as verifyPairingToken, Tr as estimateBase64DecodedBytes, Tt as resetDirectoryCache, U as applyToolPolicyPipeline, Un as clearAgentRunContext, Ut as normalizeCronJobCreate, V as runEmbeddedPiAgent, W as buildDefaultToolPolicyPipelineSteps, Wn as emitAgentEvent, Wt as normalizeCronJobPatch, X as loadProviderUsageSummary, Xt as migrateLegacyCronPayload, Y as resolveAnnounceTargetFromKey, Yt as normalizeRequiredName, Z as loadProviderStore, Zt as buildSafeExternalPrompt, _ as approveNodePairing, _r as DEFAULT_INPUT_MAX_REDIRECTS, _t as normalizeGroupActivation, ar as enqueueSystemEvent, at as loadSessionEntry, b as renamePairedNode, bn as stopDiagnosticHeartbeat, br as DEFAULT_INPUT_PDF_MIN_TEXT_CHARS, bt as resolveOutboundSessionRoute, c as normalizeSendPolicy, ct as resolveSessionModelRef, d as primeRemoteSkillsCache, dr as registerUnhandledRejectionHandler, dt as capArrayByJsonBytes, en as isExternalHookSession, er as lookupContextTokens, f as recordRemoteNodeInfo, fr as DEFAULT_INPUT_FILE_MAX_BYTES, ft as readSessionMessages, g as setSkillsRemoteRegistry, gn as getTotalPendingReplies, gr as DEFAULT_INPUT_IMAGE_MIMES, h as removeRemoteNodeInfo, hn as createReplyDispatcher, hr as DEFAULT_INPUT_IMAGE_MAX_BYTES, ht as stripEnvelopeFromMessages, i as setCliSessionId, in as loadAnimaPlugins, ir as parseVerboseOverride, it as loadCombinedSessionStoreForGateway, j as getSkillsSnapshotVersion, jt as isGatewaySigusr1RestartExternallyAllowed, k as resolvePairingPaths, kn as isAbortTrigger, kt as deferGatewayRestartUntilIdle, l as resolveSendPolicy, lr as loadModelCatalog, lt as archiveFileOnDisk, m as refreshRemoteNodeBins, mn as dispatchInboundMessage, mr as DEFAULT_INPUT_FILE_MIMES, mt as resolveSessionTranscriptCandidates, n as BARE_SESSION_RESET_PROMPT, nn as persistBrowserProxyFiles, nr as applyModelOverrideToSessionEntry, nt as listAgentsForGateway, or as isSystemEventContextChanged, ot as pruneLegacyStoreKeys, p as refreshRemoteBinsForConnectedNodes, pr as DEFAULT_INPUT_FILE_MAX_CHARS, pt as readSessionPreviewItemsFromTranscript, qn as registerAgentRunContext, qt as normalizeOptionalText, r as getCliSessionId, rn as getPluginToolMeta, rr as applyVerboseOverride, rt as listSessionsFromStore, st as resolveGatewaySessionStoreTarget, tn as applyBrowserProxyPaths, tt as canonicalizeSpawnedByForAgent, u as getRemoteSkillEligibility, un as getChannelActivity, ut as archiveSessionTranscripts, v as listNodePairing, vr as DEFAULT_INPUT_PDF_MAX_PAGES, w as generatePairingToken, wr as normalizeMimeList, wt as resolveSessionDeliveryTarget, x as requestNodePairing, xn as isDiagnosticsEnabled, xr as DEFAULT_INPUT_TIMEOUT_MS, y as rejectNodePairing, yn as startDiagnosticHeartbeat, yr as DEFAULT_INPUT_PDF_MAX_PIXELS, yt as ensureOutboundSessionEntry, z as waitForActiveTasks, zn as readLatestAssistantReply } from "./reply-BgPvB-gR.js";
|
|
6
6
|
import { b as isSubagentSessionKey, d as resolveAgentIdFromSessionKey, i as buildAgentMainSessionKey, l as normalizeAgentId, m as toAgentRequestSessionKey, n as DEFAULT_AGENT_ID, t as DEFAULT_ACCOUNT_ID, u as normalizeMainKey, v as isCronRunSessionKey, x as parseAgentSessionKey } from "./session-key-DAZmp8ll.js";
|
|
7
7
|
import { a as logDebug, c as logWarn, n as runExec, t as runCommandWithTimeout } from "./exec-cazBMA02.js";
|
|
8
8
|
import { t as resolveAnimaPackageRoot } from "./anima-root-xWSKR6Wm.js";
|
|
@@ -41,8 +41,8 @@ import { t as parseAbsoluteTimeMs } from "./parse-Cinbkvj-.js";
|
|
|
41
41
|
import { i as loadSessionUsageTimeSeries, l as deriveSessionTotalTokens, n as loadCostUsageSummary, r as loadSessionCostSummary, t as discoverAllSessions, u as hasNonzeroUsage } from "./session-cost-usage-BamtB1rn.js";
|
|
42
42
|
import { f as resolveExecApprovalsSocketPath, o as normalizeExecApprovals, p as saveExecApprovals, r as ensureExecApprovals, s as readExecApprovalsSnapshot, t as DEFAULT_EXEC_APPROVAL_TIMEOUT_MS } from "./exec-approvals-BJikgQkX.js";
|
|
43
43
|
import { c as resolveCronStyleNow, i as onHeartbeatEvent, r as getLastHeartbeatEvent, t as resolveHeartbeatVisibility } from "./heartbeat-visibility-B2MDtPTL.js";
|
|
44
|
-
import { r as buildHistoryContextFromEntries, t as createReplyPrefixOptions } from "./reply-prefix-
|
|
45
|
-
import { n as createOutboundSendDeps, t as createDefaultDeps } from "./deps-
|
|
44
|
+
import { r as buildHistoryContextFromEntries, t as createReplyPrefixOptions } from "./reply-prefix-37W_P4kH.js";
|
|
45
|
+
import { n as createOutboundSendDeps, t as createDefaultDeps } from "./deps-CeyVMZf1.js";
|
|
46
46
|
import { t as ensureAnimaCliOnPath } from "./path-env-CjpH-KWH.js";
|
|
47
47
|
import { t as forceFreePortAndWait } from "./ports-B1b1r9Dz.js";
|
|
48
48
|
import { t as buildChannelUiCatalog } from "./catalog-AZNRamJ4.js";
|
|
@@ -55,23 +55,23 @@ import { t as parsePort } from "./parse-port-CDPwDUs3.js";
|
|
|
55
55
|
import { n as resolveWideAreaDiscoveryDomain, r as writeWideAreaGatewayZone } from "./widearea-dns-BDtWuGCY.js";
|
|
56
56
|
import { i as toOptionString, n as extractGatewayMiskeys, r as maybeExplainGatewayServiceStop, t as describeUnknownError } from "./shared-Hnu5dChj.js";
|
|
57
57
|
import { o as isNodeCommandAllowed, s as resolveNodeCommandAllowlist } from "./audit-ByHmjh-G.js";
|
|
58
|
-
import { n as getStatusSummary } from "./status-
|
|
58
|
+
import { n as getStatusSummary } from "./status-BVAoIQ0V.js";
|
|
59
59
|
import { t as resolveChannelDefaultAccountId } from "./helpers-1MPChTcB.js";
|
|
60
|
-
import { c as startHeartbeatRunner, n as getHealthSnapshot, o as runHeartbeatOnce, s as setHeartbeatsEnabled } from "./health-
|
|
60
|
+
import { c as startHeartbeatRunner, n as getHealthSnapshot, o as runHeartbeatOnce, s as setHeartbeatsEnabled } from "./health-D8fJ6U_k.js";
|
|
61
61
|
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-Mj7AnofW.js";
|
|
62
62
|
import { a as resolveControlUiRootOverrideSync, n as ensureControlUiAssetsBuilt, o as resolveControlUiRootSync } from "./health-format-CH6JWH45.js";
|
|
63
63
|
import { n as validateSystemRunCommandConsistency, r as getMachineDisplayName, t as formatExecCommand } from "./system-run-command-Bx8-5h2r.js";
|
|
64
64
|
import { h as normalizeUpdateChannel, l as DEFAULT_PACKAGE_CHANNEL, n as checkUpdateStatus, o as resolveNpmChannelTag, r as compareSemverStrings } from "./channels-status-issues-DdjvFHx9.js";
|
|
65
|
-
import { t as WizardCancelledError } from "./prompts-
|
|
65
|
+
import { t as WizardCancelledError } from "./prompts-CneQ6SeF.js";
|
|
66
66
|
import { i as shouldIncludeHook, n as loadWorkspaceHookEntries, r as resolveHookConfig } from "./hooks-status-VvwKn90L.js";
|
|
67
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
67
|
+
import { t as runOnboardingWizard } from "./onboarding-Cao0a_Z1.js";
|
|
68
68
|
import { a as setGatewayWsLogStyle, i as summarizeAgentEventForWsLog, n as logWs, r as shouldLogWs, t as formatForLog } from "./ws-log-Bc4grA6W.js";
|
|
69
69
|
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-D2uUKNlF.js";
|
|
70
|
-
import { a as createOutboundSendDeps$1, i as resolveAgentOutboundTarget, r as resolveAgentDeliveryPlan, t as agentCommand } from "./agent-
|
|
70
|
+
import { a as createOutboundSendDeps$1, i as resolveAgentOutboundTarget, r as resolveAgentDeliveryPlan, t as agentCommand } from "./agent-CaaEZsXl.js";
|
|
71
71
|
import { a as loadAgentIdentity, c as loadAgentIdentityFromWorkspace, i as listAgentEntries, o as pruneAgentConfig, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-J7iEgdW_.js";
|
|
72
72
|
import { t as migrateFromCoherence } from "./migrate-BLjwxe9X.js";
|
|
73
73
|
import { t as installSkill } from "./skills-install-2DbC1Yo2.js";
|
|
74
|
-
import { t as runGatewayUpdate } from "./update-runner-
|
|
74
|
+
import { t as runGatewayUpdate } from "./update-runner-DPmSGXS3.js";
|
|
75
75
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
76
76
|
import * as fsSync from "node:fs";
|
|
77
77
|
import fs, { constants } from "node:fs";
|
|
@@ -11420,7 +11420,7 @@ const nodeHandlers = {
|
|
|
11420
11420
|
const p = params;
|
|
11421
11421
|
const payloadJSON = typeof p.payloadJSON === "string" ? p.payloadJSON : p.payload !== void 0 ? JSON.stringify(p.payload) : null;
|
|
11422
11422
|
await respondUnavailableOnThrow(respond, async () => {
|
|
11423
|
-
const { handleNodeEvent } = await import("./server-node-events-
|
|
11423
|
+
const { handleNodeEvent } = await import("./server-node-events-DBOg36in.js");
|
|
11424
11424
|
const nodeId = client?.connect?.device?.id ?? client?.connect?.client?.id ?? "node";
|
|
11425
11425
|
await handleNodeEvent({
|
|
11426
11426
|
deps: context.deps,
|
|
@@ -14,7 +14,7 @@ import "./shell-env-2QqHvBMl.js";
|
|
|
14
14
|
import "./client-DzIcZx4J.js";
|
|
15
15
|
import "./call-DHZ76BNg.js";
|
|
16
16
|
import "./message-channel-DdOBO6Qm.js";
|
|
17
|
-
import { zn as installUnhandledRejectionHandler } from "./subagent-registry-
|
|
17
|
+
import { zn as installUnhandledRejectionHandler } from "./subagent-registry-MZIxVf8W.js";
|
|
18
18
|
import "./sessions-1XK2mH6L.js";
|
|
19
19
|
import "./tokens-CmlI2hSz.js";
|
|
20
20
|
import "./anthropic-direct-runner-CzQb7QkD.js";
|
|
@@ -61,8 +61,8 @@ import "./prompt-style-D6SRiiTV.js";
|
|
|
61
61
|
import "./catalog-B-TAbJ2o.js";
|
|
62
62
|
import "./plugin-auto-enable-OqDAK-ap.js";
|
|
63
63
|
import "./note-BaOKDvcy.js";
|
|
64
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
65
|
-
import { t as emitCliBanner } from "./banner-
|
|
64
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-CkZnT8Fb.js";
|
|
65
|
+
import { t as emitCliBanner } from "./banner-D9JyV5SF.js";
|
|
66
66
|
import "./doctor-config-flow-BjfGQ1Br.js";
|
|
67
67
|
import { n as ensureConfigReady } from "./config-guard-B1plY6aQ.js";
|
|
68
68
|
import process$1 from "node:process";
|
|
@@ -77,7 +77,7 @@ const routeHealth = {
|
|
|
77
77
|
const verbose = getVerboseFlag(argv, { includeDebug: true });
|
|
78
78
|
const timeoutMs = getPositiveIntFlagValue(argv, "--timeout");
|
|
79
79
|
if (timeoutMs === null) return false;
|
|
80
|
-
const { healthCommand } = await import("./health-
|
|
80
|
+
const { healthCommand } = await import("./health-BttJ1Qeh.js").then((n) => n.i);
|
|
81
81
|
await healthCommand({
|
|
82
82
|
json,
|
|
83
83
|
timeoutMs,
|
|
@@ -97,7 +97,7 @@ const routeStatus = {
|
|
|
97
97
|
const verbose = getVerboseFlag(argv, { includeDebug: true });
|
|
98
98
|
const timeoutMs = getPositiveIntFlagValue(argv, "--timeout");
|
|
99
99
|
if (timeoutMs === null) return false;
|
|
100
|
-
const { statusCommand } = await import("./status-
|
|
100
|
+
const { statusCommand } = await import("./status-C9B6cEM0.js").then((n) => n.t);
|
|
101
101
|
await statusCommand({
|
|
102
102
|
json,
|
|
103
103
|
deep,
|
|
@@ -131,7 +131,7 @@ const routeAgentsList = {
|
|
|
131
131
|
run: async (argv) => {
|
|
132
132
|
const json = hasFlag(argv, "--json");
|
|
133
133
|
const bindings = hasFlag(argv, "--bindings");
|
|
134
|
-
const { agentsListCommand } = await import("./agents-
|
|
134
|
+
const { agentsListCommand } = await import("./agents-t54YcbvK.js").then((n) => n.t);
|
|
135
135
|
await agentsListCommand({
|
|
136
136
|
json,
|
|
137
137
|
bindings
|
|
@@ -202,7 +202,7 @@ const routes = [
|
|
|
202
202
|
const pathArg = getCommandPositionals(argv)[2];
|
|
203
203
|
if (!pathArg) return false;
|
|
204
204
|
const json = hasFlag(argv, "--json");
|
|
205
|
-
const { runConfigGet } = await import("./config-cli-
|
|
205
|
+
const { runConfigGet } = await import("./config-cli-CQzq5yWB.js");
|
|
206
206
|
await runConfigGet({
|
|
207
207
|
path: pathArg,
|
|
208
208
|
json
|
|
@@ -215,7 +215,7 @@ const routes = [
|
|
|
215
215
|
run: async (argv) => {
|
|
216
216
|
const pathArg = getCommandPositionals(argv)[2];
|
|
217
217
|
if (!pathArg) return false;
|
|
218
|
-
const { runConfigUnset } = await import("./config-cli-
|
|
218
|
+
const { runConfigUnset } = await import("./config-cli-CQzq5yWB.js");
|
|
219
219
|
await runConfigUnset({ path: pathArg });
|
|
220
220
|
return true;
|
|
221
221
|
}
|
|
@@ -229,7 +229,7 @@ const routes = [
|
|
|
229
229
|
const local = hasFlag(argv, "--local");
|
|
230
230
|
const json = hasFlag(argv, "--json");
|
|
231
231
|
const plain = hasFlag(argv, "--plain");
|
|
232
|
-
const { modelsListCommand } = await import("./models-
|
|
232
|
+
const { modelsListCommand } = await import("./models-ByeH7ZKb.js");
|
|
233
233
|
await modelsListCommand({
|
|
234
234
|
all,
|
|
235
235
|
local,
|
|
@@ -260,7 +260,7 @@ const routes = [
|
|
|
260
260
|
const plain = hasFlag(argv, "--plain");
|
|
261
261
|
const check = hasFlag(argv, "--check");
|
|
262
262
|
const probe = hasFlag(argv, "--probe");
|
|
263
|
-
const { modelsStatusCommand } = await import("./models-
|
|
263
|
+
const { modelsStatusCommand } = await import("./models-ByeH7ZKb.js");
|
|
264
264
|
await modelsStatusCommand({
|
|
265
265
|
json,
|
|
266
266
|
plain,
|
|
@@ -338,7 +338,7 @@ async function runCli(argv = process$1.argv) {
|
|
|
338
338
|
assertSupportedRuntime();
|
|
339
339
|
if (await tryRouteCli(normalizedArgv)) return;
|
|
340
340
|
enableConsoleCapture();
|
|
341
|
-
const { buildProgram } = await import("./program-
|
|
341
|
+
const { buildProgram } = await import("./program-CTDFmZNx.js");
|
|
342
342
|
const program = buildProgram();
|
|
343
343
|
installUnhandledRejectionHandler();
|
|
344
344
|
process$1.on("uncaughtException", (error) => {
|
|
@@ -351,10 +351,10 @@ async function runCli(argv = process$1.argv) {
|
|
|
351
351
|
const { getProgramContext } = await import("./program-context-Dw8HDTRz.js").then((n) => n.n);
|
|
352
352
|
const ctx = getProgramContext(program);
|
|
353
353
|
if (ctx) {
|
|
354
|
-
const { registerCoreCliByName } = await import("./command-registry-
|
|
354
|
+
const { registerCoreCliByName } = await import("./command-registry-vEVxxxzI.js").then((n) => n.t);
|
|
355
355
|
await registerCoreCliByName(program, ctx, primary, parseArgv);
|
|
356
356
|
}
|
|
357
|
-
const { registerSubCliByName } = await import("./register.subclis-
|
|
357
|
+
const { registerSubCliByName } = await import("./register.subclis-L55mGheS.js").then((n) => n.i);
|
|
358
358
|
await registerSubCliByName(program, primary);
|
|
359
359
|
}
|
|
360
360
|
if (!shouldSkipPluginCommandRegistration({
|
|
@@ -362,7 +362,7 @@ async function runCli(argv = process$1.argv) {
|
|
|
362
362
|
primary,
|
|
363
363
|
hasBuiltinPrimary: primary !== null && program.commands.some((command) => command.name() === primary)
|
|
364
364
|
})) {
|
|
365
|
-
const { registerPluginCliCommands } = await import("./cli-
|
|
365
|
+
const { registerPluginCliCommands } = await import("./cli-kT9Mb3dT.js");
|
|
366
366
|
const { loadConfig } = await import("./config-Ofh9gKvs.js").then((n) => n.t);
|
|
367
367
|
registerPluginCliCommands(program, loadConfig());
|
|
368
368
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as __exportAll } from "./chunk-BXK9XSlF.js";
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-DA3Cno1i.js";
|
|
3
3
|
import { t as extractTopics } from "./topic-extractor-pnAue5Ts.js";
|
|
4
4
|
import { randomUUID } from "node:crypto";
|
|
5
5
|
|
|
@@ -15,7 +15,7 @@ import "./shell-env-2QqHvBMl.js";
|
|
|
15
15
|
import "./client-DzIcZx4J.js";
|
|
16
16
|
import "./call-DHZ76BNg.js";
|
|
17
17
|
import "./message-channel-DdOBO6Qm.js";
|
|
18
|
-
import { H as pruneLegacyStoreKeys, Pn as enqueueSystemEvent, U as resolveGatewaySessionStoreTarget, V as loadSessionEntry, rn as requestHeartbeatNow } from "./subagent-registry-
|
|
18
|
+
import { H as pruneLegacyStoreKeys, Pn as enqueueSystemEvent, U as resolveGatewaySessionStoreTarget, V as loadSessionEntry, rn as requestHeartbeatNow } from "./subagent-registry-MZIxVf8W.js";
|
|
19
19
|
import { l as updateSessionStore } from "./sessions-1XK2mH6L.js";
|
|
20
20
|
import "./tokens-CmlI2hSz.js";
|
|
21
21
|
import "./anthropic-direct-runner-CzQb7QkD.js";
|
|
@@ -54,7 +54,7 @@ import "./links-3c7gzW-G.js";
|
|
|
54
54
|
import "./progress-Dj2aBWOI.js";
|
|
55
55
|
import "./logging-Bpf6Cepz.js";
|
|
56
56
|
import "./auth-store-Vfd6oc1G.js";
|
|
57
|
-
import { t as agentCommand } from "./agent-
|
|
57
|
+
import { t as agentCommand } from "./agent-DUAarfNl.js";
|
|
58
58
|
import { t as formatForLog } from "./ws-log-BA9w1cJs.js";
|
|
59
59
|
import { randomUUID } from "node:crypto";
|
|
60
60
|
|