activeclaw 2026.4.6 → 2026.4.9
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-o_NVopFC.js → agent-CMfazMZh.js} +1 -1
- package/dist/{agent-d5Dwm5Vr.js → agent-JPiOsp4w.js} +1 -1
- package/dist/{agents-BSbsIbCx.js → agents-BFneTNaM.js} +2 -2
- package/dist/{auth-choice-DPZZulXs.js → auth-choice-CBs23Eut.js} +1 -1
- package/dist/{auth-choice-fWWNZ0CE.js → auth-choice-LkLMeioa.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +1 -1
- package/dist/{channel-options-D3pcpSuK.js → channel-options-DbKTl72b.js} +1 -1
- package/dist/{channel-options-mvX8L4o1.js → channel-options-a0rwBOBp.js} +1 -1
- package/dist/{channels-cli-CUZNu153.js → channels-cli-2VIPyG8m.js} +4 -4
- package/dist/{channels-cli-D8giagPE.js → channels-cli-BG1xCXaW.js} +4 -4
- package/dist/{cli-BTBoxnnI.js → cli-He5MwTZv.js} +1 -1
- package/dist/{cli-6tWBn9Hf.js → cli-McCicHl-.js} +1 -1
- package/dist/{command-registry-dPZvDdl5.js → command-registry-B4XSKnqk.js} +9 -9
- package/dist/{compact-DpN1Nt0S.js → compact-DBxHCU3Q.js} +12 -3
- package/dist/{compact.runtime-BPuV_fJX.js → compact.runtime-D3MiFKq0.js} +1 -1
- package/dist/{compact.runtime-BFTC4NQ_.js → compact.runtime-DKQKkff5.js} +1 -1
- package/dist/{compact.runtime-BZd2c9ir.js → compact.runtime-DcTpLwZ5.js} +1 -1
- package/dist/{compact.runtime-Cdc-_-I8.js → compact.runtime-DvhVgC1j.js} +1 -1
- package/dist/{completion-cli-BWNkPwVM.js → completion-cli-BXlBKnlj.js} +2 -2
- package/dist/{completion-cli-BBsE2_OZ.js → completion-cli-C0IxNzBH.js} +1 -1
- package/dist/{config-cli-tykH1hkE.js → config-cli-C4ryG2Rf.js} +1 -1
- package/dist/{config-cli-BgEWgmJQ.js → config-cli-rH6YNttY.js} +1 -1
- package/dist/{configure-ODmru9jh.js → configure-BfCm4pl9.js} +3 -3
- package/dist/{configure-gLnacCZu.js → configure-CuFhFIhR.js} +3 -3
- package/dist/{doctor-completion-COnwyNVJ.js → doctor-completion-BMhNBLlZ.js} +1 -1
- package/dist/{doctor-completion-Dmg5bIZZ.js → doctor-completion-Bhzly0Le.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/extensionAPI.js +1 -1
- package/dist/{gateway-cli-bTP1IILL.js → gateway-cli-X1ZtTIn1.js} +6 -6
- package/dist/{gateway-cli-DYQv0bbi.js → gateway-cli-nYAUoRqi.js} +6 -6
- package/dist/{health-BPWpRQaJ.js → health-D22GmS6O.js} +1 -1
- package/dist/{health-TMNIIFvC.js → health-I2eelBJ0.js} +1 -1
- package/dist/{hooks-cli-BarLlSI-.js → hooks-cli-B8yce8aT.js} +2 -2
- package/dist/{hooks-cli-DzToC2dS.js → hooks-cli-BpGVDC8n.js} +2 -2
- package/dist/index.js +5 -5
- package/dist/llm-slug-generator.js +1 -1
- package/dist/{models-B2oGZOi7.js → models-BouiRS5o.js} +2 -2
- package/dist/{models-cli-BGxdkTHM.js → models-cli-CXzAbJ5D.js} +3 -3
- package/dist/{models-cli-Dr7f4M9k.js → models-cli-KmmlfVy4.js} +2 -2
- package/dist/{npm-resolution-rTNTkWiL.js → npm-resolution-Bn1LgQFf.js} +1 -1
- package/dist/{npm-resolution-CPR5hN9l.js → npm-resolution-BtQxqgSa.js} +1 -1
- package/dist/{onboard-CD3xyxv4.js → onboard-Cve2lx8Q.js} +2 -2
- package/dist/{onboard-Clal53cK.js → onboard-DUlLUrme.js} +2 -2
- package/dist/{onboard-channels-DoXdjnDu.js → onboard-channels-C3Fr6P4C.js} +1 -1
- package/dist/{onboard-channels-CIp5xU1C.js → onboard-channels-D9mYZZtF.js} +1 -1
- package/dist/{onboarding-x5l1g4q6.js → onboarding-B47HB8MD.js} +3 -3
- package/dist/{onboarding-BXIBW9kp.js → onboarding-Dj9u7X0q.js} +3 -3
- package/dist/{onboarding.finalize-CidZPV2S.js → onboarding.finalize-C-pR8_RE.js} +5 -5
- package/dist/{onboarding.finalize-B9dNdZ8n.js → onboarding.finalize-JG_vd8zz.js} +6 -6
- package/dist/{pi-embedded-0VIfw7tV.js → pi-embedded-XOWzcU4v.js} +12 -3
- package/dist/{pi-embedded-DbOc1rhk.js → pi-embedded-cW_upWzb.js} +12 -3
- package/dist/{plugin-registry-FMZRN3Ae.js → plugin-registry-B2Xg5cIZ.js} +1 -1
- package/dist/{plugin-registry-D5bAzbQy.js → plugin-registry-Cvr7jdxU.js} +1 -1
- package/dist/plugin-sdk/index.js +2 -2
- package/dist/plugin-sdk/telegram.js +2 -2
- package/dist/{plugins-cli-N0WJ-bcK.js → plugins-cli-B65JT-pj.js} +2 -2
- package/dist/{plugins-cli-Rgx--0P6.js → plugins-cli-Crxf_ppT.js} +2 -2
- package/dist/{program-B8-8_sev.js → program-Da383ALS.js} +6 -6
- package/dist/{program-context-DFu0VnTR.js → program-context-BCpzWqA0.js} +17 -17
- package/dist/{prompt-select-styled-BRbUYwP5.js → prompt-select-styled-CX2-E6Ws.js} +4 -4
- package/dist/{prompt-select-styled-CtJff3Gr.js → prompt-select-styled-DJXH3Ik2.js} +4 -4
- package/dist/{provider-auth-helpers-BosQdg02.js → provider-auth-helpers-3K1-dUeB.js} +1 -1
- package/dist/{provider-auth-helpers-DOEJVM8b.js → provider-auth-helpers-CuFWByxX.js} +1 -1
- package/dist/{register.agent-WN58ukFs.js → register.agent-C4BazelG.js} +5 -5
- package/dist/{register.agent-BLoojMSb.js → register.agent-F4PYdKIV.js} +6 -6
- package/dist/{register.configure-DBV1cDMO.js → register.configure-DuYlUfX0.js} +6 -6
- package/dist/{register.configure-iqLpf_vJ.js → register.configure-uivoHsx6.js} +6 -6
- package/dist/{register.maintenance--G4Ezr1u.js → register.maintenance-CncGXJcn.js} +8 -8
- package/dist/{register.maintenance-JmxWnFLm.js → register.maintenance-D1NhSg9p.js} +7 -7
- package/dist/{register.message-DMa5MRsS.js → register.message-CkSYWM9C.js} +2 -2
- package/dist/{register.message-B2Mo2hx9.js → register.message-pasYrjfU.js} +2 -2
- package/dist/{register.onboard-B89iRFyV.js → register.onboard-9kXyD5aU.js} +2 -2
- package/dist/{register.onboard-iNt0A322.js → register.onboard-CgARW4Sc.js} +2 -2
- package/dist/{register.setup-DQ-uaQd4.js → register.setup-BtmboGlC.js} +2 -2
- package/dist/{register.setup-CBwr4_Ob.js → register.setup-D5oaiM2k.js} +2 -2
- package/dist/{register.status-health-sessions-B-2y3jIc.js → register.status-health-sessions-BaiIULJw.js} +3 -3
- package/dist/{register.status-health-sessions-CrW3NDOK.js → register.status-health-sessions-QJWioUTw.js} +3 -3
- package/dist/{register.subclis-DF5yhf7D.js → register.subclis-BJi9Wx12.js} +9 -9
- package/dist/{reply-OIc7wENR.js → reply-9_WxyHfF.js} +12 -3
- package/dist/{run-main-CbzvI1iB.js → run-main--Va-DnXT.js} +14 -14
- package/dist/{status-XHz3g6hB.js → status-CjUDl8qO.js} +2 -2
- package/dist/{status-_r2NL6m9.js → status-DdFy329n.js} +2 -2
- package/dist/{subagent-registry-runtime-4Iq7_pTU.js → subagent-registry-runtime-CrS70feQ.js} +1 -1
- package/dist/{subagent-registry-runtime-CEms3TqA.js → subagent-registry-runtime-D68_xG8d.js} +1 -1
- package/dist/{subagent-registry-runtime-HMP_iPKA.js → subagent-registry-runtime-D8jeUc09.js} +1 -1
- package/dist/{subagent-registry-runtime-CqZrbR_5.js → subagent-registry-runtime-DLTR5fch.js} +1 -1
- package/dist/{update-cli-TBdp8aQn.js → update-cli-CTNv6NnW.js} +7 -7
- package/dist/{update-cli-obZZqciv.js → update-cli-Ca6a5zyc.js} +8 -8
- package/dist/{update-runner-DwRQE_g4.js → update-runner-CSPTpzlG.js} +1 -1
- package/dist/{update-runner-Dh84Ivzm.js → update-runner-DgI58_4p.js} +1 -1
- package/extensions/hub/src/inbound.ts +16 -0
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { g as resolveStateDir, i as isNixMode, l as resolveGatewayLockDir, o as
|
|
|
2
2
|
import { A as theme, M as getLogger, N as getResolvedLoggerSettings, O as colorize, S as logVerbose, a as setConsoleSubsystemFilter, b as isVerbose, j as getChildLogger, k as isRich, n as runtimeForLogger, o as setConsoleTimestampPrefix, p as defaultRuntime, s as shouldLogSubsystemToConsole, t as createSubsystemLogger, w as setVerbose } from "./subsystem-Dk5WUhC2.js";
|
|
3
3
|
import { C as truncateUtf16Safe, b as sleep, g as resolveUserPath, r as clamp, w as isPlainObject, y as shortenHomePath } from "./utils-CGU7Q77u.js";
|
|
4
4
|
import { $a as writeConfigFile, $i as PROFILE_OPTIONS, $n as deliveryContextFromSession, Ac as normalizeReasoningLevel, Ai as GATEWAY_CLIENT_IDS, Ba as migrateLegacyConfig, Bi as writeJsonAtomic, Br as snapshotSessionOrigin, Dc as formatXHighModelHint, Do as parseDurationMs, Dr as resolveSessionResetPolicy, Ec as formatThinkingLevels, Ei as normalizeMessageChannel, Fc as supportsXHighThinking, Fn as parseSessionThreadInfo, Fr as resolveAgentMainSessionKey, Ga as parseConfigJson5, Gn as updateSessionStore, Go as isAvatarImageDataUrl, Gs as resolveRuntimeServiceVersion, Ha as createConfigIO, Hs as resolveAgentMaxConcurrent, Ii as cleanStaleLockFiles, Ir as resolveExplicitAgentSessionKey, Ja as readConfigFileSnapshot, Ji as mergeAlsoAllowPolicy, Ki as collectExplicitAllowlist, Ko as isPathWithinRoot, Lr as resolveMainSessionKey, Mc as normalizeUsageDisplay, Mi as GATEWAY_CLIENT_NAMES, Nc as normalizeVerboseLevel, Ni as hasGatewayClientCap, Nr as setSessionRuntimeModel, Os as applyMergePatch, Pn as extractDeliveryInfo, Pr as canonicalizeMainSessionAlias, Qi as resolveToolProfilePolicy, Ri as createAsyncLock, Rn as archiveRemovedSessionTranscripts, Rr as resolveMainSessionKeyFromConfig, S as resolveThinkingDefault, Sr as jsonUtf8Bytes, Tc as DEFAULT_PROVIDER, Tr as evaluateSessionFreshness, Uo as isAvatarDataUrl, Us as resolveSubagentMaxConcurrent, Vs as buildTalkConfigResponse, Wa as loadConfig, Wo as isAvatarHttpUrl, Ws as VERSION, Xa as resolveConfigSnapshotHash, Xt as estimateBase64DecodedBytes, Ya as readConfigFileSnapshotForWrite, Yo as looksLikeAvatarPath, _ as resolveHooksGmailModel, _r as stripInlineDirectiveTagsFromMessageForDisplay, a as getModelRefStatus, ar as archiveFileOnDisk, b as resolveSubagentConfiguredModelSelection, bi as isGatewayCliClient, cr as cleanupArchivedSessionTranscripts, eo as validateConfigObjectWithPlugins, fi as mapAllowFromEntries, fr as resolveSessionTranscriptCandidates, g as resolveDefaultModelForAgent, gc as isPidAlive, gr as stripInlineDirectiveTagsForDisplay, h as resolveConfiguredModelRef, jc as normalizeThinkLevel, ji as GATEWAY_CLIENT_MODES, jr as mergeSessionEntry, kc as normalizeElevatedLevel, ki as GATEWAY_CLIENT_CAPS, ks as applyLegacyMigrations, lr as readSessionMessages, mr as stripEnvelopeFromMessages, na as resolveCoreToolProfiles, or as archiveSessionTranscripts, p as resolveAllowedModelRef, pi as resolveChannelDefaultAccountId, pr as stripEnvelopeFromMessage, qa as readBestEffortConfig, qo as isSupportedLocalAvatarExtension, ri as buildChannelAccountBindings, rr as normalizeSessionDeliveryFields, s as isCliProvider, sr as capArrayByJsonBytes, t as buildAllowedModelSet, ta as listCoreToolSections, to as OpenClawSchema, tr as mergeDeliveryContext, u as normalizeModelSelection, ur as readSessionPreviewItemsFromTranscript, vi as INTERNAL_MESSAGE_CHANNEL, wc as DEFAULT_MODEL, wi as isWebchatClient, xi as isGatewayMessageChannel, xr as normalizeInputProvenance, yi as isDeliverableMessageChannel, zi as readJsonFile, zn as loadSessionStore } from "./model-selection-DU-DNNW7.js";
|
|
5
|
-
import { $n as setCommandLaneConcurrency, $t as buildOutboundSessionContext, A as requestBodyErrorToText, An as isSystemEventContextChanged, Ar as resolveAgentSessionDirs, B as formatZonedTimestamp, Bn as getPluginToolMeta, Cn as normalizeOptionalSessionKey, Cr as emitAgentEvent, Ct as resolveNestedAgentLane, D as loadOpenClawPlugins, Dr as normalizeSendPolicy, En as normalizeRequiredName, Er as registerAgentRunContext, Fr as extractFileContentFromSource, Ft as pruneLegacyStoreKeys, G as stopSubagentsForRequester, Gn as clearBootstrapSnapshot, Gt as normalizeGroupActivation, H as createReplyDispatcher, Ht as sleepWithAbort, I as buildHistoryContextFromEntries, In as setHeartbeatsEnabled, Ir as extractImageContentFromSource, It as resolveGatewaySessionStoreTarget, J as abortEmbeddedPiRun, Jn as getActiveTaskCount, Jt as resolveOutboundSessionRoute, K as runEmbeddedPiAgent, Kn as clearBootstrapSnapshotOnSessionRollover, L as buildTelegramExecApprovalButtons, Lr as normalizeMimeList, Lt as resolveSessionModelRef, M as createReplyPrefixOptions, Mr as DEFAULT_INPUT_IMAGE_MAX_BYTES, Mt as listSessionsFromStore, Nr as DEFAULT_INPUT_IMAGE_MIMES, Nt as loadCombinedSessionStoreForGateway, O as createPluginRuntime, On as normalizeLegacyDeliveryInput, Or as resolveSendPolicy, P as resolveSessionAuthProfileOverride, Pn as requestHeartbeatNow, Pr as DEFAULT_INPUT_TIMEOUT_MS, Pt as loadSessionEntry, Qn as resetAllLanes, Qt as resolveSessionDeliveryTarget, R as resolveExecApprovalCommandDisplay, Rn as ToolInputError, Rr as resolveInputFileLimits, S as listDescendantRunsForRequester, Sn as normalizeOptionalAgentId, Sr as clearAgentRunContext, Tn as normalizePayloadToSystemText, Tr as onAgentEvent, Tt as loadProviderUsageSummary, U as getTotalPendingReplies, Un as resolveUserTimezone, Ut as clearSessionQueues, V as dispatchInboundMessage, Vn as resolvePluginTools, Vt as computeBackoff, W as isAbortRequestText, X as waitForActiveEmbeddedRuns, Xn as getTotalQueueSize, Y as getActiveEmbeddedRunCount, Z as waitForEmbeddedPiRunEnd, Zn as markGatewayDraining, Zt as resolveOutboundTarget, _ as countActiveDescendantRuns, _r as setTtsProvider, a as runCliAgent, an as runWithModelFallback, ar as stripHeartbeatToken, at as buildDefaultToolPolicyPipelineSteps, b as initSubagentRegistry, bn as normalizeCronJobPatch, br as OPENAI_TTS_VOICES, bt as resolveAnnounceTargetFromKey, cn as resolveFailoverReasonFromError, cr as getTtsProvider, ct as buildSafeExternalPrompt, d as parseVerboseOverride, dn as formatRestartSentinelMessage, dr as resolveTtsApiKey, dt as isExternalHookSession, en as resolveOutboundChannelPlugin, er as waitForActiveTasks, et as resolveBootstrapWarningSignaturesSeen, fr as resolveTtsAutoMode, gr as setTtsEnabled, hn as writeRestartSentinel, hr as resolveTtsProviderOrder, ht as resolveIngressWorkspaceOverrideForSpawnedRun, i as setCliSessionId, it as applyToolPolicyPipeline, jt as listAgentsForGateway, k as readJsonBodyWithLimit, kn as enqueueSystemEvent, kr as getAcpSessionManager, kt as canonicalizeSpawnedByForAgent, ln as consumeRestartSentinel, lr as isTtsEnabled, lt as detectSuspiciousPatterns, mr as resolveTtsPrefsPath, mt as normalizeSpawnedRunMetadata, n as buildBareSessionResetPrompt, nn as maybeResolveIdLikeTarget, nr as getMachineDisplayName, or as resolveAgentIdentity, ot as sniffMimeFromBase64, pn as summarizeRestartSentinel, pr as resolveTtsConfig, qn as enqueueCommandInLane, qt as ensureOutboundSessionEntry, r as getCliSessionId, rn as resetDirectoryCache, rt as resolveCronStyleNow, st as createOpenClawTools, tr as CommandLane, u as applyVerboseOverride, un as formatDoctorNonInteractiveHint, ur as isTtsProviderConfigured, ut as getHookType, vn as normalizeHttpWebhookUrl, vr as textToSpeech, wn as normalizeOptionalText, wr as getAgentRunContext, wt as applyModelOverrideToSessionEntry, yn as normalizeCronJobCreate, yr as OPENAI_TTS_MODELS, yt as readLatestAssistantReply, z as cleanOldMedia, zn as buildExecApprovalPendingReplyPayload, zr as resolveAgentTimeoutMs, zt as lookupContextTokens } from "./reply-
|
|
5
|
+
import { $n as setCommandLaneConcurrency, $t as buildOutboundSessionContext, A as requestBodyErrorToText, An as isSystemEventContextChanged, Ar as resolveAgentSessionDirs, B as formatZonedTimestamp, Bn as getPluginToolMeta, Cn as normalizeOptionalSessionKey, Cr as emitAgentEvent, Ct as resolveNestedAgentLane, D as loadOpenClawPlugins, Dr as normalizeSendPolicy, En as normalizeRequiredName, Er as registerAgentRunContext, Fr as extractFileContentFromSource, Ft as pruneLegacyStoreKeys, G as stopSubagentsForRequester, Gn as clearBootstrapSnapshot, Gt as normalizeGroupActivation, H as createReplyDispatcher, Ht as sleepWithAbort, I as buildHistoryContextFromEntries, In as setHeartbeatsEnabled, Ir as extractImageContentFromSource, It as resolveGatewaySessionStoreTarget, J as abortEmbeddedPiRun, Jn as getActiveTaskCount, Jt as resolveOutboundSessionRoute, K as runEmbeddedPiAgent, Kn as clearBootstrapSnapshotOnSessionRollover, L as buildTelegramExecApprovalButtons, Lr as normalizeMimeList, Lt as resolveSessionModelRef, M as createReplyPrefixOptions, Mr as DEFAULT_INPUT_IMAGE_MAX_BYTES, Mt as listSessionsFromStore, Nr as DEFAULT_INPUT_IMAGE_MIMES, Nt as loadCombinedSessionStoreForGateway, O as createPluginRuntime, On as normalizeLegacyDeliveryInput, Or as resolveSendPolicy, P as resolveSessionAuthProfileOverride, Pn as requestHeartbeatNow, Pr as DEFAULT_INPUT_TIMEOUT_MS, Pt as loadSessionEntry, Qn as resetAllLanes, Qt as resolveSessionDeliveryTarget, R as resolveExecApprovalCommandDisplay, Rn as ToolInputError, Rr as resolveInputFileLimits, S as listDescendantRunsForRequester, Sn as normalizeOptionalAgentId, Sr as clearAgentRunContext, Tn as normalizePayloadToSystemText, Tr as onAgentEvent, Tt as loadProviderUsageSummary, U as getTotalPendingReplies, Un as resolveUserTimezone, Ut as clearSessionQueues, V as dispatchInboundMessage, Vn as resolvePluginTools, Vt as computeBackoff, W as isAbortRequestText, X as waitForActiveEmbeddedRuns, Xn as getTotalQueueSize, Y as getActiveEmbeddedRunCount, Z as waitForEmbeddedPiRunEnd, Zn as markGatewayDraining, Zt as resolveOutboundTarget, _ as countActiveDescendantRuns, _r as setTtsProvider, a as runCliAgent, an as runWithModelFallback, ar as stripHeartbeatToken, at as buildDefaultToolPolicyPipelineSteps, b as initSubagentRegistry, bn as normalizeCronJobPatch, br as OPENAI_TTS_VOICES, bt as resolveAnnounceTargetFromKey, cn as resolveFailoverReasonFromError, cr as getTtsProvider, ct as buildSafeExternalPrompt, d as parseVerboseOverride, dn as formatRestartSentinelMessage, dr as resolveTtsApiKey, dt as isExternalHookSession, en as resolveOutboundChannelPlugin, er as waitForActiveTasks, et as resolveBootstrapWarningSignaturesSeen, fr as resolveTtsAutoMode, gr as setTtsEnabled, hn as writeRestartSentinel, hr as resolveTtsProviderOrder, ht as resolveIngressWorkspaceOverrideForSpawnedRun, i as setCliSessionId, it as applyToolPolicyPipeline, jt as listAgentsForGateway, k as readJsonBodyWithLimit, kn as enqueueSystemEvent, kr as getAcpSessionManager, kt as canonicalizeSpawnedByForAgent, ln as consumeRestartSentinel, lr as isTtsEnabled, lt as detectSuspiciousPatterns, mr as resolveTtsPrefsPath, mt as normalizeSpawnedRunMetadata, n as buildBareSessionResetPrompt, nn as maybeResolveIdLikeTarget, nr as getMachineDisplayName, or as resolveAgentIdentity, ot as sniffMimeFromBase64, pn as summarizeRestartSentinel, pr as resolveTtsConfig, qn as enqueueCommandInLane, qt as ensureOutboundSessionEntry, r as getCliSessionId, rn as resetDirectoryCache, rt as resolveCronStyleNow, st as createOpenClawTools, tr as CommandLane, u as applyVerboseOverride, un as formatDoctorNonInteractiveHint, ur as isTtsProviderConfigured, ut as getHookType, vn as normalizeHttpWebhookUrl, vr as textToSpeech, wn as normalizeOptionalText, wr as getAgentRunContext, wt as applyModelOverrideToSessionEntry, yn as normalizeCronJobCreate, yr as OPENAI_TTS_MODELS, yt as readLatestAssistantReply, z as cleanOldMedia, zn as buildExecApprovalPendingReplyPayload, zr as resolveAgentTimeoutMs, zt as lookupContextTokens } from "./reply-9_WxyHfF.js";
|
|
6
6
|
import { A as resolveDefaultAgentWorkspaceDir, C as DEFAULT_SOUL_FILENAME, E as ensureAgentWorkspace, O as isWorkspaceOnboardingCompleted, S as DEFAULT_MEMORY_FILENAME, T as DEFAULT_USER_FILENAME, a as resolveAgentDir, b as DEFAULT_IDENTITY_FILENAME, c as resolveAgentModelFallbacksOverride, d as resolveDefaultAgentId, g as DEFAULT_AGENTS_FILENAME, i as resolveAgentConfig, j as resolveWorkspaceTemplateDir, m as resolveSessionAgentId, n as listAgentEntries, r as listAgentIds, u as resolveAgentWorkspaceDir, v as DEFAULT_BOOTSTRAP_FILENAME, w as DEFAULT_TOOLS_FILENAME, x as DEFAULT_MEMORY_ALT_FILENAME, y as DEFAULT_HEARTBEAT_FILENAME } from "./agent-scope-BrJT9Gf9.js";
|
|
7
7
|
import { S as isCronRunSessionKey, T as parseAgentSessionKey, a as classifySessionKeyShape, c as normalizeMainKey, g as normalizeAccountId$1, h as DEFAULT_ACCOUNT_ID, l as resolveAgentIdFromSessionKey, m as toAgentStoreSessionKey, p as toAgentRequestSessionKey, r as buildAgentMainSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID, w as isSubagentSessionKey, x as isAcpSessionKey } from "./session-key-VV3RvEri.js";
|
|
8
8
|
import { f as isNotFoundPathError, i as openBoundaryFile, s as sameFileIdentity, t as resolveOpenClawPackageRoot } from "./openclaw-root-DbbVtnL2.js";
|
|
@@ -99,16 +99,16 @@ import "./table-ByNbkdzT.js";
|
|
|
99
99
|
import { n as resolveWideAreaDiscoveryDomain, r as writeWideAreaGatewayZone } from "./widearea-dns-CFzloIhd.js";
|
|
100
100
|
import { i as toOptionString, n as extractGatewayMiskeys, r as maybeExplainGatewayServiceStop, t as describeUnknownError } from "./shared-C_hG8rgh.js";
|
|
101
101
|
import { t as discoverGatewayBeacons } from "./bonjour-discovery-Cak-jClv.js";
|
|
102
|
-
import { d as coerceFiniteScheduleNumber, f as computeNextRunAtMs, g as resolveRequiredConfiguredSecretRefInputString, m as resolveConfiguredSecretInputString, p as computePreviousRunAtMs, t as runGatewayUpdate, u as normalizeStoredCronJobs } from "./update-runner-
|
|
103
|
-
import { n as getStatusSummary, r as pickGatewaySelfPresence } from "./status-
|
|
104
|
-
import { a as styleHealthChannelLine, c as startHeartbeatRunner, d as onHeartbeatEvent, l as resolveHeartbeatVisibility, n as getHealthSnapshot, s as runHeartbeatOnce, t as formatHealthChannelLines, u as getLastHeartbeatEvent } from "./health-
|
|
102
|
+
import { d as coerceFiniteScheduleNumber, f as computeNextRunAtMs, g as resolveRequiredConfiguredSecretRefInputString, m as resolveConfiguredSecretInputString, p as computePreviousRunAtMs, t as runGatewayUpdate, u as normalizeStoredCronJobs } from "./update-runner-DgI58_4p.js";
|
|
103
|
+
import { n as getStatusSummary, r as pickGatewaySelfPresence } from "./status-CjUDl8qO.js";
|
|
104
|
+
import { a as styleHealthChannelLine, c as startHeartbeatRunner, d as onHeartbeatEvent, l as resolveHeartbeatVisibility, n as getHealthSnapshot, s as runHeartbeatOnce, t as formatHealthChannelLines, u as getLastHeartbeatEvent } from "./health-I2eelBJ0.js";
|
|
105
105
|
import { m as normalizeUpdateChannel, n as checkUpdateStatus, o as resolveNpmChannelTag, r as compareSemverStrings } from "./channel-account-context-D9S5HJn4.js";
|
|
106
106
|
import "./onboarding.secret-input-DkAfkFVQ.js";
|
|
107
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
107
|
+
import { t as runOnboardingWizard } from "./onboarding-Dj9u7X0q.js";
|
|
108
108
|
import { _ as buildGogWatchStartArgs, g as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, w as resolveGmailHookRuntimeConfig } from "./gmail-setup-utils-tlW4Go6J.js";
|
|
109
109
|
import { t as createOutboundSendDeps$1 } from "./outbound-send-deps-ClezclXA.js";
|
|
110
110
|
import { a as resolveCronRunLogPath, i as readCronRunLogEntriesPageAll, o as resolveCronRunLogPruneOptions, r as readCronRunLogEntriesPage, t as appendCronRunLog } from "./run-log-D3XR2BLm.js";
|
|
111
|
-
import { a as resolveAgentOutboundTarget, i as resolveAgentDeliveryPlan, n as agentCommandFromIngress } from "./agent-
|
|
111
|
+
import { a as resolveAgentOutboundTarget, i as resolveAgentDeliveryPlan, n as agentCommandFromIngress } from "./agent-CMfazMZh.js";
|
|
112
112
|
import { n as collectEnabledInsecureOrDangerousFlags } from "./audit-Cg4EdF12.js";
|
|
113
113
|
import "./status.update-s77gig85.js";
|
|
114
114
|
import { i as shouldIncludeHook, r as resolveHookConfig, t as loadWorkspaceHookEntries } from "./workspace-DY5PSKK1.js";
|
|
@@ -6,7 +6,7 @@ import { d as resolveDefaultAgentId, i as resolveAgentConfig, u as resolveAgentW
|
|
|
6
6
|
import { T as parseAgentSessionKey, l as resolveAgentIdFromSessionKey, m as toAgentStoreSessionKey, s as normalizeAgentId } from "./session-key-9lbhEIb9.js";
|
|
7
7
|
import { c as escapeRegExp } from "./utils-qah6hFG0.js";
|
|
8
8
|
import { t as parseDurationMs } from "./parse-duration-CFygqPrJ.js";
|
|
9
|
-
import { Cr as isHeartbeatContentEffectivelyEmpty, F as resolveHeartbeatSenderContext, Ft as peekSystemEventEntries, Jn as resolveEffectiveMessagesConfig, Lt as areHeartbeatsEnabled, On as appendCronStyleCurrentTimeLine, P as resolveHeartbeatDeliveryTarget, Rt as requestHeartbeatNow, Tr as stripHeartbeatToken, Vt as resolveHeartbeatReasonKind, Yn as resolveUserTimezone, b as getReplyFromConfig, hr as getQueueSize, wr as resolveHeartbeatPrompt$1, xn as buildOutboundSessionContext, xr as CommandLane, zt as setHeartbeatWakeHandler } from "./compact-
|
|
9
|
+
import { Cr as isHeartbeatContentEffectivelyEmpty, F as resolveHeartbeatSenderContext, Ft as peekSystemEventEntries, Jn as resolveEffectiveMessagesConfig, Lt as areHeartbeatsEnabled, On as appendCronStyleCurrentTimeLine, P as resolveHeartbeatDeliveryTarget, Rt as requestHeartbeatNow, Tr as stripHeartbeatToken, Vt as resolveHeartbeatReasonKind, Yn as resolveUserTimezone, b as getReplyFromConfig, hr as getQueueSize, wr as resolveHeartbeatPrompt$1, xn as buildOutboundSessionContext, xr as CommandLane, zt as setHeartbeatWakeHandler } from "./compact-DBxHCU3Q.js";
|
|
10
10
|
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-DRDN4jFP.js";
|
|
11
11
|
import { c as resolveStorePath, n as resolveSessionFilePath } from "./paths-B-JdyKTL.js";
|
|
12
12
|
import { L as HEARTBEAT_TOKEN, t as deliverOutboundPayloads } from "./deliver-DvOSE6dK.js";
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-DUslC3ob.js";
|
|
|
2
2
|
import { A as theme, k as isRich, p as defaultRuntime, t as createSubsystemLogger, y as info } from "./subsystem-Dk5WUhC2.js";
|
|
3
3
|
import { l as escapeRegExp } from "./utils-CGU7Q77u.js";
|
|
4
4
|
import { Do as parseDurationMs, Fr as resolveAgentMainSessionKey, Gn as updateSessionStore, Pr as canonicalizeMainSessionAlias, Un as saveSessionStore, Wa as loadConfig, ai as resolvePreferredAccountId, pi as resolveChannelDefaultAccountId, qa as readBestEffortConfig, ri as buildChannelAccountBindings, zn as loadSessionStore } from "./model-selection-DU-DNNW7.js";
|
|
5
|
-
import { $t as buildOutboundSessionContext, Fn as setHeartbeatWakeHandler, Ln as resolveHeartbeatReasonKind, Nn as areHeartbeatsEnabled, Pn as requestHeartbeatNow, Un as resolveUserTimezone, Xt as resolveHeartbeatSenderContext, Yn as getQueueSize, Yt as resolveHeartbeatDeliveryTarget, ar as stripHeartbeatToken, ir as resolveHeartbeatPrompt$1, jn as peekSystemEventEntries, nt as appendCronStyleCurrentTimeLine, rr as isHeartbeatContentEffectivelyEmpty, sr as resolveEffectiveMessagesConfig, t as getReplyFromConfig, tr as CommandLane } from "./reply-
|
|
5
|
+
import { $t as buildOutboundSessionContext, Fn as setHeartbeatWakeHandler, Ln as resolveHeartbeatReasonKind, Nn as areHeartbeatsEnabled, Pn as requestHeartbeatNow, Un as resolveUserTimezone, Xt as resolveHeartbeatSenderContext, Yn as getQueueSize, Yt as resolveHeartbeatDeliveryTarget, ar as stripHeartbeatToken, ir as resolveHeartbeatPrompt$1, jn as peekSystemEventEntries, nt as appendCronStyleCurrentTimeLine, rr as isHeartbeatContentEffectivelyEmpty, sr as resolveEffectiveMessagesConfig, t as getReplyFromConfig, tr as CommandLane } from "./reply-9_WxyHfF.js";
|
|
6
6
|
import { d as resolveDefaultAgentId, i as resolveAgentConfig, u as resolveAgentWorkspaceDir, y as DEFAULT_HEARTBEAT_FILENAME } from "./agent-scope-BrJT9Gf9.js";
|
|
7
7
|
import { T as parseAgentSessionKey, l as resolveAgentIdFromSessionKey, m as toAgentStoreSessionKey, s as normalizeAgentId } from "./session-key-VV3RvEri.js";
|
|
8
8
|
import { t as isTruthyEnvValue } from "./env-6my-UEm4.js";
|
|
@@ -2,7 +2,7 @@ import "./paths-BJV7vkaX.js";
|
|
|
2
2
|
import { A as theme, p as defaultRuntime } from "./subsystem-Dk5WUhC2.js";
|
|
3
3
|
import { g as resolveUserPath, t as CONFIG_DIR, y as shortenHomePath } from "./utils-CGU7Q77u.js";
|
|
4
4
|
import { $a as writeConfigFile, Wa as loadConfig } from "./model-selection-DU-DNNW7.js";
|
|
5
|
-
import "./reply-
|
|
5
|
+
import "./reply-9_WxyHfF.js";
|
|
6
6
|
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-BrJT9Gf9.js";
|
|
7
7
|
import "./openclaw-root-DbbVtnL2.js";
|
|
8
8
|
import "./logger-m0MK99MT.js";
|
|
@@ -69,7 +69,7 @@ import { _ as readJsonFile, a as installPackageDir, d as resolveTimedInstallMode
|
|
|
69
69
|
import { n as renderTable, t as getTerminalTableWidth } from "./table-ByNbkdzT.js";
|
|
70
70
|
import { a as parseFrontmatter, t as loadWorkspaceHookEntries } from "./workspace-DY5PSKK1.js";
|
|
71
71
|
import { t as buildWorkspaceHookStatus } from "./hooks-status-0HInFKiT.js";
|
|
72
|
-
import { i as buildPluginStatusReport, n as resolvePinnedNpmInstallRecordForCli, r as looksLikeLocalInstallSpec, t as buildNpmInstallRecordFields } from "./npm-resolution-
|
|
72
|
+
import { i as buildPluginStatusReport, n as resolvePinnedNpmInstallRecordForCli, r as looksLikeLocalInstallSpec, t as buildNpmInstallRecordFields } from "./npm-resolution-BtQxqgSa.js";
|
|
73
73
|
import fs from "node:fs";
|
|
74
74
|
import path from "node:path";
|
|
75
75
|
import fsPromises from "node:fs/promises";
|
|
@@ -16,7 +16,7 @@ import "./skills-VQO3Anke.js";
|
|
|
16
16
|
import { m as MANIFEST_KEY } from "./frontmatter-DAfBRAy7.js";
|
|
17
17
|
import "./redact-CxtZhh9L.js";
|
|
18
18
|
import "./path-alias-guards-DHv0a8uY.js";
|
|
19
|
-
import "./compact-
|
|
19
|
+
import "./compact-DBxHCU3Q.js";
|
|
20
20
|
import "./plugins-DRDN4jFP.js";
|
|
21
21
|
import "./paths-B-JdyKTL.js";
|
|
22
22
|
import "./chat-envelope-t_PEbhWC.js";
|
|
@@ -74,7 +74,7 @@ import { t as promptYesNo } from "./prompt-Bz3qtVYy.js";
|
|
|
74
74
|
import { n as renderTable, t as getTerminalTableWidth } from "./table-B-mQ0pe0.js";
|
|
75
75
|
import { a as parseFrontmatter, t as loadWorkspaceHookEntries } from "./workspace-DxmHTMT7.js";
|
|
76
76
|
import { t as buildWorkspaceHookStatus } from "./hooks-status-CB9qECnO.js";
|
|
77
|
-
import { i as buildPluginStatusReport, n as resolvePinnedNpmInstallRecordForCli, r as looksLikeLocalInstallSpec, t as buildNpmInstallRecordFields } from "./npm-resolution-
|
|
77
|
+
import { i as buildPluginStatusReport, n as resolvePinnedNpmInstallRecordForCli, r as looksLikeLocalInstallSpec, t as buildNpmInstallRecordFields } from "./npm-resolution-Bn1LgQFf.js";
|
|
78
78
|
import path from "node:path";
|
|
79
79
|
import fs from "node:fs";
|
|
80
80
|
import fs$1 from "node:fs/promises";
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import "./paths-BJV7vkaX.js";
|
|
|
3
3
|
import { A as theme, G as getVerboseFlag, J as hasRootVersionAlias, K as hasFlag, L as ALLOWED_LOG_LEVELS, U as getCommandPathWithRootOptions, d as visibleWidth, k as isRich, p as defaultRuntime, q as hasHelpOrVersion, r as enableConsoleCapture, w as setVerbose, z as tryParseLogLevel } from "./subsystem-Dk5WUhC2.js";
|
|
4
4
|
import { S as toWhatsappJid, f as normalizeE164, l as escapeRegExp, n as assertWebChannel } from "./utils-CGU7Q77u.js";
|
|
5
5
|
import { Cr as deriveSessionKey, Un as saveSessionStore, Wa as loadConfig, Ws as VERSION, Zs as loadDotEnv, wr as resolveSessionKey, zn as loadSessionStore } from "./model-selection-DU-DNNW7.js";
|
|
6
|
-
import { Rt as resolveCommitHash, t as getReplyFromConfig } from "./reply-
|
|
6
|
+
import { Rt as resolveCommitHash, t as getReplyFromConfig } from "./reply-9_WxyHfF.js";
|
|
7
7
|
import "./agent-scope-BrJT9Gf9.js";
|
|
8
8
|
import "./openclaw-root-DbbVtnL2.js";
|
|
9
9
|
import "./logger-m0MK99MT.js";
|
|
@@ -73,9 +73,9 @@ import { t as ensureOpenClawCliOnPath } from "./path-env-CeV-X7QB.js";
|
|
|
73
73
|
import { i as handlePortError, n as describePortOwner, r as ensurePortAvailable, t as PortInUseError } from "./ports-BKzkl2Nt.js";
|
|
74
74
|
import { t as assertSupportedRuntime } from "./runtime-guard-BbTH9fjr.js";
|
|
75
75
|
import "./ports-C6HO6zSD.js";
|
|
76
|
-
import { i as getCoreCliCommandsWithSubcommands, n as setProgramContext, o as registerProgramCommands, s as getSubCliCommandsWithSubcommands } from "./program-context-
|
|
77
|
-
import "./plugin-registry-
|
|
78
|
-
import { n as resolveCliChannelOptions } from "./channel-options-
|
|
76
|
+
import { i as getCoreCliCommandsWithSubcommands, n as setProgramContext, o as registerProgramCommands, s as getSubCliCommandsWithSubcommands } from "./program-context-BCpzWqA0.js";
|
|
77
|
+
import "./plugin-registry-Cvr7jdxU.js";
|
|
78
|
+
import { n as resolveCliChannelOptions } from "./channel-options-DbKTl72b.js";
|
|
79
79
|
import process$1 from "node:process";
|
|
80
80
|
import { fileURLToPath } from "node:url";
|
|
81
81
|
import { Command, InvalidArgumentError } from "commander";
|
|
@@ -540,7 +540,7 @@ function loadConfigGuardModule() {
|
|
|
540
540
|
return configGuardModulePromise;
|
|
541
541
|
}
|
|
542
542
|
function loadPluginRegistryModule() {
|
|
543
|
-
pluginRegistryModulePromise ??= import("./plugin-registry-
|
|
543
|
+
pluginRegistryModulePromise ??= import("./plugin-registry-Cvr7jdxU.js").then((n) => n.n);
|
|
544
544
|
return pluginRegistryModulePromise;
|
|
545
545
|
}
|
|
546
546
|
function getRootCommand(command) {
|
|
@@ -8,7 +8,7 @@ import "./github-copilot-token-CLlAnyEf.js";
|
|
|
8
8
|
import "./boolean-C7Ct_klp.js";
|
|
9
9
|
import "./env-Bhn5CLil.js";
|
|
10
10
|
import "./frontmatter-CC95HXlE.js";
|
|
11
|
-
import { t as runEmbeddedPiAgent } from "./pi-embedded-
|
|
11
|
+
import { t as runEmbeddedPiAgent } from "./pi-embedded-cW_upWzb.js";
|
|
12
12
|
import "./deliver-D2j_qrPV.js";
|
|
13
13
|
import "./diagnostic-G-xDRRdG.js";
|
|
14
14
|
import "./chunk-BSmRwqjw.js";
|
|
@@ -7,7 +7,7 @@ import { v as shortenHomePath } from "./utils-qah6hFG0.js";
|
|
|
7
7
|
import { r as normalizeStringEntries } from "./string-normalization-ChiSBXh2.js";
|
|
8
8
|
import { i as coerceSecretRef, l as normalizeSecretInputString } from "./types.secrets-CQ90JO4F.js";
|
|
9
9
|
import { t as parseDurationMs } from "./parse-duration-CFygqPrJ.js";
|
|
10
|
-
import { Hn as describeFailoverError, Sn as runEmbeddedPiAgent, St as loadProviderUsageSummary, Tt as resolveUsageProviderId, fr as resolveModelWithRegistry, ft as maskApiKey, ht as formatRemainingShort, mt as buildAuthHealthSummary, pt as DEFAULT_OAUTH_WARN_MS, wt as formatUsageWindowSummary } from "./compact-
|
|
10
|
+
import { Hn as describeFailoverError, Sn as runEmbeddedPiAgent, St as loadProviderUsageSummary, Tt as resolveUsageProviderId, fr as resolveModelWithRegistry, ft as maskApiKey, ht as formatRemainingShort, mt as buildAuthHealthSummary, pt as DEFAULT_OAUTH_WARN_MS, wt as formatUsageWindowSummary } from "./compact-DBxHCU3Q.js";
|
|
11
11
|
import { i as resolveSessionTranscriptPath, s as resolveSessionTranscriptsDirForAgent } from "./paths-B-JdyKTL.js";
|
|
12
12
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-DFqVpswz.js";
|
|
13
13
|
import { n as loadModelCatalog } from "./model-catalog-DlYPcFqP.js";
|
|
@@ -23,7 +23,7 @@ import { a as formatMs, c as loadValidConfigOrThrow, d as resolveKnownAgentId, f
|
|
|
23
23
|
import { Mt as writeOAuthCredentials, h as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-BE6nISKT.js";
|
|
24
24
|
import { t as isRemoteEnvironment } from "./oauth-env-NWN2T4c2.js";
|
|
25
25
|
import { n as logConfigUpdated } from "./logging-BHhuGbN8.js";
|
|
26
|
-
import { a as loginOpenAICodexOAuth, i as resolveProviderMatch, n as mergeConfigPatch, o as createVpsAwareOAuthHandlers, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
26
|
+
import { a as loginOpenAICodexOAuth, i as resolveProviderMatch, n as mergeConfigPatch, o as createVpsAwareOAuthHandlers, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-CuFWByxX.js";
|
|
27
27
|
import path from "node:path";
|
|
28
28
|
import fs from "node:fs/promises";
|
|
29
29
|
import crypto from "node:crypto";
|
|
@@ -15,7 +15,7 @@ import "./skills-VQO3Anke.js";
|
|
|
15
15
|
import "./frontmatter-DAfBRAy7.js";
|
|
16
16
|
import "./redact-CxtZhh9L.js";
|
|
17
17
|
import "./path-alias-guards-DHv0a8uY.js";
|
|
18
|
-
import "./compact-
|
|
18
|
+
import "./compact-DBxHCU3Q.js";
|
|
19
19
|
import "./plugins-DRDN4jFP.js";
|
|
20
20
|
import "./paths-B-JdyKTL.js";
|
|
21
21
|
import "./chat-envelope-t_PEbhWC.js";
|
|
@@ -78,8 +78,8 @@ import "./table-B-mQ0pe0.js";
|
|
|
78
78
|
import "./openai-codex-model-default-BYIJH6vZ.js";
|
|
79
79
|
import "./auth-token-BE6nISKT.js";
|
|
80
80
|
import "./logging-BHhuGbN8.js";
|
|
81
|
-
import { c as githubCopilotLoginCommand } from "./provider-auth-helpers-
|
|
82
|
-
import { C as modelsAliasesListCommand, S as modelsAliasesAddCommand, _ as modelsAuthOrderSetCommand, a as modelsStatusCommand, b as modelsAuthPasteTokenCommand, c as modelsImageFallbacksClearCommand, d as modelsFallbacksAddCommand, f as modelsFallbacksClearCommand, g as modelsAuthOrderGetCommand, h as modelsAuthOrderClearCommand, i as modelsScanCommand, l as modelsImageFallbacksListCommand, m as modelsFallbacksRemoveCommand, n as modelsSetImageCommand, o as modelsListCommand, p as modelsFallbacksListCommand, r as modelsSetCommand, s as modelsImageFallbacksAddCommand, u as modelsImageFallbacksRemoveCommand, v as modelsAuthAddCommand, w as modelsAliasesRemoveCommand, x as modelsAuthSetupTokenCommand, y as modelsAuthLoginCommand } from "./models-
|
|
81
|
+
import { c as githubCopilotLoginCommand } from "./provider-auth-helpers-CuFWByxX.js";
|
|
82
|
+
import { C as modelsAliasesListCommand, S as modelsAliasesAddCommand, _ as modelsAuthOrderSetCommand, a as modelsStatusCommand, b as modelsAuthPasteTokenCommand, c as modelsImageFallbacksClearCommand, d as modelsFallbacksAddCommand, f as modelsFallbacksClearCommand, g as modelsAuthOrderGetCommand, h as modelsAuthOrderClearCommand, i as modelsScanCommand, l as modelsImageFallbacksListCommand, m as modelsFallbacksRemoveCommand, n as modelsSetImageCommand, o as modelsListCommand, p as modelsFallbacksListCommand, r as modelsSetCommand, s as modelsImageFallbacksAddCommand, u as modelsImageFallbacksRemoveCommand, v as modelsAuthAddCommand, w as modelsAliasesRemoveCommand, x as modelsAuthSetupTokenCommand, y as modelsAuthLoginCommand } from "./models-BouiRS5o.js";
|
|
83
83
|
import "./oauth-tls-preflight-C_UF1L4Y.js";
|
|
84
84
|
//#region src/cli/models-cli.ts
|
|
85
85
|
function runModelsCommand(action) {
|
|
@@ -2,7 +2,7 @@ import "./paths-BJV7vkaX.js";
|
|
|
2
2
|
import { A as theme, O as colorize, k as isRich$1, p as defaultRuntime } from "./subsystem-Dk5WUhC2.js";
|
|
3
3
|
import { y as shortenHomePath } from "./utils-CGU7Q77u.js";
|
|
4
4
|
import { A as resolveApiKeyForProvider, Ca as resolveSecretRefString, Ct as resolveAuthProfileEligibility, D as getCustomProviderApiKey, Do as parseDurationMs, Ha as createConfigIO, M as resolveEnvApiKey, O as hasUsableCustomProviderApiKey, P as resolveUsableCustomProviderApiKey, Tc as DEFAULT_PROVIDER, Wa as loadConfig, Xs as shouldEnableShellEnvFallback, Ya as readConfigFileSnapshotForWrite, Za as setRuntimeConfigSnapshot, _c as resolveAuthProfileDisplayLabel, c as modelKey, d as normalizeProviderId, f as parseModelRef, g as resolveDefaultModelForAgent, h as resolveConfiguredModelRef, ht as isNonSecretApiKeyMarker, i as findNormalizedProviderValue, ic as upsertAuthProfile, j as resolveAwsSdkEnvVarName, kt as resolveProfileUnusableUntilForDisplay, mc as resolveOpenClawAgentDir, pc as resolveAuthStorePathForDisplay, qs as getShellEnvAppliedKeys, r as buildModelAliasIndex, rc as setAuthProfileOrder, sc as ensureAuthProfileStore, tc as listProfilesForProvider, v as resolveModelRefFromString, wc as DEFAULT_MODEL, wt as resolveAuthProfileOrder } from "./model-selection-DU-DNNW7.js";
|
|
5
|
-
import { Dt as formatUsageWindowSummary, K as runEmbeddedPiAgent, Ot as resolveUsageProviderId, Tt as loadProviderUsageSummary, c as buildAuthHealthSummary, l as formatRemainingShort, o as maskApiKey, s as DEFAULT_OAUTH_WARN_MS, sn as describeFailoverError, xr as resolveModelWithRegistry } from "./reply-
|
|
5
|
+
import { Dt as formatUsageWindowSummary, K as runEmbeddedPiAgent, Ot as resolveUsageProviderId, Tt as loadProviderUsageSummary, c as buildAuthHealthSummary, l as formatRemainingShort, o as maskApiKey, s as DEFAULT_OAUTH_WARN_MS, sn as describeFailoverError, xr as resolveModelWithRegistry } from "./reply-9_WxyHfF.js";
|
|
6
6
|
import { A as resolveDefaultAgentWorkspaceDir, M as resolveAgentModelFallbackValues, N as resolveAgentModelPrimaryValue, P as toAgentModelListLike, a as resolveAgentDir, c as resolveAgentModelFallbacksOverride, d as resolveDefaultAgentId, s as resolveAgentExplicitModelPrimary, u as resolveAgentWorkspaceDir } from "./agent-scope-BrJT9Gf9.js";
|
|
7
7
|
import { r as normalizeStringEntries } from "./string-normalization-B7Qb9jnK.js";
|
|
8
8
|
import "./openclaw-root-DbbVtnL2.js";
|
|
@@ -79,7 +79,7 @@ import { a as formatMs, c as loadValidConfigOrThrow, d as resolveKnownAgentId, f
|
|
|
79
79
|
import { Mt as writeOAuthCredentials, h as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-DeLPA2C5.js";
|
|
80
80
|
import { t as isRemoteEnvironment } from "./oauth-env-B6Y28TeU.js";
|
|
81
81
|
import { n as logConfigUpdated } from "./logging-4UnG2dJ0.js";
|
|
82
|
-
import { a as loginOpenAICodexOAuth, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as createVpsAwareOAuthHandlers, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
82
|
+
import { a as loginOpenAICodexOAuth, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as createVpsAwareOAuthHandlers, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-3K1-dUeB.js";
|
|
83
83
|
import "./oauth-tls-preflight-QW7NJxrV.js";
|
|
84
84
|
import path from "node:path";
|
|
85
85
|
import fsPromises from "node:fs/promises";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-BEF5zTJO.js";
|
|
2
2
|
import { Mi as loadConfig } from "./auth-profiles-D9Wn945p.js";
|
|
3
3
|
import { A as resolveDefaultAgentWorkspaceDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-OAwT1oHV.js";
|
|
4
|
-
import { c as loadOpenClawPlugins, s as createPluginLoaderLogger } from "./compact-
|
|
4
|
+
import { c as loadOpenClawPlugins, s as createPluginLoaderLogger } from "./compact-DBxHCU3Q.js";
|
|
5
5
|
import { m as buildNpmResolutionFields } from "./npm-pack-install-BOSZVlA5.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
//#region src/plugins/status.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-Dk5WUhC2.js";
|
|
2
2
|
import { Wa as loadConfig } from "./model-selection-DU-DNNW7.js";
|
|
3
|
-
import { D as loadOpenClawPlugins, Hn as createPluginLoaderLogger } from "./reply-
|
|
3
|
+
import { D as loadOpenClawPlugins, Hn as createPluginLoaderLogger } from "./reply-9_WxyHfF.js";
|
|
4
4
|
import { A as resolveDefaultAgentWorkspaceDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-BrJT9Gf9.js";
|
|
5
5
|
import { m as buildNpmResolutionFields } from "./npm-pack-install-BlYIroXs.js";
|
|
6
6
|
import path from "node:path";
|
|
@@ -9,7 +9,7 @@ import { t as createClackPrompter } from "./clack-prompter-Ip5-1Hu7.js";
|
|
|
9
9
|
import { t as assertSupportedRuntime } from "./runtime-guard-ENMKovXj.js";
|
|
10
10
|
import "./daemon-runtime-C3VsBsGX.js";
|
|
11
11
|
import { _ as waitForGatewayReachable, c as normalizeGatewayTokenInput, i as ensureWorkspaceAndSessions, m as resolveControlUiLinks, n as applyWizardMetadata, o as handleReset, p as randomToken, t as DEFAULT_WORKSPACE } from "./onboard-helpers-Dt3bHndL.js";
|
|
12
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
12
|
+
import { t as runOnboardingWizard } from "./onboarding-B47HB8MD.js";
|
|
13
13
|
import { n as logConfigUpdated } from "./logging-BHhuGbN8.js";
|
|
14
14
|
import { i as normalizeLegacyOnboardAuthChoice, r as isDeprecatedAuthChoice, t as ONBOARD_PROVIDER_AUTH_FLAGS } from "./onboard-provider-auth-flags-DKK-P5iq.js";
|
|
15
15
|
import { t as applyOnboardingLocalWorkspaceConfig } from "./onboard-config-CAmfYOpf.js";
|
|
@@ -248,7 +248,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
248
248
|
}
|
|
249
249
|
const daemonRuntimeRaw = opts.daemonRuntime ?? "node";
|
|
250
250
|
if (!opts.skipHealth) {
|
|
251
|
-
const { healthCommand } = await import("./health-
|
|
251
|
+
const { healthCommand } = await import("./health-D22GmS6O.js").then((n) => n.i);
|
|
252
252
|
await waitForGatewayReachable({
|
|
253
253
|
url: resolveControlUiLinks({
|
|
254
254
|
bind: gatewayResult.bind,
|
|
@@ -9,7 +9,7 @@ import { t as WizardCancelledError } from "./prompts-BAsxDmRr.js";
|
|
|
9
9
|
import { t as createClackPrompter } from "./clack-prompter-CGBSivpQ.js";
|
|
10
10
|
import "./daemon-runtime-STRcWKDg.js";
|
|
11
11
|
import { _ as waitForGatewayReachable, c as normalizeGatewayTokenInput, i as ensureWorkspaceAndSessions, m as resolveControlUiLinks, n as applyWizardMetadata, o as handleReset, p as randomToken, t as DEFAULT_WORKSPACE } from "./onboard-helpers-C-tI0ORj.js";
|
|
12
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
12
|
+
import { t as runOnboardingWizard } from "./onboarding-Dj9u7X0q.js";
|
|
13
13
|
import { n as logConfigUpdated } from "./logging-4UnG2dJ0.js";
|
|
14
14
|
import { i as normalizeLegacyOnboardAuthChoice, r as isDeprecatedAuthChoice, t as ONBOARD_PROVIDER_AUTH_FLAGS } from "./onboard-provider-auth-flags-1c50oYuG.js";
|
|
15
15
|
import { t as applyOnboardingLocalWorkspaceConfig } from "./onboard-config-DPXzB4Tb.js";
|
|
@@ -248,7 +248,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
248
248
|
}
|
|
249
249
|
const daemonRuntimeRaw = opts.daemonRuntime ?? "node";
|
|
250
250
|
if (!opts.skipHealth) {
|
|
251
|
-
const { healthCommand } = await import("./health-
|
|
251
|
+
const { healthCommand } = await import("./health-I2eelBJ0.js").then((n) => n.i);
|
|
252
252
|
await waitForGatewayReachable({
|
|
253
253
|
url: resolveControlUiLinks({
|
|
254
254
|
bind: gatewayResult.bind,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-DUslC3ob.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-Dk5WUhC2.js";
|
|
3
3
|
import { Kr as inspectTelegramAccount, Xr as resolveDefaultTelegramAccountId, Yr as listTelegramAccountIds, Zr as resolveTelegramAccount, pi as resolveChannelDefaultAccountId } from "./model-selection-DU-DNNW7.js";
|
|
4
|
-
import { D as loadOpenClawPlugins, Hn as createPluginLoaderLogger } from "./reply-
|
|
4
|
+
import { D as loadOpenClawPlugins, Hn as createPluginLoaderLogger } from "./reply-9_WxyHfF.js";
|
|
5
5
|
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-BrJT9Gf9.js";
|
|
6
6
|
import { g as normalizeAccountId, h as DEFAULT_ACCOUNT_ID } from "./session-key-VV3RvEri.js";
|
|
7
7
|
import { a as hasConfiguredSecretInput } from "./types.secrets-ZqKzSyNC.js";
|
|
@@ -7,7 +7,7 @@ import { g as normalizeAccountId, h as DEFAULT_ACCOUNT_ID } from "./session-key-
|
|
|
7
7
|
import { a as hasConfiguredSecretInput } from "./types.secrets-CQ90JO4F.js";
|
|
8
8
|
import { i as formatChannelSelectionLine, o as listChatChannels, r as formatChannelPrimerLine } from "./registry-CQHSaCtN.js";
|
|
9
9
|
import { p as clearPluginDiscoveryCache } from "./skills-VQO3Anke.js";
|
|
10
|
-
import { c as loadOpenClawPlugins, s as createPluginLoaderLogger } from "./compact-
|
|
10
|
+
import { c as loadOpenClawPlugins, s as createPluginLoaderLogger } from "./compact-DBxHCU3Q.js";
|
|
11
11
|
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-DRDN4jFP.js";
|
|
12
12
|
import { a as listChannelPluginCatalogEntries, n as isChannelConfigured } from "./plugin-auto-enable-fQ-uJndS.js";
|
|
13
13
|
import { t as formatDocsLink } from "./links-hlmnhfEU.js";
|
|
@@ -268,7 +268,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
268
268
|
const { ensureAuthProfileStore } = await import("./auth-profiles-D9Wn945p.js").then((n) => n.t);
|
|
269
269
|
const { promptAuthChoiceGrouped } = await import("./auth-choice-prompt-D0avvRTd.js").then((n) => n.t);
|
|
270
270
|
const { promptCustomApiConfig } = await import("./onboard-custom-W8wE0yre.js").then((n) => n.r);
|
|
271
|
-
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-
|
|
271
|
+
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-LkLMeioa.js").then((n) => n.t);
|
|
272
272
|
const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-BdabNhjk.js").then((n) => n.i);
|
|
273
273
|
const authStore = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false });
|
|
274
274
|
const authChoiceFromPrompt = opts.authChoice === void 0;
|
|
@@ -334,7 +334,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
334
334
|
if (opts.skipChannels ?? opts.skipProviders) await prompter.note("Skipping channel setup.", "Channels");
|
|
335
335
|
else {
|
|
336
336
|
const { listChannelPlugins } = await import("./plugins-DRDN4jFP.js").then((n) => n.i);
|
|
337
|
-
const { setupChannels } = await import("./onboard-channels-
|
|
337
|
+
const { setupChannels } = await import("./onboard-channels-D9mYZZtF.js").then((n) => n.n);
|
|
338
338
|
const quickstartAllowFromChannels = flow === "quickstart" ? listChannelPlugins().filter((plugin) => plugin.meta.quickstartAllowFrom).map((plugin) => plugin.id) : [];
|
|
339
339
|
nextConfig = await setupChannels(nextConfig, runtime, prompter, {
|
|
340
340
|
allowSignalInstall: true,
|
|
@@ -364,7 +364,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
364
364
|
mode
|
|
365
365
|
});
|
|
366
366
|
await writeConfigFile(nextConfig);
|
|
367
|
-
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-
|
|
367
|
+
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-JG_vd8zz.js");
|
|
368
368
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
369
369
|
flow,
|
|
370
370
|
opts,
|
|
@@ -268,7 +268,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
268
268
|
const { ensureAuthProfileStore } = await import("./model-selection-DU-DNNW7.js").then((n) => n.St);
|
|
269
269
|
const { promptAuthChoiceGrouped } = await import("./auth-choice-prompt-pS_vsU6E.js").then((n) => n.t);
|
|
270
270
|
const { promptCustomApiConfig } = await import("./onboard-custom-C3vRGHsc.js").then((n) => n.r);
|
|
271
|
-
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-
|
|
271
|
+
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-CBs23Eut.js").then((n) => n.t);
|
|
272
272
|
const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-BZvJOgpa.js").then((n) => n.i);
|
|
273
273
|
const authStore = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false });
|
|
274
274
|
const authChoiceFromPrompt = opts.authChoice === void 0;
|
|
@@ -334,7 +334,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
334
334
|
if (opts.skipChannels ?? opts.skipProviders) await prompter.note("Skipping channel setup.", "Channels");
|
|
335
335
|
else {
|
|
336
336
|
const { listChannelPlugins } = await import("./plugins-Delv1GbW.js").then((n) => n.i);
|
|
337
|
-
const { setupChannels } = await import("./onboard-channels-
|
|
337
|
+
const { setupChannels } = await import("./onboard-channels-C3Fr6P4C.js").then((n) => n.n);
|
|
338
338
|
const quickstartAllowFromChannels = flow === "quickstart" ? listChannelPlugins().filter((plugin) => plugin.meta.quickstartAllowFrom).map((plugin) => plugin.id) : [];
|
|
339
339
|
nextConfig = await setupChannels(nextConfig, runtime, prompter, {
|
|
340
340
|
allowSignalInstall: true,
|
|
@@ -364,7 +364,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
364
364
|
mode
|
|
365
365
|
});
|
|
366
366
|
await writeConfigFile(nextConfig);
|
|
367
|
-
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-
|
|
367
|
+
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-C-pR8_RE.js");
|
|
368
368
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
369
369
|
flow,
|
|
370
370
|
opts,
|
|
@@ -2,7 +2,7 @@ import "./paths-BJV7vkaX.js";
|
|
|
2
2
|
import "./subsystem-Dk5WUhC2.js";
|
|
3
3
|
import { g as resolveUserPath, p as pathExists } from "./utils-CGU7Q77u.js";
|
|
4
4
|
import "./model-selection-DU-DNNW7.js";
|
|
5
|
-
import "./reply-
|
|
5
|
+
import "./reply-9_WxyHfF.js";
|
|
6
6
|
import { v as DEFAULT_BOOTSTRAP_FILENAME } from "./agent-scope-BrJT9Gf9.js";
|
|
7
7
|
import "./openclaw-root-DbbVtnL2.js";
|
|
8
8
|
import "./logger-m0MK99MT.js";
|
|
@@ -67,10 +67,10 @@ import "./memory-cli-C5dGMHKl.js";
|
|
|
67
67
|
import "./prompt-Dw2SzW-X.js";
|
|
68
68
|
import "./binaries-AvCyfzgx.js";
|
|
69
69
|
import "./runtime-guard-BbTH9fjr.js";
|
|
70
|
-
import "./program-context-
|
|
70
|
+
import "./program-context-BCpzWqA0.js";
|
|
71
71
|
import "./prompt-style-Dc8jJv7n.js";
|
|
72
72
|
import "./note-BiaAdUTc.js";
|
|
73
|
-
import { r as installCompletion } from "./completion-cli-
|
|
73
|
+
import { r as installCompletion } from "./completion-cli-C0IxNzBH.js";
|
|
74
74
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, t as resolveGatewayInstallToken } from "./gateway-install-token-CVO9K6d2.js";
|
|
75
75
|
import { n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-STRcWKDg.js";
|
|
76
76
|
import "./tailscale-BypHVf47.js";
|
|
@@ -78,10 +78,10 @@ import "./auth-Bu24hYWH.js";
|
|
|
78
78
|
import { _ as waitForGatewayReachable, f as probeGatewayReachable, m as resolveControlUiLinks } from "./onboard-helpers-C-tI0ORj.js";
|
|
79
79
|
import { i as isSystemdUserServiceAvailable } from "./systemd-lqHMKF03.js";
|
|
80
80
|
import { t as resolveGatewayService } from "./service-kXk8K3mn.js";
|
|
81
|
-
import { r as healthCommand } from "./health-
|
|
81
|
+
import { r as healthCommand } from "./health-I2eelBJ0.js";
|
|
82
82
|
import { t as resolveOnboardingSecretInputString } from "./onboarding.secret-input-DkAfkFVQ.js";
|
|
83
83
|
import { t as formatHealthCheckFailure } from "./health-format-CMtVTDKx.js";
|
|
84
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
84
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-BMhNBLlZ.js";
|
|
85
85
|
import os from "node:os";
|
|
86
86
|
import path from "node:path";
|
|
87
87
|
import fsPromises from "node:fs/promises";
|
|
@@ -16,7 +16,7 @@ import "./skills-VQO3Anke.js";
|
|
|
16
16
|
import "./frontmatter-DAfBRAy7.js";
|
|
17
17
|
import "./redact-CxtZhh9L.js";
|
|
18
18
|
import "./path-alias-guards-DHv0a8uY.js";
|
|
19
|
-
import "./compact-
|
|
19
|
+
import "./compact-DBxHCU3Q.js";
|
|
20
20
|
import "./plugins-DRDN4jFP.js";
|
|
21
21
|
import "./paths-B-JdyKTL.js";
|
|
22
22
|
import "./chat-envelope-t_PEbhWC.js";
|
|
@@ -71,9 +71,9 @@ import "./progress-DvzcL_95.js";
|
|
|
71
71
|
import "./memory-cli-BLSGcKsi.js";
|
|
72
72
|
import "./prompt-style-BmwLwm5B.js";
|
|
73
73
|
import "./note-CNy1ZzH9.js";
|
|
74
|
-
import { r as installCompletion } from "./completion-cli-
|
|
75
|
-
import "./register.subclis-
|
|
76
|
-
import "./command-registry-
|
|
74
|
+
import { r as installCompletion } from "./completion-cli-BXlBKnlj.js";
|
|
75
|
+
import "./register.subclis-BJi9Wx12.js";
|
|
76
|
+
import "./command-registry-B4XSKnqk.js";
|
|
77
77
|
import "./program-context-Dz8VotJ1.js";
|
|
78
78
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, t as resolveGatewayInstallToken } from "./gateway-install-token-B7z4nya5.js";
|
|
79
79
|
import "./runtime-guard-ENMKovXj.js";
|
|
@@ -84,10 +84,10 @@ import "./auth-B7N969mv.js";
|
|
|
84
84
|
import { _ as waitForGatewayReachable, f as probeGatewayReachable, m as resolveControlUiLinks } from "./onboard-helpers-Dt3bHndL.js";
|
|
85
85
|
import { i as isSystemdUserServiceAvailable } from "./systemd-qW6d6kEI.js";
|
|
86
86
|
import { t as resolveGatewayService } from "./service-D91QofaA.js";
|
|
87
|
-
import { r as healthCommand } from "./health-
|
|
87
|
+
import { r as healthCommand } from "./health-D22GmS6O.js";
|
|
88
88
|
import { t as resolveOnboardingSecretInputString } from "./onboarding.secret-input-Bmjiy8T4.js";
|
|
89
89
|
import { t as formatHealthCheckFailure } from "./health-format-CeDaLKjT.js";
|
|
90
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
90
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-Bhzly0Le.js";
|
|
91
91
|
import os from "node:os";
|
|
92
92
|
import path from "node:path";
|
|
93
93
|
import fs from "node:fs/promises";
|
|
@@ -376,7 +376,7 @@ var LegacyContextEngine = class {
|
|
|
376
376
|
}
|
|
377
377
|
async afterTurn(_params) {}
|
|
378
378
|
async compact(params) {
|
|
379
|
-
const { compactEmbeddedPiSessionDirect } = await import("./compact.runtime-
|
|
379
|
+
const { compactEmbeddedPiSessionDirect } = await import("./compact.runtime-DKQKkff5.js");
|
|
380
380
|
const runtimeContext = params.runtimeContext ?? {};
|
|
381
381
|
const result = await compactEmbeddedPiSessionDirect({
|
|
382
382
|
...runtimeContext,
|
|
@@ -11306,7 +11306,7 @@ const DEFAULT_SUBAGENT_ANNOUNCE_TIMEOUT_MS = 6e4;
|
|
|
11306
11306
|
const MAX_TIMER_SAFE_TIMEOUT_MS = 2147e6;
|
|
11307
11307
|
let subagentRegistryRuntimePromise = null;
|
|
11308
11308
|
function loadSubagentRegistryRuntime() {
|
|
11309
|
-
subagentRegistryRuntimePromise ??= import("./subagent-registry-runtime-
|
|
11309
|
+
subagentRegistryRuntimePromise ??= import("./subagent-registry-runtime-D68_xG8d.js");
|
|
11310
11310
|
return subagentRegistryRuntimePromise;
|
|
11311
11311
|
}
|
|
11312
11312
|
const DIRECT_ANNOUNCE_TRANSIENT_RETRY_DELAYS_MS = FAST_TEST_MODE ? [
|
|
@@ -14338,7 +14338,16 @@ function resolveChannelModelOverride(params) {
|
|
|
14338
14338
|
const providerEntries = resolveProviderEntry(modelByChannel, channel);
|
|
14339
14339
|
if (!providerEntries) return null;
|
|
14340
14340
|
const candidates = buildChannelCandidates(params);
|
|
14341
|
-
if (candidates.length === 0)
|
|
14341
|
+
if (candidates.length === 0) {
|
|
14342
|
+
const wildcardModel = typeof providerEntries["*"] === "string" ? providerEntries["*"].trim() : void 0;
|
|
14343
|
+
if (!wildcardModel) return null;
|
|
14344
|
+
return {
|
|
14345
|
+
channel: normalizeMessageChannel(channel) ?? channel.trim().toLowerCase(),
|
|
14346
|
+
model: wildcardModel,
|
|
14347
|
+
matchKey: "*",
|
|
14348
|
+
matchSource: "wildcard"
|
|
14349
|
+
};
|
|
14350
|
+
}
|
|
14342
14351
|
const match = resolveChannelEntryMatchWithFallback({
|
|
14343
14352
|
entries: providerEntries,
|
|
14344
14353
|
keys: candidates,
|
|
@@ -299,7 +299,7 @@ var LegacyContextEngine = class {
|
|
|
299
299
|
}
|
|
300
300
|
async afterTurn(_params) {}
|
|
301
301
|
async compact(params) {
|
|
302
|
-
const { compactEmbeddedPiSessionDirect } = await import("./compact.runtime-
|
|
302
|
+
const { compactEmbeddedPiSessionDirect } = await import("./compact.runtime-DvhVgC1j.js");
|
|
303
303
|
const runtimeContext = params.runtimeContext ?? {};
|
|
304
304
|
const result = await compactEmbeddedPiSessionDirect({
|
|
305
305
|
...runtimeContext,
|
|
@@ -11275,7 +11275,7 @@ const DEFAULT_SUBAGENT_ANNOUNCE_TIMEOUT_MS = 6e4;
|
|
|
11275
11275
|
const MAX_TIMER_SAFE_TIMEOUT_MS = 2147e6;
|
|
11276
11276
|
let subagentRegistryRuntimePromise = null;
|
|
11277
11277
|
function loadSubagentRegistryRuntime() {
|
|
11278
|
-
subagentRegistryRuntimePromise ??= import("./subagent-registry-runtime-
|
|
11278
|
+
subagentRegistryRuntimePromise ??= import("./subagent-registry-runtime-CrS70feQ.js");
|
|
11279
11279
|
return subagentRegistryRuntimePromise;
|
|
11280
11280
|
}
|
|
11281
11281
|
const DIRECT_ANNOUNCE_TRANSIENT_RETRY_DELAYS_MS = FAST_TEST_MODE ? [
|
|
@@ -14307,7 +14307,16 @@ function resolveChannelModelOverride(params) {
|
|
|
14307
14307
|
const providerEntries = resolveProviderEntry(modelByChannel, channel);
|
|
14308
14308
|
if (!providerEntries) return null;
|
|
14309
14309
|
const candidates = buildChannelCandidates(params);
|
|
14310
|
-
if (candidates.length === 0)
|
|
14310
|
+
if (candidates.length === 0) {
|
|
14311
|
+
const wildcardModel = typeof providerEntries["*"] === "string" ? providerEntries["*"].trim() : void 0;
|
|
14312
|
+
if (!wildcardModel) return null;
|
|
14313
|
+
return {
|
|
14314
|
+
channel: normalizeMessageChannel(channel) ?? channel.trim().toLowerCase(),
|
|
14315
|
+
model: wildcardModel,
|
|
14316
|
+
matchKey: "*",
|
|
14317
|
+
matchSource: "wildcard"
|
|
14318
|
+
};
|
|
14319
|
+
}
|
|
14311
14320
|
const match = resolveChannelEntryMatchWithFallback({
|
|
14312
14321
|
entries: providerEntries,
|
|
14313
14322
|
keys: candidates,
|
|
@@ -3,7 +3,7 @@ import { t as createSubsystemLogger } from "./subsystem-BEF5zTJO.js";
|
|
|
3
3
|
import { Mi as loadConfig } from "./auth-profiles-D9Wn945p.js";
|
|
4
4
|
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-OAwT1oHV.js";
|
|
5
5
|
import { u as getActivePluginRegistry } from "./registry-CQHSaCtN.js";
|
|
6
|
-
import { c as loadOpenClawPlugins } from "./compact-
|
|
6
|
+
import { c as loadOpenClawPlugins } from "./compact-DBxHCU3Q.js";
|
|
7
7
|
//#region src/cli/plugin-registry.ts
|
|
8
8
|
var plugin_registry_exports = /* @__PURE__ */ __exportAll({ ensurePluginRegistryLoaded: () => ensurePluginRegistryLoaded });
|
|
9
9
|
const log = createSubsystemLogger("plugins");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-DUslC3ob.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-Dk5WUhC2.js";
|
|
3
3
|
import { Wa as loadConfig } from "./model-selection-DU-DNNW7.js";
|
|
4
|
-
import { D as loadOpenClawPlugins } from "./reply-
|
|
4
|
+
import { D as loadOpenClawPlugins } from "./reply-9_WxyHfF.js";
|
|
5
5
|
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-BrJT9Gf9.js";
|
|
6
6
|
import { u as getActivePluginRegistry } from "./registry-BKJyEPHE.js";
|
|
7
7
|
//#region src/cli/plugin-registry.ts
|
package/dist/plugin-sdk/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
import fs, { constants } from "node:fs";
|
|
5
5
|
import os from "node:os";
|
|
6
6
|
import { Logger } from "tslog";
|
|
7
|
-
import
|
|
7
|
+
import JSON5 from "json5";
|
|
8
8
|
import chalk, { Chalk } from "chalk";
|
|
9
9
|
import fs$1 from "node:fs/promises";
|
|
10
10
|
import { Agent, EnvHttpProxyAgent } from "undici";
|
|
@@ -1360,7 +1360,7 @@ function readLoggingConfig() {
|
|
|
1360
1360
|
try {
|
|
1361
1361
|
if (!fs.existsSync(configPath)) return;
|
|
1362
1362
|
const raw = fs.readFileSync(configPath, "utf-8");
|
|
1363
|
-
const logging =
|
|
1363
|
+
const logging = JSON5.parse(raw)?.logging;
|
|
1364
1364
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
1365
1365
|
return logging;
|
|
1366
1366
|
} catch {
|
|
@@ -5,7 +5,7 @@ import chalk, { Chalk } from "chalk";
|
|
|
5
5
|
import fs, { constants } from "node:fs";
|
|
6
6
|
import { Logger } from "tslog";
|
|
7
7
|
import os from "node:os";
|
|
8
|
-
import
|
|
8
|
+
import JSON5 from "json5";
|
|
9
9
|
import util, { promisify } from "node:util";
|
|
10
10
|
import fs$1 from "node:fs/promises";
|
|
11
11
|
import { execFile, spawn } from "node:child_process";
|
|
@@ -1490,7 +1490,7 @@ function readLoggingConfig() {
|
|
|
1490
1490
|
try {
|
|
1491
1491
|
if (!fs.existsSync(configPath)) return;
|
|
1492
1492
|
const raw = fs.readFileSync(configPath, "utf-8");
|
|
1493
|
-
const logging =
|
|
1493
|
+
const logging = JSON5.parse(raw)?.logging;
|
|
1494
1494
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
1495
1495
|
return logging;
|
|
1496
1496
|
} catch {
|
|
@@ -15,7 +15,7 @@ import { d as clearPluginManifestRegistryCache, y as resolveBundledPluginsDir }
|
|
|
15
15
|
import "./frontmatter-DAfBRAy7.js";
|
|
16
16
|
import "./redact-CxtZhh9L.js";
|
|
17
17
|
import "./path-alias-guards-DHv0a8uY.js";
|
|
18
|
-
import "./compact-
|
|
18
|
+
import "./compact-DBxHCU3Q.js";
|
|
19
19
|
import "./plugins-DRDN4jFP.js";
|
|
20
20
|
import "./paths-B-JdyKTL.js";
|
|
21
21
|
import "./chat-envelope-t_PEbhWC.js";
|
|
@@ -75,7 +75,7 @@ import { c as installPluginFromPath, l as resolvePluginInstallDir, n as recordPl
|
|
|
75
75
|
import { r as resolveBundledInstallPlanForNpmFailure, t as resolveBundledInstallPlanBeforeNpm } from "./plugin-install-plan-CzhBkqkh.js";
|
|
76
76
|
import { t as promptYesNo } from "./prompt-Bz3qtVYy.js";
|
|
77
77
|
import { n as renderTable, t as getTerminalTableWidth } from "./table-B-mQ0pe0.js";
|
|
78
|
-
import { i as buildPluginStatusReport, n as resolvePinnedNpmInstallRecordForCli, r as looksLikeLocalInstallSpec } from "./npm-resolution-
|
|
78
|
+
import { i as buildPluginStatusReport, n as resolvePinnedNpmInstallRecordForCli, r as looksLikeLocalInstallSpec } from "./npm-resolution-Bn1LgQFf.js";
|
|
79
79
|
import { n as updateNpmInstalledPlugins } from "./update-DS6G-UlF.js";
|
|
80
80
|
import os from "node:os";
|
|
81
81
|
import path from "node:path";
|