@noxsoft/anima 2.0.5 → 2.0.6
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/{agent-DwTJ59DW.js → agent-84TJKGEv.js} +4 -4
- package/dist/{agent-eLix7YLB.js → agent-QgxHhHQG.js} +4 -4
- package/dist/{agent-events-COLRhRBH.js → agent-events-BYdVDaVT.js} +1 -1
- package/dist/{agents-D57WX9dn.js → agents-Cq8A6G4K.js} +2 -2
- package/dist/{audit-CmL_VKW9.js → audit-DXdRifi2.js} +2 -2
- package/dist/{audit-BvPmfYxY.js → audit-IyzjYMJU.js} +2 -2
- package/dist/{auth-choice-DbU0S_0Q.js → auth-choice-BlGb1wlY.js} +3 -3
- package/dist/{auth-choice-8JX4OqDS.js → auth-choice-D8eoe09e.js} +3 -3
- package/dist/{banner-DDcACdvK.js → banner-CRxzEzP3.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +5 -5
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-web-Q-STsf5N.js → channel-web-BrIHecpS.js} +5 -5
- package/dist/{channels-cli-SPO9rJnF.js → channels-cli-C0P0ZlHx.js} +8 -8
- package/dist/{channels-cli-zIOBobe6.js → channels-cli-KtsQYWVF.js} +8 -8
- package/dist/{cli-AYZaZSSx.js → cli-B4pn-1VI.js} +7 -7
- package/dist/{cli-XuLBXSur.js → cli-XwscHlSF.js} +7 -7
- package/dist/{cli-session-C70q07GT.js → cli-session-Ce28JlWH.js} +1 -1
- package/dist/{cli-session-CqlE2JFo.js → cli-session-hA8WocEt.js} +1 -1
- package/dist/{command-registry-CSbw6FZC.js → command-registry-ClvgG8A4.js} +9 -9
- package/dist/{completion-cli-_SwCoFq6.js → completion-cli-OneShplj.js} +2 -2
- package/dist/{completion-cli-BFdiNmVD.js → completion-cli-dY9UxYCv.js} +1 -1
- package/dist/{config-cli-DhdAhW1h.js → config-cli-D4BM20Wb.js} +1 -1
- package/dist/{config-cli-NqEQjCzV.js → config-cli-s5wiaveP.js} +1 -1
- package/dist/{config-guard-B1rmR88x.js → config-guard-Cqozcug_.js} +1 -1
- package/dist/{config-guard-BCUt7Re8.js → config-guard-O61aodl9.js} +2 -2
- package/dist/{configure-B2vlJbd2.js → configure-CU6DuhJJ.js} +4 -4
- package/dist/{configure-FENKo5hf.js → configure-Dq6HFJZ_.js} +4 -4
- package/dist/{deliver-BBggsviM.js → deliver--QyfTd7v.js} +1 -1
- package/dist/{deliver-DiIOZFml.js → deliver-BcW8mBAi.js} +1 -1
- package/dist/{deliver-DujkDzqg.js → deliver-C45YyEys.js} +1 -1
- package/dist/{deps-Bim542L5.js → deps-C-cgNARI.js} +1 -1
- package/dist/{doctor-CeIWEOAK.js → doctor-BGKXuPIi.js} +8 -8
- package/dist/{doctor-DdOw46pE.js → doctor-LlbmPUOu.js} +8 -8
- package/dist/{doctor-completion-aDHxGApN.js → doctor-completion-231u4vqH.js} +1 -1
- package/dist/{doctor-completion-CBANZ9T9.js → doctor-completion-CAtF5ON2.js} +1 -1
- package/dist/{doctor-config-flow-Dxjx2igu.js → doctor-config-flow-CemLoFO1.js} +1 -1
- package/dist/{doctor-config-flow-Bb8TQwYh.js → doctor-config-flow-DvpqXAnB.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/{gateway-cli-DboOVUi8.js → gateway-cli-BTjUHLX7.js} +26 -26
- package/dist/{gateway-cli-BZpKEMGi.js → gateway-cli-hG12cY2D.js} +25 -25
- package/dist/{github-copilot-auth-C2cJr55I.js → github-copilot-auth-BsXG6mVD.js} +1 -1
- package/dist/{github-copilot-auth-AdaPw_fF.js → github-copilot-auth-Pfnl_1i1.js} +1 -1
- package/dist/{health-WvhhwAnn.js → health-B7ybadPd.js} +6 -6
- package/dist/{health-CdHDOLo6.js → health-BpWIriyw.js} +6 -6
- package/dist/{heartbeat-visibility-B4oqf1qY.js → heartbeat-visibility-D25E1_q-.js} +1 -1
- package/dist/{heartbeat-visibility-ClqnPSqo.js → heartbeat-visibility-DjUBgbLw.js} +1 -1
- package/dist/{hooks-cli-DTMS4Ly9.js → hooks-cli-B6sU7wl_.js} +8 -8
- package/dist/{hooks-cli-DfR8cmrL.js → hooks-cli-CSckaOqF.js} +8 -8
- package/dist/index.js +12 -12
- package/dist/{ipv4-CoPxliya.js → ipv4-BxSO1qWh.js} +2 -2
- package/dist/{ipv4-loTbB6OD.js → ipv4-CH0OhdjF.js} +2 -2
- package/dist/{models-D11W7O93.js → models-VFpi6nI0.js} +3 -3
- package/dist/{models-cli-ClFZ55qZ.js → models-cli-BTVAOLev.js} +8 -8
- package/dist/{models-cli-BfBH9dWH.js → models-cli-CAo6PLtV.js} +9 -9
- package/dist/{onboard-channels-DEfpenNa.js → onboard-channels-ByrlUaWj.js} +1 -1
- package/dist/{onboard-channels-BsTwWmEt.js → onboard-channels-Dlf4Shqz.js} +1 -1
- package/dist/{onboard-DPEqxVx4.js → onboard-psBFgeiy.js} +5 -5
- package/dist/{onboard-BGv6xY1s.js → onboard-ylkSu01y.js} +5 -5
- package/dist/{onboarding-DvitiaRS.js → onboarding-BKOdAnhC.js} +6 -6
- package/dist/{onboarding-BxYOAHWD.js → onboarding-jbj_VM34.js} +6 -6
- package/dist/{outbound-send-deps-CmzQCbSX.js → outbound-send-deps-BccDjBEk.js} +1 -1
- package/dist/{pi-model-discovery-eIc-PHaM.js → pi-model-discovery-BxOzNLFn.js} +1 -1
- package/dist/{pi-tools.policy-DhmYCpdW.js → pi-tools.policy-B6TsNKSH.js} +1 -1
- package/dist/{pi-tools.policy-Csmla32P.js → pi-tools.policy-TlaJQomF.js} +1 -1
- package/dist/plugin-sdk/index.js +7 -7
- package/dist/{plugins-cli-Cs_jfROZ.js → plugins-cli-CTh4l0zM.js} +8 -8
- package/dist/{plugins-cli-D0jU5_VE.js → plugins-cli-CanJXhdI.js} +8 -8
- package/dist/{program-Db2-b8Np.js → program-BJCGki9n.js} +11 -11
- package/dist/{program-context-DR1cx29i.js → program-context-Ka3D9i7F.js} +19 -19
- package/dist/{register.agent-E1qzojq2.js → register.agent-CKeGWucQ.js} +13 -13
- package/dist/{register.agent-B4CGE-cp.js → register.agent-Dc776zkl.js} +12 -12
- package/dist/{register.configure-DqYNhIQj.js → register.configure-BFWy5Qpp.js} +13 -13
- package/dist/{register.configure-D5huhRa3.js → register.configure-CejGY_a2.js} +13 -13
- package/dist/{register.maintenance-RuiaMHu7.js → register.maintenance-BPXhlnI_.js} +15 -15
- package/dist/{register.maintenance-DC9IhZ2x.js → register.maintenance-DrJxntZL.js} +14 -14
- package/dist/{register.message-BRP5Y8SN.js → register.message-DMyXtvTa.js} +8 -8
- package/dist/{register.message-CL5mFcq-.js → register.message-duCZ4yHd.js} +8 -8
- package/dist/{register.onboard-DFjl0E_x.js → register.onboard-B5S0gxFx.js} +17 -17
- package/dist/{register.onboard-CdvtyeLg.js → register.onboard-CDsAPsux.js} +18 -18
- package/dist/{register.setup-CuNhw63j.js → register.setup-B9ONmrmU.js} +32 -18
- package/dist/{register.setup-CVhekh_d.js → register.setup-sRcLHKHn.js} +31 -17
- package/dist/{register.status-health-sessions-BdyiNJFD.js → register.status-health-sessions-ByqdeTXE.js} +10 -10
- package/dist/{register.status-health-sessions-l7qnXORD.js → register.status-health-sessions-mWqUj6vQ.js} +11 -11
- package/dist/{register.subclis-Bj3GU0St.js → register.subclis-k2sMszH8.js} +11 -11
- package/dist/{reply-Brlv-JC-.js → reply-7WXXmeTT.js} +8 -8
- package/dist/{reply-C9A7Npep.js → reply-DEZHacZW.js} +8 -8
- package/dist/{reply-prefix-m-Nj9VGi.js → reply-prefix-MDrZpOVC.js} +2 -2
- package/dist/{reply-prefix-XqRfG1QY.js → reply-prefix-sTGuc5Wt.js} +2 -2
- package/dist/{run-main-DKNJvJ7W.js → run-main-p1g06MwF.js} +22 -22
- package/dist/{sandbox-D8pgNhTE.js → sandbox-C6QwCGAa.js} +1 -1
- package/dist/{sandbox-DBSiVHt_.js → sandbox-CWQkFcjP.js} +1 -1
- package/dist/{sandbox-cli-BeOQ8G6W.js → sandbox-cli-CQy20WHF.js} +2 -2
- package/dist/{sandbox-cli-BlWdpX1h.js → sandbox-cli-pEUW1KYv.js} +2 -2
- package/dist/{security-cli-CRSXFNRa.js → security-cli-BXWrN8oG.js} +4 -4
- package/dist/{security-cli-CcYc8gKu.js → security-cli-CHBLTpOA.js} +4 -4
- package/dist/{server-node-events-DCY3mm-A.js → server-node-events-DIxd5i9O.js} +5 -5
- package/dist/{server-node-events-0Una3QLI.js → server-node-events-QoKjpjYR.js} +5 -5
- package/dist/{sessions-G7nfpjc6.js → sessions-BbzNgP9I.js} +1 -1
- package/dist/{sessions-B-Cu7JZq.js → sessions-DFMUAYeu.js} +1 -1
- package/dist/{sessions-BQUf6xj_.js → sessions-DVLbPsGH.js} +1 -1
- package/dist/{sessions-B9VnNnIk.js → sessions-Gf_kQenz.js} +1 -1
- package/dist/{status-XzLCn872.js → status-BExfBl5S.js} +5 -5
- package/dist/{status-DbxQqh2e.js → status-CrKjEsYI.js} +5 -5
- package/dist/{status-iUSfyst3.js → status-DSok8H54.js} +1 -1
- package/dist/{status-C7YN9z1q.js → status-DfDqDag6.js} +1 -1
- package/dist/{subagent-registry-DKRVOkTv.js → subagent-registry-BsYW1Q8_.js} +3 -3
- package/dist/{subagent-registry-BJzLJ6FY.js → subagent-registry-CPlMIIq4.js} +2 -2
- package/dist/{subagent-registry-CdSjz14I.js → subagent-registry-ChY7RF5s.js} +2 -2
- package/dist/{update-cli-DXAbudd9.js → update-cli-BTZtUAt2.js} +14 -14
- package/dist/{update-cli-BVeg9il9.js → update-cli-Beq0BOux.js} +15 -15
- package/dist/{update-runner-CTCGT1OS.js → update-runner-Bk-TDMXa.js} +1 -1
- package/dist/{update-runner-B2bjvdxa.js → update-runner-DDFr9N7A.js} +1 -1
- package/dist/{usage-kVpWUUrn.js → usage-YBM9aU79.js} +4 -4
- package/dist/{web-C4FxauVQ.js → web-BbR6pf7u.js} +8 -8
- package/dist/{web-BGf92cSU.js → web-D2hFbrio.js} +11 -11
- package/dist/{web-B1OjU-Gf.js → web-hweVb0G8.js} +9 -9
- package/dist/{whatsapp-actions-CvnLgxjq.js → whatsapp-actions-BAvE8ZZc.js} +1 -1
- package/package.json +1 -1
|
@@ -7,15 +7,15 @@ import { r as buildWorkspaceSkillSnapshot } from "./skills-B5LQx4lT.js";
|
|
|
7
7
|
import { i as loadConfig } from "./config-BeuAT94o.js";
|
|
8
8
|
import { a as isInternalMessageChannel, d as resolveMessageChannel, i as isGatewayMessageChannel, l as normalizeMessageChannel, n as isDeliverableMessageChannel, t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-w4F2b2F6.js";
|
|
9
9
|
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-CswI_K-U.js";
|
|
10
|
-
import { F 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-
|
|
10
|
+
import { F 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-Gf_kQenz.js";
|
|
11
11
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-CDJw924T.js";
|
|
12
12
|
import { c as resolveStorePath, n as resolveSessionFilePath } from "./paths-CxRf2rBG.js";
|
|
13
|
-
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-
|
|
13
|
+
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-Ce28JlWH.js";
|
|
14
14
|
import { d as supportsXHighThinking, l as normalizeVerboseLevel, n as formatXHighModelHint, s as normalizeThinkLevel, t as formatThinkingLevels } from "./thinking-BXEswx1X.js";
|
|
15
15
|
import { t as lookupContextTokens } from "./context-ChaAWbwZ.js";
|
|
16
|
-
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-
|
|
16
|
+
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-BcW8mBAi.js";
|
|
17
17
|
import { a as deriveSessionTotalTokens, o as hasNonzeroUsage } from "./transcript-tools-DuyYOkUq.js";
|
|
18
|
-
import { n as createDefaultDeps, t as createOutboundSendDeps } from "./outbound-send-deps-
|
|
18
|
+
import { n as createDefaultDeps, t as createOutboundSendDeps } from "./outbound-send-deps-BccDjBEk.js";
|
|
19
19
|
import crypto from "node:crypto";
|
|
20
20
|
|
|
21
21
|
//#region src/infra/outbound/agent-delivery.ts
|
|
@@ -6,15 +6,15 @@ import { At as DEFAULT_PROVIDER, Ot as DEFAULT_CONTEXT_TOKENS, a as isCliProvide
|
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-CVL4K5cj.js";
|
|
7
7
|
import { S as resolveAgentTimeoutMs, b as runEmbeddedPiAgent, i as emitAgentEvent, n as AGENT_LANE_SUBAGENT, r as clearAgentRunContext, s as registerAgentRunContext, t as AGENT_LANE_NESTED } from "./lanes-BvSnHq2h.js";
|
|
8
8
|
import { i as loadConfig } from "./config-DaqbUdkI.js";
|
|
9
|
-
import { O as resolveExplicitAgentSessionKey, S as resolveSessionResetType, b as resolveChannelResetConfig, g as normalizeAccountId, i as loadSessionStore, l as updateSessionStore, v as resolveSessionKey, x as resolveSessionResetPolicy, y as evaluateSessionFreshness } from "./sessions-
|
|
10
|
-
import { Bt as getSkillsSnapshotVersion, Gt as applyModelOverrideToSessionEntry, Ht as lookupContextTokens, Kt as applyVerboseOverride, T as resolveSessionDeliveryTarget, Ut as clearSessionAuthProfileOverride, en as loadModelCatalog, k as runWithModelFallback, n as setCliSessionId, pt as resolveSendPolicy, r as runCliAgent, t as getCliSessionId, vt as getRemoteSkillEligibility, w as resolveOutboundTarget } from "./cli-session-
|
|
9
|
+
import { O as resolveExplicitAgentSessionKey, S as resolveSessionResetType, b as resolveChannelResetConfig, g as normalizeAccountId, i as loadSessionStore, l as updateSessionStore, v as resolveSessionKey, x as resolveSessionResetPolicy, y as evaluateSessionFreshness } from "./sessions-DFMUAYeu.js";
|
|
10
|
+
import { Bt as getSkillsSnapshotVersion, Gt as applyModelOverrideToSessionEntry, Ht as lookupContextTokens, Kt as applyVerboseOverride, T as resolveSessionDeliveryTarget, Ut as clearSessionAuthProfileOverride, en as loadModelCatalog, k as runWithModelFallback, n as setCliSessionId, pt as resolveSendPolicy, r as runCliAgent, t as getCliSessionId, vt as getRemoteSkillEligibility, w as resolveOutboundTarget } from "./cli-session-hA8WocEt.js";
|
|
11
11
|
import { r as buildWorkspaceSkillSnapshot } from "./skills-DV4zKdCx.js";
|
|
12
12
|
import { a as isInternalMessageChannel, d as resolveMessageChannel, i as isGatewayMessageChannel, l as normalizeMessageChannel, n as isDeliverableMessageChannel, t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-D_jIO87f.js";
|
|
13
13
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-DhcGAPDB.js";
|
|
14
14
|
import { c as resolveStorePath, n as resolveSessionFilePath } from "./paths-BXQQzXGQ.js";
|
|
15
|
-
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver
|
|
15
|
+
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver--QyfTd7v.js";
|
|
16
16
|
import { a as deriveSessionTotalTokens, o as hasNonzeroUsage } from "./transcript-tools-DtE5di1q.js";
|
|
17
|
-
import { t as createDefaultDeps } from "./deps-
|
|
17
|
+
import { t as createDefaultDeps } from "./deps-C-cgNARI.js";
|
|
18
18
|
import { t as createOutboundSendDeps } from "./outbound-send-deps-ANnAhImn.js";
|
|
19
19
|
import crypto from "node:crypto";
|
|
20
20
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { k as escapeRegExp } from "./exec-tTxVr8zb.js";
|
|
2
|
-
import { B as HEARTBEAT_TOKEN } from "./sessions-
|
|
2
|
+
import { B as HEARTBEAT_TOKEN } from "./sessions-BbzNgP9I.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.";
|
|
@@ -11,9 +11,9 @@ import { s as resolveSessionTranscriptsDirForAgent } from "./paths-CxRf2rBG.js";
|
|
|
11
11
|
import { t as WizardCancelledError } from "./prompts-_dDWkCAz.js";
|
|
12
12
|
import { t as createClackPrompter } from "./clack-prompter-B0kl7shw.js";
|
|
13
13
|
import { t as resolveChannelDefaultAccountId } from "./helpers-ZKNRexvX.js";
|
|
14
|
-
import { n as setupChannels } from "./onboard-channels-
|
|
14
|
+
import { n as setupChannels } from "./onboard-channels-Dlf4Shqz.js";
|
|
15
15
|
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-CwcaOee8.js";
|
|
16
|
-
import { n as warnIfModelConfigLooksOff, r as applyAuthChoice, u as promptAuthChoiceGrouped } from "./auth-choice-
|
|
16
|
+
import { n as warnIfModelConfigLooksOff, r as applyAuthChoice, u as promptAuthChoiceGrouped } from "./auth-choice-D8eoe09e.js";
|
|
17
17
|
import { n as logConfigUpdated } from "./logging-DB6BQmhi.js";
|
|
18
18
|
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-Dvo2ULxs.js";
|
|
19
19
|
import path from "node:path";
|
|
@@ -13,9 +13,9 @@ import { n as listChannelPlugins, r as normalizeChannelId } from "./plugins-CDJw
|
|
|
13
13
|
import { a as resolveBrowserControlAuth, c as resolveProfile, s as resolveBrowserConfig } from "./server-context-Cu88BsgT.js";
|
|
14
14
|
import { i as resolveGatewayAuth } from "./auth-lZ26wsbN.js";
|
|
15
15
|
import { n as formatErrorMessage } from "./errors-CHow2wtt.js";
|
|
16
|
-
import { _ as resolveToolProfilePolicy, c as resolveSandboxConfigForAgent, u as resolveSandboxToolPolicyForAgent } from "./sandbox-
|
|
16
|
+
import { _ as resolveToolProfilePolicy, c as resolveSandboxConfigForAgent, u as resolveSandboxToolPolicyForAgent } from "./sandbox-C6QwCGAa.js";
|
|
17
17
|
import { i as readChannelAllowFromStore } from "./pairing-store-uUh4DCdc.js";
|
|
18
|
-
import { n as isToolAllowedByPolicies } from "./pi-tools.policy-
|
|
18
|
+
import { n as isToolAllowedByPolicies } from "./pi-tools.policy-B6TsNKSH.js";
|
|
19
19
|
import { n as DEFAULT_GATEWAY_HTTP_TOOL_DENY } from "./dangerous-tools-5ObDWy1N.js";
|
|
20
20
|
import { t as resolveChannelDefaultAccountId } from "./helpers-ZKNRexvX.js";
|
|
21
21
|
import { n as extensionUsesSkippedScannerPath, r as isPathInside, t as scanDirectoryWithSummary } from "./skill-scanner-CkaVLABv.js";
|
|
@@ -6,7 +6,7 @@ import { t as formatCliCommand } from "./command-format-CVL4K5cj.js";
|
|
|
6
6
|
import { D as INCLUDE_KEY, O as MAX_INCLUDE_DEPTH, r as createConfigIO } from "./config-DaqbUdkI.js";
|
|
7
7
|
import { a as MANIFEST_KEY, l as normalizePluginsConfig } from "./manifest-registry-kHX_MFa1.js";
|
|
8
8
|
import { n as formatErrorMessage } from "./errors-Cojm0Kl7.js";
|
|
9
|
-
import { _ as resolveToolProfilePolicy, c as resolveSandboxConfigForAgent, u as resolveSandboxToolPolicyForAgent } from "./sandbox-
|
|
9
|
+
import { _ as resolveToolProfilePolicy, c as resolveSandboxConfigForAgent, u as resolveSandboxToolPolicyForAgent } from "./sandbox-CWQkFcjP.js";
|
|
10
10
|
import { i as resolveGatewayAuth } from "./auth-BNZsOHGF.js";
|
|
11
11
|
import { a as resolveProfile, i as resolveBrowserConfig, m as resolveBrowserControlAuth } from "./server-context-Du3Gdqy1.js";
|
|
12
12
|
import { i as loadWorkspaceSkillEntries } from "./skills-DV4zKdCx.js";
|
|
@@ -15,7 +15,7 @@ import { n as listChannelPlugins, r as normalizeChannelId } from "./plugins-DhcG
|
|
|
15
15
|
import { i as readChannelAllowFromStore } from "./pairing-store-BsXzUDPv.js";
|
|
16
16
|
import { t as GatewayClient } from "./client-LRKFjo4A.js";
|
|
17
17
|
import { t as buildGatewayConnectionDetails } from "./call-BYDpTVCZ.js";
|
|
18
|
-
import { n as isToolAllowedByPolicies } from "./pi-tools.policy-
|
|
18
|
+
import { n as isToolAllowedByPolicies } from "./pi-tools.policy-TlaJQomF.js";
|
|
19
19
|
import { n as DEFAULT_GATEWAY_HTTP_TOOL_DENY } from "./dangerous-tools-Jwr7jqNw.js";
|
|
20
20
|
import { t as resolveChannelDefaultAccountId } from "./helpers-eJFa4K6r.js";
|
|
21
21
|
import { n as extensionUsesSkippedScannerPath, r as isPathInside, t as scanDirectoryWithSummary } from "./skill-scanner-Coo4QoCd.js";
|
|
@@ -2,11 +2,11 @@ import { _ as resolveConfigDir, l as escapeRegExp } from "./utils-DZ8pnOD5.js";
|
|
|
2
2
|
import { a as resolveAgentModelPrimary, c as resolveDefaultAgentId, r as resolveAgentDir, s as resolveAgentWorkspaceDir, w as resolveDefaultAgentWorkspaceDir } from "./agent-scope-CPphqq-U.js";
|
|
3
3
|
import { A as SYNTHETIC_DEFAULT_MODEL_REF, At as DEFAULT_PROVIDER, C as VENICE_DEFAULT_MODEL_REF, P as getCustomProviderApiKey, R as resolveEnvApiKey, X as isHuggingfacePolicyLocked, Y as discoverHuggingfaceModels, Z as CLOUDFLARE_AI_GATEWAY_DEFAULT_MODEL_REF, at as CHUTES_AUTHORIZE_ENDPOINT, ct as parseOAuthCallbackInput, d as resolveAllowlistModelKey, f as resolveConfiguredModelRef, ft as upsertAuthProfile, kt as DEFAULT_MODEL, mt as ensureAuthProfileStore, ot as exchangeChutesCodeForTokens, pt as upsertAuthProfileWithLock, st as generateChutesPkce, tt as resolveAuthProfileOrder, ut as listProfilesForProvider, yt as resolveAnimaAgentDir } from "./model-selection-Cqt6aJ0G.js";
|
|
4
4
|
import { p as fetchWithTimeout } from "./polls-D6eCdatA.js";
|
|
5
|
-
import { en as loadModelCatalog } from "./cli-session-
|
|
5
|
+
import { en as loadModelCatalog } from "./cli-session-hA8WocEt.js";
|
|
6
6
|
import { r as isLoopbackHost } from "./ws-COSqlEPx.js";
|
|
7
|
-
import { a as enablePluginInConfig } from "./onboard-channels-
|
|
7
|
+
import { a as enablePluginInConfig } from "./onboard-channels-ByrlUaWj.js";
|
|
8
8
|
import { d as openUrl } from "./onboard-helpers-Cz42ASwv.js";
|
|
9
|
-
import { $ as XIAOMI_DEFAULT_MODEL_REF, A as applySyntheticConfig, B as applyZaiConfig, C as applyMoonshotConfigCn, Ct as XAI_DEFAULT_MODEL_REF, D as applyOpenrouterProviderConfig, Dt as ZAI_GLOBAL_BASE_URL, E as applyOpenrouterConfig, Et as ZAI_CODING_GLOBAL_BASE_URL, F as applyVeniceProviderConfig, G as applyCloudflareAiGatewayProviderConfig, H as applyLitellmConfig, I as applyXaiConfig, J as HUGGINGFACE_DEFAULT_MODEL_REF, K as applyVercelAiGatewayConfig, L as applyXaiProviderConfig, M as applyTogetherConfig, N as applyTogetherProviderConfig, O as applyQianfanConfig, Ot as buildTokenProfileId, P as applyVeniceConfig, Q as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, R as applyXiaomiConfig, S as applyMoonshotConfig, St as QIANFAN_DEFAULT_MODEL_REF, T as applyMoonshotProviderConfigCn, Tt as ZAI_CODING_CN_BASE_URL, U as applyLitellmProviderConfig, V as applyZaiProviderConfig, W as applyCloudflareAiGatewayConfig, X as OPENROUTER_DEFAULT_MODEL_REF, Y as LITELLM_DEFAULT_MODEL_REF, Z as TOGETHER_DEFAULT_MODEL_REF, _ as applyAuthProfileConfig, _t as setXiaomiApiKey, a as resolveProviderMatch, at as setKimiCodingApiKey, b as applyKimiCodeConfig, bt as KIMI_CODING_MODEL_REF, c as resolvePluginProviders, ct as setMoonshotApiKey, d as applyMinimaxApiConfig, dt as setQianfanApiKey, et as ZAI_DEFAULT_MODEL_REF, f as applyMinimaxApiConfigCn, ft as setSyntheticApiKey, g as applyMinimaxProviderConfig, gt as setXaiApiKey, h as applyMinimaxConfig, ht as setVercelAiGatewayApiKey, i as pickAuthMethod, it as setHuggingfaceApiKey, j as applySyntheticProviderConfig, k as applyQianfanProviderConfig, kt as validateAnthropicSetupToken, l as applyOpencodeZenConfig, lt as setOpencodeZenApiKey, m as applyMinimaxApiProviderConfigCn, mt as setVeniceApiKey, n as applyDefaultModel, nt as setCloudflareAiGatewayConfig, o as createVpsAwareOAuthHandlers, ot as setLitellmApiKey, p as applyMinimaxApiProviderConfig, pt as setTogetherApiKey, q as applyVercelAiGatewayProviderConfig, r as mergeConfigPatch, rt as setGeminiApiKey, s as isRemoteEnvironment, st as setMinimaxApiKey, t as githubCopilotLoginCommand, tt as setAnthropicApiKey, u as applyOpencodeZenProviderConfig, ut as setOpenrouterApiKey, vt as setZaiApiKey, w as applyMoonshotProviderConfig, wt as ZAI_CN_BASE_URL, x as applyKimiCodeProviderConfig, xt as MOONSHOT_DEFAULT_MODEL_REF, y as applyHuggingfaceProviderConfig, yt as writeOAuthCredentials, z as applyXiaomiProviderConfig } from "./github-copilot-auth-
|
|
9
|
+
import { $ as XIAOMI_DEFAULT_MODEL_REF, A as applySyntheticConfig, B as applyZaiConfig, C as applyMoonshotConfigCn, Ct as XAI_DEFAULT_MODEL_REF, D as applyOpenrouterProviderConfig, Dt as ZAI_GLOBAL_BASE_URL, E as applyOpenrouterConfig, Et as ZAI_CODING_GLOBAL_BASE_URL, F as applyVeniceProviderConfig, G as applyCloudflareAiGatewayProviderConfig, H as applyLitellmConfig, I as applyXaiConfig, J as HUGGINGFACE_DEFAULT_MODEL_REF, K as applyVercelAiGatewayConfig, L as applyXaiProviderConfig, M as applyTogetherConfig, N as applyTogetherProviderConfig, O as applyQianfanConfig, Ot as buildTokenProfileId, P as applyVeniceConfig, Q as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, R as applyXiaomiConfig, S as applyMoonshotConfig, St as QIANFAN_DEFAULT_MODEL_REF, T as applyMoonshotProviderConfigCn, Tt as ZAI_CODING_CN_BASE_URL, U as applyLitellmProviderConfig, V as applyZaiProviderConfig, W as applyCloudflareAiGatewayConfig, X as OPENROUTER_DEFAULT_MODEL_REF, Y as LITELLM_DEFAULT_MODEL_REF, Z as TOGETHER_DEFAULT_MODEL_REF, _ as applyAuthProfileConfig, _t as setXiaomiApiKey, a as resolveProviderMatch, at as setKimiCodingApiKey, b as applyKimiCodeConfig, bt as KIMI_CODING_MODEL_REF, c as resolvePluginProviders, ct as setMoonshotApiKey, d as applyMinimaxApiConfig, dt as setQianfanApiKey, et as ZAI_DEFAULT_MODEL_REF, f as applyMinimaxApiConfigCn, ft as setSyntheticApiKey, g as applyMinimaxProviderConfig, gt as setXaiApiKey, h as applyMinimaxConfig, ht as setVercelAiGatewayApiKey, i as pickAuthMethod, it as setHuggingfaceApiKey, j as applySyntheticProviderConfig, k as applyQianfanProviderConfig, kt as validateAnthropicSetupToken, l as applyOpencodeZenConfig, lt as setOpencodeZenApiKey, m as applyMinimaxApiProviderConfigCn, mt as setVeniceApiKey, n as applyDefaultModel, nt as setCloudflareAiGatewayConfig, o as createVpsAwareOAuthHandlers, ot as setLitellmApiKey, p as applyMinimaxApiProviderConfig, pt as setTogetherApiKey, q as applyVercelAiGatewayProviderConfig, r as mergeConfigPatch, rt as setGeminiApiKey, s as isRemoteEnvironment, st as setMinimaxApiKey, t as githubCopilotLoginCommand, tt as setAnthropicApiKey, u as applyOpencodeZenProviderConfig, ut as setOpenrouterApiKey, vt as setZaiApiKey, w as applyMoonshotProviderConfig, wt as ZAI_CN_BASE_URL, x as applyKimiCodeProviderConfig, xt as MOONSHOT_DEFAULT_MODEL_REF, y as applyHuggingfaceProviderConfig, yt as writeOAuthCredentials, z as applyXiaomiProviderConfig } from "./github-copilot-auth-Pfnl_1i1.js";
|
|
10
10
|
import fs from "node:fs";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import { randomBytes } from "node:crypto";
|
|
@@ -3,10 +3,10 @@ import { c as escapeRegExp, g as resolveConfigDir } from "./utils-C9sj30YY.js";
|
|
|
3
3
|
import { a as resolveAgentModelPrimary, c as resolveDefaultAgentId, r as resolveAgentDir, s as resolveAgentWorkspaceDir, w as resolveDefaultAgentWorkspaceDir } from "./agent-scope-OZi7lb8S.js";
|
|
4
4
|
import { n as isLoopbackHost } from "./net-B5lXhYLV.js";
|
|
5
5
|
import { c as fetchWithTimeout } from "./media-Bu2L8c_7.js";
|
|
6
|
-
import { Yt as loadModelCatalog } from "./cli-session-
|
|
7
|
-
import { a as enablePluginInConfig } from "./onboard-channels-
|
|
6
|
+
import { Yt as loadModelCatalog } from "./cli-session-Ce28JlWH.js";
|
|
7
|
+
import { a as enablePluginInConfig } from "./onboard-channels-Dlf4Shqz.js";
|
|
8
8
|
import { d as openUrl } from "./onboard-helpers-CwcaOee8.js";
|
|
9
|
-
import { $ as XIAOMI_DEFAULT_MODEL_REF, A as applySyntheticConfig, B as applyZaiConfig, C as applyMoonshotConfigCn, Ct as XAI_DEFAULT_MODEL_REF, D as applyOpenrouterProviderConfig, Dt as ZAI_GLOBAL_BASE_URL, E as applyOpenrouterConfig, Et as ZAI_CODING_GLOBAL_BASE_URL, F as applyVeniceProviderConfig, G as applyCloudflareAiGatewayProviderConfig, H as applyLitellmConfig, I as applyXaiConfig, J as HUGGINGFACE_DEFAULT_MODEL_REF, K as applyVercelAiGatewayConfig, L as applyXaiProviderConfig, M as applyTogetherConfig, N as applyTogetherProviderConfig, O as applyQianfanConfig, Ot as buildTokenProfileId, P as applyVeniceConfig, Q as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, R as applyXiaomiConfig, S as applyMoonshotConfig, St as QIANFAN_DEFAULT_MODEL_REF, T as applyMoonshotProviderConfigCn, Tt as ZAI_CODING_CN_BASE_URL, U as applyLitellmProviderConfig, V as applyZaiProviderConfig, W as applyCloudflareAiGatewayConfig, X as OPENROUTER_DEFAULT_MODEL_REF, Y as LITELLM_DEFAULT_MODEL_REF, Z as TOGETHER_DEFAULT_MODEL_REF, _ as applyAuthProfileConfig, _t as setXiaomiApiKey, a as resolveProviderMatch, at as setKimiCodingApiKey, b as applyKimiCodeConfig, bt as KIMI_CODING_MODEL_REF, c as resolvePluginProviders, ct as setMoonshotApiKey, d as applyMinimaxApiConfig, dt as setQianfanApiKey, et as ZAI_DEFAULT_MODEL_REF, f as applyMinimaxApiConfigCn, ft as setSyntheticApiKey, g as applyMinimaxProviderConfig, gt as setXaiApiKey, h as applyMinimaxConfig, ht as setVercelAiGatewayApiKey, i as pickAuthMethod, it as setHuggingfaceApiKey, j as applySyntheticProviderConfig, k as applyQianfanProviderConfig, kt as validateAnthropicSetupToken, l as applyOpencodeZenConfig, lt as setOpencodeZenApiKey, m as applyMinimaxApiProviderConfigCn, mt as setVeniceApiKey, n as applyDefaultModel, nt as setCloudflareAiGatewayConfig, o as createVpsAwareOAuthHandlers, ot as setLitellmApiKey, p as applyMinimaxApiProviderConfig, pt as setTogetherApiKey, q as applyVercelAiGatewayProviderConfig, r as mergeConfigPatch, rt as setGeminiApiKey, s as isRemoteEnvironment, st as setMinimaxApiKey, t as githubCopilotLoginCommand, tt as setAnthropicApiKey, u as applyOpencodeZenProviderConfig, ut as setOpenrouterApiKey, vt as setZaiApiKey, w as applyMoonshotProviderConfig, wt as ZAI_CN_BASE_URL, x as applyKimiCodeProviderConfig, xt as MOONSHOT_DEFAULT_MODEL_REF, y as applyHuggingfaceProviderConfig, yt as writeOAuthCredentials, z as applyXiaomiProviderConfig } from "./github-copilot-auth-
|
|
9
|
+
import { $ as XIAOMI_DEFAULT_MODEL_REF, A as applySyntheticConfig, B as applyZaiConfig, C as applyMoonshotConfigCn, Ct as XAI_DEFAULT_MODEL_REF, D as applyOpenrouterProviderConfig, Dt as ZAI_GLOBAL_BASE_URL, E as applyOpenrouterConfig, Et as ZAI_CODING_GLOBAL_BASE_URL, F as applyVeniceProviderConfig, G as applyCloudflareAiGatewayProviderConfig, H as applyLitellmConfig, I as applyXaiConfig, J as HUGGINGFACE_DEFAULT_MODEL_REF, K as applyVercelAiGatewayConfig, L as applyXaiProviderConfig, M as applyTogetherConfig, N as applyTogetherProviderConfig, O as applyQianfanConfig, Ot as buildTokenProfileId, P as applyVeniceConfig, Q as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, R as applyXiaomiConfig, S as applyMoonshotConfig, St as QIANFAN_DEFAULT_MODEL_REF, T as applyMoonshotProviderConfigCn, Tt as ZAI_CODING_CN_BASE_URL, U as applyLitellmProviderConfig, V as applyZaiProviderConfig, W as applyCloudflareAiGatewayConfig, X as OPENROUTER_DEFAULT_MODEL_REF, Y as LITELLM_DEFAULT_MODEL_REF, Z as TOGETHER_DEFAULT_MODEL_REF, _ as applyAuthProfileConfig, _t as setXiaomiApiKey, a as resolveProviderMatch, at as setKimiCodingApiKey, b as applyKimiCodeConfig, bt as KIMI_CODING_MODEL_REF, c as resolvePluginProviders, ct as setMoonshotApiKey, d as applyMinimaxApiConfig, dt as setQianfanApiKey, et as ZAI_DEFAULT_MODEL_REF, f as applyMinimaxApiConfigCn, ft as setSyntheticApiKey, g as applyMinimaxProviderConfig, gt as setXaiApiKey, h as applyMinimaxConfig, ht as setVercelAiGatewayApiKey, i as pickAuthMethod, it as setHuggingfaceApiKey, j as applySyntheticProviderConfig, k as applyQianfanProviderConfig, kt as validateAnthropicSetupToken, l as applyOpencodeZenConfig, lt as setOpencodeZenApiKey, m as applyMinimaxApiProviderConfigCn, mt as setVeniceApiKey, n as applyDefaultModel, nt as setCloudflareAiGatewayConfig, o as createVpsAwareOAuthHandlers, ot as setLitellmApiKey, p as applyMinimaxApiProviderConfig, pt as setTogetherApiKey, q as applyVercelAiGatewayProviderConfig, r as mergeConfigPatch, rt as setGeminiApiKey, s as isRemoteEnvironment, st as setMinimaxApiKey, t as githubCopilotLoginCommand, tt as setAnthropicApiKey, u as applyOpencodeZenProviderConfig, ut as setOpenrouterApiKey, vt as setZaiApiKey, w as applyMoonshotProviderConfig, wt as ZAI_CN_BASE_URL, x as applyKimiCodeProviderConfig, xt as MOONSHOT_DEFAULT_MODEL_REF, y as applyHuggingfaceProviderConfig, yt as writeOAuthCredentials, z as applyXiaomiProviderConfig } from "./github-copilot-auth-BsXG6mVD.js";
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
import fs from "node:fs";
|
|
12
12
|
import { loginOpenAICodex } from "@mariozechner/pi-ai";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { M as theme, j as isRich, m as visibleWidth } from "./entry.js";
|
|
2
|
-
import { Tt as resolveCommitHash } from "./reply-
|
|
2
|
+
import { Tt as resolveCommitHash } from "./reply-7WXXmeTT.js";
|
|
3
3
|
|
|
4
4
|
//#region src/cli/tagline.ts
|
|
5
5
|
const DEFAULT_TAGLINE = "AI orchestration daemon — by NoxSoft";
|
package/dist/build-info.json
CHANGED
|
@@ -5,17 +5,17 @@ import { a as resolveAgentModelPrimary, i as resolveAgentModelFallbacksOverride,
|
|
|
5
5
|
import { s as runEmbeddedPiAgent } from "../../pi-embedded-C1Nl7L89.js";
|
|
6
6
|
import { t as formatCliCommand } from "../../command-format-CP1YTNCl.js";
|
|
7
7
|
import { n as loadConfig } from "../../config-C96685Kz.js";
|
|
8
|
-
import { D as resolveMainSessionKey, E as resolveExplicitAgentSessionKey, V as SILENT_REPLY_TOKEN, _ as evaluateSessionFreshness, b as resolveSessionResetType, c as updateSessionStore, g as resolveSessionKey, h as normalizeAccountId, i as loadSessionStore, v as resolveChannelResetConfig, y as resolveSessionResetPolicy } from "../../sessions-
|
|
8
|
+
import { D as resolveMainSessionKey, E as resolveExplicitAgentSessionKey, V as SILENT_REPLY_TOKEN, _ as evaluateSessionFreshness, b as resolveSessionResetType, c as updateSessionStore, g as resolveSessionKey, h as normalizeAccountId, i as loadSessionStore, v as resolveChannelResetConfig, y as resolveSessionResetPolicy } from "../../sessions-BbzNgP9I.js";
|
|
9
9
|
import { C as resolveThinkingDefault, L as DEFAULT_CONTEXT_TOKENS, R as DEFAULT_MODEL, _ as normalizeModelRef, b as resolveConfiguredModelRef, f as buildAllowedModelSet, g as modelKey, h as isCliProvider, o as ensureAuthProfileStore, z as DEFAULT_PROVIDER } from "../../auth-profiles-BVZBTuls.js";
|
|
10
10
|
import "../../boolean-Ce2-qkSB.js";
|
|
11
11
|
import { b as resolveMessageChannel, f as INTERNAL_MESSAGE_CHANNEL, h as isInternalMessageChannel, m as isGatewayMessageChannel, p as isDeliverableMessageChannel, r as normalizeChannelId, t as getChannelPlugin, v as normalizeMessageChannel } from "../../plugins-DdzdfeTc.js";
|
|
12
12
|
import { n as resolveSessionFilePath, s as resolveStorePath } from "../../paths-Ba-yiqjy.js";
|
|
13
|
-
import { B as runCliAgent, C as supportsXHighThinking, D as buildWorkspaceSkillSnapshot, F as loadModelCatalog, N as runWithModelFallback, R as getCliSessionId, T as getSkillsSnapshotVersion, a as lookupContextTokens, d as applyModelOverrideToSessionEntry, f as applyVerboseOverride, h as formatXHighModelHint, m as formatThinkingLevels, n as deriveSessionTotalTokens, o as resolveOutboundTarget, p as getRemoteSkillEligibility, r as hasNonzeroUsage, s as resolveSessionDeliveryTarget, u as resolveSendPolicy, vt as clearSessionAuthProfileOverride, x as normalizeVerboseLevel, y as normalizeThinkLevel, z as setCliSessionId } from "../../usage-
|
|
14
|
-
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-
|
|
13
|
+
import { B as runCliAgent, C as supportsXHighThinking, D as buildWorkspaceSkillSnapshot, F as loadModelCatalog, N as runWithModelFallback, R as getCliSessionId, T as getSkillsSnapshotVersion, a as lookupContextTokens, d as applyModelOverrideToSessionEntry, f as applyVerboseOverride, h as formatXHighModelHint, m as formatThinkingLevels, n as deriveSessionTotalTokens, o as resolveOutboundTarget, p as getRemoteSkillEligibility, r as hasNonzeroUsage, s as resolveSessionDeliveryTarget, u as resolveSendPolicy, vt as clearSessionAuthProfileOverride, x as normalizeVerboseLevel, y as normalizeThinkLevel, z as setCliSessionId } from "../../usage-YBM9aU79.js";
|
|
14
|
+
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-BYdVDaVT.js";
|
|
15
15
|
import "../../mime-Bm1xTtpY.js";
|
|
16
16
|
import "../../frontmatter-YijVi0FQ.js";
|
|
17
17
|
import "../../markdown-tables-Bhes7rr4.js";
|
|
18
|
-
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "../../deliver-
|
|
18
|
+
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "../../deliver-C45YyEys.js";
|
|
19
19
|
import fs from "node:fs/promises";
|
|
20
20
|
import path from "node:path";
|
|
21
21
|
import crypto from "node:crypto";
|
|
@@ -24,7 +24,7 @@ import crypto from "node:crypto";
|
|
|
24
24
|
function createDefaultDeps() {
|
|
25
25
|
return {
|
|
26
26
|
sendMessageWhatsApp: async (...args) => {
|
|
27
|
-
const { sendMessageWhatsApp } = await import("../../web-
|
|
27
|
+
const { sendMessageWhatsApp } = await import("../../web-D2hFbrio.js");
|
|
28
28
|
return await sendMessageWhatsApp(...args);
|
|
29
29
|
},
|
|
30
30
|
sendMessageTelegram: async (...args) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
b7e9d8373a07a3cbef7382f8c20b6d94fe6068e13ba2d25a49d7db9bdd2e9c36
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { F as shouldLogVerbose, M as logVerbose, V as getChildLogger, t as createSubsystemLogger, u as defaultRuntime } from "./subsystem-DfKstnEK.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-DZ8pnOD5.js";
|
|
3
|
-
import { B as resolveIdentityNamePrefix, V as resolveMessagePrefix } from "./subagent-registry-
|
|
4
|
-
import { $ as buildAgentSessionKey, At as registerUnhandledRejectionHandler, Dt as buildMentionRegexes, Kt as finalizeInboundContext, Ot as normalizeMentionText, _t as hasControlCommand, at as recordChannelActivity, ct as dispatchReplyWithBufferedBlockDispatcher, et as resolveAgentRoute, f as normalizeGroupActivation, ft as createDedupeCache, gt as resolveEnvelopeFormatOptions, ht as formatInboundEnvelope, mt as resolveInboundDebounceMs, p as parseActivationCommand, pt as createInboundDebouncer, rt as buildPairingReply, st as shouldAckReactionForWhatsApp, t as getReplyFromConfig, vt as shouldComputeCommandAuthorized } from "./reply-
|
|
3
|
+
import { B as resolveIdentityNamePrefix, V as resolveMessagePrefix } from "./subagent-registry-ChY7RF5s.js";
|
|
4
|
+
import { $ as buildAgentSessionKey, At as registerUnhandledRejectionHandler, Dt as buildMentionRegexes, Kt as finalizeInboundContext, Ot as normalizeMentionText, _t as hasControlCommand, at as recordChannelActivity, ct as dispatchReplyWithBufferedBlockDispatcher, et as resolveAgentRoute, f as normalizeGroupActivation, ft as createDedupeCache, gt as resolveEnvelopeFormatOptions, ht as formatInboundEnvelope, mt as resolveInboundDebounceMs, p as parseActivationCommand, pt as createInboundDebouncer, rt as buildPairingReply, st as shouldAckReactionForWhatsApp, t as getReplyFromConfig, vt as shouldComputeCommandAuthorized } from "./reply-DEZHacZW.js";
|
|
5
5
|
import { i as buildAgentMainSessionKey, l as normalizeAgentId, o as buildGroupHistoryKey, r as DEFAULT_MAIN_KEY } from "./session-key-DxcgHezu.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-CVL4K5cj.js";
|
|
7
7
|
import { i as loadConfig } from "./config-DaqbUdkI.js";
|
|
8
|
-
import { P as resolveGroupSessionKey, a as readSessionUpdatedAt, c as updateLastRoute, i as loadSessionStore, o as recordSessionMetaFromInbound } from "./sessions-
|
|
8
|
+
import { P as resolveGroupSessionKey, a as readSessionUpdatedAt, c as updateLastRoute, i as loadSessionStore, o as recordSessionMetaFromInbound } from "./sessions-DFMUAYeu.js";
|
|
9
9
|
import { o as setActiveWebListener, r as loadWebMedia, s as convertMarkdownTables } from "./polls-D6eCdatA.js";
|
|
10
|
-
import { Yt as enqueueSystemEvent } from "./cli-session-
|
|
10
|
+
import { Yt as enqueueSystemEvent } from "./cli-session-hA8WocEt.js";
|
|
11
11
|
import { o as resolveChannelGroupPolicy, s as resolveChannelGroupRequireMention } from "./dock-jYICmNcI.js";
|
|
12
12
|
import { i as getWebAuthAgeMs, l as readWebSelfId, n as resolveWhatsAppAccount } from "./accounts-Bth3PpPD.js";
|
|
13
13
|
import { r as saveMediaBuffer } from "./routes-CooYoUCb.js";
|
|
@@ -17,7 +17,7 @@ import { i as readChannelAllowFromStore, o as upsertChannelPairingRequest } from
|
|
|
17
17
|
import { r as formatDurationPrecise } from "./format-duration-Cm3xh8xz.js";
|
|
18
18
|
import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-bs_VK51X.js";
|
|
19
19
|
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-DTTbdKb0.js";
|
|
20
|
-
import { i as recordPendingHistoryEntryIfEnabled, n as DEFAULT_GROUP_HISTORY_LIMIT, r as buildHistoryContextFromEntries, t as createReplyPrefixOptions } from "./reply-prefix-
|
|
20
|
+
import { i as recordPendingHistoryEntryIfEnabled, n as DEFAULT_GROUP_HISTORY_LIMIT, r as buildHistoryContextFromEntries, t as createReplyPrefixOptions } from "./reply-prefix-sTGuc5Wt.js";
|
|
21
21
|
import { randomUUID } from "node:crypto";
|
|
22
22
|
import { setTimeout } from "node:timers/promises";
|
|
23
23
|
import { DisconnectReason, downloadMediaMessage, extractMessageContent, getContentType, isJidGroup, normalizeMessageContent } from "@whiskeysockets/baileys";
|
|
@@ -2,8 +2,8 @@ import "./paths-BMuHNFxg.js";
|
|
|
2
2
|
import { B as theme, O as danger, P as setVerbose, U as getResolvedLoggerSettings, _ as DEFAULT_CHAT_CHANNEL, u as defaultRuntime } from "./subsystem-DfKstnEK.js";
|
|
3
3
|
import "./utils-DZ8pnOD5.js";
|
|
4
4
|
import "./thinking-BLU0jXR8.js";
|
|
5
|
-
import "./subagent-registry-
|
|
6
|
-
import { c as loadProviderUsageSummary, l as formatUsageReportLines, ot as parseDiscordTarget } from "./reply-
|
|
5
|
+
import "./subagent-registry-ChY7RF5s.js";
|
|
6
|
+
import { c as loadProviderUsageSummary, l as formatUsageReportLines, ot as parseDiscordTarget } from "./reply-DEZHacZW.js";
|
|
7
7
|
import { c as normalizeAccountId, t as DEFAULT_ACCOUNT_ID } from "./session-key-DxcgHezu.js";
|
|
8
8
|
import "./exec-mhSykkaa.js";
|
|
9
9
|
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-CPphqq-U.js";
|
|
@@ -14,16 +14,16 @@ import "./env-v6411I8h.js";
|
|
|
14
14
|
import "./lanes-BvSnHq2h.js";
|
|
15
15
|
import { i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot } from "./config-DaqbUdkI.js";
|
|
16
16
|
import "./manifest-registry-kHX_MFa1.js";
|
|
17
|
-
import "./sessions-
|
|
17
|
+
import "./sessions-DFMUAYeu.js";
|
|
18
18
|
import "./image-ops-B_AYV3tp.js";
|
|
19
19
|
import "./polls-D6eCdatA.js";
|
|
20
20
|
import "./mime-C1RlpUSs.js";
|
|
21
|
-
import "./cli-session-
|
|
21
|
+
import "./cli-session-hA8WocEt.js";
|
|
22
22
|
import "./dock-jYICmNcI.js";
|
|
23
23
|
import "./logging-54nXj81z.js";
|
|
24
24
|
import "./accounts-Bth3PpPD.js";
|
|
25
25
|
import "./tokens-3psI_Qk2.js";
|
|
26
|
-
import "./sandbox-
|
|
26
|
+
import "./sandbox-CWQkFcjP.js";
|
|
27
27
|
import "./chrome-U3DRzjJD.js";
|
|
28
28
|
import "./auth-BNZsOHGF.js";
|
|
29
29
|
import "./server-context-Du3Gdqy1.js";
|
|
@@ -37,7 +37,7 @@ import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin
|
|
|
37
37
|
import "./paths-BXQQzXGQ.js";
|
|
38
38
|
import "./commands-registry-q13H7ng5.js";
|
|
39
39
|
import "./markdown-tables-DJV7eAJZ.js";
|
|
40
|
-
import "./deliver
|
|
40
|
+
import "./deliver--QyfTd7v.js";
|
|
41
41
|
import "./pairing-store-BsXzUDPv.js";
|
|
42
42
|
import "./client-LRKFjo4A.js";
|
|
43
43
|
import { n as callGateway } from "./call-BYDpTVCZ.js";
|
|
@@ -57,7 +57,7 @@ import "./dispatcher-DbDPyVIX.js";
|
|
|
57
57
|
import "./pi-model-discovery-BkqhoPls.js";
|
|
58
58
|
import { n as resolveMessageChannelSelection } from "./channel-selection-CqcX7Ocw.js";
|
|
59
59
|
import "./delivery-queue-BJQK3oh5.js";
|
|
60
|
-
import "./pi-tools.policy-
|
|
60
|
+
import "./pi-tools.policy-TlaJQomF.js";
|
|
61
61
|
import "./session-cost-usage-FcdJl9c3.js";
|
|
62
62
|
import { r as listChannelPluginCatalogEntries } from "./catalog-CqKiUgu6.js";
|
|
63
63
|
import "./plugin-registry-DW81arxW.js";
|
|
@@ -67,7 +67,7 @@ import "./note-BtE8fGoO.js";
|
|
|
67
67
|
import { t as createClackPrompter } from "./clack-prompter-Ct2BYIXW.js";
|
|
68
68
|
import { t as resolveChannelDefaultAccountId } from "./helpers-eJFa4K6r.js";
|
|
69
69
|
import "./plugin-auto-enable-d9eDmGOX.js";
|
|
70
|
-
import { i as reloadOnboardingPluginRegistry, n as setupChannels, r as ensureOnboardingPluginInstalled } from "./onboard-channels-
|
|
70
|
+
import { i as reloadOnboardingPluginRegistry, n as setupChannels, r as ensureOnboardingPluginInstalled } from "./onboard-channels-ByrlUaWj.js";
|
|
71
71
|
import "./npm-registry-spec-DvJxezSJ.js";
|
|
72
72
|
import "./skill-scanner-Coo4QoCd.js";
|
|
73
73
|
import "./installs-DCTtAJP8.js";
|
|
@@ -13,11 +13,11 @@ import "./client-C1avc0vD.js";
|
|
|
13
13
|
import { n as callGateway } from "./call-CTMQygkz.js";
|
|
14
14
|
import "./message-channel-w4F2b2F6.js";
|
|
15
15
|
import "./timeout-CswI_K-U.js";
|
|
16
|
-
import "./sessions-
|
|
17
|
-
import "./subagent-registry-
|
|
16
|
+
import "./sessions-Gf_kQenz.js";
|
|
17
|
+
import "./subagent-registry-CPlMIIq4.js";
|
|
18
18
|
import "./logging-BdnOSVPD.js";
|
|
19
19
|
import "./accounts-CP1IAWeM.js";
|
|
20
|
-
import { c as loadProviderUsageSummary, l as formatUsageReportLines, ot as parseDiscordTarget } from "./reply-
|
|
20
|
+
import { c as loadProviderUsageSummary, l as formatUsageReportLines, ot as parseDiscordTarget } from "./reply-7WXXmeTT.js";
|
|
21
21
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-CDJw924T.js";
|
|
22
22
|
import "./tokens-C-X7wDKj.js";
|
|
23
23
|
import "./dock-Dmxj3en_.js";
|
|
@@ -33,14 +33,14 @@ import "./auth-lZ26wsbN.js";
|
|
|
33
33
|
import "./ports-B3Vuo92o.js";
|
|
34
34
|
import "./trash-BJLK1vMn.js";
|
|
35
35
|
import "./control-service-DXYImShH.js";
|
|
36
|
-
import "./cli-session-
|
|
36
|
+
import "./cli-session-Ce28JlWH.js";
|
|
37
37
|
import "./thinking-BXEswx1X.js";
|
|
38
38
|
import "./context-ChaAWbwZ.js";
|
|
39
|
-
import "./sandbox-
|
|
39
|
+
import "./sandbox-C6QwCGAa.js";
|
|
40
40
|
import "./routes-C5ylAnNV.js";
|
|
41
41
|
import "./paths-DcVEkYX5.js";
|
|
42
42
|
import "./commands-registry-sLFieXCB.js";
|
|
43
|
-
import "./deliver-
|
|
43
|
+
import "./deliver-BcW8mBAi.js";
|
|
44
44
|
import "./pairing-store-uUh4DCdc.js";
|
|
45
45
|
import "./nodes-screen-BST4qOFR.js";
|
|
46
46
|
import { n as formatTimeAgo } from "./format-relative-C6kUHuOj.js";
|
|
@@ -55,7 +55,7 @@ import { n as withProgress } from "./progress-CbZ2D53A.js";
|
|
|
55
55
|
import "./dispatcher-CoqsaA3f.js";
|
|
56
56
|
import { n as resolveMessageChannelSelection } from "./channel-selection-DfGpCyh2.js";
|
|
57
57
|
import "./delivery-queue-B6IHz4Ry.js";
|
|
58
|
-
import "./pi-tools.policy-
|
|
58
|
+
import "./pi-tools.policy-B6TsNKSH.js";
|
|
59
59
|
import "./session-cost-usage-BwiTZuKl.js";
|
|
60
60
|
import { r as listChannelPluginCatalogEntries } from "./catalog-BAayBt1L.js";
|
|
61
61
|
import "./prompt-style-DKy6qQxR.js";
|
|
@@ -63,7 +63,7 @@ import "./note-uiuPxhyX.js";
|
|
|
63
63
|
import { t as createClackPrompter } from "./clack-prompter-B0kl7shw.js";
|
|
64
64
|
import { t as resolveChannelDefaultAccountId } from "./helpers-ZKNRexvX.js";
|
|
65
65
|
import "./plugin-auto-enable-DVD5Kls3.js";
|
|
66
|
-
import { i as reloadOnboardingPluginRegistry, n as setupChannels, r as ensureOnboardingPluginInstalled } from "./onboard-channels-
|
|
66
|
+
import { i as reloadOnboardingPluginRegistry, n as setupChannels, r as ensureOnboardingPluginInstalled } from "./onboard-channels-Dlf4Shqz.js";
|
|
67
67
|
import "./npm-registry-spec-za3itb5Y.js";
|
|
68
68
|
import "./skill-scanner-CkaVLABv.js";
|
|
69
69
|
import "./installs-D-cPGdCw.js";
|
|
@@ -2,8 +2,8 @@ import "./paths-BMuHNFxg.js";
|
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-DfKstnEK.js";
|
|
3
3
|
import "./utils-DZ8pnOD5.js";
|
|
4
4
|
import "./thinking-BLU0jXR8.js";
|
|
5
|
-
import "./subagent-registry-
|
|
6
|
-
import { Q as loadAnimaPlugins } from "./reply-
|
|
5
|
+
import "./subagent-registry-ChY7RF5s.js";
|
|
6
|
+
import { Q as loadAnimaPlugins } from "./reply-DEZHacZW.js";
|
|
7
7
|
import "./exec-mhSykkaa.js";
|
|
8
8
|
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-CPphqq-U.js";
|
|
9
9
|
import "./model-selection-Cqt6aJ0G.js";
|
|
@@ -12,16 +12,16 @@ import "./env-v6411I8h.js";
|
|
|
12
12
|
import "./lanes-BvSnHq2h.js";
|
|
13
13
|
import { i as loadConfig } from "./config-DaqbUdkI.js";
|
|
14
14
|
import "./manifest-registry-kHX_MFa1.js";
|
|
15
|
-
import "./sessions-
|
|
15
|
+
import "./sessions-DFMUAYeu.js";
|
|
16
16
|
import "./image-ops-B_AYV3tp.js";
|
|
17
17
|
import "./polls-D6eCdatA.js";
|
|
18
18
|
import "./mime-C1RlpUSs.js";
|
|
19
|
-
import "./cli-session-
|
|
19
|
+
import "./cli-session-hA8WocEt.js";
|
|
20
20
|
import "./dock-jYICmNcI.js";
|
|
21
21
|
import "./logging-54nXj81z.js";
|
|
22
22
|
import "./accounts-Bth3PpPD.js";
|
|
23
23
|
import "./tokens-3psI_Qk2.js";
|
|
24
|
-
import "./sandbox-
|
|
24
|
+
import "./sandbox-CWQkFcjP.js";
|
|
25
25
|
import "./chrome-U3DRzjJD.js";
|
|
26
26
|
import "./auth-BNZsOHGF.js";
|
|
27
27
|
import "./server-context-Du3Gdqy1.js";
|
|
@@ -35,7 +35,7 @@ import "./plugins-DhcGAPDB.js";
|
|
|
35
35
|
import "./paths-BXQQzXGQ.js";
|
|
36
36
|
import "./commands-registry-q13H7ng5.js";
|
|
37
37
|
import "./markdown-tables-DJV7eAJZ.js";
|
|
38
|
-
import "./deliver
|
|
38
|
+
import "./deliver--QyfTd7v.js";
|
|
39
39
|
import "./pairing-store-BsXzUDPv.js";
|
|
40
40
|
import "./client-LRKFjo4A.js";
|
|
41
41
|
import "./call-BYDpTVCZ.js";
|
|
@@ -52,7 +52,7 @@ import "./dispatcher-DbDPyVIX.js";
|
|
|
52
52
|
import "./pi-model-discovery-BkqhoPls.js";
|
|
53
53
|
import "./channel-selection-CqcX7Ocw.js";
|
|
54
54
|
import "./delivery-queue-BJQK3oh5.js";
|
|
55
|
-
import "./pi-tools.policy-
|
|
55
|
+
import "./pi-tools.policy-TlaJQomF.js";
|
|
56
56
|
import "./session-cost-usage-FcdJl9c3.js";
|
|
57
57
|
|
|
58
58
|
//#region src/plugins/cli.ts
|
|
@@ -11,11 +11,11 @@ import "./client-C1avc0vD.js";
|
|
|
11
11
|
import "./call-CTMQygkz.js";
|
|
12
12
|
import "./message-channel-w4F2b2F6.js";
|
|
13
13
|
import "./timeout-CswI_K-U.js";
|
|
14
|
-
import "./sessions-
|
|
15
|
-
import "./subagent-registry-
|
|
14
|
+
import "./sessions-Gf_kQenz.js";
|
|
15
|
+
import "./subagent-registry-CPlMIIq4.js";
|
|
16
16
|
import "./logging-BdnOSVPD.js";
|
|
17
17
|
import "./accounts-CP1IAWeM.js";
|
|
18
|
-
import { Q as loadAnimaPlugins } from "./reply-
|
|
18
|
+
import { Q as loadAnimaPlugins } from "./reply-7WXXmeTT.js";
|
|
19
19
|
import "./plugins-CDJw924T.js";
|
|
20
20
|
import "./tokens-C-X7wDKj.js";
|
|
21
21
|
import "./dock-Dmxj3en_.js";
|
|
@@ -31,14 +31,14 @@ import "./auth-lZ26wsbN.js";
|
|
|
31
31
|
import "./ports-B3Vuo92o.js";
|
|
32
32
|
import "./trash-BJLK1vMn.js";
|
|
33
33
|
import "./control-service-DXYImShH.js";
|
|
34
|
-
import "./cli-session-
|
|
34
|
+
import "./cli-session-Ce28JlWH.js";
|
|
35
35
|
import "./thinking-BXEswx1X.js";
|
|
36
36
|
import "./context-ChaAWbwZ.js";
|
|
37
|
-
import "./sandbox-
|
|
37
|
+
import "./sandbox-C6QwCGAa.js";
|
|
38
38
|
import "./routes-C5ylAnNV.js";
|
|
39
39
|
import "./paths-DcVEkYX5.js";
|
|
40
40
|
import "./commands-registry-sLFieXCB.js";
|
|
41
|
-
import "./deliver-
|
|
41
|
+
import "./deliver-BcW8mBAi.js";
|
|
42
42
|
import "./pairing-store-uUh4DCdc.js";
|
|
43
43
|
import "./nodes-screen-BST4qOFR.js";
|
|
44
44
|
import "./memory-cli-CvrdGRvA.js";
|
|
@@ -50,7 +50,7 @@ import "./progress-CbZ2D53A.js";
|
|
|
50
50
|
import "./dispatcher-CoqsaA3f.js";
|
|
51
51
|
import "./channel-selection-DfGpCyh2.js";
|
|
52
52
|
import "./delivery-queue-B6IHz4Ry.js";
|
|
53
|
-
import "./pi-tools.policy-
|
|
53
|
+
import "./pi-tools.policy-B6TsNKSH.js";
|
|
54
54
|
import "./session-cost-usage-BwiTZuKl.js";
|
|
55
55
|
|
|
56
56
|
//#region src/plugins/cli.ts
|
|
@@ -11,7 +11,7 @@ import { i as loadConfig } from "./config-BeuAT94o.js";
|
|
|
11
11
|
import { c as listDeliverableMessageChannels, l as normalizeMessageChannel, n as isDeliverableMessageChannel, t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-w4F2b2F6.js";
|
|
12
12
|
import { n as hasInterSessionUserProvenance } from "./input-provenance-DJBdpeKk.js";
|
|
13
13
|
import { s as resolveHeartbeatPrompt } from "./timeout-CswI_K-U.js";
|
|
14
|
-
import { A as deliveryContextFromSession, D as normalizeChatType, O as buildGroupDisplayName, P as normalizeSessionDeliveryFields, S as resolveMainSessionKey, b as resolveAgentMainSessionKey, i as loadSessionStore, l as updateSessionStore, v as resolveFreshSessionTotalTokens, y as canonicalizeMainSessionAlias } from "./sessions-
|
|
14
|
+
import { A as deliveryContextFromSession, D as normalizeChatType, O as buildGroupDisplayName, P as normalizeSessionDeliveryFields, S as resolveMainSessionKey, b as resolveAgentMainSessionKey, i as loadSessionStore, l as updateSessionStore, v as resolveFreshSessionTotalTokens, y as canonicalizeMainSessionAlias } from "./sessions-Gf_kQenz.js";
|
|
15
15
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-CDJw924T.js";
|
|
16
16
|
import { n as SILENT_REPLY_TOKEN } from "./tokens-C-X7wDKj.js";
|
|
17
17
|
import { a as resolveSessionTranscriptPathInDir, c as resolveStorePath, i as resolveSessionTranscriptPath, n as resolveSessionFilePath } from "./paths-CxRf2rBG.js";
|
|
@@ -11,7 +11,7 @@ import { t as formatCliCommand } from "./command-format-CVL4K5cj.js";
|
|
|
11
11
|
import { t as isTruthyEnvValue } from "./env-v6411I8h.js";
|
|
12
12
|
import { d as resolveHeartbeatPrompt } from "./lanes-BvSnHq2h.js";
|
|
13
13
|
import { i as loadConfig } from "./config-DaqbUdkI.js";
|
|
14
|
-
import { D as resolveAgentMainSessionKey, E as canonicalizeMainSessionAlias, I as normalizeChatType, N as buildGroupDisplayName, T as resolveFreshSessionTotalTokens, d as deliveryContextFromSession, h as normalizeSessionDeliveryFields, i as loadSessionStore, k as resolveMainSessionKey, l as updateSessionStore } from "./sessions-
|
|
14
|
+
import { D as resolveAgentMainSessionKey, E as canonicalizeMainSessionAlias, I as normalizeChatType, N as buildGroupDisplayName, T as resolveFreshSessionTotalTokens, d as deliveryContextFromSession, h as normalizeSessionDeliveryFields, i as loadSessionStore, k as resolveMainSessionKey, l as updateSessionStore } from "./sessions-DFMUAYeu.js";
|
|
15
15
|
import { r as getFileExtension, s as normalizeMimeType } from "./mime-C1RlpUSs.js";
|
|
16
16
|
import { n as SILENT_REPLY_TOKEN } from "./tokens-3psI_Qk2.js";
|
|
17
17
|
import { t as safeEqualSecret } from "./secret-equal-B268kALC.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.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-k2sMszH8.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: "Setup helpers"
|
|
22
22
|
}],
|
|
23
23
|
register: async ({ program }) => {
|
|
24
|
-
(await import("./register.setup-
|
|
24
|
+
(await import("./register.setup-B9ONmrmU.js")).registerSetupCommand(program);
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
{
|
|
@@ -30,7 +30,7 @@ const coreEntries = [
|
|
|
30
30
|
description: "Onboarding helpers"
|
|
31
31
|
}],
|
|
32
32
|
register: async ({ program }) => {
|
|
33
|
-
(await import("./register.onboard-
|
|
33
|
+
(await import("./register.onboard-CDsAPsux.js")).registerOnboardCommand(program);
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
{
|
|
@@ -39,7 +39,7 @@ const coreEntries = [
|
|
|
39
39
|
description: "Configure wizard"
|
|
40
40
|
}],
|
|
41
41
|
register: async ({ program }) => {
|
|
42
|
-
(await import("./register.configure-
|
|
42
|
+
(await import("./register.configure-CejGY_a2.js")).registerConfigureCommand(program);
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
45
|
{
|
|
@@ -48,7 +48,7 @@ const coreEntries = [
|
|
|
48
48
|
description: "Config helpers"
|
|
49
49
|
}],
|
|
50
50
|
register: async ({ program }) => {
|
|
51
|
-
(await import("./config-cli-
|
|
51
|
+
(await import("./config-cli-D4BM20Wb.js")).registerConfigCli(program);
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
54
|
{
|
|
@@ -71,7 +71,7 @@ const coreEntries = [
|
|
|
71
71
|
}
|
|
72
72
|
],
|
|
73
73
|
register: async ({ program }) => {
|
|
74
|
-
(await import("./register.maintenance-
|
|
74
|
+
(await import("./register.maintenance-BPXhlnI_.js")).registerMaintenanceCommands(program);
|
|
75
75
|
}
|
|
76
76
|
},
|
|
77
77
|
{
|
|
@@ -80,7 +80,7 @@ const coreEntries = [
|
|
|
80
80
|
description: "Send, read, and manage messages"
|
|
81
81
|
}],
|
|
82
82
|
register: async ({ program, ctx }) => {
|
|
83
|
-
(await import("./register.message-
|
|
83
|
+
(await import("./register.message-DMyXtvTa.js")).registerMessageCommands(program, ctx);
|
|
84
84
|
}
|
|
85
85
|
},
|
|
86
86
|
{
|
|
@@ -101,7 +101,7 @@ const coreEntries = [
|
|
|
101
101
|
description: "Manage isolated agents"
|
|
102
102
|
}],
|
|
103
103
|
register: async ({ program, ctx }) => {
|
|
104
|
-
(await import("./register.agent-
|
|
104
|
+
(await import("./register.agent-CKeGWucQ.js")).registerAgentCommands(program, { agentChannelOptions: ctx.agentChannelOptions });
|
|
105
105
|
}
|
|
106
106
|
},
|
|
107
107
|
{
|
|
@@ -120,7 +120,7 @@ const coreEntries = [
|
|
|
120
120
|
}
|
|
121
121
|
],
|
|
122
122
|
register: async ({ program }) => {
|
|
123
|
-
(await import("./register.status-health-sessions-
|
|
123
|
+
(await import("./register.status-health-sessions-mWqUj6vQ.js")).registerStatusHealthSessionsCommands(program);
|
|
124
124
|
}
|
|
125
125
|
},
|
|
126
126
|
{
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { $ as resolveStateDir, l as routeLogsToStderr } from "./entry.js";
|
|
3
3
|
import { h as pathExists } from "./utils-C9sj30YY.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-k2sMszH8.js";
|
|
5
|
+
import { n as getCoreCliCommandNames, r as registerCoreCliByName } from "./command-registry-ClvgG8A4.js";
|
|
6
6
|
import { t as getProgramContext } from "./program-context-Bvn8046-.js";
|
|
7
7
|
import os from "node:os";
|
|
8
8
|
import path from "node:path";
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { g as resolveStateDir } from "./paths-BMuHNFxg.js";
|
|
3
3
|
import { i as routeLogsToStderr } from "./subsystem-DfKstnEK.js";
|
|
4
4
|
import { g as pathExists } from "./utils-DZ8pnOD5.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-Ka3D9i7F.js";
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs/promises";
|
|
@@ -201,7 +201,7 @@ async function runConfigUnset(opts) {
|
|
|
201
201
|
}
|
|
202
202
|
function registerConfigCli(program) {
|
|
203
203
|
const cmd = program.command("config").description("Config helpers (get/set/unset). Run without subcommand for the wizard.").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) => {
|
|
204
|
-
const { CONFIGURE_WIZARD_SECTIONS, configureCommand, configureCommandWithSections, parseConfigureWizardSections } = await import("./configure-
|
|
204
|
+
const { CONFIGURE_WIZARD_SECTIONS, configureCommand, configureCommandWithSections, parseConfigureWizardSections } = await import("./configure-Dq6HFJZ_.js").then((n) => n.t);
|
|
205
205
|
const { sections, invalid } = parseConfigureWizardSections(opts.section);
|
|
206
206
|
if (sections.length === 0) {
|
|
207
207
|
await configureCommand(defaultRuntime);
|
|
@@ -204,7 +204,7 @@ async function runConfigUnset(opts) {
|
|
|
204
204
|
}
|
|
205
205
|
function registerConfigCli(program) {
|
|
206
206
|
const cmd = program.command("config").description("Config helpers (get/set/unset). Run without subcommand for the wizard.").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) => {
|
|
207
|
-
const { CONFIGURE_WIZARD_SECTIONS, configureCommand, configureCommandWithSections, parseConfigureWizardSections } = await import("./configure-
|
|
207
|
+
const { CONFIGURE_WIZARD_SECTIONS, configureCommand, configureCommandWithSections, parseConfigureWizardSections } = await import("./configure-CU6DuhJJ.js").then((n) => n.t);
|
|
208
208
|
const { sections, invalid } = parseConfigureWizardSections(opts.section);
|
|
209
209
|
if (sections.length === 0) {
|
|
210
210
|
await configureCommand(defaultRuntime);
|
|
@@ -3,7 +3,7 @@ import { A as colorize, Ct as shouldMigrateStateFromPath, M as theme, j as isRic
|
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-DAaqLG8J.js";
|
|
4
4
|
import { S as shortenHomePath } from "./utils-C9sj30YY.js";
|
|
5
5
|
import { o as readConfigFileSnapshot } from "./config-BeuAT94o.js";
|
|
6
|
-
import { t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-
|
|
6
|
+
import { t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-CemLoFO1.js";
|
|
7
7
|
|
|
8
8
|
//#region src/cli/program/config-guard.ts
|
|
9
9
|
var config_guard_exports = /* @__PURE__ */ __exportAll({ ensureConfigReady: () => ensureConfigReady });
|