@noxsoft/anima 3.0.4 → 3.0.5
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-0-iS_1ON.js → accounts-MCFGsqbc.js} +6 -6
- package/dist/{acp-cli-DR2eCnHa.js → acp-cli-Cc4hge8F.js} +3 -3
- package/dist/{agent-events-DpLOd9j3.js → agent-events-k0oEWcJi.js} +1 -1
- package/dist/{agent-D67QJfSA.js → agent-kw6IKi2M.js} +7 -7
- package/dist/{agents-CC7YooRa.js → agents-CRHhdnpS.js} +4 -4
- package/dist/{audit-DTa_eoCX.js → audit-Bmlx4ME3.js} +8 -8
- package/dist/{auth-choice-uTkXmBsF.js → auth-choice-DmJpz3dy.js} +1 -1
- package/dist/{banner-7w2BYzBm.js → banner-CMa8sLDM.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +6 -6
- package/dist/{call-CdAIguFD.js → call-CtVjogkV.js} +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{chrome-dggtj3Lb.js → chrome-DZ7VChHP.js} +7 -7
- package/dist/{cli-qFdAHCu_.js → cli-BxZOVbN0.js} +18 -18
- package/dist/{cli-session-CfTs7I9q.js → cli-session-C_Pb_tJG.js} +4 -4
- package/dist/{command-registry-BOtCwS6q.js → command-registry-CNfXgZ7o.js} +11 -11
- package/dist/{completion-cli-DXr9R51W.js → completion-cli-BkFQCDYI.js} +2 -2
- package/dist/{config-BqjdiIqb.js → config-CW3mWEFv.js} +1 -1
- package/dist/{config-cli-AUXa07PR.js → config-cli-Ls75E1u6.js} +3 -3
- package/dist/{config-guard-CLE9lMNz.js → config-guard-CXr4ahlE.js} +2 -2
- package/dist/{configure-BHdbhvvf.js → configure-DsCZMKY0.js} +30 -30
- package/dist/{configure-DeN_4KMQ.js → configure-SEpZ5Jbz.js} +8 -8
- package/dist/{context-D3iu8n-R.js → context-C-EeDlhY.js} +1 -1
- package/dist/{control-service-BZzmO7c_.js → control-service-C1xo0dfl.js} +2 -2
- package/dist/control-ui/assets/{index-D8YC8Sgw.js → index-Cof-3KpT.js} +15 -13
- package/dist/control-ui/assets/{index-D8YC8Sgw.js.map → index-Cof-3KpT.js.map} +1 -1
- package/dist/control-ui/index.html +1 -1
- package/dist/{cron-cli-CyzK6gZC.js → cron-cli-C0yeWgUd.js} +4 -4
- package/dist/{daemon-cli-BJbm--Cv.js → daemon-cli-YXtw9DJy.js} +5 -5
- package/dist/{daemon-runtime-RjPFjiQt.js → daemon-runtime-D5KhD82Y.js} +1 -1
- package/dist/{deliver-JdSpxDGI.js → deliver-COTg5qFH.js} +1 -1
- package/dist/{deliver-BAvC6OQB.js → deliver-D9gk6vPm.js} +1 -1
- package/dist/{dispatcher-B8eU53gY.js → dispatcher-DQsImjGf.js} +1 -1
- package/dist/{dns-cli-DL2BM6hq.js → dns-cli-CQYWiaMa.js} +2 -2
- package/dist/{docs-cli-CKSiSdnb.js → docs-cli-DehEwN7Q.js} +1 -1
- package/dist/{doctor-pLYoBJMk.js → doctor-Bby-UShx.js} +15 -15
- package/dist/{doctor-completion-DmQMefih.js → doctor-completion-CZj6kSxM.js} +1 -1
- package/dist/{doctor-config-flow-D-6JwPG8.js → doctor-config-flow-BKTWsoKo.js} +5 -5
- package/dist/entry.js +3 -3
- package/dist/{exec-approvals-cli-BZVoSyyq.js → exec-approvals-cli-D9pfvckh.js} +6 -6
- package/dist/{gateway-cli-BdOVgRop.js → gateway-cli-DtO8TW8i.js} +46 -46
- package/dist/{gateway-rpc-UUEXPkWC.js → gateway-rpc-D7Nplm8G.js} +1 -1
- package/dist/{gmail-setup-utils-DjQ4vBw0.js → gmail-setup-utils-Du3JjS1M.js} +1 -1
- package/dist/{health-DHDWvsfA.js → health-btYQz_wA.js} +8 -8
- package/dist/{heartbeat-visibility-Cmb6Uty9.js → heartbeat-visibility-Czw1aXJ9.js} +1 -1
- package/dist/{hooks-cli-CKrriqp_.js → hooks-cli-BnYhHSTh.js} +20 -20
- package/dist/{hooks-status-C02SnWNJ.js → hooks-status-DnB6ZK0J.js} +1 -1
- package/dist/{io-iWIjWIkl.js → io-CHeqqEl4.js} +5 -5
- package/dist/{login-BdEL76u1.js → login-C25KYCCB.js} +1 -1
- package/dist/{login-yr3VtZqb.js → login-DlQyFFdq.js} +2 -2
- package/dist/{login-qr-YcClTis-.js → login-qr-Beuo6oxw.js} +1 -1
- package/dist/{login-qr-hjfbYYQE.js → login-qr-lzEKpHxZ.js} +3 -3
- package/dist/{logs-cli-Dl8iaTM8.js → logs-cli-CEX1x2UC.js} +4 -4
- package/dist/{memory-cli-BIi9M09T.js → memory-cli-B3CyQMHl.js} +1 -1
- package/dist/{models-B-eLP2W_.js → models-By2DCCb_.js} +19 -19
- package/dist/{node-cli-o5qdBDXv.js → node-cli-BzroW-6N.js} +7 -7
- package/dist/{onboard-D8heZS4W.js → onboard-C3IoqClv.js} +6 -6
- package/dist/{onboard-channels-CvE0fndb.js → onboard-channels-zGd24jDH.js} +1 -1
- package/dist/{onboard-helpers-C8-npM73.js → onboard-helpers-BnB7o14v.js} +2 -2
- package/dist/{onboarding-GTIvnear.js → onboarding-DrIg7AOV.js} +9 -9
- package/dist/{outbound-DbFD3d8r.js → outbound-CttO4U0C.js} +1 -1
- package/dist/{parse-timeout-BVEX2Lz1.js → parse-timeout-CZ6_B_Wu.js} +1 -1
- package/dist/{pi-embedded-helpers-g9om0xJ7.js → pi-embedded-helpers-sqsbN-zA.js} +4 -4
- package/dist/{pi-tools.policy-B4I325aj.js → pi-tools.policy-DksWz3BP.js} +2 -2
- package/dist/{plugin-registry-SWpB3D-5.js → plugin-registry-ssaLz5G3.js} +2 -2
- package/dist/{plugins-cli-Bj60hoG3.js → plugins-cli-49bp8GOB.js} +19 -19
- package/dist/{program-ufvQ9_i3.js → program-Cl1iECHu.js} +24 -24
- package/dist/{pw-ai-CBmRQ9aU.js → pw-ai-W08ktaHA.js} +1 -1
- package/dist/{register.agent-DlRL0gZs.js → register.agent-CMcR6wn3.js} +23 -23
- package/dist/{register.anima-BGcCs9zl.js → register.anima-CT63Jw6G.js} +3 -3
- package/dist/{register.configure-mvmlHvKz.js → register.configure-C5hYdZNC.js} +26 -26
- package/dist/{register.maintenance-D2stmLYe.js → register.maintenance-DR8HDTM1.js} +30 -30
- package/dist/{register.onboard-BvMT5000.js → register.onboard-c3wKMzVQ.js} +30 -30
- package/dist/{register.setup-BTn79YSi.js → register.setup-CsdtvJfr.js} +32 -32
- package/dist/{register.status-health-sessions-DTfOz28I.js → register.status-health-sessions-1BNEGniX.js} +25 -25
- package/dist/{register.subclis-Cb-XMz3t.js → register.subclis-APOnK1oY.js} +21 -21
- package/dist/{reply-CDFwIHRO.js → reply-DiXFAQ6Y.js} +23 -23
- package/dist/{reply-prefix-RmDHulxO.js → reply-prefix-BJ6vG158.js} +2 -2
- package/dist/{routes-Cmc5ZQhi.js → routes-BC-Mvhwy.js} +2 -2
- package/dist/{run-main-5ODo8rXB.js → run-main-DSmCSQvU.js} +36 -36
- package/dist/{sandbox-gSH3_12R.js → sandbox-C9Ow3VqW.js} +3 -3
- package/dist/{sandbox-cli-C_W6JLJ8.js → sandbox-cli-DEmOMuhf.js} +7 -7
- package/dist/{security-cli-C347Qhcz.js → security-cli-CJ_CU3Lv.js} +10 -10
- package/dist/{server-context-B0zBRUkt.js → server-context-B7l8uLo0.js} +1 -1
- package/dist/{server-node-events-DORX1Ogk.js → server-node-events-nClUCOTS.js} +11 -11
- package/dist/{service-audit-BwLKMovx.js → service-audit-BCC0aFGF.js} +1 -1
- package/dist/{session-BxRbDXzF.js → session-CeToKqd8.js} +1 -1
- package/dist/{sessions-Bm1ebRIk.js → sessions-7zgD7x8B.js} +3 -3
- package/dist/{sessions-B090A8HC.js → sessions-CO93wesA.js} +1 -1
- package/dist/{settings-cli-BfG2LeHS.js → settings-cli-Sq63XV_Z.js} +27 -27
- package/dist/{skills-C4C8s_X9.js → skills-CG8iI6v6.js} +2 -2
- package/dist/{skills-cli-BGRR3n2i.js → skills-cli-BcqCAYEs.js} +6 -6
- package/dist/{skills-install-1LM_zHZp.js → skills-install-_5laUMxp.js} +1 -1
- package/dist/{skills-status-H7e--DXr.js → skills-status-CNEd8Dm9.js} +1 -1
- package/dist/{start-Dx14-Dv4.js → start-BsO9TOE5.js} +1 -1
- package/dist/{status-CUx95WWH.js → status-DsBDigvs.js} +2 -2
- package/dist/{status-BrCv8UvC.js → status-L2HZk3ud.js} +12 -12
- package/dist/{status.update-BeqJtF19.js → status.update-DREm9Pli.js} +1 -1
- package/dist/{subagent-registry-Dc6tpkgu.js → subagent-registry-BfTldsNb.js} +6 -6
- package/dist/{subagent-registry-B9LkM5jI.js → subagent-registry-CAKZ3Y17.js} +7 -7
- package/dist/{system-cli-CMuR4lX6.js → system-cli-DzSUCwFN.js} +4 -4
- package/dist/{tui-D-VaXawe.js → tui-C2XIQ9jV.js} +3 -3
- package/dist/{tui-cli-CrNpDqdm.js → tui-cli-piy12AAM.js} +10 -10
- package/dist/{update-cli-BbW_TUAN.js → update-cli-DxE9ARmb.js} +32 -32
- package/dist/{update-runner-B1Y2OBKb.js → update-runner-DfXRVjBp.js} +1 -1
- package/dist/{usage-CdVLaB19.js → usage-ClDzxVdl.js} +2 -2
- package/dist/{web-DjsezaZk.js → web-DBI1ImUV.js} +13 -13
- package/dist/{web-CXb6AGwW.js → web-nlpa6AmG.js} +22 -22
- package/dist/{webhooks-cli-C5yo-utx.js → webhooks-cli--V32JTnS.js} +4 -4
- package/dist/{whatsapp-actions-D5Kl_XTd.js → whatsapp-actions-DZgyP_1e.js} +3 -3
- package/package.json +1 -1
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
href="https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Space+Grotesk:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap"
|
|
12
12
|
rel="stylesheet"
|
|
13
13
|
/>
|
|
14
|
-
<script type="module" crossorigin src="/assets/index-
|
|
14
|
+
<script type="module" crossorigin src="/assets/index-Cof-3KpT.js"></script>
|
|
15
15
|
<link rel="stylesheet" crossorigin href="/assets/index-CbNrH7Wu.css">
|
|
16
16
|
</head>
|
|
17
17
|
<body>
|
|
@@ -5,11 +5,11 @@ import "./exec-Dmz2Tr6K.js";
|
|
|
5
5
|
import "./agent-scope-QT1urvJx.js";
|
|
6
6
|
import "./model-selection-01zouBRC.js";
|
|
7
7
|
import "./manifest-registry-BHcAJo9u.js";
|
|
8
|
-
import "./io-
|
|
8
|
+
import "./io-CHeqqEl4.js";
|
|
9
9
|
import "./shell-env-DAw9qXji.js";
|
|
10
|
-
import "./config-
|
|
10
|
+
import "./config-CW3mWEFv.js";
|
|
11
11
|
import "./client-Dz6cszHd.js";
|
|
12
|
-
import "./call-
|
|
12
|
+
import "./call-CtVjogkV.js";
|
|
13
13
|
import "./message-channel-BiajZfgz.js";
|
|
14
14
|
import { n as listChannelPlugins } from "./plugins-zFmidMaf.js";
|
|
15
15
|
import { n as formatDurationHuman } from "./format-duration-RY4rhz_Z.js";
|
|
@@ -17,7 +17,7 @@ import { t as formatDocsLink } from "./links-DtaFNkkY.js";
|
|
|
17
17
|
import "./progress-IbQIsvcD.js";
|
|
18
18
|
import { t as parseAbsoluteTimeMs } from "./parse-nANz-Y9N.js";
|
|
19
19
|
import { n as parsePositiveIntOrUndefined } from "./helpers-xCg96Vkw.js";
|
|
20
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
20
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-D7Nplm8G.js";
|
|
21
21
|
|
|
22
22
|
//#region src/cli/cron-cli/shared.ts
|
|
23
23
|
const getCronChannelOptions = () => ["last", ...listChannelPlugins().map((plugin) => plugin.id)].join("|");
|
|
@@ -2,9 +2,9 @@ import { n as __exportAll } from "./chunk-BXK9XSlF.js";
|
|
|
2
2
|
import { A as colorize, F as getResolvedLoggerSettings, J as resolveIsNixMode, M as theme, U as resolveConfigPath, Z as resolveStateDir, h as defaultRuntime, j as isRich, q as resolveGatewayPort } from "./entry.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-B9HGdNTg.js";
|
|
4
4
|
import { S as shortenHomePath } from "./utils-DwcweD55.js";
|
|
5
|
-
import { i as readConfigFileSnapshot, n as loadConfig, s as writeConfigFile, t as createConfigIO } from "./io-
|
|
5
|
+
import { i as readConfigFileSnapshot, n as loadConfig, s as writeConfigFile, t as createConfigIO } from "./io-CHeqqEl4.js";
|
|
6
6
|
import { t as pickPrimaryTailnetIPv4 } from "./tailnet-BfvykhPh.js";
|
|
7
|
-
import { n as callGateway } from "./call-
|
|
7
|
+
import { n as callGateway } from "./call-CtVjogkV.js";
|
|
8
8
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-BiajZfgz.js";
|
|
9
9
|
import { c as resolveGatewayBindHost } from "./net-BnxQUp32.js";
|
|
10
10
|
import { i as resolveGatewayAuth } from "./auth-FzNxH03k.js";
|
|
@@ -12,15 +12,15 @@ import { i as formatPortDiagnostics, n as inspectPortUsage } from "./ports-D7xIe
|
|
|
12
12
|
import { t as formatDocsLink } from "./links-DtaFNkkY.js";
|
|
13
13
|
import { n as withProgress } from "./progress-IbQIsvcD.js";
|
|
14
14
|
import { d as resolveGatewaySystemdServiceName, l as resolveGatewayLaunchAgentLabel } from "./constants-P5ZvbYA7.js";
|
|
15
|
-
import { i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-
|
|
16
|
-
import { h as resolveControlUiLinks, m as randomToken } from "./onboard-helpers-
|
|
15
|
+
import { i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-D5KhD82Y.js";
|
|
16
|
+
import { h as resolveControlUiLinks, m as randomToken } from "./onboard-helpers-BnB7o14v.js";
|
|
17
17
|
import { n as isWSLEnv } from "./wsl-BuHG4oQZ.js";
|
|
18
18
|
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-Df_H0-VH.js";
|
|
19
19
|
import { a as filterDaemonEnv, c as pickProbeHostForBind, d as safeDaemonEnv, f as buildDaemonServiceSnapshot, i as runServiceUninstall, l as renderGatewayServiceStartHints, n as runServiceStart, o as normalizeListenerAddress, p as createDaemonActionContext, r as runServiceStop, s as parsePortFromArgs, t as runServiceRestart, u as renderRuntimeHints } from "./lifecycle-core-BAgYqtjQ.js";
|
|
20
20
|
import { n as renderSystemdUnavailableHints, r as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-Der7vKos.js";
|
|
21
21
|
import { t as parsePort } from "./parse-port-BfMN_ADA.js";
|
|
22
22
|
import { t as readLastGatewayErrorLine } from "./diagnostics-DUEfwTso.js";
|
|
23
|
-
import { a as renderGatewayServiceCleanupHints, i as findExtraGatewayServices, n as auditGatewayServiceConfig } from "./service-audit-
|
|
23
|
+
import { a as renderGatewayServiceCleanupHints, i as findExtraGatewayServices, n as auditGatewayServiceConfig } from "./service-audit-BCC0aFGF.js";
|
|
24
24
|
|
|
25
25
|
//#region src/cli/daemon-cli/install.ts
|
|
26
26
|
async function runDaemonInstall(opts) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as formatCliCommand } from "./command-format-B9HGdNTg.js";
|
|
2
|
-
import { O as collectConfigEnvVars, j as VERSION } from "./io-
|
|
2
|
+
import { O as collectConfigEnvVars, j as VERSION } from "./io-CHeqqEl4.js";
|
|
3
3
|
import { a as NODE_SERVICE_MARKER, d as resolveGatewaySystemdServiceName, g as resolveNodeWindowsTaskName, h as resolveNodeSystemdServiceName, i as NODE_SERVICE_KIND, l as resolveGatewayLaunchAgentLabel, m as resolveNodeLaunchAgentLabel, n as GATEWAY_SERVICE_KIND, o as NODE_WINDOWS_TASK_SCRIPT_NAME, r as GATEWAY_SERVICE_MARKER } from "./constants-P5ZvbYA7.js";
|
|
4
4
|
import { n as isSupportedNodeVersion } from "./runtime-guard-CPcNpD_J.js";
|
|
5
5
|
import { execFile } from "node:child_process";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as __exportAll } from "./chunk-BXK9XSlF.js";
|
|
2
2
|
import { lt as getActivePluginRegistry, o as createSubsystemLogger } from "./entry.js";
|
|
3
|
-
import { E as getChannelDock, n as appendAssistantMessageToSessionTranscript, r as resolveMirroredTranscriptText } from "./sessions-
|
|
3
|
+
import { E as getChannelDock, n as appendAssistantMessageToSessionTranscript, r as resolveMirroredTranscriptText } from "./sessions-CO93wesA.js";
|
|
4
4
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-zFmidMaf.js";
|
|
5
5
|
import { f as isMessagingToolDuplicate } from "./pi-embedded-helpers-DzLrWN23.js";
|
|
6
6
|
import { n as SILENT_REPLY_TOKEN, r as isSilentReplyText } from "./tokens-DCf522am.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as __exportAll } from "./chunk-BXK9XSlF.js";
|
|
2
2
|
import { s as resolveStateDir } from "./paths-B-AkG5FD.js";
|
|
3
3
|
import { p as getActivePluginRegistry, t as createSubsystemLogger } from "./subsystem-BlEuMJjX.js";
|
|
4
|
-
import { $ as appendAssistantMessageToSessionTranscript, Mt as isSilentReplyText, Tt as getChannelDock, d as isMessagingToolDuplicate, et as resolveMirroredTranscriptText, jt as SILENT_REPLY_TOKEN } from "./pi-embedded-helpers-
|
|
4
|
+
import { $ as appendAssistantMessageToSessionTranscript, Mt as isSilentReplyText, Tt as getChannelDock, d as isMessagingToolDuplicate, et as resolveMirroredTranscriptText, jt as SILENT_REPLY_TOKEN } from "./pi-embedded-helpers-sqsbN-zA.js";
|
|
5
5
|
import { C as normalizeChannelId, x as getChannelPlugin } from "./image-ops-B9l57jLE.js";
|
|
6
6
|
import { c as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, l as parseFenceSpans, n as chunkByParagraph, s as resolveChunkMode } from "./chunk-uuju6yOD.js";
|
|
7
7
|
import path from "node:path";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as escapeRegExp } from "./utils-DwcweD55.js";
|
|
2
|
-
import { t as registerBrowserRoutes } from "./routes-
|
|
2
|
+
import { t as registerBrowserRoutes } from "./routes-BC-Mvhwy.js";
|
|
3
3
|
|
|
4
4
|
//#region src/browser/routes/dispatcher.ts
|
|
5
5
|
function compileRoute(path) {
|
|
@@ -4,9 +4,9 @@ import "./exec-Dmz2Tr6K.js";
|
|
|
4
4
|
import "./agent-scope-QT1urvJx.js";
|
|
5
5
|
import "./model-selection-01zouBRC.js";
|
|
6
6
|
import "./manifest-registry-BHcAJo9u.js";
|
|
7
|
-
import { n as loadConfig } from "./io-
|
|
7
|
+
import { n as loadConfig } from "./io-CHeqqEl4.js";
|
|
8
8
|
import "./shell-env-DAw9qXji.js";
|
|
9
|
-
import "./config-
|
|
9
|
+
import "./config-CW3mWEFv.js";
|
|
10
10
|
import { n as pickPrimaryTailnetIPv6, t as pickPrimaryTailnetIPv4 } from "./tailnet-BfvykhPh.js";
|
|
11
11
|
import { t as formatDocsLink } from "./links-DtaFNkkY.js";
|
|
12
12
|
import { n as resolveWideAreaDiscoveryDomain, t as getWideAreaZonePath } from "./widearea-dns-Bg5y7TWc.js";
|
|
@@ -2,7 +2,7 @@ import { M as theme, h as defaultRuntime, j as isRich } from "./entry.js";
|
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-B9HGdNTg.js";
|
|
3
3
|
import "./utils-DwcweD55.js";
|
|
4
4
|
import { t as runCommandWithTimeout } from "./exec-Dmz2Tr6K.js";
|
|
5
|
-
import { x as hasBinary } from "./skills-
|
|
5
|
+
import { x as hasBinary } from "./skills-CG8iI6v6.js";
|
|
6
6
|
import "./manifest-registry-BHcAJo9u.js";
|
|
7
7
|
import { t as formatDocsLink } from "./links-DtaFNkkY.js";
|
|
8
8
|
import { t as runCommandWithRuntime } from "./cli-utils-BcbWvLzf.js";
|
|
@@ -6,40 +6,40 @@ import { n as runExec, t as runCommandWithTimeout } from "./exec-Dmz2Tr6K.js";
|
|
|
6
6
|
import { t as resolveAnimaPackageRoot } from "./anima-root-DBcJL1ZM.js";
|
|
7
7
|
import { c as resolveDefaultAgentId, d as DEFAULT_AGENTS_FILENAME, r as resolveAgentDir, s as resolveAgentWorkspaceDir } from "./agent-scope-QT1urvJx.js";
|
|
8
8
|
import { _ as DEFAULT_MODEL, d as resolveConfiguredModelRef, i as getModelRefStatus, p as resolveHooksGmailModel, v as DEFAULT_PROVIDER } from "./model-selection-01zouBRC.js";
|
|
9
|
-
import { t as buildWorkspaceSkillStatus } from "./skills-status-
|
|
10
|
-
import { i as readConfigFileSnapshot, s as writeConfigFile } from "./io-
|
|
11
|
-
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-
|
|
9
|
+
import { t as buildWorkspaceSkillStatus } from "./skills-status-CNEd8Dm9.js";
|
|
10
|
+
import { i as readConfigFileSnapshot, s as writeConfigFile } from "./io-CHeqqEl4.js";
|
|
11
|
+
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-CtVjogkV.js";
|
|
12
12
|
import { c as resolveGatewayBindHost, n as isLoopbackHost } from "./net-BnxQUp32.js";
|
|
13
|
-
import { S as resolveMainSessionKey, i as loadSessionStore } from "./sessions-
|
|
13
|
+
import { S as resolveMainSessionKey, i as loadSessionStore } from "./sessions-CO93wesA.js";
|
|
14
14
|
import { n as listChannelPlugins } from "./plugins-zFmidMaf.js";
|
|
15
|
-
import { C as DEFAULT_SANDBOX_IMAGE, S as DEFAULT_SANDBOX_COMMON_IMAGE, l as resolveSandboxScope, x as DEFAULT_SANDBOX_BROWSER_IMAGE } from "./sandbox-
|
|
15
|
+
import { C as DEFAULT_SANDBOX_IMAGE, S as DEFAULT_SANDBOX_COMMON_IMAGE, l as resolveSandboxScope, x as DEFAULT_SANDBOX_BROWSER_IMAGE } from "./sandbox-C9Ow3VqW.js";
|
|
16
16
|
import { i as resolveGatewayAuth } from "./auth-FzNxH03k.js";
|
|
17
17
|
import { i as formatPortDiagnostics, n as inspectPortUsage } from "./ports-D7xIe6xi.js";
|
|
18
18
|
import { c as resolveStorePath, n as resolveSessionFilePath, s as resolveSessionTranscriptsDirForAgent } from "./paths-BEkHcryg.js";
|
|
19
|
-
import { Yt as loadModelCatalog } from "./cli-session-
|
|
20
|
-
import { J as loadAnimaPlugins } from "./reply-
|
|
19
|
+
import { Yt as loadModelCatalog } from "./cli-session-C_Pb_tJG.js";
|
|
20
|
+
import { J as loadAnimaPlugins } from "./reply-DiXFAQ6Y.js";
|
|
21
21
|
import { i as resolveApiKeyForProvider } from "./model-auth-ajey777y.js";
|
|
22
|
-
import { l as readChannelAllowFromStore } from "./pi-tools.policy-
|
|
22
|
+
import { l as readChannelAllowFromStore } from "./pi-tools.policy-DksWz3BP.js";
|
|
23
23
|
import { n as resolveMemorySearchConfig } from "./manager-z25H5SAC.js";
|
|
24
24
|
import { d as resolveGatewaySystemdServiceName, f as resolveGatewayWindowsTaskName, l as resolveGatewayLaunchAgentLabel, m as resolveNodeLaunchAgentLabel } from "./constants-P5ZvbYA7.js";
|
|
25
|
-
import { a as gatewayInstallErrorHint, d as renderSystemNodeWarning, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, p as resolveSystemNodeInfo, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-
|
|
26
|
-
import { f as printWizardHeader, m as randomToken, n as applyWizardMetadata, s as guardCancel } from "./onboard-helpers-
|
|
25
|
+
import { a as gatewayInstallErrorHint, d as renderSystemNodeWarning, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, p as resolveSystemNodeInfo, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-D5KhD82Y.js";
|
|
26
|
+
import { f as printWizardHeader, m as randomToken, n as applyWizardMetadata, s as guardCancel } from "./onboard-helpers-BnB7o14v.js";
|
|
27
27
|
import { n as isWSLEnv, t as isWSL } from "./wsl-BuHG4oQZ.js";
|
|
28
28
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-CtqNME6o.js";
|
|
29
29
|
import { r as isSystemdUserServiceAvailable } from "./systemd-DMnpU3vJ.js";
|
|
30
30
|
import { a as launchAgentPlistExists, i as isLaunchAgentLoaded, o as repairLaunchAgentBootstrap, r as isLaunchAgentListed, s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-Df_H0-VH.js";
|
|
31
31
|
import { n as renderSystemdUnavailableHints, r as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-Der7vKos.js";
|
|
32
32
|
import { t as readLastGatewayErrorLine } from "./diagnostics-DUEfwTso.js";
|
|
33
|
-
import { a as renderGatewayServiceCleanupHints, i as findExtraGatewayServices, n as auditGatewayServiceConfig, r as needsNodeRuntimeMigration, t as SERVICE_AUDIT_CODES } from "./service-audit-
|
|
33
|
+
import { a as renderGatewayServiceCleanupHints, i as findExtraGatewayServices, n as auditGatewayServiceConfig, r as needsNodeRuntimeMigration, t as SERVICE_AUDIT_CODES } from "./service-audit-BCC0aFGF.js";
|
|
34
34
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BUW2xtvb.js";
|
|
35
|
-
import { r as healthCommand } from "./health-
|
|
35
|
+
import { r as healthCommand } from "./health-btYQz_wA.js";
|
|
36
36
|
import { i as resolveControlUiDistIndexPathForRoot, r as resolveControlUiDistIndexHealth, t as formatHealthCheckFailure } from "./health-format-DikxNm9W.js";
|
|
37
37
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-Brky9enJ.js";
|
|
38
38
|
import { n as logConfigUpdated } from "./logging-DMCxh6UT.js";
|
|
39
39
|
import { t as note$1 } from "./note-BwhOxUoJ.js";
|
|
40
|
-
import { n as doctorShellCompletion } from "./doctor-completion-
|
|
41
|
-
import { t as runGatewayUpdate } from "./update-runner-
|
|
42
|
-
import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-
|
|
40
|
+
import { n as doctorShellCompletion } from "./doctor-completion-CZj6kSxM.js";
|
|
41
|
+
import { t as runGatewayUpdate } from "./update-runner-DfXRVjBp.js";
|
|
42
|
+
import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-BKTWsoKo.js";
|
|
43
43
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-BV9rUksz.js";
|
|
44
44
|
import { n as buildAuthHealthSummary, r as formatRemainingShort, t as DEFAULT_OAUTH_WARN_MS } from "./auth-health-B_3wexOu.js";
|
|
45
45
|
import { execFile } from "node:child_process";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as resolveCliName } from "./command-format-B9HGdNTg.js";
|
|
2
2
|
import { t as resolveAnimaPackageRoot } from "./anima-root-DBcJL1ZM.js";
|
|
3
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
3
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-BkFQCDYI.js";
|
|
4
4
|
import { t as note } from "./note-BwhOxUoJ.js";
|
|
5
5
|
import { spawnSync } from "node:child_process";
|
|
6
6
|
import path from "node:path";
|
|
@@ -3,15 +3,15 @@ import { t as formatCliCommand } from "./command-format-B9HGdNTg.js";
|
|
|
3
3
|
import { i as buildAgentMainSessionKey, l as normalizeAgentId, r as DEFAULT_MAIN_KEY, t as DEFAULT_ACCOUNT_ID } from "./session-key-DP2WHl90.js";
|
|
4
4
|
import { _ as resolveHomeDir, d as isRecord } from "./utils-DwcweD55.js";
|
|
5
5
|
import { c as resolveDefaultAgentId } from "./agent-scope-QT1urvJx.js";
|
|
6
|
-
import { i as readConfigFileSnapshot, l as AnimaSchema } from "./io-
|
|
7
|
-
import { n as migrateLegacyConfig } from "./config-
|
|
8
|
-
import { s as saveSessionStore, y as canonicalizeMainSessionAlias } from "./sessions-
|
|
6
|
+
import { i as readConfigFileSnapshot, l as AnimaSchema } from "./io-CHeqqEl4.js";
|
|
7
|
+
import { n as migrateLegacyConfig } from "./config-CW3mWEFv.js";
|
|
8
|
+
import { s as saveSessionStore, y as canonicalizeMainSessionAlias } from "./sessions-CO93wesA.js";
|
|
9
9
|
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-BTi8mF_C.js";
|
|
10
10
|
import { t as note } from "./note-BwhOxUoJ.js";
|
|
11
11
|
import os from "node:os";
|
|
12
12
|
import path from "node:path";
|
|
13
13
|
import fs from "node:fs";
|
|
14
|
-
import
|
|
14
|
+
import JSON5 from "json5";
|
|
15
15
|
import fs$1 from "node:fs/promises";
|
|
16
16
|
|
|
17
17
|
//#region src/commands/doctor-legacy-config.ts
|
|
@@ -216,7 +216,7 @@ function isLegacyWhatsAppAuthFile(name) {
|
|
|
216
216
|
function readSessionStoreJson5(storePath) {
|
|
217
217
|
try {
|
|
218
218
|
const raw = fs.readFileSync(storePath, "utf-8");
|
|
219
|
-
const parsed =
|
|
219
|
+
const parsed = JSON5.parse(raw);
|
|
220
220
|
if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return {
|
|
221
221
|
store: parsed,
|
|
222
222
|
ok: true
|
package/dist/entry.js
CHANGED
|
@@ -7,7 +7,7 @@ import path from "node:path";
|
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
import chalk, { Chalk } from "chalk";
|
|
9
9
|
import { Logger } from "tslog";
|
|
10
|
-
import
|
|
10
|
+
import JSON5 from "json5";
|
|
11
11
|
import util from "node:util";
|
|
12
12
|
|
|
13
13
|
//#region src/infra/home-dir.ts
|
|
@@ -624,7 +624,7 @@ function readLoggingConfig() {
|
|
|
624
624
|
try {
|
|
625
625
|
if (!fs.existsSync(configPath)) return;
|
|
626
626
|
const raw = fs.readFileSync(configPath, "utf-8");
|
|
627
|
-
const logging =
|
|
627
|
+
const logging = JSON5.parse(raw)?.logging;
|
|
628
628
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
629
629
|
return logging;
|
|
630
630
|
} catch {
|
|
@@ -1509,7 +1509,7 @@ if (!ensureExperimentalWarningSuppressed()) {
|
|
|
1509
1509
|
applyCliProfileEnv({ profile: parsed.profile });
|
|
1510
1510
|
process$1.argv = parsed.argv;
|
|
1511
1511
|
}
|
|
1512
|
-
import("./run-main-
|
|
1512
|
+
import("./run-main-DSmCSQvU.js").then(({ runCli }) => runCli(process$1.argv)).catch((error) => {
|
|
1513
1513
|
console.error("[anima] Failed to start CLI:", error instanceof Error ? error.stack ?? error.message : error);
|
|
1514
1514
|
process$1.exitCode = 1;
|
|
1515
1515
|
});
|
|
@@ -4,23 +4,23 @@ import "./exec-Dmz2Tr6K.js";
|
|
|
4
4
|
import "./agent-scope-QT1urvJx.js";
|
|
5
5
|
import "./model-selection-01zouBRC.js";
|
|
6
6
|
import "./manifest-registry-BHcAJo9u.js";
|
|
7
|
-
import "./io-
|
|
7
|
+
import "./io-CHeqqEl4.js";
|
|
8
8
|
import "./shell-env-DAw9qXji.js";
|
|
9
|
-
import "./config-
|
|
9
|
+
import "./config-CW3mWEFv.js";
|
|
10
10
|
import "./client-Dz6cszHd.js";
|
|
11
|
-
import { n as callGateway } from "./call-
|
|
11
|
+
import { n as callGateway } from "./call-CtVjogkV.js";
|
|
12
12
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-BiajZfgz.js";
|
|
13
13
|
import { p as saveExecApprovals, s as readExecApprovalsSnapshot } from "./exec-approvals-WuHCaecR.js";
|
|
14
14
|
import { t as resolveNodeIdFromCandidates } from "./node-match-BHCCdrYx.js";
|
|
15
15
|
import { n as formatTimeAgo } from "./format-relative-D4GQsWlP.js";
|
|
16
16
|
import { t as formatDocsLink } from "./links-DtaFNkkY.js";
|
|
17
17
|
import { n as withProgress } from "./progress-IbQIsvcD.js";
|
|
18
|
-
import { n as callGatewayFromCli } from "./gateway-rpc-
|
|
18
|
+
import { n as callGatewayFromCli } from "./gateway-rpc-D7Nplm8G.js";
|
|
19
19
|
import "./systemd-DMnpU3vJ.js";
|
|
20
20
|
import "./service-Df_H0-VH.js";
|
|
21
21
|
import { t as renderTable } from "./table-C2NJJLb2.js";
|
|
22
22
|
import { t as describeUnknownError } from "./shared-CYr8czrP.js";
|
|
23
|
-
import
|
|
23
|
+
import JSON5 from "json5";
|
|
24
24
|
import fs from "node:fs/promises";
|
|
25
25
|
|
|
26
26
|
//#region src/cli/nodes-cli/format.ts
|
|
@@ -320,7 +320,7 @@ function registerExecApprovalsCli(program) {
|
|
|
320
320
|
const raw = opts.stdin ? await readStdin() : await fs.readFile(String(opts.file), "utf8");
|
|
321
321
|
let file;
|
|
322
322
|
try {
|
|
323
|
-
file =
|
|
323
|
+
file = JSON5.parse(raw);
|
|
324
324
|
} catch (err) {
|
|
325
325
|
exitWithError(`Failed to parse approvals JSON: ${String(err)}`);
|
|
326
326
|
}
|
|
@@ -10,29 +10,29 @@ import { _ as DEFAULT_MODEL, a as isCliProvider, d as resolveConfiguredModelRef,
|
|
|
10
10
|
import "./file-lock-CxXn285m.js";
|
|
11
11
|
import "./agent-paths-CrZhIsTW.js";
|
|
12
12
|
import "./pi-model-discovery-DgwvfEmd.js";
|
|
13
|
-
import { i as loadWorkspaceSkillEntries, r as buildWorkspaceSkillSnapshot, x as hasBinary } from "./skills-
|
|
13
|
+
import { i as loadWorkspaceSkillEntries, r as buildWorkspaceSkillSnapshot, x as hasBinary } from "./skills-CG8iI6v6.js";
|
|
14
14
|
import { o as isTestDefaultMemorySlotDisabled } from "./manifest-registry-BHcAJo9u.js";
|
|
15
|
-
import { t as buildWorkspaceSkillStatus } from "./skills-status-
|
|
16
|
-
import { A as resolveSubagentMaxConcurrent, C as applyMergePatch, a as readConfigFileSnapshotForWrite, c as validateConfigObjectWithPlugins, d as sensitive, f as parseDurationMs, i as readConfigFileSnapshot, j as VERSION, k as resolveAgentMaxConcurrent, l as AnimaSchema, n as loadConfig, o as resolveConfigSnapshotHash, r as parseConfigJson5, s as writeConfigFile, t as createConfigIO, w as applyLegacyMigrations } from "./io-
|
|
15
|
+
import { t as buildWorkspaceSkillStatus } from "./skills-status-CNEd8Dm9.js";
|
|
16
|
+
import { A as resolveSubagentMaxConcurrent, C as applyMergePatch, a as readConfigFileSnapshotForWrite, c as validateConfigObjectWithPlugins, d as sensitive, f as parseDurationMs, i as readConfigFileSnapshot, j as VERSION, k as resolveAgentMaxConcurrent, l as AnimaSchema, n as loadConfig, o as resolveConfigSnapshotHash, r as parseConfigJson5, s as writeConfigFile, t as createConfigIO, w as applyLegacyMigrations } from "./io-CHeqqEl4.js";
|
|
17
17
|
import "./shell-env-DAw9qXji.js";
|
|
18
|
-
import { n as migrateLegacyConfig } from "./config-
|
|
18
|
+
import { n as migrateLegacyConfig } from "./config-CW3mWEFv.js";
|
|
19
19
|
import { $ as validateNodePairRequestParams, A as validateCronStatusParams, B as validateExecApprovalsNodeGetParams, C as validateConfigSetParams, Ct as validateWizardCancelParams, D as validateCronRemoveParams, Dt as PROTOCOL_VERSION, E as validateCronListParams, Et as validateWizardStatusParams, F as validateDeviceTokenRevokeParams, G as validateNodeDescribeParams, H as validateExecApprovalsSetParams, I as validateDeviceTokenRotateParams, It as normalizeDevicePublicKeyBase64Url, J as validateNodeInvokeResultParams, K as validateNodeEventParams, L as validateExecApprovalRequestParams, Lt as verifyDeviceSignature, M as validateDevicePairApproveParams, Mt as buildDeviceAuthPayload, N as validateDevicePairListParams, O as validateCronRunParams, Ot as ErrorCodes, P as validateDevicePairRejectParams, Pt as deriveDeviceIdFromPublicKey, Q as validateNodePairRejectParams, R as validateExecApprovalResolveParams, S as validateConfigSchemaParams, St as validateWebLoginWaitParams, T as validateCronAddParams, Tt as validateWizardStartParams, U as validateLogsTailParams, V as validateExecApprovalsNodeSetParams, W as validateModelsListParams, X as validateNodePairApproveParams, Y as validateNodeListParams, Z as validateNodePairListParams, _ as validateChatInjectParams, _t as validateTalkConfigParams, a as validateAgentWaitParams, at as validateSessionsCompactParams, b as validateConfigGetParams, bt as validateWakeParams, c as validateAgentsFilesGetParams, ct as validateSessionsPatchParams, d as validateAgentsListParams, dt as validateSessionsResolveParams, et as validateNodePairVerifyParams, f as validateAgentsUpdateParams, ft as validateSessionsUsageParams, g as validateChatHistoryParams, gt as validateSkillsUpdateParams, h as validateChatAbortParams, ht as validateSkillsStatusParams, i as validateAgentParams, it as validateSendParams, j as validateCronUpdateParams, jt as parseSessionLabel, k as validateCronRunsParams, kt as errorShape, l as validateAgentsFilesListParams, lt as validateSessionsPreviewParams, m as validateChannelsStatusParams, mt as validateSkillsInstallParams, n as formatValidationErrors, nt as validatePollParams, o as validateAgentsCreateParams, ot as validateSessionsDeleteParams, p as validateChannelsLogoutParams, pt as validateSkillsBinsParams, q as validateNodeInvokeParams, r as validateAgentIdentityParams, rt as validateRequestFrame, s as validateAgentsDeleteParams, st as validateSessionsListParams, tt as validateNodeRenameParams, u as validateAgentsFilesSetParams, ut as validateSessionsResetParams, v as validateChatSendParams, vt as validateTalkModeParams, w as validateConnectParams, wt as validateWizardNextParams, x as validateConfigPatchParams, xt as validateWebLoginStartParams, y as validateConfigApplyParams, yt as validateUpdateRunParams, z as validateExecApprovalsGetParams } from "./client-Dz6cszHd.js";
|
|
20
20
|
import { n as pickPrimaryTailnetIPv6, t as pickPrimaryTailnetIPv4 } from "./tailnet-BfvykhPh.js";
|
|
21
|
-
import { n as callGateway, s as loadGatewayTlsRuntime$1 } from "./call-
|
|
21
|
+
import { n as callGateway, s as loadGatewayTlsRuntime$1 } from "./call-CtVjogkV.js";
|
|
22
22
|
import { f as GATEWAY_CLIENT_CAPS, g as hasGatewayClientCap, h as GATEWAY_CLIENT_NAMES, i as isGatewayMessageChannel, l as normalizeMessageChannel, m as GATEWAY_CLIENT_MODES, n as isDeliverableMessageChannel, p as GATEWAY_CLIENT_IDS, r as isGatewayCliClient, s as isWebchatClient, t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-BiajZfgz.js";
|
|
23
23
|
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-BnxQUp32.js";
|
|
24
24
|
import { r as normalizeInputProvenance } from "./input-provenance-GX_1sSNL.js";
|
|
25
25
|
import { S as registerAgentRunContext, _ as waitForEmbeddedPiRunEnd, b as getAgentRunContext, c as stripHeartbeatToken, g as runEmbeddedPiAgent, i as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, l as CommandLane, t as resolveAgentTimeoutMs, u as abortEmbeddedPiRun, v as clearAgentRunContext, x as onAgentEvent, y as emitAgentEvent } from "./timeout-CXND7zJu.js";
|
|
26
|
-
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-
|
|
27
|
-
import { H as resetAllLanes, J as startDiagnosticHeartbeat, L as clearSessionQueues, U as setCommandLaneConcurrency, V as getTotalQueueSize, W as waitForActiveTasks, Y as stopDiagnosticHeartbeat, Z as isDiagnosticsEnabled, a as listDescendantRunsForRequester, i as initSubagentRegistry, m as readLatestAssistantReply, n as countActiveDescendantRuns, p as runSubagentAnnounceFlow, z as getActiveTaskCount } from "./subagent-registry-
|
|
26
|
+
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-CO93wesA.js";
|
|
27
|
+
import { H as resetAllLanes, J as startDiagnosticHeartbeat, L as clearSessionQueues, U as setCommandLaneConcurrency, V as getTotalQueueSize, W as waitForActiveTasks, Y as stopDiagnosticHeartbeat, Z as isDiagnosticsEnabled, a as listDescendantRunsForRequester, i as initSubagentRegistry, m as readLatestAssistantReply, n as countActiveDescendantRuns, p as runSubagentAnnounceFlow, z as getActiveTaskCount } from "./subagent-registry-BfTldsNb.js";
|
|
28
28
|
import { t as resolveAgentIdentity } from "./identity-CflMRbky.js";
|
|
29
29
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-zFmidMaf.js";
|
|
30
30
|
import { a as normalizeElevatedLevel, c as normalizeUsageDisplay, d as supportsXHighThinking, l as normalizeVerboseLevel, n as formatXHighModelHint, o as normalizeReasoningLevel, s as normalizeThinkLevel, t as formatThinkingLevels } from "./pi-embedded-helpers-DzLrWN23.js";
|
|
31
|
-
import { _ as resolveToolProfilePolicy, p as collectExplicitAllowlist } from "./sandbox-
|
|
31
|
+
import { _ as resolveToolProfilePolicy, p as collectExplicitAllowlist } from "./sandbox-C9Ow3VqW.js";
|
|
32
32
|
import "./chrome-ghYAPiTX.js";
|
|
33
33
|
import { a as AUTH_RATE_LIMIT_SCOPE_DEVICE_TOKEN, c as safeEqualSecret, d as enableTailscaleFunnel, f as enableTailscaleServe, i as resolveGatewayAuth, l as disableTailscaleFunnel, m as getTailnetHostname, n as authorizeGatewayConnect, o as AUTH_RATE_LIMIT_SCOPE_SHARED_SECRET, r as isLocalDirectRequest, s as createAuthRateLimiter, t as assertGatewayAuthConfigured, u as disableTailscaleServe } from "./auth-FzNxH03k.js";
|
|
34
|
-
import { r as movePathToTrash } from "./server-context-
|
|
35
|
-
import "./routes-
|
|
34
|
+
import { r as movePathToTrash } from "./server-context-B7l8uLo0.js";
|
|
35
|
+
import "./routes-BC-Mvhwy.js";
|
|
36
36
|
import { a as isErrno, n as formatErrorMessage } from "./errors-DWRVks6A.js";
|
|
37
37
|
import { o as detectMime } from "./image-ops-O-_KYHXN.js";
|
|
38
38
|
import { i as formatPortDiagnostics, n as inspectPortUsage, t as ensurePortAvailable } from "./ports-D7xIe6xi.js";
|
|
@@ -43,19 +43,19 @@ import { f as normalizePollInput } from "./media-BrtQHQhO.js";
|
|
|
43
43
|
import "./chunk-ChJt8EsD.js";
|
|
44
44
|
import { t as ToolInputError } from "./common-BGjkU4kk.js";
|
|
45
45
|
import "./noxsoft-auth-Bqo9l6Li.js";
|
|
46
|
-
import { n as createBrowserControlContext, r as startBrowserControlServiceFromConfig } from "./control-service-
|
|
47
|
-
import { $ as OPENAI_TTS_MODELS, $t as resolveUserTimezone, At as createAsyncLock, Bt as applyModelOverrideToSessionEntry, Ct as rejectNodePairing, Dt as verifyNodeToken, Et as updatePairedNodeMetadata, F as getTtsProvider, G as resolveTtsProviderOrder, Gt as isSystemEventContextChanged, H as resolveTtsAutoMode, Ht as parseVerboseOverride, It as getSkillsSnapshotVersion, J as setTtsEnabled, L as isTtsEnabled, Lt as registerSkillsChangeListener, Mt as readJsonFile, Nt as resolvePairingPaths, Ot as generatePairingToken, Pt as writeJsonAtomic, R as isTtsProviderConfigured, St as listNodePairing, T as resolveSessionDeliveryTarget, Tt as requestNodePairing, U as resolveTtsConfig, V as resolveTtsApiKey, Vt as applyVerboseOverride, W as resolveTtsPrefsPath, Wt as enqueueSystemEvent, X as setTtsProvider, Yt as loadModelCatalog, Z as textToSpeech, _ as capArrayByJsonBytes, _t as refreshRemoteBinsForConnectedNodes, b as resolveSessionTranscriptCandidates, bt as setSkillsRemoteRegistry, c as listAgentsForGateway, ct as normalizeSendPolicy, d as loadSessionEntry, dt as createInternalHookEvent, et as OPENAI_TTS_VOICES, f as pruneLegacyStoreKeys, ft as registerInternalHook, g as archiveSessionTranscripts, gt as recordRemoteNodeInfo, h as archiveFileOnDisk, ht as primeRemoteSkillsCache, jt as pruneExpiredPending, k as runWithModelFallback, kt as verifyPairingToken, l as listSessionsFromStore, lt as resolveSendPolicy, m as resolveSessionModelRef, mt as getRemoteSkillEligibility, n as setCliSessionId, ot as requestHeartbeatNow, p as resolveGatewaySessionStoreTarget, pt as triggerInternalHook, r as runCliAgent, s as canonicalizeSpawnedByForAgent, t as getCliSessionId, u as loadCombinedSessionStoreForGateway, ut as clearInternalHooks, v as readSessionMessages, vt as refreshRemoteNodeBins, w as resolveOutboundTarget, wt as renamePairedNode, x as stripEnvelopeFromMessages, xt as approveNodePairing, y as readSessionPreviewItemsFromTranscript, yt as removeRemoteNodeInfo } from "./cli-session-
|
|
48
|
-
import { c as resolveCronStyleNow, i as onHeartbeatEvent, r as getLastHeartbeatEvent, t as resolveHeartbeatVisibility } from "./heartbeat-visibility-
|
|
49
|
-
import { A as summarizeRestartSentinel, At as DEFAULT_INPUT_IMAGE_MIMES, B as migrateLegacyCronPayload, C as scheduleGatewaySigusr1Restart, D as formatDoctorNonInteractiveHint, Dt as DEFAULT_INPUT_FILE_MAX_CHARS, E as consumeRestartSentinel, Et as DEFAULT_INPUT_FILE_MAX_BYTES, F as inferLegacyName, Ft as DEFAULT_INPUT_TIMEOUT_MS, G as applyBrowserProxyPaths, H as detectSuspiciousPatterns, I as normalizeOptionalAgentId, It as extractFileContentFromSource, J as loadAnimaPlugins, K as persistBrowserProxyFiles, L as normalizeOptionalText, Lt as extractImageContentFromSource, M as writeRestartSentinel, Mt as DEFAULT_INPUT_PDF_MAX_PAGES, N as normalizeCronJobCreate, Nt as DEFAULT_INPUT_PDF_MAX_PIXELS, O as formatRestartSentinelMessage, Ot as DEFAULT_INPUT_FILE_MIMES, P as normalizeCronJobPatch, Pt as DEFAULT_INPUT_PDF_MIN_TEXT_CHARS, R as normalizePayloadToSystemText, Rt as normalizeMimeList, S as markGatewaySigusr1RestartHandled, T as setPreRestartDeferralCheck, Tt as registerUnhandledRejectionHandler, U as getHookType, V as buildSafeExternalPrompt, W as isExternalHookSession, _ as resolveMessageChannelSelection, a as sniffMimeFromBase64, at as createReplyDispatcher, b as emitGatewayRestart, c as loadProviderUsageSummary, et as getChannelActivity, f as normalizeGroupActivation, g as resetDirectoryCache, gt as formatZonedTimestamp, h as resolveOutboundSessionRoute, ht as stopSubagentsForRequester, i as buildDefaultToolPolicyPipelineSteps, it as dispatchInboundMessage, jt as DEFAULT_INPUT_MAX_REDIRECTS, kt as DEFAULT_INPUT_IMAGE_MAX_BYTES, m as ensureOutboundSessionEntry, mt as isAbortTrigger, n as BARE_SESSION_RESET_PROMPT, o as createAnimaTools, ot as getTotalPendingReplies, q as getPluginToolMeta, r as applyToolPolicyPipeline, s as resolveAnnounceTargetFromKey, v as consumeGatewaySigusr1RestartAuthorization, w as setGatewaySigusr1RestartPolicy, x as isGatewaySigusr1RestartExternallyAllowed, y as deferGatewayRestartUntilIdle, z as normalizeRequiredName, zt as estimateBase64DecodedBytes } from "./reply-
|
|
46
|
+
import { n as createBrowserControlContext, r as startBrowserControlServiceFromConfig } from "./control-service-C1xo0dfl.js";
|
|
47
|
+
import { $ as OPENAI_TTS_MODELS, $t as resolveUserTimezone, At as createAsyncLock, Bt as applyModelOverrideToSessionEntry, Ct as rejectNodePairing, Dt as verifyNodeToken, Et as updatePairedNodeMetadata, F as getTtsProvider, G as resolveTtsProviderOrder, Gt as isSystemEventContextChanged, H as resolveTtsAutoMode, Ht as parseVerboseOverride, It as getSkillsSnapshotVersion, J as setTtsEnabled, L as isTtsEnabled, Lt as registerSkillsChangeListener, Mt as readJsonFile, Nt as resolvePairingPaths, Ot as generatePairingToken, Pt as writeJsonAtomic, R as isTtsProviderConfigured, St as listNodePairing, T as resolveSessionDeliveryTarget, Tt as requestNodePairing, U as resolveTtsConfig, V as resolveTtsApiKey, Vt as applyVerboseOverride, W as resolveTtsPrefsPath, Wt as enqueueSystemEvent, X as setTtsProvider, Yt as loadModelCatalog, Z as textToSpeech, _ as capArrayByJsonBytes, _t as refreshRemoteBinsForConnectedNodes, b as resolveSessionTranscriptCandidates, bt as setSkillsRemoteRegistry, c as listAgentsForGateway, ct as normalizeSendPolicy, d as loadSessionEntry, dt as createInternalHookEvent, et as OPENAI_TTS_VOICES, f as pruneLegacyStoreKeys, ft as registerInternalHook, g as archiveSessionTranscripts, gt as recordRemoteNodeInfo, h as archiveFileOnDisk, ht as primeRemoteSkillsCache, jt as pruneExpiredPending, k as runWithModelFallback, kt as verifyPairingToken, l as listSessionsFromStore, lt as resolveSendPolicy, m as resolveSessionModelRef, mt as getRemoteSkillEligibility, n as setCliSessionId, ot as requestHeartbeatNow, p as resolveGatewaySessionStoreTarget, pt as triggerInternalHook, r as runCliAgent, s as canonicalizeSpawnedByForAgent, t as getCliSessionId, u as loadCombinedSessionStoreForGateway, ut as clearInternalHooks, v as readSessionMessages, vt as refreshRemoteNodeBins, w as resolveOutboundTarget, wt as renamePairedNode, x as stripEnvelopeFromMessages, xt as approveNodePairing, y as readSessionPreviewItemsFromTranscript, yt as removeRemoteNodeInfo } from "./cli-session-C_Pb_tJG.js";
|
|
48
|
+
import { c as resolveCronStyleNow, i as onHeartbeatEvent, r as getLastHeartbeatEvent, t as resolveHeartbeatVisibility } from "./heartbeat-visibility-Czw1aXJ9.js";
|
|
49
|
+
import { A as summarizeRestartSentinel, At as DEFAULT_INPUT_IMAGE_MIMES, B as migrateLegacyCronPayload, C as scheduleGatewaySigusr1Restart, D as formatDoctorNonInteractiveHint, Dt as DEFAULT_INPUT_FILE_MAX_CHARS, E as consumeRestartSentinel, Et as DEFAULT_INPUT_FILE_MAX_BYTES, F as inferLegacyName, Ft as DEFAULT_INPUT_TIMEOUT_MS, G as applyBrowserProxyPaths, H as detectSuspiciousPatterns, I as normalizeOptionalAgentId, It as extractFileContentFromSource, J as loadAnimaPlugins, K as persistBrowserProxyFiles, L as normalizeOptionalText, Lt as extractImageContentFromSource, M as writeRestartSentinel, Mt as DEFAULT_INPUT_PDF_MAX_PAGES, N as normalizeCronJobCreate, Nt as DEFAULT_INPUT_PDF_MAX_PIXELS, O as formatRestartSentinelMessage, Ot as DEFAULT_INPUT_FILE_MIMES, P as normalizeCronJobPatch, Pt as DEFAULT_INPUT_PDF_MIN_TEXT_CHARS, R as normalizePayloadToSystemText, Rt as normalizeMimeList, S as markGatewaySigusr1RestartHandled, T as setPreRestartDeferralCheck, Tt as registerUnhandledRejectionHandler, U as getHookType, V as buildSafeExternalPrompt, W as isExternalHookSession, _ as resolveMessageChannelSelection, a as sniffMimeFromBase64, at as createReplyDispatcher, b as emitGatewayRestart, c as loadProviderUsageSummary, et as getChannelActivity, f as normalizeGroupActivation, g as resetDirectoryCache, gt as formatZonedTimestamp, h as resolveOutboundSessionRoute, ht as stopSubagentsForRequester, i as buildDefaultToolPolicyPipelineSteps, it as dispatchInboundMessage, jt as DEFAULT_INPUT_MAX_REDIRECTS, kt as DEFAULT_INPUT_IMAGE_MAX_BYTES, m as ensureOutboundSessionEntry, mt as isAbortTrigger, n as BARE_SESSION_RESET_PROMPT, o as createAnimaTools, ot as getTotalPendingReplies, q as getPluginToolMeta, r as applyToolPolicyPipeline, s as resolveAnnounceTargetFromKey, v as consumeGatewaySigusr1RestartAuthorization, w as setGatewaySigusr1RestartPolicy, x as isGatewaySigusr1RestartExternallyAllowed, y as deferGatewayRestartUntilIdle, z as normalizeRequiredName, zt as estimateBase64DecodedBytes } from "./reply-DiXFAQ6Y.js";
|
|
50
50
|
import "./model-auth-ajey777y.js";
|
|
51
|
-
import { t as lookupContextTokens } from "./context-
|
|
52
|
-
import "./parse-timeout-
|
|
53
|
-
import { o as normalizeReplyPayloadsForDelivery, t as deliverOutboundPayloads, x as runGlobalGatewayStopSafely, y as getGlobalHookRunner } from "./deliver-
|
|
54
|
-
import { a as resolveSubagentToolPolicy, i as resolveGroupToolPolicy, r as resolveEffectiveToolPolicy } from "./pi-tools.policy-
|
|
51
|
+
import { t as lookupContextTokens } from "./context-C-EeDlhY.js";
|
|
52
|
+
import "./parse-timeout-CZ6_B_Wu.js";
|
|
53
|
+
import { o as normalizeReplyPayloadsForDelivery, t as deliverOutboundPayloads, x as runGlobalGatewayStopSafely, y as getGlobalHookRunner } from "./deliver-COTg5qFH.js";
|
|
54
|
+
import { a as resolveSubagentToolPolicy, i as resolveGroupToolPolicy, r as resolveEffectiveToolPolicy } from "./pi-tools.policy-DksWz3BP.js";
|
|
55
55
|
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-WuHCaecR.js";
|
|
56
56
|
import { a as deriveSessionTotalTokens, o as hasNonzeroUsage } from "./transcript-tools-eKdQk_4S.js";
|
|
57
57
|
import { n as formatTokenCount, r as formatUsd } from "./usage-format-D5snHLet.js";
|
|
58
|
-
import { i as resolveMemoryBackendConfig, r as getMemorySearchManager } from "./memory-cli-
|
|
58
|
+
import { i as resolveMemoryBackendConfig, r as getMemorySearchManager } from "./memory-cli-B3CyQMHl.js";
|
|
59
59
|
import "./manager-z25H5SAC.js";
|
|
60
60
|
import "./sqlite-B5LCMIbh.js";
|
|
61
61
|
import "./redact-Bk0VS_m7.js";
|
|
@@ -68,59 +68,59 @@ import { t as runCommandWithRuntime } from "./cli-utils-BcbWvLzf.js";
|
|
|
68
68
|
import { n as withProgress } from "./progress-IbQIsvcD.js";
|
|
69
69
|
import "./logging-DhWghNIK.js";
|
|
70
70
|
import "./auth-store-6mqMhd96.js";
|
|
71
|
-
import { t as createBrowserRouteDispatcher } from "./dispatcher-
|
|
71
|
+
import { t as createBrowserRouteDispatcher } from "./dispatcher-DQsImjGf.js";
|
|
72
72
|
import { t as parseAbsoluteTimeMs } from "./parse-nANz-Y9N.js";
|
|
73
73
|
import "./delivery-queue-bafdRh4B.js";
|
|
74
74
|
import { i as loadSessionUsageTimeSeries, n as loadCostUsageSummary, r as loadSessionCostSummary, t as discoverAllSessions } from "./session-cost-usage-D2RKVFwJ.js";
|
|
75
|
-
import { r as buildHistoryContextFromEntries, t as createReplyPrefixOptions } from "./reply-prefix-
|
|
75
|
+
import { r as buildHistoryContextFromEntries, t as createReplyPrefixOptions } from "./reply-prefix-BJ6vG158.js";
|
|
76
76
|
import "./accounts-D_Or1tM0.js";
|
|
77
77
|
import { t as ensureAnimaCliOnPath } from "./path-env-BwoRRP8y.js";
|
|
78
78
|
import { n as DEFAULT_GATEWAY_HTTP_TOOL_DENY } from "./dangerous-tools-CXYGWh3b.js";
|
|
79
|
-
import "./register.subclis-
|
|
80
|
-
import "./command-registry-
|
|
79
|
+
import "./register.subclis-APOnK1oY.js";
|
|
80
|
+
import "./command-registry-CNfXgZ7o.js";
|
|
81
81
|
import "./program-context-KVifve7K.js";
|
|
82
|
-
import "./completion-cli-
|
|
83
|
-
import "./daemon-runtime-
|
|
84
|
-
import { C as resolveAssistantAvatarUrl, S as normalizeControlUiBasePath, b as CONTROL_UI_AVATAR_PREFIX, c as handleReset, x as buildControlUiAvatarUrl } from "./onboard-helpers-
|
|
82
|
+
import "./completion-cli-BkFQCDYI.js";
|
|
83
|
+
import "./daemon-runtime-D5KhD82Y.js";
|
|
84
|
+
import { C as resolveAssistantAvatarUrl, S as normalizeControlUiBasePath, b as CONTROL_UI_AVATAR_PREFIX, c as handleReset, x as buildControlUiAvatarUrl } from "./onboard-helpers-BnB7o14v.js";
|
|
85
85
|
import "./prompt-style-CtqNME6o.js";
|
|
86
86
|
import "./systemd-DMnpU3vJ.js";
|
|
87
87
|
import "./service-Df_H0-VH.js";
|
|
88
88
|
import "./lifecycle-core-BAgYqtjQ.js";
|
|
89
89
|
import { t as parsePort$1 } from "./parse-port-BfMN_ADA.js";
|
|
90
|
-
import { n as addGatewayServiceCommands } from "./daemon-cli-
|
|
90
|
+
import { n as addGatewayServiceCommands } from "./daemon-cli-YXtw9DJy.js";
|
|
91
91
|
import "./diagnostics-DUEfwTso.js";
|
|
92
|
-
import "./service-audit-
|
|
92
|
+
import "./service-audit-BCC0aFGF.js";
|
|
93
93
|
import { n as resolveWideAreaDiscoveryDomain, r as writeWideAreaGatewayZone } from "./widearea-dns-Bg5y7TWc.js";
|
|
94
94
|
import "./table-C2NJJLb2.js";
|
|
95
95
|
import { i as toOptionString, n as extractGatewayMiskeys, r as maybeExplainGatewayServiceStop, t as describeUnknownError } from "./shared-CYr8czrP.js";
|
|
96
|
-
import { c as probeGateway, o as isNodeCommandAllowed, s as resolveNodeCommandAllowlist } from "./audit-
|
|
97
|
-
import { n as discoverGatewayBeacons, t as installSkill } from "./skills-install-
|
|
98
|
-
import { i as pickGatewaySelfPresence, r as getStatusSummary } from "./status-
|
|
96
|
+
import { c as probeGateway, o as isNodeCommandAllowed, s as resolveNodeCommandAllowlist } from "./audit-Bmlx4ME3.js";
|
|
97
|
+
import { n as discoverGatewayBeacons, t as installSkill } from "./skills-install-_5laUMxp.js";
|
|
98
|
+
import { i as pickGatewaySelfPresence, r as getStatusSummary } from "./status-L2HZk3ud.js";
|
|
99
99
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BUW2xtvb.js";
|
|
100
|
-
import { a as styleHealthChannelLine, c as setHeartbeatsEnabled, l as startHeartbeatRunner, n as getHealthSnapshot, s as runHeartbeatOnce, t as formatHealthChannelLines } from "./health-
|
|
101
|
-
import { a as createOutboundSendDeps, i as resolveAgentOutboundTarget, o as createDefaultDeps, r as resolveAgentDeliveryPlan, s as createOutboundSendDeps$1, t as agentCommand } from "./agent-
|
|
100
|
+
import { a as styleHealthChannelLine, c as setHeartbeatsEnabled, l as startHeartbeatRunner, n as getHealthSnapshot, s as runHeartbeatOnce, t as formatHealthChannelLines } from "./health-btYQz_wA.js";
|
|
101
|
+
import { a as createOutboundSendDeps, i as resolveAgentOutboundTarget, o as createDefaultDeps, r as resolveAgentDeliveryPlan, s as createOutboundSendDeps$1, t as agentCommand } from "./agent-kw6IKi2M.js";
|
|
102
102
|
import { t as buildChannelUiCatalog } from "./catalog-BLrEgoPa.js";
|
|
103
103
|
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-BTi8mF_C.js";
|
|
104
104
|
import { a as resolveControlUiRootOverrideSync, n as ensureControlUiAssetsBuilt, o as resolveControlUiRootSync } from "./health-format-DikxNm9W.js";
|
|
105
105
|
import { n as validateSystemRunCommandConsistency, r as getMachineDisplayName, t as formatExecCommand } from "./system-run-command-BnpMQthQ.js";
|
|
106
106
|
import { h as normalizeUpdateChannel, l as DEFAULT_PACKAGE_CHANNEL, n as checkUpdateStatus, o as resolveNpmChannelTag, r as compareSemverStrings } from "./channels-status-issues-Brky9enJ.js";
|
|
107
|
-
import "./auth-choice-
|
|
107
|
+
import "./auth-choice-DmJpz3dy.js";
|
|
108
108
|
import { t as WizardCancelledError } from "./prompts-C2Ix0I5o.js";
|
|
109
|
-
import { i as shouldIncludeHook, n as loadWorkspaceHookEntries, r as resolveHookConfig } from "./hooks-status-
|
|
110
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
109
|
+
import { i as shouldIncludeHook, n as loadWorkspaceHookEntries, r as resolveHookConfig } from "./hooks-status-DnB6ZK0J.js";
|
|
110
|
+
import { t as runOnboardingWizard } from "./onboarding-DrIg7AOV.js";
|
|
111
111
|
import "./logging-DMCxh6UT.js";
|
|
112
|
-
import "./tui-
|
|
112
|
+
import "./tui-C2XIQ9jV.js";
|
|
113
113
|
import "./note-BwhOxUoJ.js";
|
|
114
|
-
import "./doctor-completion-
|
|
114
|
+
import "./doctor-completion-CZj6kSxM.js";
|
|
115
115
|
import { a as setGatewayWsLogStyle, i as summarizeAgentEventForWsLog, n as logWs, r as shouldLogWs, t as formatForLog } from "./ws-log-uqDziz98.js";
|
|
116
|
-
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-
|
|
116
|
+
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-Du3JjS1M.js";
|
|
117
117
|
import { c as loadAgentIdentityFromWorkspace, i as listAgentEntries, o as pruneAgentConfig, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-CVFqsKhB.js";
|
|
118
118
|
import { n as resolveAssistantIdentity, t as DEFAULT_ASSISTANT_IDENTITY } from "./assistant-identity-DnbmOioW.js";
|
|
119
119
|
import "./skill-scanner-CPBwCQc4.js";
|
|
120
120
|
import "./node-service-CSjH-x4O.js";
|
|
121
|
-
import "./status.update-
|
|
121
|
+
import "./status.update-DREm9Pli.js";
|
|
122
122
|
import "./archive-CNqghdwQ.js";
|
|
123
|
-
import { t as runGatewayUpdate } from "./update-runner-
|
|
123
|
+
import { t as runGatewayUpdate } from "./update-runner-DfXRVjBp.js";
|
|
124
124
|
import { n as forceFreePortAndWait } from "./ports-BIABad8D.js";
|
|
125
125
|
import { spawn, spawnSync } from "node:child_process";
|
|
126
126
|
import os from "node:os";
|
|
@@ -128,7 +128,7 @@ import path from "node:path";
|
|
|
128
128
|
import * as fsSync from "node:fs";
|
|
129
129
|
import fs, { constants } from "node:fs";
|
|
130
130
|
import chalk from "chalk";
|
|
131
|
-
import
|
|
131
|
+
import JSON5 from "json5";
|
|
132
132
|
import fs$1 from "node:fs/promises";
|
|
133
133
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
134
134
|
import crypto, { createHash, randomUUID } from "node:crypto";
|
|
@@ -3757,7 +3757,7 @@ async function loadCronStore(storePath) {
|
|
|
3757
3757
|
const raw = await fs.promises.readFile(storePath, "utf-8");
|
|
3758
3758
|
let parsed;
|
|
3759
3759
|
try {
|
|
3760
|
-
parsed =
|
|
3760
|
+
parsed = JSON5.parse(raw);
|
|
3761
3761
|
} catch (err) {
|
|
3762
3762
|
throw new Error(`Failed to parse cron store at ${storePath}: ${String(err)}`, { cause: err });
|
|
3763
3763
|
}
|
|
@@ -11269,7 +11269,7 @@ const nodeHandlers = {
|
|
|
11269
11269
|
const p = params;
|
|
11270
11270
|
const payloadJSON = typeof p.payloadJSON === "string" ? p.payloadJSON : p.payload !== void 0 ? JSON.stringify(p.payload) : null;
|
|
11271
11271
|
await respondUnavailableOnThrow(respond, async () => {
|
|
11272
|
-
const { handleNodeEvent } = await import("./server-node-events-
|
|
11272
|
+
const { handleNodeEvent } = await import("./server-node-events-nClUCOTS.js");
|
|
11273
11273
|
const nodeId = client?.connect?.device?.id ?? client?.connect?.client?.id ?? "node";
|
|
11274
11274
|
await handleNodeEvent({
|
|
11275
11275
|
deps: context.deps,
|
|
@@ -14063,7 +14063,7 @@ function normalizeAgentPayload(payload) {
|
|
|
14063
14063
|
async function startBrowserControlServerIfEnabled() {
|
|
14064
14064
|
if (isTruthyEnvValue(process.env.ANIMA_SKIP_BROWSER_CONTROL_SERVER)) return null;
|
|
14065
14065
|
const override = process.env.ANIMA_BROWSER_CONTROL_MODULE?.trim();
|
|
14066
|
-
const mod = override ? await import(override) : await import("./control-service-
|
|
14066
|
+
const mod = override ? await import(override) : await import("./control-service-C1xo0dfl.js").then((n) => n.t);
|
|
14067
14067
|
const start = typeof mod.startBrowserControlServiceFromConfig === "function" ? mod.startBrowserControlServiceFromConfig : mod.startBrowserControlServerFromConfig;
|
|
14068
14068
|
const stop = typeof mod.stopBrowserControlService === "function" ? mod.stopBrowserControlService : mod.stopBrowserControlServer;
|
|
14069
14069
|
if (!start) return null;
|
|
@@ -19052,7 +19052,7 @@ async function startGatewayServer(port = 18789, opts = {}) {
|
|
|
19052
19052
|
if (!minimalTestGateway) cron.start().catch((err) => logCron.error(`failed to start: ${String(err)}`));
|
|
19053
19053
|
if (!minimalTestGateway) (async () => {
|
|
19054
19054
|
const { recoverPendingDeliveries } = await import("./delivery-queue-bafdRh4B.js").then((n) => n.n);
|
|
19055
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
19055
|
+
const { deliverOutboundPayloads } = await import("./deliver-COTg5qFH.js").then((n) => n.n);
|
|
19056
19056
|
await recoverPendingDeliveries({
|
|
19057
19057
|
deliver: deliverOutboundPayloads,
|
|
19058
19058
|
log: log.child("delivery-recovery"),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as callGateway } from "./call-
|
|
1
|
+
import { n as callGateway } from "./call-CtVjogkV.js";
|
|
2
2
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-BiajZfgz.js";
|
|
3
3
|
import { n as withProgress } from "./progress-IbQIsvcD.js";
|
|
4
4
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { q as resolveGatewayPort, z as DEFAULT_GATEWAY_PORT } from "./entry.js";
|
|
2
2
|
import { y as resolveUserPath } from "./utils-DwcweD55.js";
|
|
3
3
|
import { t as runCommandWithTimeout } from "./exec-Dmz2Tr6K.js";
|
|
4
|
-
import { x as hasBinary } from "./skills-
|
|
4
|
+
import { x as hasBinary } from "./skills-CG8iI6v6.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import { randomBytes } from "node:crypto";
|
|
@@ -2,20 +2,20 @@ import { n as __exportAll } from "./chunk-BXK9XSlF.js";
|
|
|
2
2
|
import { M as theme, h as defaultRuntime, j as isRich, n as isTruthyEnvValue, o as createSubsystemLogger, x as info } from "./entry.js";
|
|
3
3
|
import { d as resolveAgentIdFromSessionKey, h as toAgentStoreSessionKey, l as normalizeAgentId } from "./session-key-DP2WHl90.js";
|
|
4
4
|
import { c as resolveDefaultAgentId, m as DEFAULT_HEARTBEAT_FILENAME, n as resolveAgentConfig, s as resolveAgentWorkspaceDir } from "./agent-scope-QT1urvJx.js";
|
|
5
|
-
import { f as parseDurationMs, n as loadConfig } from "./io-
|
|
6
|
-
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-
|
|
5
|
+
import { f as parseDurationMs, n as loadConfig } from "./io-CHeqqEl4.js";
|
|
6
|
+
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-CtVjogkV.js";
|
|
7
7
|
import { a as DEFAULT_HEARTBEAT_EVERY, c as stripHeartbeatToken, i as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, l as CommandLane, o as isHeartbeatContentEffectivelyEmpty, s as resolveHeartbeatPrompt$1 } from "./timeout-CXND7zJu.js";
|
|
8
|
-
import { b as resolveAgentMainSessionKey, i as loadSessionStore, l as updateSessionStore, s as saveSessionStore, y as canonicalizeMainSessionAlias } from "./sessions-
|
|
9
|
-
import { B as getQueueSize } from "./subagent-registry-
|
|
8
|
+
import { b as resolveAgentMainSessionKey, i as loadSessionStore, l as updateSessionStore, s as saveSessionStore, y as canonicalizeMainSessionAlias } from "./sessions-CO93wesA.js";
|
|
9
|
+
import { B as getQueueSize } from "./subagent-registry-BfTldsNb.js";
|
|
10
10
|
import { n as resolveEffectiveMessagesConfig } from "./identity-CflMRbky.js";
|
|
11
11
|
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-zFmidMaf.js";
|
|
12
12
|
import { n as formatErrorMessage } from "./errors-DWRVks6A.js";
|
|
13
13
|
import { c as resolveStorePath } from "./paths-BEkHcryg.js";
|
|
14
14
|
import { t as HEARTBEAT_TOKEN } from "./tokens-DCf522am.js";
|
|
15
|
-
import { $t as resolveUserTimezone, C as resolveHeartbeatSenderContext, Kt as peekSystemEventEntries, S as resolveHeartbeatDeliveryTarget, ot as requestHeartbeatNow, st as setHeartbeatWakeHandler } from "./cli-session-
|
|
16
|
-
import { a as resolveIndicatorType, n as emitHeartbeatEvent, o as resolveHeartbeatReplyPayload, s as appendCronStyleCurrentTimeLine, t as resolveHeartbeatVisibility } from "./heartbeat-visibility-
|
|
17
|
-
import { Q as resolvePreferredAccountId, Z as buildChannelAccountBindings, t as getReplyFromConfig } from "./reply-
|
|
18
|
-
import { t as deliverOutboundPayloads } from "./deliver-
|
|
15
|
+
import { $t as resolveUserTimezone, C as resolveHeartbeatSenderContext, Kt as peekSystemEventEntries, S as resolveHeartbeatDeliveryTarget, ot as requestHeartbeatNow, st as setHeartbeatWakeHandler } from "./cli-session-C_Pb_tJG.js";
|
|
16
|
+
import { a as resolveIndicatorType, n as emitHeartbeatEvent, o as resolveHeartbeatReplyPayload, s as appendCronStyleCurrentTimeLine, t as resolveHeartbeatVisibility } from "./heartbeat-visibility-Czw1aXJ9.js";
|
|
17
|
+
import { Q as resolvePreferredAccountId, Z as buildChannelAccountBindings, t as getReplyFromConfig } from "./reply-DiXFAQ6Y.js";
|
|
18
|
+
import { t as deliverOutboundPayloads } from "./deliver-COTg5qFH.js";
|
|
19
19
|
import { n as withProgress } from "./progress-IbQIsvcD.js";
|
|
20
20
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BUW2xtvb.js";
|
|
21
21
|
import path from "node:path";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $t as resolveUserTimezone, Qt as resolveUserTimeFormat, Zt as formatUserTime } from "./cli-session-
|
|
1
|
+
import { $t as resolveUserTimezone, Qt as resolveUserTimeFormat, Zt as formatUserTime } from "./cli-session-C_Pb_tJG.js";
|
|
2
2
|
|
|
3
3
|
//#region src/agents/current-time.ts
|
|
4
4
|
function resolveCronStyleNow(cfg, nowMs) {
|