@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
|
@@ -7,23 +7,23 @@ import { a as logDebug, c as logWarn, i as spawnWithFallback, n as runExec, r as
|
|
|
7
7
|
import { c as resolveDefaultAgentId, f as DEFAULT_AGENT_WORKSPACE_DIR, i as resolveAgentModelFallbacksOverride, l as resolveSessionAgentId, n as resolveAgentConfig, o as resolveAgentSkillsFilter, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds, u as resolveSessionAgentIds, x as ensureAgentWorkspace } from "./agent-scope-QT1urvJx.js";
|
|
8
8
|
import { _ as DEFAULT_MODEL, a as isCliProvider, c as normalizeProviderId, d as resolveConfiguredModelRef, f as resolveDefaultModelForAgent, g as DEFAULT_CONTEXT_TOKENS, h as resolveThinkingDefault, m as resolveModelRefFromString, o as modelKey, r as buildModelAliasIndex, t as buildAllowedModelSet, v as DEFAULT_PROVIDER } from "./model-selection-01zouBRC.js";
|
|
9
9
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-DgwvfEmd.js";
|
|
10
|
-
import { c as assertMediaNotDataUrl, l as assertSandboxPath, n as buildWorkspaceSkillCommandSpecs, r as buildWorkspaceSkillSnapshot, u as resolveSandboxedMediaSource } from "./skills-
|
|
10
|
+
import { c as assertMediaNotDataUrl, l as assertSandboxPath, n as buildWorkspaceSkillCommandSpecs, r as buildWorkspaceSkillSnapshot, u as resolveSandboxedMediaSource } from "./skills-C4C8s_X9.js";
|
|
11
11
|
import { a as applyTestPluginDefaults, c as resolveEnableState, l as resolveMemorySlotDecision, n as discoverAnimaPlugins, s as normalizePluginsConfig, t as loadPluginManifestRegistry } from "./manifest-registry-BHcAJo9u.js";
|
|
12
|
-
import { S as unsetConfigValueAtPath, _ as setConfigOverride, b as parseConfigPath, c as validateConfigObjectWithPlugins, f as parseDurationMs, g as resetConfigOverrides, h as getConfigOverrides, i as readConfigFileSnapshot, j as VERSION, n as loadConfig, o as resolveConfigSnapshotHash, p as validateJsonSchemaValue, s as writeConfigFile, v as unsetConfigOverride, x as setConfigValueAtPath, y as getConfigValueAtPath } from "./io-
|
|
12
|
+
import { S as unsetConfigValueAtPath, _ as setConfigOverride, b as parseConfigPath, c as validateConfigObjectWithPlugins, f as parseDurationMs, g as resetConfigOverrides, h as getConfigOverrides, i as readConfigFileSnapshot, j as VERSION, n as loadConfig, o as resolveConfigSnapshotHash, p as validateJsonSchemaValue, s as writeConfigFile, v as unsetConfigOverride, x as setConfigValueAtPath, y as getConfigValueAtPath } from "./io-iWIjWIkl.js";
|
|
13
13
|
import { i as resolveShellEnvFallbackTimeoutMs, n as getShellPathFromLoginShell } from "./shell-env-DAw9qXji.js";
|
|
14
14
|
import { At as SESSION_LABEL_MAX_LENGTH } from "./client-Dz6cszHd.js";
|
|
15
|
-
import { a as randomIdempotencyKey, n as callGateway } from "./call-
|
|
15
|
+
import { a as randomIdempotencyKey, n as callGateway } from "./call-CdAIguFD.js";
|
|
16
16
|
import { a as isInternalMessageChannel, c as listDeliverableMessageChannels, d as resolveMessageChannel, h as GATEWAY_CLIENT_NAMES, l as normalizeMessageChannel, m as GATEWAY_CLIENT_MODES, n as isDeliverableMessageChannel, o as isMarkdownCapableMessageChannel, p as GATEWAY_CLIENT_IDS, t as INTERNAL_MESSAGE_CHANNEL, u as resolveGatewayMessageChannel } from "./message-channel-BiajZfgz.js";
|
|
17
17
|
import { S as registerAgentRunContext, _ as waitForEmbeddedPiRunEnd, c as stripHeartbeatToken, d as compactEmbeddedPiSession, f as isEmbeddedPiRunActive, g as runEmbeddedPiAgent, h as resolveEmbeddedSessionLane, m as queueEmbeddedPiMessage, n as AGENT_LANE_NESTED, p as isEmbeddedPiRunStreaming, r as AGENT_LANE_SUBAGENT, t as resolveAgentTimeoutMs, u as abortEmbeddedPiRun, y as emitAgentEvent } from "./timeout-CXND7zJu.js";
|
|
18
|
-
import { D as listChannelDocks, E as getChannelDock, F as normalizeDeliveryContext, I as normalizeSessionDeliveryFields, O as resolveConversationLabel, S as resolveMainSessionKey, _ as DEFAULT_RESET_TRIGGERS, a as readSessionUpdatedAt, c as updateLastRoute, d as resolveSessionKey, f as evaluateSessionFreshness, g as resolveThreadFlag, h as resolveSessionResetType, i as loadSessionStore, j as resolveGroupSessionKey, k as normalizeChatType, l as updateSessionStore, m as resolveSessionResetPolicy, n as appendAssistantMessageToSessionTranscript, o as recordSessionMetaFromInbound, p as resolveChannelResetConfig, t as extractDeliveryInfo, u as updateSessionStoreEntry, v as resolveFreshSessionTotalTokens, w as deriveSessionMetaPatch } from "./sessions-
|
|
19
|
-
import { $ as skipDirectiveArgPrefix, A as enqueueFollowupRun, B as getQueueSize, C as resolveSessionReference, D as extractAssistantText, E as stripToolMessages, F as normalizeReplyPayload, G as logMessageProcessed, K as logMessageQueued, L as clearSessionQueues, M as scheduleFollowupDrain, N as isRoutableChannel, O as getSubagentDepthFromSessionStore, P as routeReply, Q as extractQueueDirective, R as clearCommandLane, S as resolveMainSessionAlias, T as shouldResolveSessionIdInput, X as emitDiagnosticEvent, Z as isDiagnosticsEnabled, _ as createAgentToAgentPolicy, b as resolveDisplaySessionKey, c as markSubagentRunTerminated, et as takeDirectiveToken, f as buildSubagentSystemPrompt, g as classifySessionKind, h as runAgentStep, j as getFollowupQueueDepth, k as resolveQueueSettings, l as registerSubagentRun, m as readLatestAssistantReply, o as listSubagentRunsForRequester, q as logSessionStateChange, r as countActiveRunsForSession, s as markSubagentRunForSteerRestart, t as clearSubagentRunSteerRestart, u as replaceSubagentRunAfterSteer, v as deriveChannel, w as sanitizeTextContent, x as resolveInternalSessionKey, y as extractAssistantText$1 } from "./subagent-registry-
|
|
18
|
+
import { D as listChannelDocks, E as getChannelDock, F as normalizeDeliveryContext, I as normalizeSessionDeliveryFields, O as resolveConversationLabel, S as resolveMainSessionKey, _ as DEFAULT_RESET_TRIGGERS, a as readSessionUpdatedAt, c as updateLastRoute, d as resolveSessionKey, f as evaluateSessionFreshness, g as resolveThreadFlag, h as resolveSessionResetType, i as loadSessionStore, j as resolveGroupSessionKey, k as normalizeChatType, l as updateSessionStore, m as resolveSessionResetPolicy, n as appendAssistantMessageToSessionTranscript, o as recordSessionMetaFromInbound, p as resolveChannelResetConfig, t as extractDeliveryInfo, u as updateSessionStoreEntry, v as resolveFreshSessionTotalTokens, w as deriveSessionMetaPatch } from "./sessions-B090A8HC.js";
|
|
19
|
+
import { $ as skipDirectiveArgPrefix, A as enqueueFollowupRun, B as getQueueSize, C as resolveSessionReference, D as extractAssistantText, E as stripToolMessages, F as normalizeReplyPayload, G as logMessageProcessed, K as logMessageQueued, L as clearSessionQueues, M as scheduleFollowupDrain, N as isRoutableChannel, O as getSubagentDepthFromSessionStore, P as routeReply, Q as extractQueueDirective, R as clearCommandLane, S as resolveMainSessionAlias, T as shouldResolveSessionIdInput, X as emitDiagnosticEvent, Z as isDiagnosticsEnabled, _ as createAgentToAgentPolicy, b as resolveDisplaySessionKey, c as markSubagentRunTerminated, et as takeDirectiveToken, f as buildSubagentSystemPrompt, g as classifySessionKind, h as runAgentStep, j as getFollowupQueueDepth, k as resolveQueueSettings, l as registerSubagentRun, m as readLatestAssistantReply, o as listSubagentRunsForRequester, q as logSessionStateChange, r as countActiveRunsForSession, s as markSubagentRunForSteerRestart, t as clearSubagentRunSteerRestart, u as replaceSubagentRunAfterSteer, v as deriveChannel, w as sanitizeTextContent, x as resolveInternalSessionKey, y as extractAssistantText$1 } from "./subagent-registry-Dc6tpkgu.js";
|
|
20
20
|
import { n as resolveEffectiveMessagesConfig, r as resolveHumanDelayConfig } from "./identity-CflMRbky.js";
|
|
21
21
|
import { n as listChannelPlugins, r as normalizeChannelId$1, t as getChannelPlugin } from "./plugins-zFmidMaf.js";
|
|
22
22
|
import { S as resolveBootstrapMaxChars, a as normalizeElevatedLevel, b as sanitizeUserFacingText, c as normalizeUsageDisplay, d as supportsXHighThinking, g as isContextOverflowError, h as isCompactionFailureError, l as normalizeVerboseLevel, n as formatXHighModelHint, o as normalizeReasoningLevel, s as normalizeThinkLevel, t as formatThinkingLevels, u as resolveResponseUsageMode, v as isLikelyContextOverflowError, y as isTransientHttpError } from "./pi-embedded-helpers-DzLrWN23.js";
|
|
23
|
-
import { _ as resolveToolProfilePolicy, a as ensureSandboxWorkspaceForSession, c as resolveSandboxConfigForAgent, d as applyOwnerOnlyToolPolicy, f as buildPluginToolGroups, g as normalizeToolName, m as expandPolicyWithPluginGroups, o as resolveSandboxRuntimeStatus, p as collectExplicitAllowlist, s as getBridgeAuthForPort, v as stripPluginOnlyAllowlist } from "./sandbox-
|
|
23
|
+
import { _ as resolveToolProfilePolicy, a as ensureSandboxWorkspaceForSession, c as resolveSandboxConfigForAgent, d as applyOwnerOnlyToolPolicy, f as buildPluginToolGroups, g as normalizeToolName, m as expandPolicyWithPluginGroups, o as resolveSandboxRuntimeStatus, p as collectExplicitAllowlist, s as getBridgeAuthForPort, v as stripPluginOnlyAllowlist } from "./sandbox-gSH3_12R.js";
|
|
24
24
|
import { x as DEFAULT_AI_SNAPSHOT_MAX_CHARS } from "./chrome-ghYAPiTX.js";
|
|
25
|
-
import { a as resolveBrowserConfig, h as resolveBrowserControlAuth } from "./server-context-
|
|
26
|
-
import { a as resolvePathsWithinRoot, i as DEFAULT_UPLOAD_DIR, n as getMediaDir, r as saveMediaBuffer } from "./routes-
|
|
25
|
+
import { a as resolveBrowserConfig, h as resolveBrowserControlAuth } from "./server-context-B0zBRUkt.js";
|
|
26
|
+
import { a as resolvePathsWithinRoot, i as DEFAULT_UPLOAD_DIR, n as getMediaDir, r as saveMediaBuffer } from "./routes-Cmc5ZQhi.js";
|
|
27
27
|
import { n as formatErrorMessage, r as formatUncaughtError, t as extractErrorCode } from "./errors-DWRVks6A.js";
|
|
28
28
|
import { a as resizeToJpeg, c as getFileExtension, d as kindFromMime, h as SsrFBlockedError, l as imageMimeFromFormat, m as mediaKindFromMime, n as getImageMetadata, o as detectMime, s as extensionForMime, u as isAudioFileName, v as isBlockedHostname, y as isPrivateIpAddress } from "./image-ops-O-_KYHXN.js";
|
|
29
29
|
import { c as resolveStorePath, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, r as resolveSessionFilePathOptions } from "./paths-BEkHcryg.js";
|
|
@@ -32,23 +32,23 @@ import { n as SILENT_REPLY_TOKEN, r as isSilentReplyText } from "./tokens-DCf522
|
|
|
32
32
|
import { a as readResponseWithLimit, c as fetchWithTimeout, f as normalizePollInput, i as fetchRemoteMedia, l as getActiveWebListener, m as resolveMarkdownTableMode, n as loadWebMedia, o as fetchWithSsrFGuard, p as convertMarkdownTables, r as MediaFetchError, s as bindAbortRelay, t as getDefaultLocalRoots } from "./media-BrtQHQhO.js";
|
|
33
33
|
import { a as chunkText, c as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, o as chunkTextWithMode, r as chunkMarkdownText, s as resolveChunkMode, t as chunkByNewline } from "./chunk-ChJt8EsD.js";
|
|
34
34
|
import { a as jsonResult, c as readStringArrayParam, i as imageResultFromFile, l as readStringParam, o as readNumberParam, r as imageResult } from "./common-BGjkU4kk.js";
|
|
35
|
-
import { n as createBrowserControlContext, r as startBrowserControlServiceFromConfig } from "./control-service-
|
|
36
|
-
import { $t as resolveUserTimezone, B as normalizeTtsAutoMode, Bt as applyModelOverrideToSessionEntry, D as unknownTargetError, E as ambiguousTargetError, F as getTtsProvider, Ft as ensureSkillsWatcher, H as resolveTtsAutoMode, I as isSummarizationEnabled, It as getSkillsSnapshotVersion, J as setTtsEnabled, Jt as findModelInCatalog, K as setLastTtsAttempt, L as isTtsEnabled, M as buildTtsSystemPromptHint, N as getLastTtsAttempt, O as runWithImageModelFallback, P as getTtsMaxLength, Q as textToSpeechTelephony, Qt as resolveUserTimeFormat, R as isTtsProviderConfigured, Rt as clearSessionAuthProfileOverride, T as resolveSessionDeliveryTarget, U as resolveTtsConfig, Ut as drainSystemEventEntries, V as resolveTtsApiKey, Vt as applyVerboseOverride, W as resolveTtsPrefsPath, Wt as enqueueSystemEvent, X as setTtsProvider, Xt as modelSupportsVision, Y as setTtsMaxLength, Yt as loadModelCatalog, Z as textToSpeech, Zt as formatUserTime, _ as capArrayByJsonBytes, a as buildAgentSystemPrompt, at as sanitizeBinaryOutput, dt as createInternalHookEvent, ft as registerInternalHook, g as archiveSessionTranscripts, it as killProcessTree, j as resolveBootstrapContextForRun, k as runWithModelFallback, lt as resolveSendPolicy, mt as getRemoteSkillEligibility, n as setCliSessionId, nt as isVoiceCompatibleAudio, o as buildSystemPromptParams, ot as requestHeartbeatNow, pt as triggerInternalHook, q as setSummarizationEnabled, r as runCliAgent, rt as getShellConfig, t as getCliSessionId, u as loadCombinedSessionStoreForGateway, w as resolveOutboundTarget, z as maybeApplyTtsToPayload, zt as resolveSessionAuthProfileOverride } from "./cli-session-
|
|
35
|
+
import { n as createBrowserControlContext, r as startBrowserControlServiceFromConfig } from "./control-service-BZzmO7c_.js";
|
|
36
|
+
import { $t as resolveUserTimezone, B as normalizeTtsAutoMode, Bt as applyModelOverrideToSessionEntry, D as unknownTargetError, E as ambiguousTargetError, F as getTtsProvider, Ft as ensureSkillsWatcher, H as resolveTtsAutoMode, I as isSummarizationEnabled, It as getSkillsSnapshotVersion, J as setTtsEnabled, Jt as findModelInCatalog, K as setLastTtsAttempt, L as isTtsEnabled, M as buildTtsSystemPromptHint, N as getLastTtsAttempt, O as runWithImageModelFallback, P as getTtsMaxLength, Q as textToSpeechTelephony, Qt as resolveUserTimeFormat, R as isTtsProviderConfigured, Rt as clearSessionAuthProfileOverride, T as resolveSessionDeliveryTarget, U as resolveTtsConfig, Ut as drainSystemEventEntries, V as resolveTtsApiKey, Vt as applyVerboseOverride, W as resolveTtsPrefsPath, Wt as enqueueSystemEvent, X as setTtsProvider, Xt as modelSupportsVision, Y as setTtsMaxLength, Yt as loadModelCatalog, Z as textToSpeech, Zt as formatUserTime, _ as capArrayByJsonBytes, a as buildAgentSystemPrompt, at as sanitizeBinaryOutput, dt as createInternalHookEvent, ft as registerInternalHook, g as archiveSessionTranscripts, it as killProcessTree, j as resolveBootstrapContextForRun, k as runWithModelFallback, lt as resolveSendPolicy, mt as getRemoteSkillEligibility, n as setCliSessionId, nt as isVoiceCompatibleAudio, o as buildSystemPromptParams, ot as requestHeartbeatNow, pt as triggerInternalHook, q as setSummarizationEnabled, r as runCliAgent, rt as getShellConfig, t as getCliSessionId, u as loadCombinedSessionStoreForGateway, w as resolveOutboundTarget, z as maybeApplyTtsToPayload, zt as resolveSessionAuthProfileOverride } from "./cli-session-CfTs7I9q.js";
|
|
37
37
|
import { i as resolveApiKeyForProvider, n as getCustomProviderApiKey, o as resolveEnvApiKey, r as requireApiKey, s as resolveModelAuthMode, t as getApiKeyForModel } from "./model-auth-ajey777y.js";
|
|
38
|
-
import { n as ensureAnimaModelsJson, t as lookupContextTokens } from "./context-
|
|
39
|
-
import { a as shouldHandleTextCommands, i as normalizeCommandBody, n as listChatCommands, r as listChatCommandsForConfig, t as parseTimeoutMs } from "./parse-timeout-
|
|
40
|
-
import { _ as throwIfAborted, b as initializeGlobalHookRunner, c as applyReplyThreading, d as shouldSuppressMessagingToolReplies, f as createReplyToModeFilterForChannel, g as normalizeTargetForProvider, h as normalizeChannelTargetInput, l as filterMessagingToolDuplicates, m as buildTargetResolverSignature, o as normalizeReplyPayloadsForDelivery, p as resolveReplyToMode, s as applyReplyTagsToPayload, t as deliverOutboundPayloads, u as isRenderablePayload, v as parseReplyDirectives, y as getGlobalHookRunner } from "./deliver-
|
|
41
|
-
import { a as resolveSubagentToolPolicy, c as addChannelAllowFromStoreEntry, d as upsertChannelPairingRequest, f as listPairingChannels, i as resolveGroupToolPolicy, l as readChannelAllowFromStore, n as isToolAllowedByPolicies, o as resolveChannelGroupPolicy, r as resolveEffectiveToolPolicy, s as resolveChannelGroupRequireMention, t as filterToolsByPolicy, u as removeChannelAllowFromStoreEntry } from "./pi-tools.policy-
|
|
38
|
+
import { n as ensureAnimaModelsJson, t as lookupContextTokens } from "./context-D3iu8n-R.js";
|
|
39
|
+
import { a as shouldHandleTextCommands, i as normalizeCommandBody, n as listChatCommands, r as listChatCommandsForConfig, t as parseTimeoutMs } from "./parse-timeout-BVEX2Lz1.js";
|
|
40
|
+
import { _ as throwIfAborted, b as initializeGlobalHookRunner, c as applyReplyThreading, d as shouldSuppressMessagingToolReplies, f as createReplyToModeFilterForChannel, g as normalizeTargetForProvider, h as normalizeChannelTargetInput, l as filterMessagingToolDuplicates, m as buildTargetResolverSignature, o as normalizeReplyPayloadsForDelivery, p as resolveReplyToMode, s as applyReplyTagsToPayload, t as deliverOutboundPayloads, u as isRenderablePayload, v as parseReplyDirectives, y as getGlobalHookRunner } from "./deliver-JdSpxDGI.js";
|
|
41
|
+
import { a as resolveSubagentToolPolicy, c as addChannelAllowFromStoreEntry, d as upsertChannelPairingRequest, f as listPairingChannels, i as resolveGroupToolPolicy, l as readChannelAllowFromStore, n as isToolAllowedByPolicies, o as resolveChannelGroupPolicy, r as resolveEffectiveToolPolicy, s as resolveChannelGroupRequireMention, t as filterToolsByPolicy, u as removeChannelAllowFromStoreEntry } from "./pi-tools.policy-B4I325aj.js";
|
|
42
42
|
import { a as minSecurity, c as recordAllowlistUse, d as resolveExecApprovalsFromFile, g as resolveSafeBins, h as evaluateShellAllowlist, i as maxAsk, l as requiresExecApproval, n as addAllowlistEntry, u as resolveExecApprovals, v as buildSafeBinsShellCommand, y as buildSafeShellCommand } from "./exec-approvals-WuHCaecR.js";
|
|
43
43
|
import { t as resolveNodeIdFromCandidates } from "./node-match-BHCCdrYx.js";
|
|
44
44
|
import { t as formatDurationCompact$1 } from "./format-duration-RY4rhz_Z.js";
|
|
45
45
|
import { a as deriveSessionTotalTokens, i as derivePromptTokens, o as hasNonzeroUsage, s as normalizeUsage } from "./transcript-tools-eKdQk_4S.js";
|
|
46
46
|
import { n as formatTimeAgo } from "./format-relative-D4GQsWlP.js";
|
|
47
47
|
import { i as resolveModelCostConfig, n as formatTokenCount$1, r as formatUsd, t as estimateUsageCost } from "./usage-format-D5snHLet.js";
|
|
48
|
-
import { i as resolveMemoryBackendConfig, n as registerMemoryCli, r as getMemorySearchManager } from "./memory-cli-
|
|
48
|
+
import { i as resolveMemoryBackendConfig, n as registerMemoryCli, r as getMemorySearchManager } from "./memory-cli-BIi9M09T.js";
|
|
49
49
|
import { n as resolveMemorySearchConfig } from "./manager-z25H5SAC.js";
|
|
50
50
|
import { a as logoutWeb, c as readWebSelfId, f as webAuthExists, i as logWebSelfId, n as getWebAuthAgeMs } from "./auth-store-6mqMhd96.js";
|
|
51
|
-
import { t as createBrowserRouteDispatcher } from "./dispatcher-
|
|
51
|
+
import { t as createBrowserRouteDispatcher } from "./dispatcher-B8eU53gY.js";
|
|
52
52
|
import { t as parseAbsoluteTimeMs } from "./parse-nANz-Y9N.js";
|
|
53
53
|
import { d as resolveGatewaySystemdServiceName, l as resolveGatewayLaunchAgentLabel } from "./constants-P5ZvbYA7.js";
|
|
54
54
|
import { n as loadCostUsageSummary, r as loadSessionCostSummary } from "./session-cost-usage-D2RKVFwJ.js";
|
|
@@ -10656,7 +10656,7 @@ function createWhatsAppLoginTool() {
|
|
|
10656
10656
|
force: Type.Optional(Type.Boolean())
|
|
10657
10657
|
}),
|
|
10658
10658
|
execute: async (_toolCallId, args) => {
|
|
10659
|
-
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-
|
|
10659
|
+
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-hjfbYYQE.js");
|
|
10660
10660
|
if ((args?.action ?? "start") === "wait") {
|
|
10661
10661
|
const result = await waitForWebLogin({ timeoutMs: typeof args.timeoutMs === "number" ? args.timeoutMs : void 0 });
|
|
10662
10662
|
return {
|
|
@@ -11102,23 +11102,23 @@ let webLoginQrPromise = null;
|
|
|
11102
11102
|
let webChannelPromise = null;
|
|
11103
11103
|
let whatsappActionsPromise = null;
|
|
11104
11104
|
function loadWebOutbound() {
|
|
11105
|
-
webOutboundPromise ??= import("./outbound-
|
|
11105
|
+
webOutboundPromise ??= import("./outbound-DbFD3d8r.js").then((n) => n.t);
|
|
11106
11106
|
return webOutboundPromise;
|
|
11107
11107
|
}
|
|
11108
11108
|
function loadWebLogin() {
|
|
11109
|
-
webLoginPromise ??= import("./login-
|
|
11109
|
+
webLoginPromise ??= import("./login-yr3VtZqb.js").then((n) => n.n);
|
|
11110
11110
|
return webLoginPromise;
|
|
11111
11111
|
}
|
|
11112
11112
|
function loadWebLoginQr() {
|
|
11113
|
-
webLoginQrPromise ??= import("./login-qr-
|
|
11113
|
+
webLoginQrPromise ??= import("./login-qr-hjfbYYQE.js");
|
|
11114
11114
|
return webLoginQrPromise;
|
|
11115
11115
|
}
|
|
11116
11116
|
function loadWebChannel() {
|
|
11117
|
-
webChannelPromise ??= import("./web-
|
|
11117
|
+
webChannelPromise ??= import("./web-CXb6AGwW.js");
|
|
11118
11118
|
return webChannelPromise;
|
|
11119
11119
|
}
|
|
11120
11120
|
function loadWhatsAppActions() {
|
|
11121
|
-
whatsappActionsPromise ??= import("./whatsapp-actions-
|
|
11121
|
+
whatsappActionsPromise ??= import("./whatsapp-actions-D5Kl_XTd.js");
|
|
11122
11122
|
return whatsappActionsPromise;
|
|
11123
11123
|
}
|
|
11124
11124
|
function createPluginRuntime() {
|
|
@@ -28703,7 +28703,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
28703
28703
|
return;
|
|
28704
28704
|
}
|
|
28705
28705
|
try {
|
|
28706
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
28706
|
+
const { deliverOutboundPayloads } = await import("./deliver-JdSpxDGI.js").then((n) => n.n);
|
|
28707
28707
|
await deliverOutboundPayloads({
|
|
28708
28708
|
cfg: params.cfg,
|
|
28709
28709
|
channel,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { I as extractShortModelName } from "./subagent-registry-
|
|
1
|
+
import { I as extractShortModelName } from "./subagent-registry-Dc6tpkgu.js";
|
|
2
2
|
import { i as resolveIdentityName, n as resolveEffectiveMessagesConfig } from "./identity-CflMRbky.js";
|
|
3
|
-
import { xt as CURRENT_MESSAGE_MARKER } from "./reply-
|
|
3
|
+
import { xt as CURRENT_MESSAGE_MARKER } from "./reply-CDFwIHRO.js";
|
|
4
4
|
|
|
5
5
|
//#region src/auto-reply/reply/history.ts
|
|
6
6
|
const HISTORY_CONTEXT_MARKER = "[Chat messages since your last reply - for context]";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Q as resolvePreferredAnimaTmpDir, a as parseBooleanValue } from "./entry.js";
|
|
2
2
|
import { g as resolveConfigDir } from "./utils-DwcweD55.js";
|
|
3
|
-
import { n as loadConfig, s as writeConfigFile } from "./io-
|
|
3
|
+
import { n as loadConfig, s as writeConfigFile } from "./io-iWIjWIkl.js";
|
|
4
4
|
import { T as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, a as resolveAnimaUserDataDir, b as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, c as captureScreenshot, f as snapshotAria, s as resolveBrowserExecutableForPlatform, x as DEFAULT_AI_SNAPSHOT_MAX_CHARS, y as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH } from "./chrome-ghYAPiTX.js";
|
|
5
|
-
import { c as allocateColor, d as isValidProfileName, f as deriveDefaultBrowserCdpPortRange, i as parseHttpUrl, l as getUsedColors, o as resolveProfile, p as getPwAiModule$1, r as movePathToTrash, s as allocateCdpPort, u as getUsedPorts } from "./server-context-
|
|
5
|
+
import { c as allocateColor, d as isValidProfileName, f as deriveDefaultBrowserCdpPortRange, i as parseHttpUrl, l as getUsedColors, o as resolveProfile, p as getPwAiModule$1, r as movePathToTrash, s as allocateCdpPort, u as getUsedPorts } from "./server-context-B0zBRUkt.js";
|
|
6
6
|
import { a as resizeToJpeg, n as getImageMetadata, o as detectMime, s as extensionForMime } from "./image-ops-O-_KYHXN.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs, { createWriteStream } from "node:fs";
|
|
@@ -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 { M as loadDotEnv, j as VERSION } from "./io-
|
|
12
|
+
import { M as loadDotEnv, j as VERSION } 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 { r as formatUncaughtError } from "./errors-DWRVks6A.js";
|
|
30
30
|
import "./image-ops-O-_KYHXN.js";
|
|
31
31
|
import "./ports-D7xIe6xi.js";
|
|
@@ -35,15 +35,15 @@ import "./tokens-DCf522am.js";
|
|
|
35
35
|
import "./media-BrtQHQhO.js";
|
|
36
36
|
import "./chunk-ChJt8EsD.js";
|
|
37
37
|
import "./common-BGjkU4kk.js";
|
|
38
|
-
import "./control-service-
|
|
39
|
-
import "./cli-session-
|
|
40
|
-
import { wt as installUnhandledRejectionHandler } from "./reply-
|
|
38
|
+
import "./control-service-BZzmO7c_.js";
|
|
39
|
+
import "./cli-session-CfTs7I9q.js";
|
|
40
|
+
import { wt as installUnhandledRejectionHandler } from "./reply-CDFwIHRO.js";
|
|
41
41
|
import "./model-auth-ajey777y.js";
|
|
42
|
-
import "./context-
|
|
43
|
-
import "./parse-timeout-
|
|
44
|
-
import "./deliver-
|
|
45
|
-
import "./pi-tools.policy-
|
|
46
|
-
import "./memory-cli-
|
|
42
|
+
import "./context-D3iu8n-R.js";
|
|
43
|
+
import "./parse-timeout-BVEX2Lz1.js";
|
|
44
|
+
import "./deliver-JdSpxDGI.js";
|
|
45
|
+
import "./pi-tools.policy-B4I325aj.js";
|
|
46
|
+
import "./memory-cli-BIi9M09T.js";
|
|
47
47
|
import "./manager-z25H5SAC.js";
|
|
48
48
|
import "./sqlite-B5LCMIbh.js";
|
|
49
49
|
import "./redact-Bk0VS_m7.js";
|
|
@@ -55,7 +55,7 @@ import "./links-DtaFNkkY.js";
|
|
|
55
55
|
import "./progress-IbQIsvcD.js";
|
|
56
56
|
import "./logging-DhWghNIK.js";
|
|
57
57
|
import "./auth-store-6mqMhd96.js";
|
|
58
|
-
import "./dispatcher-
|
|
58
|
+
import "./dispatcher-B8eU53gY.js";
|
|
59
59
|
import "./delivery-queue-bafdRh4B.js";
|
|
60
60
|
import "./session-cost-usage-D2RKVFwJ.js";
|
|
61
61
|
import "./accounts-D_Or1tM0.js";
|
|
@@ -65,10 +65,10 @@ import "./prompt-style-CtqNME6o.js";
|
|
|
65
65
|
import "./catalog-BLrEgoPa.js";
|
|
66
66
|
import "./plugin-auto-enable-BTi8mF_C.js";
|
|
67
67
|
import "./note-BwhOxUoJ.js";
|
|
68
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
69
|
-
import { t as emitCliBanner } from "./banner-
|
|
70
|
-
import "./doctor-config-flow-
|
|
71
|
-
import { n as ensureConfigReady } from "./config-guard-
|
|
68
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-SWpB3D-5.js";
|
|
69
|
+
import { t as emitCliBanner } from "./banner-7w2BYzBm.js";
|
|
70
|
+
import "./doctor-config-flow-D-6JwPG8.js";
|
|
71
|
+
import { n as ensureConfigReady } from "./config-guard-CLE9lMNz.js";
|
|
72
72
|
import process$1 from "node:process";
|
|
73
73
|
import { fileURLToPath } from "node:url";
|
|
74
74
|
|
|
@@ -81,7 +81,7 @@ const routeHealth = {
|
|
|
81
81
|
const verbose = getVerboseFlag(argv, { includeDebug: true });
|
|
82
82
|
const timeoutMs = getPositiveIntFlagValue(argv, "--timeout");
|
|
83
83
|
if (timeoutMs === null) return false;
|
|
84
|
-
const { healthCommand } = await import("./health-
|
|
84
|
+
const { healthCommand } = await import("./health-DHDWvsfA.js").then((n) => n.i);
|
|
85
85
|
await healthCommand({
|
|
86
86
|
json,
|
|
87
87
|
timeoutMs,
|
|
@@ -101,7 +101,7 @@ const routeStatus = {
|
|
|
101
101
|
const verbose = getVerboseFlag(argv, { includeDebug: true });
|
|
102
102
|
const timeoutMs = getPositiveIntFlagValue(argv, "--timeout");
|
|
103
103
|
if (timeoutMs === null) return false;
|
|
104
|
-
const { statusCommand } = await import("./status-
|
|
104
|
+
const { statusCommand } = await import("./status-BrCv8UvC.js").then((n) => n.t);
|
|
105
105
|
await statusCommand({
|
|
106
106
|
json,
|
|
107
107
|
deep,
|
|
@@ -121,7 +121,7 @@ const routeSessions = {
|
|
|
121
121
|
if (store === null) return false;
|
|
122
122
|
const active = getFlagValue(argv, "--active");
|
|
123
123
|
if (active === null) return false;
|
|
124
|
-
const { sessionsCommand } = await import("./sessions-
|
|
124
|
+
const { sessionsCommand } = await import("./sessions-Bm1ebRIk.js").then((n) => n.n);
|
|
125
125
|
await sessionsCommand({
|
|
126
126
|
json,
|
|
127
127
|
store,
|
|
@@ -135,7 +135,7 @@ const routeAgentsList = {
|
|
|
135
135
|
run: async (argv) => {
|
|
136
136
|
const json = hasFlag(argv, "--json");
|
|
137
137
|
const bindings = hasFlag(argv, "--bindings");
|
|
138
|
-
const { agentsListCommand } = await import("./agents-
|
|
138
|
+
const { agentsListCommand } = await import("./agents-CC7YooRa.js").then((n) => n.t);
|
|
139
139
|
await agentsListCommand({
|
|
140
140
|
json,
|
|
141
141
|
bindings
|
|
@@ -152,7 +152,7 @@ const routeMemoryStatus = {
|
|
|
152
152
|
const deep = hasFlag(argv, "--deep");
|
|
153
153
|
const index = hasFlag(argv, "--index");
|
|
154
154
|
const verbose = hasFlag(argv, "--verbose");
|
|
155
|
-
const { runMemoryStatus } = await import("./memory-cli-
|
|
155
|
+
const { runMemoryStatus } = await import("./memory-cli-BIi9M09T.js").then((n) => n.t);
|
|
156
156
|
await runMemoryStatus({
|
|
157
157
|
agent,
|
|
158
158
|
json,
|
|
@@ -206,7 +206,7 @@ const routes = [
|
|
|
206
206
|
const pathArg = getCommandPositionals(argv)[2];
|
|
207
207
|
if (!pathArg) return false;
|
|
208
208
|
const json = hasFlag(argv, "--json");
|
|
209
|
-
const { runConfigGet } = await import("./config-cli-
|
|
209
|
+
const { runConfigGet } = await import("./config-cli-AUXa07PR.js");
|
|
210
210
|
await runConfigGet({
|
|
211
211
|
path: pathArg,
|
|
212
212
|
json
|
|
@@ -219,7 +219,7 @@ const routes = [
|
|
|
219
219
|
run: async (argv) => {
|
|
220
220
|
const pathArg = getCommandPositionals(argv)[2];
|
|
221
221
|
if (!pathArg) return false;
|
|
222
|
-
const { runConfigUnset } = await import("./config-cli-
|
|
222
|
+
const { runConfigUnset } = await import("./config-cli-AUXa07PR.js");
|
|
223
223
|
await runConfigUnset({ path: pathArg });
|
|
224
224
|
return true;
|
|
225
225
|
}
|
|
@@ -233,7 +233,7 @@ const routes = [
|
|
|
233
233
|
const local = hasFlag(argv, "--local");
|
|
234
234
|
const json = hasFlag(argv, "--json");
|
|
235
235
|
const plain = hasFlag(argv, "--plain");
|
|
236
|
-
const { modelsListCommand } = await import("./models-
|
|
236
|
+
const { modelsListCommand } = await import("./models-B-eLP2W_.js");
|
|
237
237
|
await modelsListCommand({
|
|
238
238
|
all,
|
|
239
239
|
local,
|
|
@@ -264,7 +264,7 @@ const routes = [
|
|
|
264
264
|
const plain = hasFlag(argv, "--plain");
|
|
265
265
|
const check = hasFlag(argv, "--check");
|
|
266
266
|
const probe = hasFlag(argv, "--probe");
|
|
267
|
-
const { modelsStatusCommand } = await import("./models-
|
|
267
|
+
const { modelsStatusCommand } = await import("./models-B-eLP2W_.js");
|
|
268
268
|
await modelsStatusCommand({
|
|
269
269
|
json,
|
|
270
270
|
plain,
|
|
@@ -342,7 +342,7 @@ async function runCli(argv = process$1.argv) {
|
|
|
342
342
|
assertSupportedRuntime();
|
|
343
343
|
if (await tryRouteCli(normalizedArgv)) return;
|
|
344
344
|
enableConsoleCapture();
|
|
345
|
-
const { buildProgram } = await import("./program-
|
|
345
|
+
const { buildProgram } = await import("./program-ufvQ9_i3.js");
|
|
346
346
|
const program = buildProgram();
|
|
347
347
|
installUnhandledRejectionHandler();
|
|
348
348
|
process$1.on("uncaughtException", (error) => {
|
|
@@ -355,10 +355,10 @@ async function runCli(argv = process$1.argv) {
|
|
|
355
355
|
const { getProgramContext } = await import("./program-context-KVifve7K.js").then((n) => n.n);
|
|
356
356
|
const ctx = getProgramContext(program);
|
|
357
357
|
if (ctx) {
|
|
358
|
-
const { registerCoreCliByName } = await import("./command-registry-
|
|
358
|
+
const { registerCoreCliByName } = await import("./command-registry-BOtCwS6q.js").then((n) => n.t);
|
|
359
359
|
await registerCoreCliByName(program, ctx, primary, parseArgv);
|
|
360
360
|
}
|
|
361
|
-
const { registerSubCliByName } = await import("./register.subclis-
|
|
361
|
+
const { registerSubCliByName } = await import("./register.subclis-Cb-XMz3t.js").then((n) => n.i);
|
|
362
362
|
await registerSubCliByName(program, primary);
|
|
363
363
|
}
|
|
364
364
|
if (!shouldSkipPluginCommandRegistration({
|
|
@@ -366,8 +366,8 @@ async function runCli(argv = process$1.argv) {
|
|
|
366
366
|
primary,
|
|
367
367
|
hasBuiltinPrimary: primary !== null && program.commands.some((command) => command.name() === primary)
|
|
368
368
|
})) {
|
|
369
|
-
const { registerPluginCliCommands } = await import("./cli-
|
|
370
|
-
const { loadConfig } = await import("./config-
|
|
369
|
+
const { registerPluginCliCommands } = await import("./cli-qFdAHCu_.js");
|
|
370
|
+
const { loadConfig } = await import("./config-BqjdiIqb.js").then((n) => n.t);
|
|
371
371
|
registerPluginCliCommands(program, loadConfig());
|
|
372
372
|
}
|
|
373
373
|
await program.parseAsync(parseArgv);
|
|
@@ -5,19 +5,19 @@ import "./utils-DwcweD55.js";
|
|
|
5
5
|
import "./exec-Dmz2Tr6K.js";
|
|
6
6
|
import { n as resolveAgentConfig } from "./agent-scope-QT1urvJx.js";
|
|
7
7
|
import "./model-selection-01zouBRC.js";
|
|
8
|
-
import "./skills-
|
|
8
|
+
import "./skills-C4C8s_X9.js";
|
|
9
9
|
import "./manifest-registry-BHcAJo9u.js";
|
|
10
|
-
import { n as loadConfig } from "./io-
|
|
10
|
+
import { n as loadConfig } from "./io-iWIjWIkl.js";
|
|
11
11
|
import "./shell-env-DAw9qXji.js";
|
|
12
|
-
import "./config-
|
|
12
|
+
import "./config-BqjdiIqb.js";
|
|
13
13
|
import { t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-BiajZfgz.js";
|
|
14
|
-
import { S as resolveMainSessionKey, b as resolveAgentMainSessionKey, i as loadSessionStore } from "./sessions-
|
|
14
|
+
import { S as resolveMainSessionKey, b as resolveAgentMainSessionKey, i as loadSessionStore } from "./sessions-B090A8HC.js";
|
|
15
15
|
import "./plugins-zFmidMaf.js";
|
|
16
|
-
import { c as resolveSandboxConfigForAgent, i as removeSandboxContainer, n as listSandboxContainers, r as removeSandboxBrowserContainer, t as listSandboxBrowsers, u as resolveSandboxToolPolicyForAgent } from "./sandbox-
|
|
16
|
+
import { c as resolveSandboxConfigForAgent, i as removeSandboxContainer, n as listSandboxContainers, r as removeSandboxBrowserContainer, t as listSandboxBrowsers, u as resolveSandboxToolPolicyForAgent } from "./sandbox-gSH3_12R.js";
|
|
17
17
|
import "./chrome-ghYAPiTX.js";
|
|
18
18
|
import "./auth-FzNxH03k.js";
|
|
19
|
-
import "./server-context-
|
|
20
|
-
import "./routes-
|
|
19
|
+
import "./server-context-B0zBRUkt.js";
|
|
20
|
+
import "./routes-Cmc5ZQhi.js";
|
|
21
21
|
import "./image-ops-O-_KYHXN.js";
|
|
22
22
|
import "./ports-D7xIe6xi.js";
|
|
23
23
|
import { c as resolveStorePath } from "./paths-BEkHcryg.js";
|
|
@@ -2,9 +2,9 @@ import { $ as CHANNEL_IDS, B as STATE_DIR, h as defaultRuntime } from "./entry.j
|
|
|
2
2
|
import { d as resolveAgentIdFromSessionKey, l as normalizeAgentId } from "./session-key-DP2WHl90.js";
|
|
3
3
|
import { y as resolveUserPath } from "./utils-DwcweD55.js";
|
|
4
4
|
import { b as DEFAULT_USER_FILENAME, d as DEFAULT_AGENTS_FILENAME, f as DEFAULT_AGENT_WORKSPACE_DIR, h as DEFAULT_IDENTITY_FILENAME, l as resolveSessionAgentId, m as DEFAULT_HEARTBEAT_FILENAME, n as resolveAgentConfig, p as DEFAULT_BOOTSTRAP_FILENAME, v as DEFAULT_SOUL_FILENAME, x as ensureAgentWorkspace, y as DEFAULT_TOOLS_FILENAME } from "./agent-scope-QT1urvJx.js";
|
|
5
|
-
import { a as syncSkillsToWorkspace } from "./skills-
|
|
6
|
-
import { n as loadConfig } from "./io-
|
|
7
|
-
import { b as resolveAgentMainSessionKey, y as canonicalizeMainSessionAlias } from "./sessions-
|
|
5
|
+
import { a as syncSkillsToWorkspace } from "./skills-C4C8s_X9.js";
|
|
6
|
+
import { n as loadConfig } from "./io-iWIjWIkl.js";
|
|
7
|
+
import { b as resolveAgentMainSessionKey, y as canonicalizeMainSessionAlias } from "./sessions-B090A8HC.js";
|
|
8
8
|
import { spawn } from "node:child_process";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import fs from "node:fs/promises";
|
|
@@ -6,28 +6,28 @@ import { n as runExec } from "./exec-Dmz2Tr6K.js";
|
|
|
6
6
|
import { c as resolveDefaultAgentId } from "./agent-scope-QT1urvJx.js";
|
|
7
7
|
import "./model-selection-01zouBRC.js";
|
|
8
8
|
import "./file-lock-CxXn285m.js";
|
|
9
|
-
import "./skills-
|
|
9
|
+
import "./skills-C4C8s_X9.js";
|
|
10
10
|
import "./manifest-registry-BHcAJo9u.js";
|
|
11
|
-
import { n as loadConfig, t as createConfigIO } from "./io-
|
|
11
|
+
import { n as loadConfig, t as createConfigIO } from "./io-iWIjWIkl.js";
|
|
12
12
|
import "./shell-env-DAw9qXji.js";
|
|
13
|
-
import "./config-
|
|
13
|
+
import "./config-BqjdiIqb.js";
|
|
14
14
|
import "./client-Dz6cszHd.js";
|
|
15
|
-
import "./call-
|
|
15
|
+
import "./call-CdAIguFD.js";
|
|
16
16
|
import "./message-channel-BiajZfgz.js";
|
|
17
|
-
import "./sessions-
|
|
17
|
+
import "./sessions-B090A8HC.js";
|
|
18
18
|
import "./plugins-zFmidMaf.js";
|
|
19
|
-
import "./sandbox-
|
|
19
|
+
import "./sandbox-gSH3_12R.js";
|
|
20
20
|
import "./chrome-ghYAPiTX.js";
|
|
21
21
|
import "./auth-FzNxH03k.js";
|
|
22
|
-
import "./server-context-
|
|
23
|
-
import "./routes-
|
|
22
|
+
import "./server-context-B0zBRUkt.js";
|
|
23
|
+
import "./routes-Cmc5ZQhi.js";
|
|
24
24
|
import "./image-ops-O-_KYHXN.js";
|
|
25
25
|
import "./ports-D7xIe6xi.js";
|
|
26
26
|
import "./paths-BEkHcryg.js";
|
|
27
|
-
import { l as readChannelAllowFromStore } from "./pi-tools.policy-
|
|
27
|
+
import { l as readChannelAllowFromStore } from "./pi-tools.policy-B4I325aj.js";
|
|
28
28
|
import { t as formatDocsLink } from "./links-DtaFNkkY.js";
|
|
29
29
|
import "./dangerous-tools-CXYGWh3b.js";
|
|
30
|
-
import { i as collectIncludePathsRecursive, n as createIcaclsResetCommand, r as formatIcaclsResetCommand, t as runSecurityAudit } from "./audit-
|
|
30
|
+
import { i as collectIncludePathsRecursive, n as createIcaclsResetCommand, r as formatIcaclsResetCommand, t as runSecurityAudit } from "./audit-DTa_eoCX.js";
|
|
31
31
|
import "./skill-scanner-CPBwCQc4.js";
|
|
32
32
|
import path from "node:path";
|
|
33
33
|
import fs from "node:fs/promises";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { q as resolveGatewayPort } from "./entry.js";
|
|
2
2
|
import { n as runExec } from "./exec-Dmz2Tr6K.js";
|
|
3
|
-
import { n as loadConfig, s as writeConfigFile, t as createConfigIO } from "./io-
|
|
3
|
+
import { n as loadConfig, s as writeConfigFile, t as createConfigIO } from "./io-iWIjWIkl.js";
|
|
4
4
|
import { n as isLoopbackHost } from "./net-BnxQUp32.js";
|
|
5
5
|
import { C as DEFAULT_ANIMA_BROWSER_ENABLED, E as DEFAULT_BROWSER_EVALUATE_ENABLED, S as DEFAULT_ANIMA_BROWSER_COLOR, T as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, _ as ensureChromeExtensionRelayServer, a as resolveAnimaUserDataDir, d as normalizeCdpWsUrl, h as getHeadersWithAuth, i as launchAnimaChrome, l as createTargetViaCdp, n as isChromeCdpReady, o as stopAnimaChrome, p as appendCdpPath, r as isChromeReachable, v as stopChromeExtensionRelayServer, w as DEFAULT_ANIMA_BROWSER_PROFILE_NAME } from "./chrome-ghYAPiTX.js";
|
|
6
6
|
import { i as resolveGatewayAuth } from "./auth-FzNxH03k.js";
|
|
@@ -7,36 +7,36 @@ import "./agent-scope-QT1urvJx.js";
|
|
|
7
7
|
import "./model-selection-01zouBRC.js";
|
|
8
8
|
import "./file-lock-CxXn285m.js";
|
|
9
9
|
import "./agent-paths-CrZhIsTW.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 "./message-channel-BiajZfgz.js";
|
|
16
16
|
import "./timeout-CXND7zJu.js";
|
|
17
|
-
import { l as updateSessionStore } from "./sessions-
|
|
17
|
+
import { l as updateSessionStore } from "./sessions-B090A8HC.js";
|
|
18
18
|
import { r as normalizeChannelId } from "./plugins-zFmidMaf.js";
|
|
19
19
|
import "./pi-embedded-helpers-DzLrWN23.js";
|
|
20
|
-
import "./sandbox-
|
|
20
|
+
import "./sandbox-gSH3_12R.js";
|
|
21
21
|
import "./chrome-ghYAPiTX.js";
|
|
22
22
|
import "./auth-FzNxH03k.js";
|
|
23
|
-
import "./server-context-
|
|
24
|
-
import "./routes-
|
|
23
|
+
import "./server-context-B0zBRUkt.js";
|
|
24
|
+
import "./routes-Cmc5ZQhi.js";
|
|
25
25
|
import "./image-ops-O-_KYHXN.js";
|
|
26
26
|
import "./ports-D7xIe6xi.js";
|
|
27
27
|
import "./paths-BEkHcryg.js";
|
|
28
28
|
import "./tool-images-Dny5tC-K.js";
|
|
29
29
|
import "./tokens-DCf522am.js";
|
|
30
30
|
import "./chunk-ChJt8EsD.js";
|
|
31
|
-
import { Wt as enqueueSystemEvent, d as loadSessionEntry, f as pruneLegacyStoreKeys, ot as requestHeartbeatNow, p as resolveGatewaySessionStoreTarget } from "./cli-session-
|
|
31
|
+
import { Wt as enqueueSystemEvent, d as loadSessionEntry, f as pruneLegacyStoreKeys, ot as requestHeartbeatNow, p as resolveGatewaySessionStoreTarget } from "./cli-session-CfTs7I9q.js";
|
|
32
32
|
import "./model-auth-ajey777y.js";
|
|
33
|
-
import "./context-
|
|
34
|
-
import "./deliver-
|
|
33
|
+
import "./context-D3iu8n-R.js";
|
|
34
|
+
import "./deliver-JdSpxDGI.js";
|
|
35
35
|
import "./redact-Bk0VS_m7.js";
|
|
36
36
|
import "./logging-DhWghNIK.js";
|
|
37
37
|
import "./auth-store-6mqMhd96.js";
|
|
38
38
|
import "./delivery-queue-bafdRh4B.js";
|
|
39
|
-
import { t as agentCommand } from "./agent-
|
|
39
|
+
import { t as agentCommand } from "./agent-D67QJfSA.js";
|
|
40
40
|
import { t as formatForLog } from "./ws-log-uqDziz98.js";
|
|
41
41
|
import { randomUUID } from "node:crypto";
|
|
42
42
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as resolveGatewaySystemdServiceName, f as resolveGatewayWindowsTaskName, l as resolveGatewayLaunchAgentLabel, n as GATEWAY_SERVICE_KIND, r as GATEWAY_SERVICE_MARKER } from "./constants-P5ZvbYA7.js";
|
|
2
|
-
import { c as getMinimalServicePathPartsFromEnv, l as isSystemNodePath, m as resolveSystemNodePath, u as isVersionManagedNodePath } from "./daemon-runtime-
|
|
2
|
+
import { c as getMinimalServicePathPartsFromEnv, l as isSystemNodePath, m as resolveSystemNodePath, u as isVersionManagedNodePath } from "./daemon-runtime-RjPFjiQt.js";
|
|
3
3
|
import { o as resolveSystemdUserUnitPath } from "./systemd-DMnpU3vJ.js";
|
|
4
4
|
import { c as resolveLaunchAgentPlistPath, n as execSchtasks } from "./service-Df_H0-VH.js";
|
|
5
5
|
import path from "node:path";
|
|
@@ -2,7 +2,7 @@ import { i as __toESM, n as __exportAll, r as __require, t as __commonJSMin } fr
|
|
|
2
2
|
import { I as toPinoLikeLogger, N as getChildLogger, O as success, b as danger } from "./entry.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-B9HGdNTg.js";
|
|
4
4
|
import { s as ensureDir, y as resolveUserPath } from "./utils-DwcweD55.js";
|
|
5
|
-
import { j as VERSION } from "./io-
|
|
5
|
+
import { j as VERSION } from "./io-iWIjWIkl.js";
|
|
6
6
|
import { d as resolveWebCredsPath, l as resolveDefaultWebAuthDir, o as maybeRestoreCredsFromBackup, u as resolveWebCredsBackupPath } from "./auth-store-6mqMhd96.js";
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
import { promisify } from "util";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { et as CHAT_CHANNEL_ORDER, it as getChatChannelMeta, o as createSubsystemLogger, ut as requireActivePluginRegistry } from "./entry.js";
|
|
2
2
|
import { i as buildAgentMainSessionKey, l as normalizeAgentId, n as DEFAULT_AGENT_ID, u as normalizeMainKey } from "./session-key-DP2WHl90.js";
|
|
3
3
|
import { m as normalizeE164 } from "./utils-DwcweD55.js";
|
|
4
|
-
import { f as parseDurationMs, n as loadConfig, u as parseByteSize } from "./io-
|
|
4
|
+
import { f as parseDurationMs, n as loadConfig, u as parseByteSize } from "./io-iWIjWIkl.js";
|
|
5
5
|
import { c as listDeliverableMessageChannels, l as normalizeMessageChannel } from "./message-channel-BiajZfgz.js";
|
|
6
6
|
import { r as normalizeChannelId } from "./plugins-zFmidMaf.js";
|
|
7
7
|
import { c as resolveStorePath, n as resolveSessionFilePath, t as resolveDefaultSessionStorePath } from "./paths-BEkHcryg.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as __exportAll } from "./chunk-BXK9XSlF.js";
|
|
2
2
|
import { M as theme, j as isRich, x as info } from "./entry.js";
|
|
3
3
|
import { _ as DEFAULT_MODEL, d as resolveConfiguredModelRef, g as DEFAULT_CONTEXT_TOKENS, v as DEFAULT_PROVIDER } from "./model-selection-01zouBRC.js";
|
|
4
|
-
import { n as loadConfig } from "./io-
|
|
5
|
-
import { i as loadSessionStore, v as resolveFreshSessionTotalTokens } from "./sessions-
|
|
4
|
+
import { n as loadConfig } from "./io-iWIjWIkl.js";
|
|
5
|
+
import { i as loadSessionStore, v as resolveFreshSessionTotalTokens } from "./sessions-B090A8HC.js";
|
|
6
6
|
import { c as resolveStorePath } from "./paths-BEkHcryg.js";
|
|
7
|
-
import { t as lookupContextTokens } from "./context-
|
|
7
|
+
import { t as lookupContextTokens } from "./context-D3iu8n-R.js";
|
|
8
8
|
import { n as formatTimeAgo } from "./format-relative-D4GQsWlP.js";
|
|
9
9
|
|
|
10
10
|
//#region src/commands/sessions.ts
|