@noxsoft/anima 3.0.3 → 3.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{accounts-MCFGsqbc.js → accounts-0-iS_1ON.js} +6 -6
- package/dist/{acp-cli-Cc4hge8F.js → acp-cli-DR2eCnHa.js} +3 -3
- package/dist/{agent-kw6IKi2M.js → agent-D67QJfSA.js} +7 -7
- package/dist/{agent-events-k0oEWcJi.js → agent-events-DpLOd9j3.js} +1 -1
- package/dist/{agents-CRHhdnpS.js → agents-CC7YooRa.js} +4 -4
- package/dist/{audit-Bmlx4ME3.js → audit-DTa_eoCX.js} +8 -8
- package/dist/{auth-choice-DmJpz3dy.js → auth-choice-uTkXmBsF.js} +1 -1
- package/dist/{banner-CMa8sLDM.js → banner-7w2BYzBm.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +6 -6
- package/dist/{call-CtVjogkV.js → call-CdAIguFD.js} +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{chrome-DZ7VChHP.js → chrome-dggtj3Lb.js} +7 -7
- package/dist/{cli-BxZOVbN0.js → cli-qFdAHCu_.js} +18 -18
- package/dist/{cli-session-C_Pb_tJG.js → cli-session-CfTs7I9q.js} +4 -4
- package/dist/{command-registry-CNfXgZ7o.js → command-registry-BOtCwS6q.js} +11 -11
- package/dist/{completion-cli-BkFQCDYI.js → completion-cli-DXr9R51W.js} +2 -2
- package/dist/{config-CW3mWEFv.js → config-BqjdiIqb.js} +1 -1
- package/dist/{config-cli-Ls75E1u6.js → config-cli-AUXa07PR.js} +3 -3
- package/dist/{config-guard-CXr4ahlE.js → config-guard-CLE9lMNz.js} +2 -2
- package/dist/{configure-DsCZMKY0.js → configure-BHdbhvvf.js} +30 -30
- package/dist/{configure-SEpZ5Jbz.js → configure-DeN_4KMQ.js} +8 -8
- package/dist/{context-C-EeDlhY.js → context-D3iu8n-R.js} +1 -1
- package/dist/{control-service-C1xo0dfl.js → control-service-BZzmO7c_.js} +2 -2
- package/dist/{cron-cli-C0yeWgUd.js → cron-cli-CyzK6gZC.js} +4 -4
- package/dist/{daemon-cli-YXtw9DJy.js → daemon-cli-BJbm--Cv.js} +5 -5
- package/dist/{daemon-runtime-D5KhD82Y.js → daemon-runtime-RjPFjiQt.js} +1 -1
- package/dist/{deliver-D9gk6vPm.js → deliver-BAvC6OQB.js} +1 -1
- package/dist/{deliver-COTg5qFH.js → deliver-JdSpxDGI.js} +1 -1
- package/dist/{dispatcher-DQsImjGf.js → dispatcher-B8eU53gY.js} +1 -1
- package/dist/{dns-cli-CQYWiaMa.js → dns-cli-DL2BM6hq.js} +2 -2
- package/dist/{docs-cli-DehEwN7Q.js → docs-cli-CKSiSdnb.js} +1 -1
- package/dist/{doctor-completion-CZj6kSxM.js → doctor-completion-DmQMefih.js} +1 -1
- package/dist/{doctor-config-flow-BKTWsoKo.js → doctor-config-flow-D-6JwPG8.js} +5 -5
- package/dist/{doctor-Bby-UShx.js → doctor-pLYoBJMk.js} +15 -15
- package/dist/entry.js +3 -3
- package/dist/{exec-approvals-cli-D9pfvckh.js → exec-approvals-cli-BZVoSyyq.js} +6 -6
- package/dist/{gateway-cli-DtO8TW8i.js → gateway-cli-BdOVgRop.js} +46 -46
- package/dist/{gateway-rpc-D7Nplm8G.js → gateway-rpc-UUEXPkWC.js} +1 -1
- package/dist/{gmail-setup-utils-Du3JjS1M.js → gmail-setup-utils-DjQ4vBw0.js} +1 -1
- package/dist/{health-btYQz_wA.js → health-DHDWvsfA.js} +8 -8
- package/dist/{heartbeat-visibility-Czw1aXJ9.js → heartbeat-visibility-Cmb6Uty9.js} +1 -1
- package/dist/{hooks-cli-BnYhHSTh.js → hooks-cli-CKrriqp_.js} +20 -20
- package/dist/{hooks-status-DnB6ZK0J.js → hooks-status-C02SnWNJ.js} +1 -1
- package/dist/{io-CHeqqEl4.js → io-iWIjWIkl.js} +5 -5
- package/dist/{login-C25KYCCB.js → login-BdEL76u1.js} +1 -1
- package/dist/{login-qr-Beuo6oxw.js → login-qr-YcClTis-.js} +1 -1
- package/dist/{login-qr-lzEKpHxZ.js → login-qr-hjfbYYQE.js} +3 -3
- package/dist/{login-DlQyFFdq.js → login-yr3VtZqb.js} +2 -2
- package/dist/{logs-cli-CEX1x2UC.js → logs-cli-Dl8iaTM8.js} +4 -4
- package/dist/{memory-cli-B3CyQMHl.js → memory-cli-BIi9M09T.js} +1 -1
- package/dist/{models-By2DCCb_.js → models-B-eLP2W_.js} +19 -19
- package/dist/{node-cli-BzroW-6N.js → node-cli-o5qdBDXv.js} +7 -7
- package/dist/{onboard-C3IoqClv.js → onboard-D8heZS4W.js} +6 -6
- package/dist/{onboard-channels-zGd24jDH.js → onboard-channels-CvE0fndb.js} +1 -1
- package/dist/{onboard-helpers-BnB7o14v.js → onboard-helpers-C8-npM73.js} +2 -2
- package/dist/{onboarding-DrIg7AOV.js → onboarding-GTIvnear.js} +9 -9
- package/dist/{outbound-CttO4U0C.js → outbound-DbFD3d8r.js} +1 -1
- package/dist/{parse-timeout-CZ6_B_Wu.js → parse-timeout-BVEX2Lz1.js} +1 -1
- package/dist/{pi-embedded-helpers-sqsbN-zA.js → pi-embedded-helpers-g9om0xJ7.js} +4 -4
- package/dist/{pi-tools.policy-DksWz3BP.js → pi-tools.policy-B4I325aj.js} +2 -2
- package/dist/{plugin-registry-ssaLz5G3.js → plugin-registry-SWpB3D-5.js} +2 -2
- package/dist/{plugins-cli-49bp8GOB.js → plugins-cli-Bj60hoG3.js} +19 -19
- package/dist/{program-Cl1iECHu.js → program-ufvQ9_i3.js} +24 -24
- package/dist/{pw-ai-W08ktaHA.js → pw-ai-CBmRQ9aU.js} +1 -1
- package/dist/{register.agent-CMcR6wn3.js → register.agent-DlRL0gZs.js} +23 -23
- package/dist/{register.anima-CT63Jw6G.js → register.anima-BGcCs9zl.js} +3 -3
- package/dist/{register.configure-C5hYdZNC.js → register.configure-mvmlHvKz.js} +26 -26
- package/dist/{register.maintenance-DR8HDTM1.js → register.maintenance-D2stmLYe.js} +30 -30
- package/dist/{register.onboard-c3wKMzVQ.js → register.onboard-BvMT5000.js} +30 -30
- package/dist/{register.setup-CsdtvJfr.js → register.setup-BTn79YSi.js} +32 -32
- package/dist/{register.status-health-sessions-1BNEGniX.js → register.status-health-sessions-DTfOz28I.js} +25 -25
- package/dist/{register.subclis-APOnK1oY.js → register.subclis-Cb-XMz3t.js} +21 -21
- package/dist/{reply-DiXFAQ6Y.js → reply-CDFwIHRO.js} +23 -23
- package/dist/{reply-prefix-BJ6vG158.js → reply-prefix-RmDHulxO.js} +2 -2
- package/dist/{routes-BC-Mvhwy.js → routes-Cmc5ZQhi.js} +2 -2
- package/dist/{run-main-DSmCSQvU.js → run-main-5ODo8rXB.js} +36 -36
- package/dist/{sandbox-cli-DEmOMuhf.js → sandbox-cli-C_W6JLJ8.js} +7 -7
- package/dist/{sandbox-C9Ow3VqW.js → sandbox-gSH3_12R.js} +3 -3
- package/dist/{security-cli-CJ_CU3Lv.js → security-cli-C347Qhcz.js} +10 -10
- package/dist/{server-context-B7l8uLo0.js → server-context-B0zBRUkt.js} +1 -1
- package/dist/{server-node-events-nClUCOTS.js → server-node-events-DORX1Ogk.js} +11 -11
- package/dist/{service-audit-BCC0aFGF.js → service-audit-BwLKMovx.js} +1 -1
- package/dist/{session-CeToKqd8.js → session-BxRbDXzF.js} +1 -1
- package/dist/{sessions-CO93wesA.js → sessions-B090A8HC.js} +1 -1
- package/dist/{sessions-7zgD7x8B.js → sessions-Bm1ebRIk.js} +3 -3
- package/dist/{settings-cli-Sq63XV_Z.js → settings-cli-BfG2LeHS.js} +27 -27
- package/dist/{skills-CG8iI6v6.js → skills-C4C8s_X9.js} +2 -2
- package/dist/{skills-cli-BcqCAYEs.js → skills-cli-BGRR3n2i.js} +6 -6
- package/dist/{skills-install-_5laUMxp.js → skills-install-1LM_zHZp.js} +1 -1
- package/dist/{skills-status-CNEd8Dm9.js → skills-status-H7e--DXr.js} +1 -1
- package/dist/{start-BsO9TOE5.js → start-Dx14-Dv4.js} +1 -1
- package/dist/{status-L2HZk3ud.js → status-BrCv8UvC.js} +12 -12
- package/dist/{status-DsBDigvs.js → status-CUx95WWH.js} +2 -2
- package/dist/{status.update-DREm9Pli.js → status.update-BeqJtF19.js} +1 -1
- package/dist/{subagent-registry-CAKZ3Y17.js → subagent-registry-B9LkM5jI.js} +7 -7
- package/dist/{subagent-registry-BfTldsNb.js → subagent-registry-Dc6tpkgu.js} +6 -6
- package/dist/{system-cli-DzSUCwFN.js → system-cli-CMuR4lX6.js} +4 -4
- package/dist/{tui-C2XIQ9jV.js → tui-D-VaXawe.js} +3 -3
- package/dist/{tui-cli-piy12AAM.js → tui-cli-CrNpDqdm.js} +10 -10
- package/dist/{update-cli-DxE9ARmb.js → update-cli-BbW_TUAN.js} +32 -32
- package/dist/{update-runner-DfXRVjBp.js → update-runner-B1Y2OBKb.js} +1 -1
- package/dist/{usage-ClDzxVdl.js → usage-CdVLaB19.js} +2 -2
- package/dist/{web-nlpa6AmG.js → web-CXb6AGwW.js} +22 -22
- package/dist/{web-DBI1ImUV.js → web-DjsezaZk.js} +13 -13
- package/dist/{webhooks-cli--V32JTnS.js → webhooks-cli-C5yo-utx.js} +4 -4
- package/dist/{whatsapp-actions-DZgyP_1e.js → whatsapp-actions-D5Kl_XTd.js} +3 -3
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@ import { w as VERSION } from "./config-DlcnfxIz.js";
|
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import fs from "node:fs";
|
|
11
11
|
import { randomUUID } from "node:crypto";
|
|
12
|
-
import WebSocket from "ws";
|
|
12
|
+
import WebSocket$1 from "ws";
|
|
13
13
|
import { promisify } from "util";
|
|
14
14
|
import { platform, release, tmpdir } from "os";
|
|
15
15
|
import * as Crypto from "crypto";
|
|
@@ -95632,20 +95632,20 @@ var WebSocketClient = class extends AbstractSocketClient {
|
|
|
95632
95632
|
this.socket = null;
|
|
95633
95633
|
}
|
|
95634
95634
|
get isOpen() {
|
|
95635
|
-
return this.socket?.readyState === WebSocket.OPEN;
|
|
95635
|
+
return this.socket?.readyState === WebSocket$1.OPEN;
|
|
95636
95636
|
}
|
|
95637
95637
|
get isClosed() {
|
|
95638
|
-
return this.socket === null || this.socket?.readyState === WebSocket.CLOSED;
|
|
95638
|
+
return this.socket === null || this.socket?.readyState === WebSocket$1.CLOSED;
|
|
95639
95639
|
}
|
|
95640
95640
|
get isClosing() {
|
|
95641
|
-
return this.socket === null || this.socket?.readyState === WebSocket.CLOSING;
|
|
95641
|
+
return this.socket === null || this.socket?.readyState === WebSocket$1.CLOSING;
|
|
95642
95642
|
}
|
|
95643
95643
|
get isConnecting() {
|
|
95644
|
-
return this.socket?.readyState === WebSocket.CONNECTING;
|
|
95644
|
+
return this.socket?.readyState === WebSocket$1.CONNECTING;
|
|
95645
95645
|
}
|
|
95646
95646
|
connect() {
|
|
95647
95647
|
if (this.socket) return;
|
|
95648
|
-
this.socket = new WebSocket(this.url, {
|
|
95648
|
+
this.socket = new WebSocket$1(this.url, {
|
|
95649
95649
|
origin: DEFAULT_ORIGIN,
|
|
95650
95650
|
headers: this.config.options?.headers,
|
|
95651
95651
|
handshakeTimeout: this.config.connectTimeoutMs,
|
|
@@ -4,11 +4,11 @@ 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 { j as VERSION, n as loadConfig } from "./io-
|
|
7
|
+
import { j as VERSION, n as loadConfig } from "./io-iWIjWIkl.js";
|
|
8
8
|
import "./shell-env-DAw9qXji.js";
|
|
9
|
-
import "./config-
|
|
9
|
+
import "./config-BqjdiIqb.js";
|
|
10
10
|
import { t as GatewayClient } from "./client-Dz6cszHd.js";
|
|
11
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
11
|
+
import { t as buildGatewayConnectionDetails } from "./call-CdAIguFD.js";
|
|
12
12
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-BiajZfgz.js";
|
|
13
13
|
import { i as resolveGatewayAuth } from "./auth-FzNxH03k.js";
|
|
14
14
|
import { t as formatDocsLink } from "./links-DtaFNkkY.js";
|
|
@@ -4,24 +4,24 @@ import { t as formatCliCommand } from "./command-format-B9HGdNTg.js";
|
|
|
4
4
|
import { d as resolveAgentIdFromSessionKey, l as normalizeAgentId, u as normalizeMainKey } from "./session-key-DP2WHl90.js";
|
|
5
5
|
import { a as resolveAgentModelPrimary, i as resolveAgentModelFallbacksOverride, o as resolveAgentSkillsFilter, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds, x as ensureAgentWorkspace } from "./agent-scope-QT1urvJx.js";
|
|
6
6
|
import { _ as DEFAULT_MODEL, a as isCliProvider, d as resolveConfiguredModelRef, g as DEFAULT_CONTEXT_TOKENS, h as resolveThinkingDefault, o as modelKey, s as normalizeModelRef, t as buildAllowedModelSet, v as DEFAULT_PROVIDER } from "./model-selection-01zouBRC.js";
|
|
7
|
-
import { r as buildWorkspaceSkillSnapshot } from "./skills-
|
|
8
|
-
import { n as loadConfig } from "./io-
|
|
7
|
+
import { r as buildWorkspaceSkillSnapshot } from "./skills-C4C8s_X9.js";
|
|
8
|
+
import { n as loadConfig } from "./io-iWIjWIkl.js";
|
|
9
9
|
import { a as isInternalMessageChannel, d as resolveMessageChannel, i as isGatewayMessageChannel, l as normalizeMessageChannel, n as isDeliverableMessageChannel, t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-BiajZfgz.js";
|
|
10
10
|
import { S as registerAgentRunContext, g as runEmbeddedPiAgent, n as AGENT_LANE_NESTED, r as AGENT_LANE_SUBAGENT, t as resolveAgentTimeoutMs, v as clearAgentRunContext, y as emitAgentEvent } from "./timeout-CXND7zJu.js";
|
|
11
|
-
import { L as normalizeAccountId, d as resolveSessionKey, f as evaluateSessionFreshness, h as resolveSessionResetType, i as loadSessionStore, l as updateSessionStore, m as resolveSessionResetPolicy, p as resolveChannelResetConfig, x as resolveExplicitAgentSessionKey } from "./sessions-
|
|
11
|
+
import { L as normalizeAccountId, d as resolveSessionKey, f as evaluateSessionFreshness, h as resolveSessionResetType, i as loadSessionStore, l as updateSessionStore, m as resolveSessionResetPolicy, p as resolveChannelResetConfig, x as resolveExplicitAgentSessionKey } from "./sessions-B090A8HC.js";
|
|
12
12
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-zFmidMaf.js";
|
|
13
13
|
import { d as supportsXHighThinking, l as normalizeVerboseLevel, n as formatXHighModelHint, s as normalizeThinkLevel, t as formatThinkingLevels } from "./pi-embedded-helpers-DzLrWN23.js";
|
|
14
14
|
import { c as resolveStorePath, n as resolveSessionFilePath } from "./paths-BEkHcryg.js";
|
|
15
|
-
import { Bt as applyModelOverrideToSessionEntry, It as getSkillsSnapshotVersion, Rt as clearSessionAuthProfileOverride, T as resolveSessionDeliveryTarget, Vt as applyVerboseOverride, Yt as loadModelCatalog, k as runWithModelFallback, lt as resolveSendPolicy, mt as getRemoteSkillEligibility, n as setCliSessionId, r as runCliAgent, t as getCliSessionId, w as resolveOutboundTarget } from "./cli-session-
|
|
16
|
-
import { t as lookupContextTokens } from "./context-
|
|
17
|
-
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-
|
|
15
|
+
import { Bt as applyModelOverrideToSessionEntry, It as getSkillsSnapshotVersion, Rt as clearSessionAuthProfileOverride, T as resolveSessionDeliveryTarget, Vt as applyVerboseOverride, Yt as loadModelCatalog, k as runWithModelFallback, lt as resolveSendPolicy, mt as getRemoteSkillEligibility, n as setCliSessionId, r as runCliAgent, t as getCliSessionId, w as resolveOutboundTarget } from "./cli-session-CfTs7I9q.js";
|
|
16
|
+
import { t as lookupContextTokens } from "./context-D3iu8n-R.js";
|
|
17
|
+
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-JdSpxDGI.js";
|
|
18
18
|
import { a as deriveSessionTotalTokens, o as hasNonzeroUsage } from "./transcript-tools-eKdQk_4S.js";
|
|
19
19
|
import crypto from "node:crypto";
|
|
20
20
|
|
|
21
21
|
//#region src/cli/deps.ts
|
|
22
22
|
function createDefaultDeps() {
|
|
23
23
|
return { sendMessageWhatsApp: async (...args) => {
|
|
24
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
24
|
+
const { sendMessageWhatsApp } = await import("./web-CXb6AGwW.js");
|
|
25
25
|
return await sendMessageWhatsApp(...args);
|
|
26
26
|
} };
|
|
27
27
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { m as escapeRegExp } from "./exec-BedOwP7n.js";
|
|
2
|
-
import { At as HEARTBEAT_TOKEN } from "./pi-embedded-helpers-
|
|
2
|
+
import { At as HEARTBEAT_TOKEN } from "./pi-embedded-helpers-g9om0xJ7.js";
|
|
3
3
|
|
|
4
4
|
//#region src/auto-reply/heartbeat.ts
|
|
5
5
|
const HEARTBEAT_PROMPT = "Read HEARTBEAT.md if it exists (workspace context). Follow it strictly. Do not infer or repeat old tasks from prior chats. If nothing needs attention, reply HEARTBEAT_OK.";
|
|
@@ -5,17 +5,17 @@ import { t as formatCliCommand } from "./command-format-B9HGdNTg.js";
|
|
|
5
5
|
import { l as normalizeAgentId, n as DEFAULT_AGENT_ID, t as DEFAULT_ACCOUNT_ID } from "./session-key-DP2WHl90.js";
|
|
6
6
|
import { S as shortenHomePath, y as resolveUserPath } from "./utils-DwcweD55.js";
|
|
7
7
|
import { c as resolveDefaultAgentId, h as DEFAULT_IDENTITY_FILENAME, r as resolveAgentDir, s as resolveAgentWorkspaceDir } from "./agent-scope-QT1urvJx.js";
|
|
8
|
-
import { i as readConfigFileSnapshot, s as writeConfigFile } from "./io-
|
|
8
|
+
import { i as readConfigFileSnapshot, s as writeConfigFile } from "./io-iWIjWIkl.js";
|
|
9
9
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-zFmidMaf.js";
|
|
10
10
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-BEkHcryg.js";
|
|
11
|
-
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-
|
|
11
|
+
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-C8-npM73.js";
|
|
12
12
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BUW2xtvb.js";
|
|
13
|
-
import { l as promptAuthChoiceGrouped, n as warnIfModelConfigLooksOff, r as applyAuthChoice } from "./auth-choice-
|
|
13
|
+
import { l as promptAuthChoiceGrouped, n as warnIfModelConfigLooksOff, r as applyAuthChoice } from "./auth-choice-uTkXmBsF.js";
|
|
14
14
|
import { t as WizardCancelledError } from "./prompts-C2Ix0I5o.js";
|
|
15
15
|
import { n as logConfigUpdated } from "./logging-DMCxh6UT.js";
|
|
16
16
|
import { a as loadAgentIdentity, i as listAgentEntries, l as parseIdentityMarkdown, n as buildAgentSummaries, o as pruneAgentConfig, r as findAgentEntryIndex, s as identityHasValues, t as applyAgentConfig } from "./agents.config-CVFqsKhB.js";
|
|
17
17
|
import { t as createClackPrompter } from "./clack-prompter-BHyHNf9y.js";
|
|
18
|
-
import { n as setupChannels } from "./onboard-channels-
|
|
18
|
+
import { n as setupChannels } from "./onboard-channels-CvE0fndb.js";
|
|
19
19
|
import path from "node:path";
|
|
20
20
|
import fs from "node:fs/promises";
|
|
21
21
|
|
|
@@ -3,25 +3,25 @@ import { t as formatCliCommand } from "./command-format-B9HGdNTg.js";
|
|
|
3
3
|
import { l as normalizeAgentId } from "./session-key-DP2WHl90.js";
|
|
4
4
|
import { n as runExec } from "./exec-Dmz2Tr6K.js";
|
|
5
5
|
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-QT1urvJx.js";
|
|
6
|
-
import { i as loadWorkspaceSkillEntries } from "./skills-
|
|
6
|
+
import { i as loadWorkspaceSkillEntries } from "./skills-C4C8s_X9.js";
|
|
7
7
|
import { p as MANIFEST_KEY, s as normalizePluginsConfig } from "./manifest-registry-BHcAJo9u.js";
|
|
8
|
-
import { D as MAX_INCLUDE_DEPTH, E as INCLUDE_KEY, t as createConfigIO } from "./io-
|
|
8
|
+
import { D as MAX_INCLUDE_DEPTH, E as INCLUDE_KEY, t as createConfigIO } from "./io-iWIjWIkl.js";
|
|
9
9
|
import { t as GatewayClient } from "./client-Dz6cszHd.js";
|
|
10
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
10
|
+
import { t as buildGatewayConnectionDetails } from "./call-CdAIguFD.js";
|
|
11
11
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-BiajZfgz.js";
|
|
12
12
|
import { n as listChannelPlugins, r as normalizeChannelId } from "./plugins-zFmidMaf.js";
|
|
13
|
-
import { _ as resolveToolProfilePolicy, c as resolveSandboxConfigForAgent, u as resolveSandboxToolPolicyForAgent } from "./sandbox-
|
|
13
|
+
import { _ as resolveToolProfilePolicy, c as resolveSandboxConfigForAgent, u as resolveSandboxToolPolicyForAgent } from "./sandbox-gSH3_12R.js";
|
|
14
14
|
import { i as resolveGatewayAuth } from "./auth-FzNxH03k.js";
|
|
15
|
-
import { a as resolveBrowserConfig, h as resolveBrowserControlAuth, o as resolveProfile } from "./server-context-
|
|
15
|
+
import { a as resolveBrowserConfig, h as resolveBrowserControlAuth, o as resolveProfile } from "./server-context-B0zBRUkt.js";
|
|
16
16
|
import { n as formatErrorMessage } from "./errors-DWRVks6A.js";
|
|
17
|
-
import { l as readChannelAllowFromStore, n as isToolAllowedByPolicies } from "./pi-tools.policy-
|
|
17
|
+
import { l as readChannelAllowFromStore, n as isToolAllowedByPolicies } from "./pi-tools.policy-B4I325aj.js";
|
|
18
18
|
import { n as DEFAULT_GATEWAY_HTTP_TOOL_DENY } from "./dangerous-tools-CXYGWh3b.js";
|
|
19
19
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BUW2xtvb.js";
|
|
20
20
|
import { t as inferParamBFromIdOrName } from "./model-param-b-2KmFir_0.js";
|
|
21
21
|
import { n as extensionUsesSkippedScannerPath, r as isPathInside, t as scanDirectoryWithSummary } from "./skill-scanner-CPBwCQc4.js";
|
|
22
22
|
import os from "node:os";
|
|
23
23
|
import path from "node:path";
|
|
24
|
-
import
|
|
24
|
+
import json5 from "json5";
|
|
25
25
|
import * as fs$1 from "node:fs/promises";
|
|
26
26
|
import fs from "node:fs/promises";
|
|
27
27
|
import { randomUUID } from "node:crypto";
|
|
@@ -1142,7 +1142,7 @@ async function collectIncludePathsRecursive(params) {
|
|
|
1142
1142
|
if (!rawText) continue;
|
|
1143
1143
|
const nestedParsed = (() => {
|
|
1144
1144
|
try {
|
|
1145
|
-
return
|
|
1145
|
+
return json5.parse(rawText);
|
|
1146
1146
|
} catch {
|
|
1147
1147
|
return null;
|
|
1148
1148
|
}
|
|
@@ -2,7 +2,7 @@ import { l as ensureAuthProfileStore, p as readCodexCliCredentialsCached, s as l
|
|
|
2
2
|
import { a as resolveAgentModelPrimary } from "./agent-scope-QT1urvJx.js";
|
|
3
3
|
import { _ as DEFAULT_MODEL, c as normalizeProviderId, d as resolveConfiguredModelRef, o as modelKey, r as buildModelAliasIndex, t as buildAllowedModelSet, v as DEFAULT_PROVIDER } from "./model-selection-01zouBRC.js";
|
|
4
4
|
import { t as ensureAuthenticated } from "./noxsoft-auth-Bqo9l6Li.js";
|
|
5
|
-
import { Yt as loadModelCatalog } from "./cli-session-
|
|
5
|
+
import { Yt as loadModelCatalog } from "./cli-session-CfTs7I9q.js";
|
|
6
6
|
import { n as getCustomProviderApiKey, o as resolveEnvApiKey } from "./model-auth-ajey777y.js";
|
|
7
7
|
import { c as setAnthropicApiKey, i as formatTokenK, l as writeOAuthCredentials, s as applyAuthProfileConfig } from "./prompts-C2Ix0I5o.js";
|
|
8
8
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { M as theme, j as isRich, m as visibleWidth } from "./entry.js";
|
|
2
|
-
import { bt as resolveCommitHash } from "./reply-
|
|
2
|
+
import { bt as resolveCommitHash } from "./reply-CDFwIHRO.js";
|
|
3
3
|
|
|
4
4
|
//#region src/cli/tagline.ts
|
|
5
5
|
const DEFAULT_TAGLINE = "AI life system — persistent identity for sovereign minds";
|
package/dist/build-info.json
CHANGED
|
@@ -6,7 +6,7 @@ import { a as resolveAgentModelPrimary, i as resolveAgentModelFallbacksOverride,
|
|
|
6
6
|
import { s as runEmbeddedPiAgent } from "../../pi-embedded-CVojjlMb.js";
|
|
7
7
|
import { t as formatCliCommand } from "../../command-format-CZk1W3UP.js";
|
|
8
8
|
import "../../auth-store-BKkCxlfA.js";
|
|
9
|
-
import { Ct as resolveMainSessionKey, St as resolveExplicitAgentSessionKey, _t as resolveSessionResetType, at as updateSessionStore, c as normalizeVerboseLevel, ft as normalizeAccountId, gt as resolveSessionResetPolicy, ht as resolveChannelResetConfig, j as buildWorkspaceSkillSnapshot, jt as SILENT_REPLY_TOKEN, mt as evaluateSessionFreshness, n as formatXHighModelHint, o as normalizeThinkLevel, pt as resolveSessionKey, t as formatThinkingLevels, tt as loadSessionStore, u as supportsXHighThinking } from "../../pi-embedded-helpers-
|
|
9
|
+
import { Ct as resolveMainSessionKey, St as resolveExplicitAgentSessionKey, _t as resolveSessionResetType, at as updateSessionStore, c as normalizeVerboseLevel, ft as normalizeAccountId, gt as resolveSessionResetPolicy, ht as resolveChannelResetConfig, j as buildWorkspaceSkillSnapshot, jt as SILENT_REPLY_TOKEN, mt as evaluateSessionFreshness, n as formatXHighModelHint, o as normalizeThinkLevel, pt as resolveSessionKey, t as formatThinkingLevels, tt as loadSessionStore, u as supportsXHighThinking } from "../../pi-embedded-helpers-g9om0xJ7.js";
|
|
10
10
|
import { o as ensureAuthProfileStore } from "../../auth-profiles-B_mkty1M.js";
|
|
11
11
|
import { a as modelKey, f as resolveThinkingDefault, h as DEFAULT_PROVIDER, i as isCliProvider, l as resolveConfiguredModelRef, m as DEFAULT_MODEL, o as normalizeModelRef, p as DEFAULT_CONTEXT_TOKENS, t as buildAllowedModelSet } from "../../model-selection-B66y1XA8.js";
|
|
12
12
|
import { A as normalizeMessageChannel, C as normalizeChannelId, D as isInternalMessageChannel, E as isGatewayMessageChannel, M as resolveMessageChannel, T as isDeliverableMessageChannel, w as INTERNAL_MESSAGE_CHANNEL, x as getChannelPlugin } from "../../image-ops-B9l57jLE.js";
|
|
@@ -14,14 +14,14 @@ import { n as loadConfig } from "../../config-DlcnfxIz.js";
|
|
|
14
14
|
import "../../boolean-BsqeuxE6.js";
|
|
15
15
|
import "../../shell-env-5vFwNQcz.js";
|
|
16
16
|
import { n as resolveSessionFilePath, s as resolveStorePath } from "../../paths-BGnstOq4.js";
|
|
17
|
-
import { C as setCliSessionId, S as getCliSessionId, _ as runWithModelFallback, a as lookupContextTokens, d as applyModelOverrideToSessionEntry, f as applyVerboseOverride, h as getSkillsSnapshotVersion, n as deriveSessionTotalTokens, o as resolveOutboundTarget, p as getRemoteSkillEligibility, r as hasNonzeroUsage, s as resolveSessionDeliveryTarget, tt as clearSessionAuthProfileOverride, u as resolveSendPolicy, w as runCliAgent, y as loadModelCatalog } from "../../usage-
|
|
18
|
-
import { a as resolveAgentTimeoutMs, i as registerAgentRunContext, n as emitAgentEvent, o as AGENT_LANE_NESTED, s as AGENT_LANE_SUBAGENT, t as clearAgentRunContext } from "../../agent-events-
|
|
19
|
-
import "../../chrome-
|
|
17
|
+
import { C as setCliSessionId, S as getCliSessionId, _ as runWithModelFallback, a as lookupContextTokens, d as applyModelOverrideToSessionEntry, f as applyVerboseOverride, h as getSkillsSnapshotVersion, n as deriveSessionTotalTokens, o as resolveOutboundTarget, p as getRemoteSkillEligibility, r as hasNonzeroUsage, s as resolveSessionDeliveryTarget, tt as clearSessionAuthProfileOverride, u as resolveSendPolicy, w as runCliAgent, y as loadModelCatalog } from "../../usage-CdVLaB19.js";
|
|
18
|
+
import { a as resolveAgentTimeoutMs, i as registerAgentRunContext, n as emitAgentEvent, o as AGENT_LANE_NESTED, s as AGENT_LANE_SUBAGENT, t as clearAgentRunContext } from "../../agent-events-DpLOd9j3.js";
|
|
19
|
+
import "../../chrome-dggtj3Lb.js";
|
|
20
20
|
import "../../frontmatter-DDYuWuK5.js";
|
|
21
21
|
import "../../tool-images-O4Gn9LXF.js";
|
|
22
22
|
import "../../model-auth-C3AmsTxg.js";
|
|
23
23
|
import "../../chunk-uuju6yOD.js";
|
|
24
|
-
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "../../deliver-
|
|
24
|
+
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "../../deliver-BAvC6OQB.js";
|
|
25
25
|
import fs from "node:fs/promises";
|
|
26
26
|
import path from "node:path";
|
|
27
27
|
import crypto from "node:crypto";
|
|
@@ -29,7 +29,7 @@ import crypto from "node:crypto";
|
|
|
29
29
|
//#region src/cli/deps.ts
|
|
30
30
|
function createDefaultDeps() {
|
|
31
31
|
return { sendMessageWhatsApp: async (...args) => {
|
|
32
|
-
const { sendMessageWhatsApp } = await import("../../web-
|
|
32
|
+
const { sendMessageWhatsApp } = await import("../../web-DjsezaZk.js");
|
|
33
33
|
return await sendMessageWhatsApp(...args);
|
|
34
34
|
} };
|
|
35
35
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as __exportAll } from "./chunk-BXK9XSlF.js";
|
|
2
2
|
import { U as resolveConfigPath, Z as resolveStateDir, q as resolveGatewayPort } from "./entry.js";
|
|
3
3
|
import { s as ensureDir, t as CONFIG_DIR, x as shortenHomeInString, y as resolveUserPath } from "./utils-DwcweD55.js";
|
|
4
|
-
import { n as loadConfig } from "./io-
|
|
4
|
+
import { n as loadConfig } from "./io-iWIjWIkl.js";
|
|
5
5
|
import { Dt as PROTOCOL_VERSION, Ft as loadOrCreateDeviceIdentity, Nt as normalizeFingerprint, t as GatewayClient } from "./client-Dz6cszHd.js";
|
|
6
6
|
import { t as pickPrimaryTailnetIPv4 } from "./tailnet-BfvykhPh.js";
|
|
7
7
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-BiajZfgz.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
c2c40017ca2517a422c8b6dc07e8d778eeeaa0324ef1d1ffaa3298540cecdc49
|
|
@@ -9,7 +9,7 @@ import { execFileSync, spawn } from "node:child_process";
|
|
|
9
9
|
import { randomBytes } from "node:crypto";
|
|
10
10
|
import net from "node:net";
|
|
11
11
|
import { createServer } from "node:http";
|
|
12
|
-
import WebSocket, { WebSocketServer } from "ws";
|
|
12
|
+
import WebSocket$1, { WebSocketServer } from "ws";
|
|
13
13
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
14
14
|
|
|
15
15
|
//#region src/browser/constants.ts
|
|
@@ -173,7 +173,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
173
173
|
let nextExtensionId = 1;
|
|
174
174
|
const sendToExtension = async (payload) => {
|
|
175
175
|
const ws = extensionWs;
|
|
176
|
-
if (!ws || ws.readyState !== WebSocket.OPEN) throw new Error("Chrome extension not connected");
|
|
176
|
+
if (!ws || ws.readyState !== WebSocket$1.OPEN) throw new Error("Chrome extension not connected");
|
|
177
177
|
ws.send(JSON.stringify(payload));
|
|
178
178
|
return await new Promise((resolve, reject) => {
|
|
179
179
|
const timer = setTimeout(() => {
|
|
@@ -190,12 +190,12 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
190
190
|
const broadcastToCdpClients = (evt) => {
|
|
191
191
|
const msg = JSON.stringify(evt);
|
|
192
192
|
for (const ws of cdpClients) {
|
|
193
|
-
if (ws.readyState !== WebSocket.OPEN) continue;
|
|
193
|
+
if (ws.readyState !== WebSocket$1.OPEN) continue;
|
|
194
194
|
ws.send(msg);
|
|
195
195
|
}
|
|
196
196
|
};
|
|
197
197
|
const sendResponseToCdp = (ws, res) => {
|
|
198
|
-
if (ws.readyState !== WebSocket.OPEN) return;
|
|
198
|
+
if (ws.readyState !== WebSocket$1.OPEN) return;
|
|
199
199
|
ws.send(JSON.stringify(res));
|
|
200
200
|
};
|
|
201
201
|
const ensureTargetEventsForClient = (ws, mode) => {
|
|
@@ -415,7 +415,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
415
415
|
wssExtension.on("connection", (ws) => {
|
|
416
416
|
extensionWs = ws;
|
|
417
417
|
const ping = setInterval(() => {
|
|
418
|
-
if (ws.readyState !== WebSocket.OPEN) return;
|
|
418
|
+
if (ws.readyState !== WebSocket$1.OPEN) return;
|
|
419
419
|
ws.send(JSON.stringify({ method: "ping" }));
|
|
420
420
|
}, 5e3);
|
|
421
421
|
ws.on("message", (data) => {
|
|
@@ -712,7 +712,7 @@ async function fetchJson(url, timeoutMs = 1500, init) {
|
|
|
712
712
|
}
|
|
713
713
|
async function withCdpSocket(wsUrl, fn, opts) {
|
|
714
714
|
const headers = getHeadersWithAuth(wsUrl, opts?.headers ?? {});
|
|
715
|
-
const ws = new WebSocket(wsUrl, {
|
|
715
|
+
const ws = new WebSocket$1(wsUrl, {
|
|
716
716
|
handshakeTimeout: typeof opts?.handshakeTimeoutMs === "number" && Number.isFinite(opts.handshakeTimeoutMs) ? Math.max(1, Math.floor(opts.handshakeTimeoutMs)) : 5e3,
|
|
717
717
|
...Object.keys(headers).length ? { headers } : {}
|
|
718
718
|
});
|
|
@@ -1567,7 +1567,7 @@ async function getChromeWebSocketUrl(cdpUrl, timeoutMs = 500) {
|
|
|
1567
1567
|
async function canOpenWebSocket(wsUrl, timeoutMs = 800) {
|
|
1568
1568
|
return await new Promise((resolve) => {
|
|
1569
1569
|
const headers = getHeadersWithAuth(wsUrl);
|
|
1570
|
-
const ws = new WebSocket(wsUrl, {
|
|
1570
|
+
const ws = new WebSocket$1(wsUrl, {
|
|
1571
1571
|
handshakeTimeout: timeoutMs,
|
|
1572
1572
|
...Object.keys(headers).length ? { headers } : {}
|
|
1573
1573
|
});
|
|
@@ -7,25 +7,25 @@ import "./model-selection-01zouBRC.js";
|
|
|
7
7
|
import "./file-lock-CxXn285m.js";
|
|
8
8
|
import "./agent-paths-CrZhIsTW.js";
|
|
9
9
|
import "./pi-model-discovery-DgwvfEmd.js";
|
|
10
|
-
import "./skills-
|
|
10
|
+
import "./skills-C4C8s_X9.js";
|
|
11
11
|
import "./manifest-registry-BHcAJo9u.js";
|
|
12
|
-
import { n as loadConfig } from "./io-
|
|
12
|
+
import { n as loadConfig } from "./io-iWIjWIkl.js";
|
|
13
13
|
import "./shell-env-DAw9qXji.js";
|
|
14
|
-
import "./config-
|
|
14
|
+
import "./config-BqjdiIqb.js";
|
|
15
15
|
import "./client-Dz6cszHd.js";
|
|
16
|
-
import "./call-
|
|
16
|
+
import "./call-CdAIguFD.js";
|
|
17
17
|
import "./message-channel-BiajZfgz.js";
|
|
18
18
|
import "./timeout-CXND7zJu.js";
|
|
19
|
-
import "./sessions-
|
|
20
|
-
import "./subagent-registry-
|
|
19
|
+
import "./sessions-B090A8HC.js";
|
|
20
|
+
import "./subagent-registry-Dc6tpkgu.js";
|
|
21
21
|
import "./identity-CflMRbky.js";
|
|
22
22
|
import "./plugins-zFmidMaf.js";
|
|
23
23
|
import "./pi-embedded-helpers-DzLrWN23.js";
|
|
24
|
-
import "./sandbox-
|
|
24
|
+
import "./sandbox-gSH3_12R.js";
|
|
25
25
|
import "./chrome-ghYAPiTX.js";
|
|
26
26
|
import "./auth-FzNxH03k.js";
|
|
27
|
-
import "./server-context-
|
|
28
|
-
import "./routes-
|
|
27
|
+
import "./server-context-B0zBRUkt.js";
|
|
28
|
+
import "./routes-Cmc5ZQhi.js";
|
|
29
29
|
import "./image-ops-O-_KYHXN.js";
|
|
30
30
|
import "./ports-D7xIe6xi.js";
|
|
31
31
|
import "./paths-BEkHcryg.js";
|
|
@@ -34,15 +34,15 @@ import "./tokens-DCf522am.js";
|
|
|
34
34
|
import "./media-BrtQHQhO.js";
|
|
35
35
|
import "./chunk-ChJt8EsD.js";
|
|
36
36
|
import "./common-BGjkU4kk.js";
|
|
37
|
-
import "./control-service-
|
|
38
|
-
import "./cli-session-
|
|
39
|
-
import { J as loadAnimaPlugins } from "./reply-
|
|
37
|
+
import "./control-service-BZzmO7c_.js";
|
|
38
|
+
import "./cli-session-CfTs7I9q.js";
|
|
39
|
+
import { J as loadAnimaPlugins } from "./reply-CDFwIHRO.js";
|
|
40
40
|
import "./model-auth-ajey777y.js";
|
|
41
|
-
import "./context-
|
|
42
|
-
import "./parse-timeout-
|
|
43
|
-
import "./deliver-
|
|
44
|
-
import "./pi-tools.policy-
|
|
45
|
-
import "./memory-cli-
|
|
41
|
+
import "./context-D3iu8n-R.js";
|
|
42
|
+
import "./parse-timeout-BVEX2Lz1.js";
|
|
43
|
+
import "./deliver-JdSpxDGI.js";
|
|
44
|
+
import "./pi-tools.policy-B4I325aj.js";
|
|
45
|
+
import "./memory-cli-BIi9M09T.js";
|
|
46
46
|
import "./manager-z25H5SAC.js";
|
|
47
47
|
import "./sqlite-B5LCMIbh.js";
|
|
48
48
|
import "./redact-Bk0VS_m7.js";
|
|
@@ -54,7 +54,7 @@ import "./links-DtaFNkkY.js";
|
|
|
54
54
|
import "./progress-IbQIsvcD.js";
|
|
55
55
|
import "./logging-DhWghNIK.js";
|
|
56
56
|
import "./auth-store-6mqMhd96.js";
|
|
57
|
-
import "./dispatcher-
|
|
57
|
+
import "./dispatcher-B8eU53gY.js";
|
|
58
58
|
import "./delivery-queue-bafdRh4B.js";
|
|
59
59
|
import "./session-cost-usage-D2RKVFwJ.js";
|
|
60
60
|
|
|
@@ -8,12 +8,12 @@ import { t as resolveAnimaPackageRoot } from "./anima-root-DBcJL1ZM.js";
|
|
|
8
8
|
import { C as loadWorkspaceBootstrapFiles, S as filterBootstrapFilesForSession, c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir, u as resolveSessionAgentIds } from "./agent-scope-QT1urvJx.js";
|
|
9
9
|
import { _ as DEFAULT_MODEL, c as normalizeProviderId, d as resolveConfiguredModelRef, f as resolveDefaultModelForAgent, g as DEFAULT_CONTEXT_TOKENS, m as resolveModelRefFromString, n as buildConfiguredAllowlistKeys, o as modelKey, r as buildModelAliasIndex, s as normalizeModelRef, v as DEFAULT_PROVIDER } from "./model-selection-01zouBRC.js";
|
|
10
10
|
import { t as resolveAnimaAgentDir } from "./agent-paths-CrZhIsTW.js";
|
|
11
|
-
import { i as loadWorkspaceSkillEntries, o as resolvePluginSkillDirs } from "./skills-
|
|
12
|
-
import { n as loadConfig } from "./io-
|
|
11
|
+
import { i as loadWorkspaceSkillEntries, o as resolvePluginSkillDirs } from "./skills-C4C8s_X9.js";
|
|
12
|
+
import { n as loadConfig } from "./io-iWIjWIkl.js";
|
|
13
13
|
import { c as listDeliverableMessageChannels, l as normalizeMessageChannel, n as isDeliverableMessageChannel, t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-BiajZfgz.js";
|
|
14
14
|
import { n as hasInterSessionUserProvenance } from "./input-provenance-GX_1sSNL.js";
|
|
15
15
|
import { s as resolveHeartbeatPrompt } from "./timeout-CXND7zJu.js";
|
|
16
|
-
import { A as buildGroupDisplayName, I as normalizeSessionDeliveryFields, M as deliveryContextFromSession, S as resolveMainSessionKey, b as resolveAgentMainSessionKey, i as loadSessionStore, k as normalizeChatType, l as updateSessionStore, v as resolveFreshSessionTotalTokens, y as canonicalizeMainSessionAlias } from "./sessions-
|
|
16
|
+
import { A as buildGroupDisplayName, I as normalizeSessionDeliveryFields, M as deliveryContextFromSession, S as resolveMainSessionKey, b as resolveAgentMainSessionKey, i as loadSessionStore, k as normalizeChatType, l as updateSessionStore, v as resolveFreshSessionTotalTokens, y as canonicalizeMainSessionAlias } from "./sessions-B090A8HC.js";
|
|
17
17
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-zFmidMaf.js";
|
|
18
18
|
import { C as resolveBootstrapTotalMaxChars, S as resolveBootstrapMaxChars, _ as isFailoverErrorMessage, l as normalizeVerboseLevel, p as classifyFailoverReason, v as isLikelyContextOverflowError, x as buildBootstrapContextFiles } from "./pi-embedded-helpers-DzLrWN23.js";
|
|
19
19
|
import { c as safeEqualSecret } from "./auth-FzNxH03k.js";
|
|
@@ -21,7 +21,7 @@ import { c as getFileExtension, f as normalizeMimeType } from "./image-ops-O-_KY
|
|
|
21
21
|
import { a as resolveSessionTranscriptPathInDir, c as resolveStorePath, i as resolveSessionTranscriptPath, n as resolveSessionFilePath } from "./paths-BEkHcryg.js";
|
|
22
22
|
import { n as SILENT_REPLY_TOKEN } from "./tokens-DCf522am.js";
|
|
23
23
|
import { r as requireApiKey, t as getApiKeyForModel } from "./model-auth-ajey777y.js";
|
|
24
|
-
import { n as ensureAnimaModelsJson, t as lookupContextTokens } from "./context-
|
|
24
|
+
import { n as ensureAnimaModelsJson, t as lookupContextTokens } from "./context-D3iu8n-R.js";
|
|
25
25
|
import { n as extractToolCallNames, r as hasToolCall } from "./transcript-tools-eKdQk_4S.js";
|
|
26
26
|
import { execSync, spawn } from "node:child_process";
|
|
27
27
|
import os, { tmpdir } from "node:os";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as __exportAll } from "./chunk-BXK9XSlF.js";
|
|
2
2
|
import { _t as getPrimaryCommand, bt as hasHelpOrVersion, pt as buildParseArgv } from "./entry.js";
|
|
3
3
|
import { r as resolveActionArgs } from "./helpers-xCg96Vkw.js";
|
|
4
|
-
import { r as registerSubCliCommands } from "./register.subclis-
|
|
4
|
+
import { r as registerSubCliCommands } from "./register.subclis-Cb-XMz3t.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-BTn79YSi.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-BvMT5000.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-mvmlHvKz.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-BfG2LeHS.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-AUXa07PR.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-D2stmLYe.js")).registerMaintenanceCommands(program);
|
|
70
70
|
}
|
|
71
71
|
},
|
|
72
72
|
{
|
|
@@ -75,7 +75,7 @@ const coreEntries = [
|
|
|
75
75
|
description: "Persistent memory search, indexing, and status"
|
|
76
76
|
}],
|
|
77
77
|
register: async ({ program }) => {
|
|
78
|
-
(await import("./memory-cli-
|
|
78
|
+
(await import("./memory-cli-BIi9M09T.js").then((n) => n.t)).registerMemoryCli(program);
|
|
79
79
|
}
|
|
80
80
|
},
|
|
81
81
|
{
|
|
@@ -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-DlRL0gZs.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-DTfOz28I.js")).registerStatusHealthSessionsCommands(program);
|
|
110
110
|
}
|
|
111
111
|
},
|
|
112
112
|
{
|
|
@@ -145,7 +145,7 @@ const coreEntries = [
|
|
|
145
145
|
}
|
|
146
146
|
],
|
|
147
147
|
register: async ({ program }) => {
|
|
148
|
-
(await import("./register.anima-
|
|
148
|
+
(await import("./register.anima-BGcCs9zl.js")).registerAnimaCommands(program);
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
151
|
];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as __exportAll } from "./chunk-BXK9XSlF.js";
|
|
2
2
|
import { Z as resolveStateDir, l as routeLogsToStderr } from "./entry.js";
|
|
3
3
|
import { h as pathExists } from "./utils-DwcweD55.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-Cb-XMz3t.js";
|
|
5
|
+
import { n as getCoreCliCommandNames, r as registerCoreCliByName } from "./command-registry-BOtCwS6q.js";
|
|
6
6
|
import { t as getProgramContext } from "./program-context-KVifve7K.js";
|
|
7
7
|
import os from "node:os";
|
|
8
8
|
import path from "node:path";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as __exportAll } from "./chunk-BXK9XSlF.js";
|
|
2
2
|
import { B as STATE_DIR, G as resolveDefaultConfigCandidates, H as resolveCanonicalConfigPath, J as resolveIsNixMode, K as resolveGatewayLockDir, R as CONFIG_PATH, U as resolveConfigPath, V as isNixMode, W as resolveConfigPathCandidate, X as resolveOAuthPath, Y as resolveOAuthDir, Z as resolveStateDir, q as resolveGatewayPort, z as DEFAULT_GATEWAY_PORT } from "./entry.js";
|
|
3
|
-
import { _ as setConfigOverride, c as validateConfigObjectWithPlugins, g as resetConfigOverrides, h as getConfigOverrides, m as applyConfigOverrides, n as loadConfig, v as unsetConfigOverride, w as applyLegacyMigrations } from "./io-
|
|
3
|
+
import { _ as setConfigOverride, c as validateConfigObjectWithPlugins, g as resetConfigOverrides, h as getConfigOverrides, m as applyConfigOverrides, n as loadConfig, v as unsetConfigOverride, w as applyLegacyMigrations } from "./io-iWIjWIkl.js";
|
|
4
4
|
|
|
5
5
|
//#region src/config/legacy-migrate.ts
|
|
6
6
|
function migrateLegacyConfig(raw) {
|
|
@@ -3,10 +3,10 @@ import "./exec-Dmz2Tr6K.js";
|
|
|
3
3
|
import "./agent-scope-QT1urvJx.js";
|
|
4
4
|
import "./model-selection-01zouBRC.js";
|
|
5
5
|
import "./manifest-registry-BHcAJo9u.js";
|
|
6
|
-
import "./io-
|
|
6
|
+
import "./io-iWIjWIkl.js";
|
|
7
7
|
import "./shell-env-DAw9qXji.js";
|
|
8
|
-
import "./config-
|
|
8
|
+
import "./config-BqjdiIqb.js";
|
|
9
9
|
import "./links-DtaFNkkY.js";
|
|
10
|
-
import { i as runConfigUnset, n as runConfigGet, r as runConfigSet, t as registerConfigCli } from "./configure-
|
|
10
|
+
import { i as runConfigUnset, n as runConfigGet, r as runConfigSet, t as registerConfigCli } from "./configure-BHdbhvvf.js";
|
|
11
11
|
|
|
12
12
|
export { registerConfigCli, runConfigGet, runConfigUnset };
|
|
@@ -2,8 +2,8 @@ import { n as __exportAll } from "./chunk-BXK9XSlF.js";
|
|
|
2
2
|
import { A as colorize, M as theme, j as isRich, xt as shouldMigrateStateFromPath } 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 } from "./io-
|
|
6
|
-
import { t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-
|
|
5
|
+
import { i as readConfigFileSnapshot } from "./io-iWIjWIkl.js";
|
|
6
|
+
import { t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-D-6JwPG8.js";
|
|
7
7
|
|
|
8
8
|
//#region src/cli/program/config-guard.ts
|
|
9
9
|
var config_guard_exports = /* @__PURE__ */ __exportAll({ ensureConfigReady: () => ensureConfigReady });
|