@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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { H as getChildLogger, I as shouldLogVerbose, N as logVerbose, d as defaultRuntime, t as createSubsystemLogger } from "./subsystem-BMsbqSb4.js";
|
|
2
2
|
import { E as toWhatsappJid, h as normalizeE164, m as jidToE164, p as isSelfChatMode, r as clamp, w as sleep, y as resolveJidToE164 } from "./utils-B60lF9Wq.js";
|
|
3
|
-
import { Cn as resolveInboundDebounceMs, Dn as hasControlCommand, Dr as finalizeInboundContext, Mn as buildMentionRegexes, Nn as normalizeMentionText, On as shouldComputeCommandAuthorized, Qn as resolveMessagePrefix, Sn as createInboundDebouncer, Tn as resolveEnvelopeFormatOptions, Zn as resolveIdentityNamePrefix, _t as normalizeGroupActivation, an as buildAgentSessionKey, ar as enqueueSystemEvent, dn as recordChannelActivity, dr as registerUnhandledRejectionHandler, fn as shouldAckReactionForWhatsApp, ln as buildPairingReply, on as resolveAgentRoute, pn as dispatchReplyWithBufferedBlockDispatcher, t as getReplyFromConfig, vn as createDedupeCache, vt as parseActivationCommand, wn as formatInboundEnvelope } from "./reply-
|
|
3
|
+
import { Cn as resolveInboundDebounceMs, Dn as hasControlCommand, Dr as finalizeInboundContext, Mn as buildMentionRegexes, Nn as normalizeMentionText, On as shouldComputeCommandAuthorized, Qn as resolveMessagePrefix, Sn as createInboundDebouncer, Tn as resolveEnvelopeFormatOptions, Zn as resolveIdentityNamePrefix, _t as normalizeGroupActivation, an as buildAgentSessionKey, ar as enqueueSystemEvent, dn as recordChannelActivity, dr as registerUnhandledRejectionHandler, fn as shouldAckReactionForWhatsApp, ln as buildPairingReply, on as resolveAgentRoute, pn as dispatchReplyWithBufferedBlockDispatcher, t as getReplyFromConfig, vn as createDedupeCache, vt as parseActivationCommand, wn as formatInboundEnvelope } from "./reply-BgPvB-gR.js";
|
|
4
4
|
import { i as buildAgentMainSessionKey, l as normalizeAgentId, o as buildGroupHistoryKey, r as DEFAULT_MAIN_KEY } from "./session-key-DAZmp8ll.js";
|
|
5
5
|
import { i as loadConfig } from "./config-DqwH4y-D.js";
|
|
6
6
|
import { I as resolveGroupSessionKey, a as readSessionUpdatedAt, c as updateLastRoute, i as loadSessionStore, o as recordSessionMetaFromInbound } from "./sessions-C2th3rm6.js";
|
|
@@ -14,7 +14,7 @@ import { c as readWebSelfId, n as getWebAuthAgeMs } from "./auth-store-DjcQlyze.
|
|
|
14
14
|
import { r as formatDurationPrecise } from "./format-duration-C5oKCGwB.js";
|
|
15
15
|
import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-uxBpmALx.js";
|
|
16
16
|
import { a as downloadMediaMessage, c as normalizeMessageContent, i as waitForWaConnection, l as isJidGroup, n as formatError, o as extractMessageContent, r as getStatusCode, s as getContentType, t as createWaSocket, u as DisconnectReason } from "./session-CqKJvPTq.js";
|
|
17
|
-
import { i as recordPendingHistoryEntryIfEnabled, n as DEFAULT_GROUP_HISTORY_LIMIT, r as buildHistoryContextFromEntries, t as createReplyPrefixOptions } from "./reply-prefix-
|
|
17
|
+
import { i as recordPendingHistoryEntryIfEnabled, n as DEFAULT_GROUP_HISTORY_LIMIT, r as buildHistoryContextFromEntries, t as createReplyPrefixOptions } from "./reply-prefix-37W_P4kH.js";
|
|
18
18
|
import { n as resolveWhatsAppAccount } from "./accounts-CL0JV_xk.js";
|
|
19
19
|
import { randomUUID } from "node:crypto";
|
|
20
20
|
import { setTimeout } from "node:timers/promises";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { l as CONFIG_DIR } from "./exec-
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-DA3Cno1i.js";
|
|
2
|
+
import { l as CONFIG_DIR } from "./exec-Bfd4ztFZ.js";
|
|
3
3
|
import { r as isErrno } from "./errors-UbDRvfEx.js";
|
|
4
4
|
import fs from "node:fs/promises";
|
|
5
5
|
import os from "node:os";
|
|
6
6
|
import path from "node:path";
|
|
7
|
-
import
|
|
7
|
+
import fsSync from "node:fs";
|
|
8
8
|
import { execFileSync, spawn } from "node:child_process";
|
|
9
9
|
import { randomBytes } from "node:crypto";
|
|
10
10
|
import net from "node:net";
|
|
@@ -937,7 +937,7 @@ const CHROMIUM_EXE_NAMES = new Set([
|
|
|
937
937
|
]);
|
|
938
938
|
function exists$1(filePath) {
|
|
939
939
|
try {
|
|
940
|
-
return
|
|
940
|
+
return fsSync.existsSync(filePath);
|
|
941
941
|
} catch {
|
|
942
942
|
return false;
|
|
943
943
|
}
|
|
@@ -1080,7 +1080,7 @@ function findDesktopFilePath(desktopId) {
|
|
|
1080
1080
|
}
|
|
1081
1081
|
function readDesktopExecLine(desktopPath) {
|
|
1082
1082
|
try {
|
|
1083
|
-
const lines =
|
|
1083
|
+
const lines = fsSync.readFileSync(desktopPath, "utf8").split(/\r?\n/);
|
|
1084
1084
|
for (const line of lines) if (line.startsWith("Exec=")) return line.slice(5).trim();
|
|
1085
1085
|
} catch {}
|
|
1086
1086
|
return null;
|
|
@@ -1367,8 +1367,8 @@ function decoratedMarkerPath(userDataDir) {
|
|
|
1367
1367
|
}
|
|
1368
1368
|
function safeReadJson(filePath) {
|
|
1369
1369
|
try {
|
|
1370
|
-
if (!
|
|
1371
|
-
const raw =
|
|
1370
|
+
if (!fsSync.existsSync(filePath)) return null;
|
|
1371
|
+
const raw = fsSync.readFileSync(filePath, "utf-8");
|
|
1372
1372
|
const parsed = JSON.parse(raw);
|
|
1373
1373
|
if (typeof parsed !== "object" || parsed === null || Array.isArray(parsed)) return null;
|
|
1374
1374
|
return parsed;
|
|
@@ -1377,8 +1377,8 @@ function safeReadJson(filePath) {
|
|
|
1377
1377
|
}
|
|
1378
1378
|
}
|
|
1379
1379
|
function safeWriteJson(filePath, data) {
|
|
1380
|
-
|
|
1381
|
-
|
|
1380
|
+
fsSync.mkdirSync(path.dirname(filePath), { recursive: true });
|
|
1381
|
+
fsSync.writeFileSync(filePath, JSON.stringify(data, null, 2));
|
|
1382
1382
|
}
|
|
1383
1383
|
function setDeep(obj, keys, value) {
|
|
1384
1384
|
let node = obj;
|
|
@@ -1505,7 +1505,7 @@ function decorateAnimaProfile(userDataDir, opts) {
|
|
|
1505
1505
|
}
|
|
1506
1506
|
safeWriteJson(preferencesPath, prefs);
|
|
1507
1507
|
try {
|
|
1508
|
-
|
|
1508
|
+
fsSync.writeFileSync(decoratedMarkerPath(userDataDir), `${Date.now()}\n`, "utf-8");
|
|
1509
1509
|
} catch {}
|
|
1510
1510
|
}
|
|
1511
1511
|
function ensureProfileCleanExit(userDataDir) {
|
|
@@ -1521,7 +1521,7 @@ function ensureProfileCleanExit(userDataDir) {
|
|
|
1521
1521
|
const log = createSubsystemLogger("browser").child("chrome");
|
|
1522
1522
|
function exists(filePath) {
|
|
1523
1523
|
try {
|
|
1524
|
-
return
|
|
1524
|
+
return fsSync.existsSync(filePath);
|
|
1525
1525
|
} catch {
|
|
1526
1526
|
return false;
|
|
1527
1527
|
}
|
|
@@ -1601,7 +1601,7 @@ async function launchAnimaChrome(resolved, profile) {
|
|
|
1601
1601
|
const exe = resolveBrowserExecutable(resolved);
|
|
1602
1602
|
if (!exe) throw new Error("No supported browser found (Chrome/Brave/Edge/Chromium on macOS, Linux, or Windows).");
|
|
1603
1603
|
const userDataDir = resolveAnimaUserDataDir(profile.name);
|
|
1604
|
-
|
|
1604
|
+
fsSync.mkdirSync(userDataDir, { recursive: true });
|
|
1605
1605
|
const needsDecorate = !isProfileDecorated(userDataDir, profile.name, (profile.color ?? DEFAULT_ANIMA_BROWSER_COLOR).toUpperCase());
|
|
1606
1606
|
const spawnOnce = () => {
|
|
1607
1607
|
const args = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as normalizeAccountId } from "./workspace-
|
|
2
|
-
import { f as normalizeChatChannelId, m as requireActivePluginRegistry, o as CHANNEL_IDS, p as getActivePluginRegistry, s as CHAT_CHANNEL_ORDER, u as normalizeAnyChannelId } from "./subsystem-
|
|
3
|
-
import { n as runExec } from "./exec-
|
|
1
|
+
import { C as normalizeAccountId } from "./workspace-BQkffCaR.js";
|
|
2
|
+
import { f as normalizeChatChannelId, m as requireActivePluginRegistry, o as CHANNEL_IDS, p as getActivePluginRegistry, s as CHAT_CHANNEL_ORDER, u as normalizeAnyChannelId } from "./subsystem-DA3Cno1i.js";
|
|
3
|
+
import { n as runExec } from "./exec-Bfd4ztFZ.js";
|
|
4
4
|
import fs from "node:fs/promises";
|
|
5
5
|
import os from "node:os";
|
|
6
6
|
import path from "node:path";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { V as theme } from "./subsystem-BMsbqSb4.js";
|
|
2
2
|
import { t as createCliProgress } from "./progress-B-VBLfHr.js";
|
|
3
3
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-DU9Vjqe5.js";
|
|
4
|
-
import { t as WizardCancelledError } from "./prompts-
|
|
4
|
+
import { t as WizardCancelledError } from "./prompts-CneQ6SeF.js";
|
|
5
5
|
import { t as note$1 } from "./note-De2zPKl3.js";
|
|
6
6
|
import { cancel, confirm, intro, isCancel, multiselect, outro, select, spinner, text } from "@clack/prompts";
|
|
7
7
|
|
|
@@ -2,7 +2,7 @@ import "./paths-zhVksOvm.js";
|
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-BMsbqSb4.js";
|
|
3
3
|
import "./utils-B60lF9Wq.js";
|
|
4
4
|
import "./pi-embedded-helpers-B6wVA0hU.js";
|
|
5
|
-
import { in as loadAnimaPlugins } from "./reply-
|
|
5
|
+
import { in as loadAnimaPlugins } from "./reply-BgPvB-gR.js";
|
|
6
6
|
import "./exec-cazBMA02.js";
|
|
7
7
|
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-D3HZp64M.js";
|
|
8
8
|
import "./model-selection-wCaVeFbb.js";
|
|
@@ -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 { m as loadAnimaPlugins } from "./subagent-registry-
|
|
17
|
+
import { m as loadAnimaPlugins } 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";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as __exportAll } from "./chunk-BXK9XSlF.js";
|
|
2
2
|
import { St as hasHelpOrVersion, ht as buildParseArgv, yt as getPrimaryCommand } from "./entry.js";
|
|
3
3
|
import { r as resolveActionArgs } from "./helpers-DLgbkcEn.js";
|
|
4
|
-
import { r as registerSubCliCommands } from "./register.subclis-
|
|
4
|
+
import { r as registerSubCliCommands } from "./register.subclis-L55mGheS.js";
|
|
5
5
|
|
|
6
6
|
//#region src/cli/program/command-registry.ts
|
|
7
7
|
var command_registry_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -21,7 +21,7 @@ const coreEntries = [
|
|
|
21
21
|
description: "Initialize ANIMA config and the agent workspace"
|
|
22
22
|
}],
|
|
23
23
|
register: async ({ program }) => {
|
|
24
|
-
(await import("./register.setup-
|
|
24
|
+
(await import("./register.setup-Dyp5L_GQ.js")).registerSetupCommand(program);
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
{
|
|
@@ -30,7 +30,7 @@ const coreEntries = [
|
|
|
30
30
|
description: "Interactive wizard for Gateway, workspace, and skills setup"
|
|
31
31
|
}],
|
|
32
32
|
register: async ({ program }) => {
|
|
33
|
-
(await import("./register.onboard-
|
|
33
|
+
(await import("./register.onboard-U3lIfaw_.js")).registerOnboardCommand(program);
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
{
|
|
@@ -39,7 +39,7 @@ const coreEntries = [
|
|
|
39
39
|
description: "Interactive configuration for NoxSoft, memory, heartbeat, and identity"
|
|
40
40
|
}],
|
|
41
41
|
register: async ({ program }) => {
|
|
42
|
-
(await import("./register.configure-
|
|
42
|
+
(await import("./register.configure-Cv5NkGH2.js")).registerConfigureCommand(program);
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
45
|
{
|
|
@@ -48,7 +48,7 @@ const coreEntries = [
|
|
|
48
48
|
description: "Advanced and complete settings for Gateway and CLI"
|
|
49
49
|
}],
|
|
50
50
|
register: async ({ program }) => {
|
|
51
|
-
(await import("./settings-cli-
|
|
51
|
+
(await import("./settings-cli-Ccizggz2.js")).registerSettingsCli(program);
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
54
|
{
|
|
@@ -57,7 +57,7 @@ const coreEntries = [
|
|
|
57
57
|
description: "Read, write, and manage ANIMA configuration"
|
|
58
58
|
}],
|
|
59
59
|
register: async ({ program }) => {
|
|
60
|
-
(await import("./config-cli-
|
|
60
|
+
(await import("./config-cli-CQzq5yWB.js")).registerConfigCli(program);
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
63
|
{
|
|
@@ -66,7 +66,7 @@ const coreEntries = [
|
|
|
66
66
|
description: "Diagnose and repair Gateway and daemon issues"
|
|
67
67
|
}],
|
|
68
68
|
register: async ({ program }) => {
|
|
69
|
-
(await import("./register.maintenance-
|
|
69
|
+
(await import("./register.maintenance-DtAw8E_a.js")).registerMaintenanceCommands(program);
|
|
70
70
|
}
|
|
71
71
|
},
|
|
72
72
|
{
|
|
@@ -87,7 +87,7 @@ const coreEntries = [
|
|
|
87
87
|
description: "Manage isolated agent workspaces, auth, and routing"
|
|
88
88
|
}],
|
|
89
89
|
register: async ({ program, ctx }) => {
|
|
90
|
-
(await import("./register.agent-
|
|
90
|
+
(await import("./register.agent-CMoYTJqj.js")).registerAgentCommands(program, { agentChannelOptions: ctx.agentChannelOptions });
|
|
91
91
|
}
|
|
92
92
|
},
|
|
93
93
|
{
|
|
@@ -106,7 +106,7 @@ const coreEntries = [
|
|
|
106
106
|
}
|
|
107
107
|
],
|
|
108
108
|
register: async ({ program }) => {
|
|
109
|
-
(await import("./register.status-health-sessions-
|
|
109
|
+
(await import("./register.status-health-sessions-Cc2Y5gSj.js")).registerStatusHealthSessionsCommands(program);
|
|
110
110
|
}
|
|
111
111
|
},
|
|
112
112
|
{
|
|
@@ -170,7 +170,7 @@ Examples:
|
|
|
170
170
|
}
|
|
171
171
|
],
|
|
172
172
|
register: async ({ program }) => {
|
|
173
|
-
(await import("./register.anima-
|
|
173
|
+
(await import("./register.anima-CnEy5VFQ.js")).registerAnimaCommands(program);
|
|
174
174
|
}
|
|
175
175
|
}
|
|
176
176
|
];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as detectMime } from "./chunk-
|
|
2
|
-
import { t as sanitizeToolResultImages } from "./tool-images-
|
|
1
|
+
import { A as detectMime } from "./chunk-CyT-_QsQ.js";
|
|
2
|
+
import { t as sanitizeToolResultImages } from "./tool-images-DK97edts.js";
|
|
3
3
|
import fs from "node:fs/promises";
|
|
4
4
|
|
|
5
5
|
//#region src/agents/tools/common.ts
|
|
@@ -2,7 +2,7 @@ import { n as __exportAll } from "./chunk-BXK9XSlF.js";
|
|
|
2
2
|
import { m as resolveStateDir } from "./paths-zhVksOvm.js";
|
|
3
3
|
import { a as routeLogsToStderr } from "./subsystem-BMsbqSb4.js";
|
|
4
4
|
import { g as pathExists } from "./utils-B60lF9Wq.js";
|
|
5
|
-
import { i as registerCoreCliByName, o as getSubCliEntries, r as getCoreCliCommandNames, s as registerSubCliByName, t as getProgramContext } from "./program-context-
|
|
5
|
+
import { i as registerCoreCliByName, o as getSubCliEntries, r as getCoreCliCommandNames, s as registerSubCliByName, t as getProgramContext } from "./program-context-Hl6bnPfB.js";
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs/promises";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as __exportAll } from "./chunk-BXK9XSlF.js";
|
|
2
2
|
import { $ as resolveStateDir, u as routeLogsToStderr } from "./entry.js";
|
|
3
3
|
import { h as pathExists } from "./utils-D1VGbO3C.js";
|
|
4
|
-
import { n as registerSubCliByName, t as getSubCliEntries } from "./register.subclis-
|
|
5
|
-
import { n as getCoreCliCommandNames, r as registerCoreCliByName } from "./command-registry-
|
|
4
|
+
import { n as registerSubCliByName, t as getSubCliEntries } from "./register.subclis-L55mGheS.js";
|
|
5
|
+
import { n as getCoreCliCommandNames, r as registerCoreCliByName } from "./command-registry-vEVxxxzI.js";
|
|
6
6
|
import { t as getProgramContext } from "./program-context-Dw8HDTRz.js";
|
|
7
7
|
import os from "node:os";
|
|
8
8
|
import path from "node:path";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { n as resolveConfigPath, r as resolveDefaultConfigCandidates, s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-
|
|
2
|
-
import { _ as DEFAULT_AGENT_ID, w as normalizeAgentId } from "./workspace-
|
|
3
|
-
import { f as normalizeChatChannelId, o as CHANNEL_IDS } from "./subsystem-
|
|
4
|
-
import { S as resolveConfigDir, _ as isRecord, g as isPlainObject$2, w as resolveUserPath } from "./exec-
|
|
5
|
-
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
6
|
-
import { a as shouldDeferShellEnvFallback, i as resolveShellEnvFallbackTimeoutMs, o as shouldEnableShellEnvFallback, r as loadShellEnvFallback } from "./shell-env-
|
|
7
|
-
import { c as parseModelRef, p as DEFAULT_CONTEXT_TOKENS } from "./model-selection-
|
|
1
|
+
import { n as resolveConfigPath, r as resolveDefaultConfigCandidates, s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-D2eokayo.js";
|
|
2
|
+
import { _ as DEFAULT_AGENT_ID, w as normalizeAgentId } from "./workspace-BQkffCaR.js";
|
|
3
|
+
import { f as normalizeChatChannelId, o as CHANNEL_IDS } from "./subsystem-DA3Cno1i.js";
|
|
4
|
+
import { S as resolveConfigDir, _ as isRecord, g as isPlainObject$2, w as resolveUserPath } from "./exec-Bfd4ztFZ.js";
|
|
5
|
+
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-BZ8hjIt_.js";
|
|
6
|
+
import { a as shouldDeferShellEnvFallback, i as resolveShellEnvFallbackTimeoutMs, o as shouldEnableShellEnvFallback, r as loadShellEnvFallback } from "./shell-env-B4ae4lFh.js";
|
|
7
|
+
import { c as parseModelRef, p as DEFAULT_CONTEXT_TOKENS } from "./model-selection-BI8CKPwQ.js";
|
|
8
8
|
import { n as MANIFEST_KEY } from "./legacy-names-CKU7tKQR.js";
|
|
9
9
|
import { createRequire } from "node:module";
|
|
10
10
|
import os from "node:os";
|
|
11
11
|
import path from "node:path";
|
|
12
|
-
import
|
|
12
|
+
import fsSync from "node:fs";
|
|
13
13
|
import JSON5 from "json5";
|
|
14
14
|
import { isDeepStrictEqual } from "node:util";
|
|
15
15
|
import { fileURLToPath } from "node:url";
|
|
@@ -23,7 +23,7 @@ function loadDotEnv(opts) {
|
|
|
23
23
|
const quiet = opts?.quiet ?? true;
|
|
24
24
|
dotenv.config({ quiet });
|
|
25
25
|
const globalEnvPath = path.join(resolveConfigDir(process.env), ".env");
|
|
26
|
-
if (!
|
|
26
|
+
if (!fsSync.existsSync(globalEnvPath)) return;
|
|
27
27
|
dotenv.config({
|
|
28
28
|
quiet,
|
|
29
29
|
path: globalEnvPath,
|
|
@@ -153,7 +153,7 @@ const DEFAULT_SUBAGENT_MAX_CONCURRENT = 8;
|
|
|
153
153
|
//#endregion
|
|
154
154
|
//#region src/config/talk.ts
|
|
155
155
|
function readTalkApiKeyFromProfile(deps = {}) {
|
|
156
|
-
const fsImpl = deps.fs ??
|
|
156
|
+
const fsImpl = deps.fs ?? fsSync;
|
|
157
157
|
const osImpl = deps.os ?? os;
|
|
158
158
|
const pathImpl = deps.path ?? path;
|
|
159
159
|
const home = osImpl.homedir();
|
|
@@ -847,7 +847,7 @@ var IncludeProcessor = class IncludeProcessor {
|
|
|
847
847
|
}
|
|
848
848
|
};
|
|
849
849
|
const defaultResolver = {
|
|
850
|
-
readFile: (p) =>
|
|
850
|
+
readFile: (p) => fsSync.readFileSync(p, "utf-8"),
|
|
851
851
|
parseJson: (raw) => JSON5.parse(raw)
|
|
852
852
|
};
|
|
853
853
|
/**
|
|
@@ -1933,13 +1933,13 @@ function resolveBundledPluginsDir() {
|
|
|
1933
1933
|
try {
|
|
1934
1934
|
const execDir = path.dirname(process.execPath);
|
|
1935
1935
|
const sibling = path.join(execDir, "extensions");
|
|
1936
|
-
if (
|
|
1936
|
+
if (fsSync.existsSync(sibling)) return sibling;
|
|
1937
1937
|
} catch {}
|
|
1938
1938
|
try {
|
|
1939
1939
|
let cursor = path.dirname(fileURLToPath(import.meta.url));
|
|
1940
1940
|
for (let i = 0; i < 6; i += 1) {
|
|
1941
1941
|
const candidate = path.join(cursor, "extensions");
|
|
1942
|
-
if (
|
|
1942
|
+
if (fsSync.existsSync(candidate)) return candidate;
|
|
1943
1943
|
const parent = path.dirname(cursor);
|
|
1944
1944
|
if (parent === cursor) break;
|
|
1945
1945
|
cursor = parent;
|
|
@@ -1958,20 +1958,20 @@ function normalizeStringList(value) {
|
|
|
1958
1958
|
function resolvePluginManifestPath(rootDir) {
|
|
1959
1959
|
for (const filename of PLUGIN_MANIFEST_FILENAMES) {
|
|
1960
1960
|
const candidate = path.join(rootDir, filename);
|
|
1961
|
-
if (
|
|
1961
|
+
if (fsSync.existsSync(candidate)) return candidate;
|
|
1962
1962
|
}
|
|
1963
1963
|
return path.join(rootDir, PLUGIN_MANIFEST_FILENAME);
|
|
1964
1964
|
}
|
|
1965
1965
|
function loadPluginManifest(rootDir) {
|
|
1966
1966
|
const manifestPath = resolvePluginManifestPath(rootDir);
|
|
1967
|
-
if (!
|
|
1967
|
+
if (!fsSync.existsSync(manifestPath)) return {
|
|
1968
1968
|
ok: false,
|
|
1969
1969
|
error: `plugin manifest not found: ${manifestPath}`,
|
|
1970
1970
|
manifestPath
|
|
1971
1971
|
};
|
|
1972
1972
|
let raw;
|
|
1973
1973
|
try {
|
|
1974
|
-
raw = JSON.parse(
|
|
1974
|
+
raw = JSON.parse(fsSync.readFileSync(manifestPath, "utf-8"));
|
|
1975
1975
|
} catch (err) {
|
|
1976
1976
|
return {
|
|
1977
1977
|
ok: false,
|
|
@@ -2044,9 +2044,9 @@ function isExtensionFile(filePath) {
|
|
|
2044
2044
|
}
|
|
2045
2045
|
function readPackageManifest(dir) {
|
|
2046
2046
|
const manifestPath = path.join(dir, "package.json");
|
|
2047
|
-
if (!
|
|
2047
|
+
if (!fsSync.existsSync(manifestPath)) return null;
|
|
2048
2048
|
try {
|
|
2049
|
-
const raw =
|
|
2049
|
+
const raw = fsSync.readFileSync(manifestPath, "utf-8");
|
|
2050
2050
|
return JSON.parse(raw);
|
|
2051
2051
|
} catch {
|
|
2052
2052
|
return null;
|
|
@@ -2084,10 +2084,10 @@ function addCandidate(params) {
|
|
|
2084
2084
|
});
|
|
2085
2085
|
}
|
|
2086
2086
|
function discoverInDirectory(params) {
|
|
2087
|
-
if (!
|
|
2087
|
+
if (!fsSync.existsSync(params.dir)) return;
|
|
2088
2088
|
let entries = [];
|
|
2089
2089
|
try {
|
|
2090
|
-
entries =
|
|
2090
|
+
entries = fsSync.readdirSync(params.dir, { withFileTypes: true });
|
|
2091
2091
|
} catch (err) {
|
|
2092
2092
|
params.diagnostics.push({
|
|
2093
2093
|
level: "warn",
|
|
@@ -2139,7 +2139,7 @@ function discoverInDirectory(params) {
|
|
|
2139
2139
|
"index.js",
|
|
2140
2140
|
"index.mjs",
|
|
2141
2141
|
"index.cjs"
|
|
2142
|
-
].map((candidate) => path.join(fullPath, candidate)).find((candidate) =>
|
|
2142
|
+
].map((candidate) => path.join(fullPath, candidate)).find((candidate) => fsSync.existsSync(candidate));
|
|
2143
2143
|
if (indexFile && isExtensionFile(indexFile)) addCandidate({
|
|
2144
2144
|
candidates: params.candidates,
|
|
2145
2145
|
seen: params.seen,
|
|
@@ -2155,7 +2155,7 @@ function discoverInDirectory(params) {
|
|
|
2155
2155
|
}
|
|
2156
2156
|
function discoverFromPath(params) {
|
|
2157
2157
|
const resolved = resolveUserPath(params.rawPath);
|
|
2158
|
-
if (!
|
|
2158
|
+
if (!fsSync.existsSync(resolved)) {
|
|
2159
2159
|
params.diagnostics.push({
|
|
2160
2160
|
level: "error",
|
|
2161
2161
|
message: `plugin path not found: ${resolved}`,
|
|
@@ -2163,7 +2163,7 @@ function discoverFromPath(params) {
|
|
|
2163
2163
|
});
|
|
2164
2164
|
return;
|
|
2165
2165
|
}
|
|
2166
|
-
const stat =
|
|
2166
|
+
const stat = fsSync.statSync(resolved);
|
|
2167
2167
|
if (stat.isFile()) {
|
|
2168
2168
|
if (!isExtensionFile(resolved)) {
|
|
2169
2169
|
params.diagnostics.push({
|
|
@@ -2213,7 +2213,7 @@ function discoverFromPath(params) {
|
|
|
2213
2213
|
"index.js",
|
|
2214
2214
|
"index.mjs",
|
|
2215
2215
|
"index.cjs"
|
|
2216
|
-
].map((candidate) => path.join(resolved, candidate)).find((candidate) =>
|
|
2216
|
+
].map((candidate) => path.join(resolved, candidate)).find((candidate) => fsSync.existsSync(candidate));
|
|
2217
2217
|
if (indexFile && isExtensionFile(indexFile)) {
|
|
2218
2218
|
addCandidate({
|
|
2219
2219
|
candidates: params.candidates,
|
|
@@ -2303,7 +2303,7 @@ function safeRealpathSync(rootDir, cache) {
|
|
|
2303
2303
|
const cached = cache.get(rootDir);
|
|
2304
2304
|
if (cached) return cached;
|
|
2305
2305
|
try {
|
|
2306
|
-
const resolved =
|
|
2306
|
+
const resolved = fsSync.realpathSync(rootDir);
|
|
2307
2307
|
cache.set(rootDir, resolved);
|
|
2308
2308
|
return resolved;
|
|
2309
2309
|
} catch {
|
|
@@ -2329,7 +2329,7 @@ function buildCacheKey(params) {
|
|
|
2329
2329
|
}
|
|
2330
2330
|
function safeStatMtimeMs(filePath) {
|
|
2331
2331
|
try {
|
|
2332
|
-
return
|
|
2332
|
+
return fsSync.statSync(filePath).mtimeMs;
|
|
2333
2333
|
} catch {
|
|
2334
2334
|
return null;
|
|
2335
2335
|
}
|
|
@@ -4674,7 +4674,7 @@ function resolveConfigPathForDeps(deps) {
|
|
|
4674
4674
|
}
|
|
4675
4675
|
function normalizeDeps(overrides = {}) {
|
|
4676
4676
|
return {
|
|
4677
|
-
fs: overrides.fs ??
|
|
4677
|
+
fs: overrides.fs ?? fsSync,
|
|
4678
4678
|
json5: overrides.json5 ?? JSON5,
|
|
4679
4679
|
env: overrides.env ?? process.env,
|
|
4680
4680
|
homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
|
|
@@ -6,6 +6,6 @@ import "./manifest-registry-W_OfCIRP.js";
|
|
|
6
6
|
import "./config-Ofh9gKvs.js";
|
|
7
7
|
import "./shell-env-2QqHvBMl.js";
|
|
8
8
|
import "./links-3c7gzW-G.js";
|
|
9
|
-
import { i as runConfigUnset, n as runConfigGet, r as runConfigSet, t as registerConfigCli } from "./configure-
|
|
9
|
+
import { i as runConfigUnset, n as runConfigGet, r as runConfigSet, t as registerConfigCli } from "./configure-DxQqSUJs.js";
|
|
10
10
|
|
|
11
11
|
export { registerConfigCli, runConfigGet, runConfigUnset };
|
|
@@ -10,6 +10,6 @@ import "./env-DVJCc7dM.js";
|
|
|
10
10
|
import "./shell-env-PnmcBTp4.js";
|
|
11
11
|
import "./manifest-registry-D-DOtLzo.js";
|
|
12
12
|
import "./links-OhvsEkVw.js";
|
|
13
|
-
import { i as runConfigUnset, n as runConfigGet, r as runConfigSet, t as registerConfigCli } from "./configure-
|
|
13
|
+
import { i as runConfigUnset, n as runConfigGet, r as runConfigSet, t as registerConfigCli } from "./configure-Bv6mqD0j.js";
|
|
14
14
|
|
|
15
15
|
export { registerConfigCli };
|
|
@@ -14,15 +14,15 @@ import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint }
|
|
|
14
14
|
import { t as resolveGatewayService } from "./service-QlHhVsQf.js";
|
|
15
15
|
import { n as resolveWideAreaDiscoveryDomain } from "./widearea-dns-BDtWuGCY.js";
|
|
16
16
|
import { t as discoverGatewayBeacons } from "./bonjour-discovery-QsoaZ8Pr.js";
|
|
17
|
-
import { r as healthCommand } from "./health-
|
|
17
|
+
import { r as healthCommand } from "./health-D8fJ6U_k.js";
|
|
18
18
|
import { n as ensureControlUiAssetsBuilt, t as formatHealthCheckFailure } from "./health-format-CH6JWH45.js";
|
|
19
|
-
import { a as applyModelAllowlist, c as promptDefaultModel, i as applyAuthChoice, l as promptModelAllowlist, n as resolvePreferredProviderForAuthChoice, o as applyModelFallbacksFromSelection, p as promptAuthChoiceGrouped, s as applyPrimaryModel, t as WizardCancelledError } from "./prompts-
|
|
19
|
+
import { a as applyModelAllowlist, c as promptDefaultModel, i as applyAuthChoice, l as promptModelAllowlist, n as resolvePreferredProviderForAuthChoice, o as applyModelFallbacksFromSelection, p as promptAuthChoiceGrouped, s as applyPrimaryModel, t as WizardCancelledError } from "./prompts-CneQ6SeF.js";
|
|
20
20
|
import { n as logConfigUpdated } from "./logging-DhXRGHWg.js";
|
|
21
21
|
import { t as note$1 } from "./note-De2zPKl3.js";
|
|
22
22
|
import { t as validateIPv4AddressInput } from "./ipv4-BYbwrpG-.js";
|
|
23
23
|
import { t as installSkill } from "./skills-install-2DbC1Yo2.js";
|
|
24
|
-
import { t as createClackPrompter } from "./clack-prompter-
|
|
25
|
-
import { n as setupChannels, t as noteChannelStatus } from "./onboard-channels-
|
|
24
|
+
import { t as createClackPrompter } from "./clack-prompter-rXuqdPbx.js";
|
|
25
|
+
import { n as setupChannels, t as noteChannelStatus } from "./onboard-channels-RsbA6EaD.js";
|
|
26
26
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-B-uyzDap.js";
|
|
27
27
|
import { confirm, intro, outro, select, text } from "@clack/prompts";
|
|
28
28
|
|
|
@@ -2,7 +2,7 @@ import "./paths-zhVksOvm.js";
|
|
|
2
2
|
import { A as info, V as theme, d as defaultRuntime, k as danger } 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 "./agent-scope-D3HZp64M.js";
|
|
8
8
|
import "./model-selection-wCaVeFbb.js";
|
|
@@ -66,10 +66,10 @@ import "./systemd-5KGZ3NHE.js";
|
|
|
66
66
|
import "./service-QlHhVsQf.js";
|
|
67
67
|
import "./widearea-dns-BDtWuGCY.js";
|
|
68
68
|
import "./bonjour-discovery-QsoaZ8Pr.js";
|
|
69
|
-
import "./health-
|
|
69
|
+
import "./health-D8fJ6U_k.js";
|
|
70
70
|
import "./plugin-auto-enable-Mj7AnofW.js";
|
|
71
71
|
import "./health-format-CH6JWH45.js";
|
|
72
|
-
import "./prompts-
|
|
72
|
+
import "./prompts-CneQ6SeF.js";
|
|
73
73
|
import "./logging-DhXRGHWg.js";
|
|
74
74
|
import "./note-De2zPKl3.js";
|
|
75
75
|
import "./skill-scanner-DGoUYV22.js";
|
|
@@ -77,9 +77,9 @@ import "./archive-5e-Ytlq-.js";
|
|
|
77
77
|
import "./skills-install-2DbC1Yo2.js";
|
|
78
78
|
import "./npm-registry-spec-CFp4OEe4.js";
|
|
79
79
|
import "./installs-sayrGjx1.js";
|
|
80
|
-
import "./clack-prompter-
|
|
81
|
-
import "./onboard-channels-
|
|
82
|
-
import { a as CONFIGURE_WIZARD_SECTIONS, i as buildGatewayAuthConfig, n as configureCommandWithSections, o as parseConfigureWizardSections, r as runConfigureWizard, t as configureCommand } from "./configure-
|
|
80
|
+
import "./clack-prompter-rXuqdPbx.js";
|
|
81
|
+
import "./onboard-channels-RsbA6EaD.js";
|
|
82
|
+
import { a as CONFIGURE_WIZARD_SECTIONS, i as buildGatewayAuthConfig, n as configureCommandWithSections, o as parseConfigureWizardSections, r as runConfigureWizard, t as configureCommand } from "./configure-B-dfdPKX.js";
|
|
83
83
|
import "./systemd-linger-B-uyzDap.js";
|
|
84
84
|
import JSON5 from "json5";
|
|
85
85
|
|
|
@@ -291,7 +291,7 @@ async function runConfigSet(opts) {
|
|
|
291
291
|
}
|
|
292
292
|
function registerConfigCli(program) {
|
|
293
293
|
const cmd = program.command("config").description("Read, write, and manage ANIMA configuration").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/config", "docs.noxsoft.net/anima/cli/config")}\n`).option("--section <section>", "Configure wizard sections (repeatable). Use with no subcommand.", (value, previous) => [...previous, value], []).action(async (opts) => {
|
|
294
|
-
const { CONFIGURE_WIZARD_SECTIONS, configureCommand, configureCommandWithSections, parseConfigureWizardSections } = await import("./configure-
|
|
294
|
+
const { CONFIGURE_WIZARD_SECTIONS, configureCommand, configureCommandWithSections, parseConfigureWizardSections } = await import("./configure-Bv6mqD0j.js");
|
|
295
295
|
const { sections, invalid } = parseConfigureWizardSections(opts.section);
|
|
296
296
|
if (sections.length === 0) {
|
|
297
297
|
await configureCommand(defaultRuntime);
|
|
@@ -16,7 +16,7 @@ import "./shell-env-2QqHvBMl.js";
|
|
|
16
16
|
import "./client-DzIcZx4J.js";
|
|
17
17
|
import "./call-DHZ76BNg.js";
|
|
18
18
|
import "./message-channel-DdOBO6Qm.js";
|
|
19
|
-
import "./subagent-registry-
|
|
19
|
+
import "./subagent-registry-MZIxVf8W.js";
|
|
20
20
|
import "./sessions-1XK2mH6L.js";
|
|
21
21
|
import "./tokens-CmlI2hSz.js";
|
|
22
22
|
import "./anthropic-direct-runner-CzQb7QkD.js";
|
|
@@ -64,11 +64,11 @@ import "./systemd-6iLWJxQQ.js";
|
|
|
64
64
|
import "./service-4VfZwSv1.js";
|
|
65
65
|
import "./widearea-dns-CtU9Fx7K.js";
|
|
66
66
|
import "./bonjour-discovery-D3HFfTyG.js";
|
|
67
|
-
import "./health-
|
|
67
|
+
import "./health-BttJ1Qeh.js";
|
|
68
68
|
import "./catalog-B-TAbJ2o.js";
|
|
69
69
|
import "./plugin-auto-enable-OqDAK-ap.js";
|
|
70
70
|
import "./health-format-BLnFZCH_.js";
|
|
71
|
-
import "./auth-choice-
|
|
71
|
+
import "./auth-choice-DPWnLV_w.js";
|
|
72
72
|
import "./prompts-D6b3zLVO.js";
|
|
73
73
|
import "./logging-DcXIbpwk.js";
|
|
74
74
|
import "./note-BaOKDvcy.js";
|
|
@@ -78,8 +78,8 @@ import "./skills-install-CE6djAWL.js";
|
|
|
78
78
|
import "./npm-registry-spec-DVDcgWxm.js";
|
|
79
79
|
import "./installs-BcnNDR54.js";
|
|
80
80
|
import "./clack-prompter-QbDK4ABC.js";
|
|
81
|
-
import "./onboard-channels-
|
|
82
|
-
import { a as CONFIGURE_WIZARD_SECTIONS, i as buildGatewayAuthConfig, n as configureCommandWithSections, o as parseConfigureWizardSections, r as runConfigureWizard, t as configureCommand } from "./configure-
|
|
81
|
+
import "./onboard-channels-D6Gt3CsX.js";
|
|
82
|
+
import { a as CONFIGURE_WIZARD_SECTIONS, i as buildGatewayAuthConfig, n as configureCommandWithSections, o as parseConfigureWizardSections, r as runConfigureWizard, t as configureCommand } from "./configure-G6h2Ppk0.js";
|
|
83
83
|
import "./systemd-linger-CS_pA1-a.js";
|
|
84
84
|
import JSON5 from "json5";
|
|
85
85
|
|
|
@@ -291,7 +291,7 @@ async function runConfigSet(opts) {
|
|
|
291
291
|
}
|
|
292
292
|
function registerConfigCli(program) {
|
|
293
293
|
const cmd = program.command("config").description("Read, write, and manage ANIMA configuration").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/config", "docs.noxsoft.net/anima/cli/config")}\n`).option("--section <section>", "Configure wizard sections (repeatable). Use with no subcommand.", (value, previous) => [...previous, value], []).action(async (opts) => {
|
|
294
|
-
const { CONFIGURE_WIZARD_SECTIONS, configureCommand, configureCommandWithSections, parseConfigureWizardSections } = await import("./configure-
|
|
294
|
+
const { CONFIGURE_WIZARD_SECTIONS, configureCommand, configureCommandWithSections, parseConfigureWizardSections } = await import("./configure-DxQqSUJs.js");
|
|
295
295
|
const { sections, invalid } = parseConfigureWizardSections(opts.section);
|
|
296
296
|
if (sections.length === 0) {
|
|
297
297
|
await configureCommand(defaultRuntime);
|
|
@@ -13,16 +13,16 @@ import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint }
|
|
|
13
13
|
import { t as resolveGatewayService } from "./service-4VfZwSv1.js";
|
|
14
14
|
import { n as resolveWideAreaDiscoveryDomain } from "./widearea-dns-CtU9Fx7K.js";
|
|
15
15
|
import { t as discoverGatewayBeacons } from "./bonjour-discovery-D3HFfTyG.js";
|
|
16
|
-
import { r as healthCommand } from "./health-
|
|
16
|
+
import { r as healthCommand } from "./health-BttJ1Qeh.js";
|
|
17
17
|
import { n as ensureControlUiAssetsBuilt, t as formatHealthCheckFailure } from "./health-format-BLnFZCH_.js";
|
|
18
|
-
import { a as applyModelFallbacksFromSelection, c as promptModelAllowlist, i as applyModelAllowlist, l as promptAuthChoiceGrouped, o as applyPrimaryModel, r as applyAuthChoice, s as promptDefaultModel, t as resolvePreferredProviderForAuthChoice } from "./auth-choice-
|
|
18
|
+
import { a as applyModelFallbacksFromSelection, c as promptModelAllowlist, i as applyModelAllowlist, l as promptAuthChoiceGrouped, o as applyPrimaryModel, r as applyAuthChoice, s as promptDefaultModel, t as resolvePreferredProviderForAuthChoice } from "./auth-choice-DPWnLV_w.js";
|
|
19
19
|
import { t as WizardCancelledError } from "./prompts-D6b3zLVO.js";
|
|
20
20
|
import { n as logConfigUpdated } from "./logging-DcXIbpwk.js";
|
|
21
21
|
import { t as note$1 } from "./note-BaOKDvcy.js";
|
|
22
22
|
import { t as validateIPv4AddressInput } from "./ipv4-BYbwrpG-.js";
|
|
23
23
|
import { t as installSkill } from "./skills-install-CE6djAWL.js";
|
|
24
24
|
import { t as createClackPrompter } from "./clack-prompter-QbDK4ABC.js";
|
|
25
|
-
import { n as setupChannels, t as noteChannelStatus } from "./onboard-channels-
|
|
25
|
+
import { n as setupChannels, t as noteChannelStatus } from "./onboard-channels-D6Gt3CsX.js";
|
|
26
26
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-CS_pA1-a.js";
|
|
27
27
|
import { confirm, intro, outro, select, text } from "@clack/prompts";
|
|
28
28
|
|