wednesdayai 0.4.12-dev.704 → 0.4.12-dev.705
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/README.md +17 -37
- package/dist/{agent-turn-runner-DqMoXRuU.js → agent-turn-runner-BpzPb_LQ.js} +3 -3
- package/dist/{agent-turn-runner-B-7YUyze.js → agent-turn-runner-CLScSQoW.js} +3 -3
- package/dist/{audio-preflight--JCKSyRB.js → audio-preflight-BXfuOHLv.js} +5 -5
- package/dist/{audio-preflight-BXVADGV1.js → audio-preflight-D9KtmJay.js} +5 -5
- package/dist/{audio-transcription-runner-DOckW8KR.js → audio-transcription-runner-BA6t6iSO.js} +1 -1
- package/dist/{audio-transcription-runner-rzX-3s-8.js → audio-transcription-runner-CdwSTFuT.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +12 -12
- package/dist/bundled/session-journal/handler.js +12 -12
- package/dist/bundled/session-memory/handler.js +12 -12
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{chrome-NdTR0Suj.js → chrome-CGClRujb.js} +8 -8
- package/dist/{chrome-BWMtx0mE.js → chrome-CTyhKrVS.js} +8 -8
- package/dist/{command-queue-9A3kOAZN.js → command-queue-DKPv7dYN.js} +1 -1
- package/dist/{command-queue-BG3CzKrI.js → command-queue-o1awgKih.js} +1 -1
- package/dist/{deliver-Co_a29nB.js → deliver-Bs58Ncxn.js} +1 -1
- package/dist/{deliver-BdqSGMEa.js → deliver-DrmyBByg.js} +1 -1
- package/dist/{diagnostic-Cfb2ONnX.js → diagnostic-Ba0VUozS.js} +1 -1
- package/dist/{diagnostic-BwoKR7Xi.js → diagnostic-DmBrpD9P.js} +1 -1
- package/dist/extensionAPI.js +12 -12
- package/dist/llm-slug-generator.js +12 -12
- package/dist/{pi-embedded-B8eDIvpq.js → pi-embedded-Cklnkha9.js} +28 -28
- package/dist/{pi-embedded-tUqWFr9c.js → pi-embedded-DHw7Di5R.js} +28 -28
- package/dist/{pi-embedded-helpers-BvZj1LkK.js → pi-embedded-helpers-4qLKF7Ti.js} +3 -3
- package/dist/{pi-embedded-helpers-BKVOw8ZC.js → pi-embedded-helpers-DYlkCsNL.js} +3 -3
- package/dist/{pi-embedded-utils-BgW57VPl.js → pi-embedded-utils-CHJI4-m4.js} +1 -1
- package/dist/{pi-embedded-utils-dzSLPKQ1.js → pi-embedded-utils-DGuyV3oI.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-CEEynY4W.js → agent-scope-BeUdw1gJ.js} +2 -2
- package/dist/plugin-sdk/agent-turn-execute-CJ36gcjc.js +61 -0
- package/dist/plugin-sdk/{agent-turn-runner-CS_9t8FO.js → agent-turn-runner-C9Ll5QSC.js} +6 -6
- package/dist/plugin-sdk/{api-key-rotation-C-kEOoei.js → api-key-rotation-CXgGGVWn.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-DKGcwiIP.js → audio-preflight-DwOfW2wS.js} +22 -22
- package/dist/plugin-sdk/{audio-transcription-runner-C6_AucCP.js → audio-transcription-runner-JGf9MAOA.js} +11 -11
- package/dist/plugin-sdk/{auth-profiles-BqSPZl3H.js → auth-profiles-C_lsRyPw.js} +5 -5
- package/dist/plugin-sdk/{channel-activity-BuWLq6ts.js → channel-activity-UKizAHW8.js} +3 -3
- package/dist/plugin-sdk/{chrome-nWku6ryP.js → chrome-a1SYKLWC.js} +4 -4
- package/dist/plugin-sdk/{chunk-HpUuRSbr.js → chunk-DaqKWnuH.js} +4 -4
- package/dist/plugin-sdk/{command-queue-CZblXUNl.js → command-queue-D38UhuK9.js} +2 -2
- package/dist/plugin-sdk/{commands-registry-C5lbBMQS.js → commands-registry-BMtROFJo.js} +3 -3
- package/dist/plugin-sdk/{deliver-BmNkbjkg.js → deliver-BwrjhyjB.js} +11 -11
- package/dist/plugin-sdk/deliver-Cs4Z-yfq.js +32 -0
- package/dist/plugin-sdk/{diagnostic-DqBP7fk9.js → diagnostic-mAxbFQHT.js} +7 -7
- package/dist/plugin-sdk/{diagnostic-session-state-ZELApkcq.js → diagnostic-session-state-CxVUBLHW.js} +1 -1
- package/dist/plugin-sdk/{fetch-CbHYT-hn.js → fetch-BKb3qUv8.js} +1 -1
- package/dist/plugin-sdk/{fetch-Cb4UmAkA.js → fetch-DBpdlEqi.js} +7 -7
- package/dist/plugin-sdk/{fetch-guard-Cbfi49RA.js → fetch-guard-DlWfki0g.js} +4 -4
- package/dist/plugin-sdk/{fetch-timeout-C_ox1u3l.js → fetch-timeout-Bftlxkgu.js} +1 -1
- package/dist/plugin-sdk/{fs-safe-5miLMTNQ.js → fs-safe-MgrkXibA.js} +3 -3
- package/dist/plugin-sdk/{image-ops-beo_JiSv.js → image-ops-Ds3TYUBA.js} +1 -1
- package/dist/plugin-sdk/{inbound-context-DVane3Zi.js → inbound-context-B6ovxuzF.js} +1 -1
- package/dist/plugin-sdk/{ir-CG1ZJvEL.js → ir-CwFlacLK.js} +5 -5
- package/dist/plugin-sdk/{logger-DjkYAAwO.js → logger-COjxz0oP.js} +1 -1
- package/dist/plugin-sdk/manager-BMV4GnjN.js +16 -0
- package/dist/plugin-sdk/{manager-BLjtt5-a.js → manager-MhRo_Y53.js} +8 -8
- package/dist/plugin-sdk/{markdown-tables-UtpXDc0t.js → markdown-tables-C9S5LJE6.js} +3 -3
- package/dist/plugin-sdk/{outbound-attachment-BJBF5SSr.js → outbound-attachment-CUXAsLsK.js} +2 -2
- package/dist/plugin-sdk/{outbound-message-hooks-D3KenJeF.js → outbound-message-hooks-Bg-e0wJT.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-CfZ68Gx1.js → path-alias-guards-BsvpbjFQ.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-qFbUJ-VN.js → pi-embedded-helpers-B035viJt.js} +11 -11
- package/dist/plugin-sdk/{pi-embedded-utils-BfL7nQ-7.js → pi-embedded-utils-Ckrw1zyA.js} +3 -3
- package/dist/plugin-sdk/{pi-model-discovery-FLUIEwh4.js → pi-model-discovery-DoON6s_y.js} +2 -2
- package/dist/plugin-sdk/provider-dispatcher-DNwnSw41.js +61 -0
- package/dist/plugin-sdk/provider-image-DXbrbBES.js +22 -0
- package/dist/plugin-sdk/{provider-image-BPSs4wqU.js → provider-image-JOxAggPa.js} +5 -5
- package/dist/plugin-sdk/provider-media-understanding.js +7 -7
- package/dist/plugin-sdk/{proxy-C18DroLg.js → proxy-CJSKrzHc.js} +2 -2
- package/dist/plugin-sdk/{proxy-env-Dof0ndb_.js → proxy-env-Bi6F7qH_.js} +2 -2
- package/dist/plugin-sdk/{proxy-fetch-D7HnSmzd.js → proxy-fetch-BVHQlQ0b.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-0mmw3fTw.js → pw-ai-BtJHSLu5.js} +10 -10
- package/dist/plugin-sdk/{qmd-manager-FOnSMxsG.js → qmd-manager-Yj4sdDks.js} +8 -8
- package/dist/plugin-sdk/{query-expansion-DsO05YlE.js → query-expansion-6YaEe4is.js} +3 -3
- package/dist/plugin-sdk/{recorder-5bzf6ySQ.js → recorder-DCKCn66f.js} +4 -4
- package/dist/plugin-sdk/{redact-Cys_2lrs.js → redact-Bi7p4BwQ.js} +1 -1
- package/dist/plugin-sdk/{registry-MeZym4lM.js → registry-BAGNI7rT.js} +7 -7
- package/dist/plugin-sdk/replies-Be239YFg.js +25 -0
- package/dist/plugin-sdk/{replies-DkvzoPb0.js → replies-QdHoPz--.js} +4 -4
- package/dist/plugin-sdk/{reply-directives-CNkQ10XJ.js → reply-directives-B_Ac2F5C.js} +2 -2
- package/dist/plugin-sdk/{reply-prefix-p0F2JPGu.js → reply-prefix-BicsLWcm.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-DeggwjWG.js → resolve-route-D628GK2e.js} +5 -5
- package/dist/plugin-sdk/{run-with-concurrency-ILVrq3D3.js → run-with-concurrency-jmsjZzF_.js} +1 -1
- package/dist/plugin-sdk/{runs-CfIZFuVN.js → runs-CK-hc7Zt.js} +8 -8
- package/dist/plugin-sdk/runs-vOx1d_ks.js +25 -0
- package/dist/plugin-sdk/{send-BzYNrJe2.js → send-B185UKV9.js} +14 -14
- package/dist/plugin-sdk/{send-TkRZ83nq.js → send-BWpmSHCb.js} +8 -8
- package/dist/plugin-sdk/{send-VImHlXZJ.js → send-BZmyU4ku.js} +9 -9
- package/dist/plugin-sdk/send-BbBjb8Y6.js +27 -0
- package/dist/plugin-sdk/send-BeGT-pg6.js +23 -0
- package/dist/plugin-sdk/{send-11C4Ciys.js → send-CJaXVbN1.js} +6 -6
- package/dist/plugin-sdk/{send-DoNV4ASm.js → send-D2YHGuuw.js} +7 -7
- package/dist/plugin-sdk/{send-CMdCjWsm.js → send-DpOu5jYA.js} +20 -20
- package/dist/plugin-sdk/send-j6u0up7Q.js +24 -0
- package/dist/plugin-sdk/send-mvIDllNB.js +25 -0
- package/dist/plugin-sdk/{session-meta-g4bndbGh.js → session-meta-sdu80P7z.js} +3 -3
- package/dist/plugin-sdk/{skill-commands-D6cK0kno.js → skill-commands-DslzFiF-.js} +6 -6
- package/dist/plugin-sdk/{skills-DYR5x5Gr.js → skills-CK4ps21y.js} +6 -6
- package/dist/plugin-sdk/{store-Cy3Dzpbu.js → store-B3fH9LYD.js} +2 -2
- package/dist/plugin-sdk/subagent-registry-dkpySBIy.js +61 -0
- package/dist/plugin-sdk/{subsystem-BJwpOj_m.js → subsystem-rgYCdGI1.js} +4 -4
- package/dist/plugin-sdk/{tables-DBa8HzDM.js → tables-CWATSMdp.js} +1 -1
- package/dist/plugin-sdk/testing.js +55 -55
- package/dist/plugin-sdk/{tokens-BZ4pmyi4.js → tokens-DTNAbGed.js} +1 -1
- package/dist/plugin-sdk/{tool-loop-detection-O55eXW7t.js → tool-loop-detection-hidML3Zn.js} +1 -1
- package/dist/plugin-sdk/{tools-Bx_bU8Ko.js → tools-BYRFeM5o.js} +93 -93
- package/dist/plugin-sdk/{user-run-recording-DepmpAdE.js → user-run-recording-DBN9MLgl.js} +3 -3
- package/dist/{provider-image-BqxdhC84.js → provider-image-BfLbSFcG.js} +1 -1
- package/dist/{provider-image-Cn_5jslf.js → provider-image-CtDp01Fm.js} +1 -1
- package/dist/{pw-ai-DTklTcfl.js → pw-ai-5UgHGA7x.js} +1 -1
- package/dist/{pw-ai-CZUfhsmk.js → pw-ai-Dmtqq3b6.js} +1 -1
- package/dist/{runs-B5jL-JGA.js → runs-BKXuFolN.js} +3 -3
- package/dist/{runs-vS0SOF8v.js → runs-Dgl9DXVG.js} +3 -3
- package/dist/{send-Bo-flx6B.js → send-BWsYS2bT.js} +1 -1
- package/dist/{send-BRRJAJM9.js → send-C6j-WuJq.js} +1 -1
- package/extensions/acpx/package.json +1 -1
- package/extensions/anthropic/package.json +1 -1
- package/extensions/bifrost/package.json +1 -1
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/deepgram/package.json +1 -1
- package/extensions/deepinfra/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/diffs/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/dream-cycle/package.json +1 -1
- package/extensions/elevenlabs/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/gemini-search/package.json +1 -1
- package/extensions/google/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/grok-search/package.json +1 -1
- package/extensions/groq/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/kimi-search/package.json +1 -1
- package/extensions/learning-core/index.ts +1 -1
- package/extensions/learning-core/package.json +1 -1
- package/extensions/learning-core/src/learning-schema.test.ts +1 -1
- package/extensions/learning-core/src/types.ts +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/lobster/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +1 -1
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/package.json +1 -1
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/mistral/package.json +1 -1
- package/extensions/moonshot/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +1 -1
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +1 -1
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/openai/package.json +1 -1
- package/extensions/openai-realtime/package.json +1 -1
- package/extensions/openrouter/package.json +1 -1
- package/extensions/perplexity-search/package.json +1 -1
- package/extensions/searxng-search/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/synology-chat/package.json +1 -1
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +1 -1
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +1 -1
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zai/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +1 -1
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +1 -1
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
- package/dist/plugin-sdk/agent-turn-execute-B6RKsZU3.js +0 -61
- package/dist/plugin-sdk/deliver-D7FDyEYC.js +0 -32
- package/dist/plugin-sdk/manager-Rskloqo2.js +0 -16
- package/dist/plugin-sdk/provider-dispatcher-B0eRZ0GX.js +0 -61
- package/dist/plugin-sdk/provider-image-CoUtlZPn.js +0 -22
- package/dist/plugin-sdk/replies-BUH8kIfV.js +0 -25
- package/dist/plugin-sdk/runs--99AlLJ4.js +0 -25
- package/dist/plugin-sdk/send-BSMWkFUt.js +0 -24
- package/dist/plugin-sdk/send-BxpmMyy_.js +0 -25
- package/dist/plugin-sdk/send-CR06c-zQ.js +0 -23
- package/dist/plugin-sdk/send-sS36OO9x.js +0 -27
- package/dist/plugin-sdk/subagent-registry-BaawB60T.js +0 -61
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
import { a as formatErrorMessage, i as formatErrorChainMessage, l as readErrorName, n as collectErrorGraphCandidates, o as formatUncaughtError, p as isBlockedHostnameOrIp, s as hasErrnoCode, u as SsrFBlockedError, y as normalizeHostname } from "./proxy-env-
|
|
2
|
-
import { $ as isJsonlSessionBackend, $a as setActivePluginRegistry, $i as isTruthyEnvValue, $n as analyzeShellCommand, $r as getCustomProviderApiKey, A as mergeDeliveryContext, Aa as isGatewayMessageChannel, Ai as normalizeSecretInput, An as BUNDLED_ENABLED_BY_DEFAULT, Ar as modelKey, At as resolveSessionKey, B as applyInputProvenanceToUserMessage, Bi as getChannelPlugin, Bn as getConfigOverrides, Bt as canonicalizeMainSessionAlias, C as updateLastRoute, Ca as resolveChannelGroupPolicy, Ci as markAuthProfileGood, Cn as AVATAR_MAX_BYTES, Cr as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, Ct as derivePromptTokens, D as resolveCacheTtlMs$1, Da as resolveGroupSessionKey, Di as resolveOpenClawAgentDir, Dn as isSupportedLocalAvatarExtension, Dr as buildModelAliasIndex, Dt as normalizeUsage, E as isCacheEnabled, Ea as resolveAccountEntry, Ei as resolveAuthStorePathForDisplay, En as isPathWithinRoot, Er as buildConfiguredAllowlistKeys, Et as makeZeroUsageSnapshot, F as capArrayByJsonBytes, Fa as resolveGatewayMessageChannel, Fi as VERSION, Fn as resolveMemorySlotDecision, Fr as resolveDefaultModelForAgent, Ft as resolveThreadFlag, G as readJsonFile, Ga as normalizeChannelId$2, Gi as normalizeSignalMessagingTarget, Gn as parseConfigPath, Gr as retryAsync, Gt as loadConfig, H as normalizeInputProvenance, Ha as getChatChannelMeta, Hi as normalizeChannelId$1, Hn as setConfigOverride, Ht as resolveExplicitAgentSessionKey, I as countToolResults, Ia as resolveMessageChannel, Ii as getShellPathFromLoginShell, In as discoverOpenClawPlugins, Ir as resolveModelRefFromString, It as DEFAULT_RESET_TRIGGERS, J as parseSessionThreadInfo, Ja as getActiveGatewayPluginRegistry, Ji as listTelegramAccountIds, Jn as getTrustedSafeBinDirs, Jr as buildAssistantMessage, Jt as writeConfigFile, K as writeJsonAtomic, Ka as normalizeChatChannelId, Ki as createTelegramActionGate, Kn as setConfigValueAtPath, Kr as OLLAMA_NATIVE_BASE_URL, Kt as readConfigFileSnapshot, L as extractToolCallNames, La as GATEWAY_CLIENT_IDS, Li as resolveShellEnvFallbackTimeoutMs, Ln as isPathInside, Lr as resolveReasoningDefault, Lt as mergeSessionEntry, M as normalizeSessionDeliveryFields, Ma as isMarkdownCapableMessageChannel, Mi as DEFAULT_CONTEXT_TOKENS, Mn as isBundledChannelEnabledByChannelConfig, Mr as normalizeProviderId, Mt as resolveChannelResetConfig, N as normalizeAccountId$3, Na as listDeliverableMessageChannels, Ni as DEFAULT_MODEL, Nn as normalizePluginsConfig, Nr as parseModelRef, Nt as resolveSessionResetPolicy, O as deliveryContextFromSession, Oa as INTERNAL_MESSAGE_CHANNEL, Oi as resolveAuthProfileDisplayLabel, On as validateJsonSchemaValue, Or as findNormalizedProviderValue, P as archiveSessionTranscripts, Pa as normalizeMessageChannel, Pi as DEFAULT_PROVIDER, Pn as resolveEffectiveEnableState, Pr as resolveConfiguredModelRef, Pt as resolveSessionResetType, Q as withPreservationWriterPermit, Qa as requireActivePluginRegistry, Qn as validateSafeBinArgv, Qr as getApiKeyForModel, Qt as resolveTelegramCustomCommands, R as parseInlineDirectives$1, Ra as GATEWAY_CLIENT_MODES, Ri as resolveOwnerDisplaySetting, Rn as safeStatSync, Rr as resolveSubagentSpawnModelSelection, Rt as resolveFreshSessionTotalTokens, S as syncConfiguredSessionTranscriptToRuntime, Sa as resolveSecretInputRef, Si as listProfilesForProvider, T as updateSessionStoreEntry, Ta as resolveChannelGroupToolsPolicy, Tn as isAvatarHttpUrl, Tr as buildAllowedModelSet, Tt as hasNonzeroUsage, U as jsonUtf8Bytes, Ua as listChatChannels, Ui as getChannelDock, Un as unsetConfigOverride, Ut as resolveMainSessionKey, V as hasInterSessionUserProvenance, Va as CHAT_CHANNEL_ORDER, Vi as listChannelPlugins, Vn as resetConfigOverrides, Vt as resolveAgentMainSessionKey, W as createAsyncLock, Wa as normalizeAnyChannelId, Wi as listChannelDocks, Wn as getConfigValueAtPath, Xa as getActivePluginRegistryKey, Xi as resolveTelegramToken, Xn as listWritableExplicitTrustedSafeBinDirs, Xr as buildStreamErrorAssistantMessage, Xt as TELEGRAM_COMMAND_NAME_PATTERN, Y as appendAssistantMessageToSessionTranscript, Ya as getActivePluginRegistry, Yi as resolveTelegramAccount, Yn as isTrustedSafeBinPath, Yr as buildAssistantMessageWithZeroUsage, Yt as validateConfigObjectWithPlugins, Z as resolveAndPersistSessionFile, Zi as buildChannelAccountBindings, Zn as normalizeTrustedSafeBinDirs, Zr as buildUsageWithNoCost, Zt as normalizeTelegramCommandName, _ as getConfiguredSessionStorageRuntime, _a as resolveDiscordAccount, _i as parseDotPath, _o as replaceBufferedPluginTaskPasses, _r as isSafeExecutableValue, _t as formatZonedTimestamp, a as normalizePluginHttpPath, aa as listEnabledSignalAccounts, an as parseNonNegativeByteSize, ao as resolveSessionLockMaxHoldFromTimeout, ar as resolveAllowlistCandidatePath, at as onSessionTranscriptUpdate, b as readSessionUpdatedAt, ba as hasConfiguredSecretInput, br as resolveSlackNativeStreaming, bt as emitDiagnosticEvent, c as executePluginCommand, ca as normalizeWhatsAppTarget, ci as isProfileInCooldown, co as channelTargetsSchema, cr as isDispatchWrapperExecutable, d as matchPluginCommand, da as withFileLock, di as resolveProfilesUnavailableReason, do as applyTargetToParams, dr as unwrapKnownShellMultiplexerInvocation, dt as createCurrentUserPromptEnvelope, ea as parseBooleanValue$1, ei as requireApiKey, en as isInboundPathAllowed, eo as normalizeAtHashSlug, er as buildEnforcedShellCommand, et as createPrimaryWriteInterceptor, f as registerPluginCommand, fa as formatCliCommand, fi as resolveApiKeyForProfile, fo as actionHasTarget, fr as splitShellArgs, ft as mergePromptContributions, g as getActivePreservationLease, ga as listEnabledDiscordAccounts, gi as isRecord$1, go as listBufferedPluginTaskPasses, gr as applyMergePatch, gt as formatUtcTimestamp, ha as createDiscordActionGate, hi as isNonEmptyString, ho as discardBufferedPluginTaskPasses, hr as resolveSafeBinProfiles, ht as buildInboundUserContextPrefix, i as createPluginRegistry, ia as resolveSlackBotToken, ii as resolveAuthProfileOrder, in as normalizeScpRemoteHost, io as acquireSessionWriteLock, ir as matchAllowlist, it as emitSessionTranscriptUpdate, j as normalizeDeliveryContext, ja as isInternalMessageChannel, ji as splitTrailingAuthProfile, jn as applyTestPluginDefaults, jr as normalizeModelRef$2, jt as evaluateSessionFreshness, k as deliveryContextKey, ka as isDeliverableMessageChannel, kn as loadPluginManifestRegistry, kr as isCliProvider, kt as SESSION_RUN_STATUSES, l as getPluginCommandSpecs, la as hasAnyWhatsAppAuth, li as markAuthProfileFailure, ln as parseDurationMs, lo as optionalStringEnum, lr as isShellWrapperExecutable, lt as sanitizeJsonb, m as triggerInternalHook, ma as resolveIMessageAccount, mi as describeUnknownError$1, mr as normalizeSafeBinProfileFixtures, mt as buildInboundMetaSystemPrompt, n as clearRegisteredPluginApis, na as resolveSlackReplyToMode, ni as resolveEnvApiKey, nn as resolveIMessageAttachmentRoots, no as normalizeStringEntries, nr as splitCommandChain, nt as DB_SESSION_HYDRATION_LIMIT, o as buildPluginHealthReport, oa as resolveSignalAccount, on as ASSISTANT_IDENTITY_COLORS, oo as readTaskWorkStates, or as resolveCommandResolutionFromArgv, ot as TASK_RUN_MODES, p as createInternalHookEvent, pa as resolveCliName, pi as resolveSecretRefValues, po as actionRequiresTarget, pr as SAFE_BIN_PROFILES, pt as toJsonValue$1, q as extractDeliveryInfo, qa as resolveChannelConfigId, qi as listEnabledTelegramAccounts, qn as unsetConfigValueAtPath, qr as createOllamaStreamFn, ra as resolveSlackAppToken, ri as resolveModelAuthMode, rn as resolveIMessageRemoteAttachmentRoots, ro as normalizeStringEntriesLower, rr as DEFAULT_SAFE_BINS, rt as hydrateSessionManagerFromDb, s as clearPluginCommands, sa as isWhatsAppGroupJid, si as getSoonestCooldownExpiry, sn as resolveExecPolicyPreset, so as channelTargetSchema, sr as extractShellWrapperInlineCommand, st as TASK_RUN_STATUSES, t as addRegisteredPluginApi, ta as resolveSlackAccount, ti as resolveApiKeyForProvider, to as normalizeHyphenSlug, tr as isWindowsPlatform, tt as drainPendingPrimaryWrites, u as listPluginCommands, ua as resolveWhatsAppAccount, ui as markAuthProfileUsed, uo as stringEnum, ur as unwrapKnownDispatchWrapperInvocation, ut as sha256, v as isPreservationArmed, va as normalizeDiscordToken, vi as secretRefKey, vo as RecoveryAdmissionError, vr as mapStreamingModeToSlackLegacyDraftStreamMode, vt as resolveTimezone, w as updateSessionStore, wa as resolveChannelGroupRequireMention, wi as ensureAuthProfileStore, wn as isAvatarDataUrl, wr as resolveAgentMaxConcurrent, wt as deriveSessionTotalTokens, x as recordSessionMetaFromInbound, xa as normalizeResolvedSecretInputString, xi as dedupeProfileIds, xr as resolveSlackStreamingMode, xt as isDiagnosticsEnabled, y as loadSessionStore, ya as coerceSecretRef, yr as resolveDiscordPreviewStreamMode, yt as resolveSenderLabel, z as INPUT_PROVENANCE_KIND_VALUES, za as GATEWAY_CLIENT_NAMES, zi as deriveSessionMetaPatch, zn as readManifestNamespace, zr as resolveThinkingDefault, zt as setSessionRuntimeModel } from "./registry-
|
|
1
|
+
import { a as formatErrorMessage, i as formatErrorChainMessage, l as readErrorName, n as collectErrorGraphCandidates, o as formatUncaughtError, p as isBlockedHostnameOrIp, s as hasErrnoCode, u as SsrFBlockedError, y as normalizeHostname } from "./proxy-env-Bi6F7qH_.js";
|
|
2
|
+
import { $ as isJsonlSessionBackend, $a as setActivePluginRegistry, $i as isTruthyEnvValue, $n as analyzeShellCommand, $r as getCustomProviderApiKey, A as mergeDeliveryContext, Aa as isGatewayMessageChannel, Ai as normalizeSecretInput, An as BUNDLED_ENABLED_BY_DEFAULT, Ar as modelKey, At as resolveSessionKey, B as applyInputProvenanceToUserMessage, Bi as getChannelPlugin, Bn as getConfigOverrides, Bt as canonicalizeMainSessionAlias, C as updateLastRoute, Ca as resolveChannelGroupPolicy, Ci as markAuthProfileGood, Cn as AVATAR_MAX_BYTES, Cr as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, Ct as derivePromptTokens, D as resolveCacheTtlMs$1, Da as resolveGroupSessionKey, Di as resolveOpenClawAgentDir, Dn as isSupportedLocalAvatarExtension, Dr as buildModelAliasIndex, Dt as normalizeUsage, E as isCacheEnabled, Ea as resolveAccountEntry, Ei as resolveAuthStorePathForDisplay, En as isPathWithinRoot, Er as buildConfiguredAllowlistKeys, Et as makeZeroUsageSnapshot, F as capArrayByJsonBytes, Fa as resolveGatewayMessageChannel, Fi as VERSION, Fn as resolveMemorySlotDecision, Fr as resolveDefaultModelForAgent, Ft as resolveThreadFlag, G as readJsonFile, Ga as normalizeChannelId$2, Gi as normalizeSignalMessagingTarget, Gn as parseConfigPath, Gr as retryAsync, Gt as loadConfig, H as normalizeInputProvenance, Ha as getChatChannelMeta, Hi as normalizeChannelId$1, Hn as setConfigOverride, Ht as resolveExplicitAgentSessionKey, I as countToolResults, Ia as resolveMessageChannel, Ii as getShellPathFromLoginShell, In as discoverOpenClawPlugins, Ir as resolveModelRefFromString, It as DEFAULT_RESET_TRIGGERS, J as parseSessionThreadInfo, Ja as getActiveGatewayPluginRegistry, Ji as listTelegramAccountIds, Jn as getTrustedSafeBinDirs, Jr as buildAssistantMessage, Jt as writeConfigFile, K as writeJsonAtomic, Ka as normalizeChatChannelId, Ki as createTelegramActionGate, Kn as setConfigValueAtPath, Kr as OLLAMA_NATIVE_BASE_URL, Kt as readConfigFileSnapshot, L as extractToolCallNames, La as GATEWAY_CLIENT_IDS, Li as resolveShellEnvFallbackTimeoutMs, Ln as isPathInside, Lr as resolveReasoningDefault, Lt as mergeSessionEntry, M as normalizeSessionDeliveryFields, Ma as isMarkdownCapableMessageChannel, Mi as DEFAULT_CONTEXT_TOKENS, Mn as isBundledChannelEnabledByChannelConfig, Mr as normalizeProviderId, Mt as resolveChannelResetConfig, N as normalizeAccountId$3, Na as listDeliverableMessageChannels, Ni as DEFAULT_MODEL, Nn as normalizePluginsConfig, Nr as parseModelRef, Nt as resolveSessionResetPolicy, O as deliveryContextFromSession, Oa as INTERNAL_MESSAGE_CHANNEL, Oi as resolveAuthProfileDisplayLabel, On as validateJsonSchemaValue, Or as findNormalizedProviderValue, P as archiveSessionTranscripts, Pa as normalizeMessageChannel, Pi as DEFAULT_PROVIDER, Pn as resolveEffectiveEnableState, Pr as resolveConfiguredModelRef, Pt as resolveSessionResetType, Q as withPreservationWriterPermit, Qa as requireActivePluginRegistry, Qn as validateSafeBinArgv, Qr as getApiKeyForModel, Qt as resolveTelegramCustomCommands, R as parseInlineDirectives$1, Ra as GATEWAY_CLIENT_MODES, Ri as resolveOwnerDisplaySetting, Rn as safeStatSync, Rr as resolveSubagentSpawnModelSelection, Rt as resolveFreshSessionTotalTokens, S as syncConfiguredSessionTranscriptToRuntime, Sa as resolveSecretInputRef, Si as listProfilesForProvider, T as updateSessionStoreEntry, Ta as resolveChannelGroupToolsPolicy, Tn as isAvatarHttpUrl, Tr as buildAllowedModelSet, Tt as hasNonzeroUsage, U as jsonUtf8Bytes, Ua as listChatChannels, Ui as getChannelDock, Un as unsetConfigOverride, Ut as resolveMainSessionKey, V as hasInterSessionUserProvenance, Va as CHAT_CHANNEL_ORDER, Vi as listChannelPlugins, Vn as resetConfigOverrides, Vt as resolveAgentMainSessionKey, W as createAsyncLock, Wa as normalizeAnyChannelId, Wi as listChannelDocks, Wn as getConfigValueAtPath, Xa as getActivePluginRegistryKey, Xi as resolveTelegramToken, Xn as listWritableExplicitTrustedSafeBinDirs, Xr as buildStreamErrorAssistantMessage, Xt as TELEGRAM_COMMAND_NAME_PATTERN, Y as appendAssistantMessageToSessionTranscript, Ya as getActivePluginRegistry, Yi as resolveTelegramAccount, Yn as isTrustedSafeBinPath, Yr as buildAssistantMessageWithZeroUsage, Yt as validateConfigObjectWithPlugins, Z as resolveAndPersistSessionFile, Zi as buildChannelAccountBindings, Zn as normalizeTrustedSafeBinDirs, Zr as buildUsageWithNoCost, Zt as normalizeTelegramCommandName, _ as getConfiguredSessionStorageRuntime, _a as resolveDiscordAccount, _i as parseDotPath, _o as replaceBufferedPluginTaskPasses, _r as isSafeExecutableValue, _t as formatZonedTimestamp, a as normalizePluginHttpPath, aa as listEnabledSignalAccounts, an as parseNonNegativeByteSize, ao as resolveSessionLockMaxHoldFromTimeout, ar as resolveAllowlistCandidatePath, at as onSessionTranscriptUpdate, b as readSessionUpdatedAt, ba as hasConfiguredSecretInput, br as resolveSlackNativeStreaming, bt as emitDiagnosticEvent, c as executePluginCommand, ca as normalizeWhatsAppTarget, ci as isProfileInCooldown, co as channelTargetsSchema, cr as isDispatchWrapperExecutable, d as matchPluginCommand, da as withFileLock, di as resolveProfilesUnavailableReason, do as applyTargetToParams, dr as unwrapKnownShellMultiplexerInvocation, dt as createCurrentUserPromptEnvelope, ea as parseBooleanValue$1, ei as requireApiKey, en as isInboundPathAllowed, eo as normalizeAtHashSlug, er as buildEnforcedShellCommand, et as createPrimaryWriteInterceptor, f as registerPluginCommand, fa as formatCliCommand, fi as resolveApiKeyForProfile, fo as actionHasTarget, fr as splitShellArgs, ft as mergePromptContributions, g as getActivePreservationLease, ga as listEnabledDiscordAccounts, gi as isRecord$1, go as listBufferedPluginTaskPasses, gr as applyMergePatch, gt as formatUtcTimestamp, ha as createDiscordActionGate, hi as isNonEmptyString, ho as discardBufferedPluginTaskPasses, hr as resolveSafeBinProfiles, ht as buildInboundUserContextPrefix, i as createPluginRegistry, ia as resolveSlackBotToken, ii as resolveAuthProfileOrder, in as normalizeScpRemoteHost, io as acquireSessionWriteLock, ir as matchAllowlist, it as emitSessionTranscriptUpdate, j as normalizeDeliveryContext, ja as isInternalMessageChannel, ji as splitTrailingAuthProfile, jn as applyTestPluginDefaults, jr as normalizeModelRef$2, jt as evaluateSessionFreshness, k as deliveryContextKey, ka as isDeliverableMessageChannel, kn as loadPluginManifestRegistry, kr as isCliProvider, kt as SESSION_RUN_STATUSES, l as getPluginCommandSpecs, la as hasAnyWhatsAppAuth, li as markAuthProfileFailure, ln as parseDurationMs, lo as optionalStringEnum, lr as isShellWrapperExecutable, lt as sanitizeJsonb, m as triggerInternalHook, ma as resolveIMessageAccount, mi as describeUnknownError$1, mr as normalizeSafeBinProfileFixtures, mt as buildInboundMetaSystemPrompt, n as clearRegisteredPluginApis, na as resolveSlackReplyToMode, ni as resolveEnvApiKey, nn as resolveIMessageAttachmentRoots, no as normalizeStringEntries, nr as splitCommandChain, nt as DB_SESSION_HYDRATION_LIMIT, o as buildPluginHealthReport, oa as resolveSignalAccount, on as ASSISTANT_IDENTITY_COLORS, oo as readTaskWorkStates, or as resolveCommandResolutionFromArgv, ot as TASK_RUN_MODES, p as createInternalHookEvent, pa as resolveCliName, pi as resolveSecretRefValues, po as actionRequiresTarget, pr as SAFE_BIN_PROFILES, pt as toJsonValue$1, q as extractDeliveryInfo, qa as resolveChannelConfigId, qi as listEnabledTelegramAccounts, qn as unsetConfigValueAtPath, qr as createOllamaStreamFn, ra as resolveSlackAppToken, ri as resolveModelAuthMode, rn as resolveIMessageRemoteAttachmentRoots, ro as normalizeStringEntriesLower, rr as DEFAULT_SAFE_BINS, rt as hydrateSessionManagerFromDb, s as clearPluginCommands, sa as isWhatsAppGroupJid, si as getSoonestCooldownExpiry, sn as resolveExecPolicyPreset, so as channelTargetSchema, sr as extractShellWrapperInlineCommand, st as TASK_RUN_STATUSES, t as addRegisteredPluginApi, ta as resolveSlackAccount, ti as resolveApiKeyForProvider, to as normalizeHyphenSlug, tr as isWindowsPlatform, tt as drainPendingPrimaryWrites, u as listPluginCommands, ua as resolveWhatsAppAccount, ui as markAuthProfileUsed, uo as stringEnum, ur as unwrapKnownDispatchWrapperInvocation, ut as sha256, v as isPreservationArmed, va as normalizeDiscordToken, vi as secretRefKey, vo as RecoveryAdmissionError, vr as mapStreamingModeToSlackLegacyDraftStreamMode, vt as resolveTimezone, w as updateSessionStore, wa as resolveChannelGroupRequireMention, wi as ensureAuthProfileStore, wn as isAvatarDataUrl, wr as resolveAgentMaxConcurrent, wt as deriveSessionTotalTokens, x as recordSessionMetaFromInbound, xa as normalizeResolvedSecretInputString, xi as dedupeProfileIds, xr as resolveSlackStreamingMode, xt as isDiagnosticsEnabled, y as loadSessionStore, ya as coerceSecretRef, yr as resolveDiscordPreviewStreamMode, yt as resolveSenderLabel, z as INPUT_PROVENANCE_KIND_VALUES, za as GATEWAY_CLIENT_NAMES, zi as deriveSessionMetaPatch, zn as readManifestNamespace, zr as resolveThinkingDefault, zt as setSessionRuntimeModel } from "./registry-BAGNI7rT.js";
|
|
3
3
|
import { a as resolveGatewayPort, c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix, n as STATE_DIR, r as resolveConfigPath } from "./paths-DnKvZ6zt.js";
|
|
4
|
-
import { $ as isAcpSessionKey, A as resolveAgentModelFallbackValues, B as normalizeMainKey, C as loadWorkspaceBootstrapFiles, D as runExec, E as runCommandWithTimeout, F as buildAgentMainSessionKey, G as resolveThreadSessionKeys, H as resolveCanonicalIdentity, J as DEFAULT_ACCOUNT_ID, K as sanitizeAgentId, L as classifySessionKeyShape, M as toAgentModelListLike, N as DEFAULT_AGENT_ID, O as spawnWithFallback, Q as getSubagentDepth, R as isValidAgentId, S as filterBootstrapFilesForSession, U as resolveConfiguredCanonicalIdentity, V as resolveAgentIdFromSessionKey, W as resolveLinkedPeerIdForChannel, X as normalizeOptionalAccountId, Y as normalizeAccountId$4, Z as deriveSessionChatType, _ as DEFAULT_IDENTITY_FILENAME, c as resolveDefaultAgentId, d as resolveSessionAgentId, et as isCronSessionKey, f as resolveSessionAgentIds, g as DEFAULT_HEARTBEAT_FILENAME, h as DEFAULT_BOOTSTRAP_FILENAME, i as resolveAgentDir, j as resolveAgentModelPrimaryValue, l as resolveEffectiveModelFallbacks, m as DEFAULT_AGENT_WORKSPACE_DIR, n as listAgentIds, nt as parseAgentSessionKey, o as resolveAgentSkillsFilter, q as toAgentStoreSessionKey, r as resolveAgentConfig, rt as resolveThreadParentSessionKey, s as resolveAgentWorkspaceDir, t as hasConfiguredModelFallbacks, tt as isSubagentSessionKey, u as resolveRunModelFallbacksOverride, w as resolveOpenClawPackageRoot, x as ensureAgentWorkspace, z as normalizeAgentId } from "./agent-scope-
|
|
5
|
-
import { B as appendFileLog, C as shortenHomePath, D as danger, E as truncateUtf16Safe, F as isRich, G as INCLUDE_KEY, H as normalizeLogLevel, I as theme, L as getChildLogger, M as shouldLogVerbose, N as warn, P as colorize, S as shortenHomeInString, T as sliceUtf16Safe, X as openBoundaryFile, Z as openBoundaryFileSync, _ as normalizeE164, a as defaultRuntime, b as resolveUserPath, c as unregisterActiveProgressLine, ct as isDangerousHostEnvVarName, d as clampInt, g as isRecord$2, gt as isBlockedObjectKey, h as formatTerminalLink, ht as consumeRootOptionToken, i as createNonExitingRuntime, j as setVerbose, k as logVerbose, m as escapeRegExp, mt as FLAG_TERMINATOR, o as clearActiveProgressLine, ot as normalizeWindowsPathForComparison, p as ensureDir$3, pt as resolvePreferredOpenClawTmpDir, s as registerActiveProgressLine, t as createSubsystemLogger, u as CONFIG_DIR, w as sleep$1 } from "./subsystem-
|
|
6
|
-
import { c as resolveSessionFilePath, f as resolveSessionTranscriptsDirForAgent, l as resolveSessionFilePathOptions, p as resolveStorePath, r as isPrimarySessionTranscriptFileName, s as resolveDefaultSessionStorePath, t as runTasksWithConcurrency, u as resolveSessionTranscriptPath } from "./run-with-concurrency-
|
|
4
|
+
import { $ as isAcpSessionKey, A as resolveAgentModelFallbackValues, B as normalizeMainKey, C as loadWorkspaceBootstrapFiles, D as runExec, E as runCommandWithTimeout, F as buildAgentMainSessionKey, G as resolveThreadSessionKeys, H as resolveCanonicalIdentity, J as DEFAULT_ACCOUNT_ID, K as sanitizeAgentId, L as classifySessionKeyShape, M as toAgentModelListLike, N as DEFAULT_AGENT_ID, O as spawnWithFallback, Q as getSubagentDepth, R as isValidAgentId, S as filterBootstrapFilesForSession, U as resolveConfiguredCanonicalIdentity, V as resolveAgentIdFromSessionKey, W as resolveLinkedPeerIdForChannel, X as normalizeOptionalAccountId, Y as normalizeAccountId$4, Z as deriveSessionChatType, _ as DEFAULT_IDENTITY_FILENAME, c as resolveDefaultAgentId, d as resolveSessionAgentId, et as isCronSessionKey, f as resolveSessionAgentIds, g as DEFAULT_HEARTBEAT_FILENAME, h as DEFAULT_BOOTSTRAP_FILENAME, i as resolveAgentDir, j as resolveAgentModelPrimaryValue, l as resolveEffectiveModelFallbacks, m as DEFAULT_AGENT_WORKSPACE_DIR, n as listAgentIds, nt as parseAgentSessionKey, o as resolveAgentSkillsFilter, q as toAgentStoreSessionKey, r as resolveAgentConfig, rt as resolveThreadParentSessionKey, s as resolveAgentWorkspaceDir, t as hasConfiguredModelFallbacks, tt as isSubagentSessionKey, u as resolveRunModelFallbacksOverride, w as resolveOpenClawPackageRoot, x as ensureAgentWorkspace, z as normalizeAgentId } from "./agent-scope-BeUdw1gJ.js";
|
|
5
|
+
import { B as appendFileLog, C as shortenHomePath, D as danger, E as truncateUtf16Safe, F as isRich, G as INCLUDE_KEY, H as normalizeLogLevel, I as theme, L as getChildLogger, M as shouldLogVerbose, N as warn, P as colorize, S as shortenHomeInString, T as sliceUtf16Safe, X as openBoundaryFile, Z as openBoundaryFileSync, _ as normalizeE164, a as defaultRuntime, b as resolveUserPath, c as unregisterActiveProgressLine, ct as isDangerousHostEnvVarName, d as clampInt, g as isRecord$2, gt as isBlockedObjectKey, h as formatTerminalLink, ht as consumeRootOptionToken, i as createNonExitingRuntime, j as setVerbose, k as logVerbose, m as escapeRegExp, mt as FLAG_TERMINATOR, o as clearActiveProgressLine, ot as normalizeWindowsPathForComparison, p as ensureDir$3, pt as resolvePreferredOpenClawTmpDir, s as registerActiveProgressLine, t as createSubsystemLogger, u as CONFIG_DIR, w as sleep$1 } from "./subsystem-rgYCdGI1.js";
|
|
6
|
+
import { c as resolveSessionFilePath, f as resolveSessionTranscriptsDirForAgent, l as resolveSessionFilePathOptions, p as resolveStorePath, r as isPrimarySessionTranscriptFileName, s as resolveDefaultSessionStorePath, t as runTasksWithConcurrency, u as resolveSessionTranscriptPath } from "./run-with-concurrency-jmsjZzF_.js";
|
|
7
7
|
import { n as normalizeChatType, t as resolveConversationLabel } from "./conversation-label-CVgDxGC-.js";
|
|
8
8
|
import { t as isPlainObject } from "./plain-object-BuhaN9s8.js";
|
|
9
|
-
import { i as logWarn, n as logError, r as logInfo, t as logDebug } from "./logger-
|
|
10
|
-
import { a as validateSlackBlocksArray, c as resolveSlackWebClientOptions, i as parseSlackBlocksInput, l as parseSlackTarget, o as buildSlackBlocksFallbackText, r as normalizeSlackOutboundText, s as createSlackWebClient, t as sendMessageSlack, u as resolveSlackChannelId } from "./send-
|
|
11
|
-
import { $ as fetchChannelPermissionsDiscord, A as addRoleDiscord, B as removeRoleDiscord, C as fetchMessageDiscord, Ct as resolveDiscordSystemLocation, D as readMessagesDiscord, Dt as buildChannelKeyCandidates, E as pinMessageDiscord, Et as applyChannelMatchMeta, F as fetchRoleInfoDiscord, G as createChannelDiscord, H as listGuildEmojisDiscord, I as fetchVoiceStatusDiscord, J as moveChannelDiscord, K as deleteChannelDiscord, L as kickMemberDiscord, M as createScheduledEventDiscord, N as fetchChannelInfoDiscord, O as searchMessagesDiscord, Ot as normalizeChannelSlug, P as fetchMemberInfoDiscord, R as listGuildChannelsDiscord, S as editMessageDiscord, St as formatDiscordUserTag, T as listThreadsDiscord, Tt as fetchDiscord, U as uploadEmojiDiscord, V as timeoutMemberDiscord, W as uploadStickerDiscord, X as setChannelPermissionDiscord, Y as removeChannelPermissionDiscord, Z as stripUndefinedFields, _ as sendStickerDiscord, _t as resolveDiscordOwnerAllowFrom, a as sendDiscordComponentMessage, at as parseDiscordTarget, b as createThreadDiscord, bt as shouldEmitDiscordReactionNotification, c as parseDiscordComponentCustomId, ct as listDiscordDirectoryPeersLive, d as parseDiscordModalCustomIdForCarbon, dt as normalizeDiscordSlug, f as readDiscordComponentSpec, ft as resolveDiscordAllowListMatch, g as sendPollDiscord, gt as resolveDiscordOwnerAccess, h as sendMessageDiscord, ht as resolveDiscordMemberAccessState, i as removeReactionDiscord, it as createDiscordRestClient, j as banMemberDiscord, k as unpinMessageDiscord, kt as resolveChannelEntryMatchWithFallback, l as parseDiscordComponentCustomIdForCarbon, lt as isDiscordGroupAllowedByPolicy, m as resolveDiscordModalEntry, mt as resolveDiscordGuildEntry, n as reactMessageDiscord, nt as chunkDiscordTextWithMode, o as createDiscordFormModal, ot as resolveDiscordChannelId, p as resolveDiscordComponentEntry, pt as resolveDiscordChannelConfigWithFallback, q as editChannelDiscord, r as removeOwnReactionsDiscord, rt as createDiscordClient, s as formatDiscordComponentEventText, st as listDiscordDirectoryGroupsLive, t as fetchReactionsDiscord, tt as hasAnyGuildPermissionDiscord, u as parseDiscordModalCustomId, ut as normalizeDiscordAllowList, v as sendVoiceMessageDiscord, vt as resolveDiscordShouldRequireMention, w as listPinsDiscord, wt as resolveTimestampMs, x as deleteMessageDiscord, xt as formatDiscordReactionEmoji, y as sendWebhookMessageDiscord, yt as resolveGroupDmAllow, z as listScheduledEventsDiscord } from "./send-
|
|
9
|
+
import { i as logWarn, n as logError, r as logInfo, t as logDebug } from "./logger-COjxz0oP.js";
|
|
10
|
+
import { a as validateSlackBlocksArray, c as resolveSlackWebClientOptions, i as parseSlackBlocksInput, l as parseSlackTarget, o as buildSlackBlocksFallbackText, r as normalizeSlackOutboundText, s as createSlackWebClient, t as sendMessageSlack, u as resolveSlackChannelId } from "./send-D2YHGuuw.js";
|
|
11
|
+
import { $ as fetchChannelPermissionsDiscord, A as addRoleDiscord, B as removeRoleDiscord, C as fetchMessageDiscord, Ct as resolveDiscordSystemLocation, D as readMessagesDiscord, Dt as buildChannelKeyCandidates, E as pinMessageDiscord, Et as applyChannelMatchMeta, F as fetchRoleInfoDiscord, G as createChannelDiscord, H as listGuildEmojisDiscord, I as fetchVoiceStatusDiscord, J as moveChannelDiscord, K as deleteChannelDiscord, L as kickMemberDiscord, M as createScheduledEventDiscord, N as fetchChannelInfoDiscord, O as searchMessagesDiscord, Ot as normalizeChannelSlug, P as fetchMemberInfoDiscord, R as listGuildChannelsDiscord, S as editMessageDiscord, St as formatDiscordUserTag, T as listThreadsDiscord, Tt as fetchDiscord, U as uploadEmojiDiscord, V as timeoutMemberDiscord, W as uploadStickerDiscord, X as setChannelPermissionDiscord, Y as removeChannelPermissionDiscord, Z as stripUndefinedFields, _ as sendStickerDiscord, _t as resolveDiscordOwnerAllowFrom, a as sendDiscordComponentMessage, at as parseDiscordTarget, b as createThreadDiscord, bt as shouldEmitDiscordReactionNotification, c as parseDiscordComponentCustomId, ct as listDiscordDirectoryPeersLive, d as parseDiscordModalCustomIdForCarbon, dt as normalizeDiscordSlug, f as readDiscordComponentSpec, ft as resolveDiscordAllowListMatch, g as sendPollDiscord, gt as resolveDiscordOwnerAccess, h as sendMessageDiscord, ht as resolveDiscordMemberAccessState, i as removeReactionDiscord, it as createDiscordRestClient, j as banMemberDiscord, k as unpinMessageDiscord, kt as resolveChannelEntryMatchWithFallback, l as parseDiscordComponentCustomIdForCarbon, lt as isDiscordGroupAllowedByPolicy, m as resolveDiscordModalEntry, mt as resolveDiscordGuildEntry, n as reactMessageDiscord, nt as chunkDiscordTextWithMode, o as createDiscordFormModal, ot as resolveDiscordChannelId, p as resolveDiscordComponentEntry, pt as resolveDiscordChannelConfigWithFallback, q as editChannelDiscord, r as removeOwnReactionsDiscord, rt as createDiscordClient, s as formatDiscordComponentEventText, st as listDiscordDirectoryGroupsLive, t as fetchReactionsDiscord, tt as hasAnyGuildPermissionDiscord, u as parseDiscordModalCustomId, ut as normalizeDiscordAllowList, v as sendVoiceMessageDiscord, vt as resolveDiscordShouldRequireMention, w as listPinsDiscord, wt as resolveTimestampMs, x as deleteMessageDiscord, xt as formatDiscordReactionEmoji, y as sendWebhookMessageDiscord, yt as resolveGroupDmAllow, z as listScheduledEventsDiscord } from "./send-BZmyU4ku.js";
|
|
12
12
|
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken } from "./github-copilot-token-pUhYl0t8.js";
|
|
13
|
-
import { a as clearDelayedReleaseHold, c as mergeDelayedAgentTurn, d as KeyedAsyncQueue, i as agentTurnIdempotencyKey, l as peekDelayedAgentTurn, n as getAgentTurnRuntime, o as enqueueAgentTurn, r as tryGetAgentTurnRuntime, s as isClaimableAgentTurnWorkId, u as setDelayedReleaseHold } from "./agent-turn-runner-
|
|
14
|
-
import { $ as resolveSandboxConfigForAgent, A as isFailoverAssistantError, B as isTimeoutErrorMessage, C as formatRawAssistantErrorForUi, D as isCloudCodeAssistFormatError, E as isBillingAssistantError, F as isTransientHttpError, G as registerBrowserRoutes, H as resolveSandboxContext, I as parseImageDimensionError, J as getBridgeAuthForPort, K as resolveBrowserConfig, L as parseImageSizeError, M as isLikelyContextOverflowError, N as isRateLimitAssistantError, O as isCompactionFailureError, P as isRawApiErrorPayload, Q as trimToUndefined$1, R as sanitizeUserFacingText, S as formatBillingErrorMessage, T as isAuthAssistantError, U as resolveSandboxRuntimeStatus, V as ensureSandboxWorkspaceForSession, W as createBrowserRouteContext, X as resolveBrowserControlAuth, Y as ensureBrowserControlAuth, Z as resolveGatewayCredentialsFromConfig, _ as downgradeOpenAIReasoningBlocks, a as isMessagingToolDuplicateNormalized, at as resolveBootstrapTotalMaxChars, b as classifyFailoverReason, c as sanitizeImageBlocks, ct as buildPluginToolGroups, d as canonicalizeBase64, dt as mergeAlsoAllowPolicy, et as compileGlobPatterns, f as estimateBase64DecodedBytes, ft as stripPluginOnlyAllowlist, g as downgradeOpenAIFunctionCallReasoningPairs, h as sanitizeToolCallIdsForCloudCodeAssist, ht as resolveToolProfilePolicy, it as resolveBootstrapMaxChars, j as isFailoverErrorMessage, k as isContextOverflowError, l as sanitizeToolResultImages, lt as collectExplicitAllowlist, m as extractToolResultId, mt as normalizeToolName, n as validateGeminiTurns, nt as buildBootstrapContextFiles, o as normalizeTextForComparison, ot as sanitizeGoogleTurnOrdering, p as extractToolCallsFromAssistant, pt as expandToolGroups, q as resolveProfile, r as pickFallbackThinkingLevel, rt as ensureSessionHeader, s as sanitizeSessionMessagesImages, st as applyOwnerOnlyToolPolicy, t as validateAnthropicTurns, tt as matchesAnyGlobPattern, u as resolveImageSanitizationLimits, ut as expandPolicyWithPluginGroups, v as isGoogleModelApi, w as getApiErrorPayloadFingerprint, x as formatAssistantErrorText, y as BILLING_ERROR_USER_MESSAGE, z as isAuthPermanentErrorMessage } from "./pi-embedded-helpers-
|
|
15
|
-
import { a as toInternalMessageReceivedContext, c as toPluginMessageReceivedEvent, d as initializeGlobalHookRunner, f as promptBuildResultToContribution, g as resolveProviderRuntimeIdentity, h as resolveProviderPromptCacheKey, i as toInternalMessagePreprocessedContext, l as fireAndForgetHook, m as buildPluginTurnIdentity, n as createMessageSentEmitter, o as toInternalMessageTranscribedContext, p as buildPluginRuntimeIdentity, r as deriveInboundMessageHookContext, s as toPluginMessageContext, t as applyMessageSendingHook, u as getGlobalHookRunner } from "./outbound-message-hooks-
|
|
13
|
+
import { a as clearDelayedReleaseHold, c as mergeDelayedAgentTurn, d as KeyedAsyncQueue, i as agentTurnIdempotencyKey, l as peekDelayedAgentTurn, n as getAgentTurnRuntime, o as enqueueAgentTurn, r as tryGetAgentTurnRuntime, s as isClaimableAgentTurnWorkId, u as setDelayedReleaseHold } from "./agent-turn-runner-C9Ll5QSC.js";
|
|
14
|
+
import { $ as resolveSandboxConfigForAgent, A as isFailoverAssistantError, B as isTimeoutErrorMessage, C as formatRawAssistantErrorForUi, D as isCloudCodeAssistFormatError, E as isBillingAssistantError, F as isTransientHttpError, G as registerBrowserRoutes, H as resolveSandboxContext, I as parseImageDimensionError, J as getBridgeAuthForPort, K as resolveBrowserConfig, L as parseImageSizeError, M as isLikelyContextOverflowError, N as isRateLimitAssistantError, O as isCompactionFailureError, P as isRawApiErrorPayload, Q as trimToUndefined$1, R as sanitizeUserFacingText, S as formatBillingErrorMessage, T as isAuthAssistantError, U as resolveSandboxRuntimeStatus, V as ensureSandboxWorkspaceForSession, W as createBrowserRouteContext, X as resolveBrowserControlAuth, Y as ensureBrowserControlAuth, Z as resolveGatewayCredentialsFromConfig, _ as downgradeOpenAIReasoningBlocks, a as isMessagingToolDuplicateNormalized, at as resolveBootstrapTotalMaxChars, b as classifyFailoverReason, c as sanitizeImageBlocks, ct as buildPluginToolGroups, d as canonicalizeBase64, dt as mergeAlsoAllowPolicy, et as compileGlobPatterns, f as estimateBase64DecodedBytes, ft as stripPluginOnlyAllowlist, g as downgradeOpenAIFunctionCallReasoningPairs, h as sanitizeToolCallIdsForCloudCodeAssist, ht as resolveToolProfilePolicy, it as resolveBootstrapMaxChars, j as isFailoverErrorMessage, k as isContextOverflowError, l as sanitizeToolResultImages, lt as collectExplicitAllowlist, m as extractToolResultId, mt as normalizeToolName, n as validateGeminiTurns, nt as buildBootstrapContextFiles, o as normalizeTextForComparison, ot as sanitizeGoogleTurnOrdering, p as extractToolCallsFromAssistant, pt as expandToolGroups, q as resolveProfile, r as pickFallbackThinkingLevel, rt as ensureSessionHeader, s as sanitizeSessionMessagesImages, st as applyOwnerOnlyToolPolicy, t as validateAnthropicTurns, tt as matchesAnyGlobPattern, u as resolveImageSanitizationLimits, ut as expandPolicyWithPluginGroups, v as isGoogleModelApi, w as getApiErrorPayloadFingerprint, x as formatAssistantErrorText, y as BILLING_ERROR_USER_MESSAGE, z as isAuthPermanentErrorMessage } from "./pi-embedded-helpers-B035viJt.js";
|
|
15
|
+
import { a as toInternalMessageReceivedContext, c as toPluginMessageReceivedEvent, d as initializeGlobalHookRunner, f as promptBuildResultToContribution, g as resolveProviderRuntimeIdentity, h as resolveProviderPromptCacheKey, i as toInternalMessagePreprocessedContext, l as fireAndForgetHook, m as buildPluginTurnIdentity, n as createMessageSentEmitter, o as toInternalMessageTranscribedContext, p as buildPluginRuntimeIdentity, r as deriveInboundMessageHookContext, s as toPluginMessageContext, t as applyMessageSendingHook, u as getGlobalHookRunner } from "./outbound-message-hooks-Bg-e0wJT.js";
|
|
16
16
|
import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-DTYnjeA4.js";
|
|
17
|
-
import { a as resolveProviderVisionModelFromConfig, i as decodeDataUrl, n as coerceImageAssistantText, o as minimaxUnderstandImage, r as coerceImageModelConfig, s as ensureOpenClawModelsJson } from "./provider-image-
|
|
18
|
-
import { C as loadModelCatalog, S as findModelInCatalog, _ as stripCarriedTranscriptFromBody, a as resolveAutoImageModel, c as applyTemplate, d as normalizeMediaUnderstandingChatType, f as resolveMediaUnderstandingScope, i as normalizeMediaAttachments, l as resolveConcurrency, n as buildProviderRegistry, o as resolveMediaAttachmentLocalRoots, p as CLI_OUTPUT_MAX_BUFFER, r as createMediaAttachmentCache, s as runCapability, t as runAudioTranscription, u as resolveTimeoutMs$2, v as buildRandomTempFilePath, w as modelSupportsVision, x as resolveAttachmentKind, y as registerUnhandledRejectionHandler } from "./audio-transcription-runner-
|
|
19
|
-
import { a as getDefaultMediaLocalRoots, i as getAgentScopedMediaLocalRoots, n as fetchRemoteMedia, r as readResponseWithLimit, t as MediaFetchError } from "./fetch-
|
|
20
|
-
import { c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, g as MAX_IMAGE_BYTES, i as getImageMetadata, l as extensionForMime, m as kindFromMime, p as isGifMedia, s as resizeToJpeg, v as mediaKindFromMime } from "./image-ops-
|
|
21
|
-
import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-
|
|
22
|
-
import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-
|
|
23
|
-
import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
24
|
-
import { r as makeProxyFetch } from "./proxy-fetch-
|
|
25
|
-
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-
|
|
26
|
-
import { _ as extractTextFromChatContent, a as formatReasoningMessage, d as stripThinkingTagsFromText, f as formatToolSummary, g as isInsideCode, h as findCodeRegions, l as stripDowngradedToolCallText, m as stripReasoningTagsFromText, n as extractAssistantThinking, o as inferToolMetaFromArgs, p as resolveToolDisplay, s as isAssistantMessage, t as extractAssistantText$1, u as stripMinimaxToolCallXml } from "./pi-embedded-utils-
|
|
27
|
-
import { A as rawDataToString, B as isSecureWebSocketUrl, C as ensureChromeExtensionRelayServer, N as DEFAULT_UPLOAD_DIR, P as resolveExistingPathsWithinRoot, V as resolveClientIp, W as DEFAULT_AI_SNAPSHOT_MAX_CHARS, s as resolveLsofCommandSync, z as isLoopbackHost } from "./chrome-
|
|
28
|
-
import { c as assertSandboxPath, d as resolveSandboxedMediaSource, f as applySkillEnvOverrides, i as resolveSkillsPromptForRun, l as resolveSandboxInputPath, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverridesFromSnapshot, r as loadWorkspaceSkillEntries, s as assertMediaNotDataUrl } from "./skills-
|
|
29
|
-
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-
|
|
30
|
-
import { a as readFileWithinRoot, c as writeFileWithinRoot, i as openFileWithinRoot, n as copyFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-
|
|
31
|
-
import { i as saveMediaBuffer, r as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-
|
|
17
|
+
import { a as resolveProviderVisionModelFromConfig, i as decodeDataUrl, n as coerceImageAssistantText, o as minimaxUnderstandImage, r as coerceImageModelConfig, s as ensureOpenClawModelsJson } from "./provider-image-JOxAggPa.js";
|
|
18
|
+
import { C as loadModelCatalog, S as findModelInCatalog, _ as stripCarriedTranscriptFromBody, a as resolveAutoImageModel, c as applyTemplate, d as normalizeMediaUnderstandingChatType, f as resolveMediaUnderstandingScope, i as normalizeMediaAttachments, l as resolveConcurrency, n as buildProviderRegistry, o as resolveMediaAttachmentLocalRoots, p as CLI_OUTPUT_MAX_BUFFER, r as createMediaAttachmentCache, s as runCapability, t as runAudioTranscription, u as resolveTimeoutMs$2, v as buildRandomTempFilePath, w as modelSupportsVision, x as resolveAttachmentKind, y as registerUnhandledRejectionHandler } from "./audio-transcription-runner-JGf9MAOA.js";
|
|
19
|
+
import { a as getDefaultMediaLocalRoots, i as getAgentScopedMediaLocalRoots, n as fetchRemoteMedia, r as readResponseWithLimit, t as MediaFetchError } from "./fetch-DBpdlEqi.js";
|
|
20
|
+
import { c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, g as MAX_IMAGE_BYTES, i as getImageMetadata, l as extensionForMime, m as kindFromMime, p as isGifMedia, s as resizeToJpeg, v as mediaKindFromMime } from "./image-ops-Ds3TYUBA.js";
|
|
21
|
+
import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-Bi7p4BwQ.js";
|
|
22
|
+
import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-Bftlxkgu.js";
|
|
23
|
+
import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-DlWfki0g.js";
|
|
24
|
+
import { r as makeProxyFetch } from "./proxy-fetch-BVHQlQ0b.js";
|
|
25
|
+
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-DoON6s_y.js";
|
|
26
|
+
import { _ as extractTextFromChatContent, a as formatReasoningMessage, d as stripThinkingTagsFromText, f as formatToolSummary, g as isInsideCode, h as findCodeRegions, l as stripDowngradedToolCallText, m as stripReasoningTagsFromText, n as extractAssistantThinking, o as inferToolMetaFromArgs, p as resolveToolDisplay, s as isAssistantMessage, t as extractAssistantText$1, u as stripMinimaxToolCallXml } from "./pi-embedded-utils-Ckrw1zyA.js";
|
|
27
|
+
import { A as rawDataToString, B as isSecureWebSocketUrl, C as ensureChromeExtensionRelayServer, N as DEFAULT_UPLOAD_DIR, P as resolveExistingPathsWithinRoot, V as resolveClientIp, W as DEFAULT_AI_SNAPSHOT_MAX_CHARS, s as resolveLsofCommandSync, z as isLoopbackHost } from "./chrome-a1SYKLWC.js";
|
|
28
|
+
import { c as assertSandboxPath, d as resolveSandboxedMediaSource, f as applySkillEnvOverrides, i as resolveSkillsPromptForRun, l as resolveSandboxInputPath, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverridesFromSnapshot, r as loadWorkspaceSkillEntries, s as assertMediaNotDataUrl } from "./skills-CK4ps21y.js";
|
|
29
|
+
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-BsvpbjFQ.js";
|
|
30
|
+
import { a as readFileWithinRoot, c as writeFileWithinRoot, i as openFileWithinRoot, n as copyFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-MgrkXibA.js";
|
|
31
|
+
import { i as saveMediaBuffer, r as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-B3fH9LYD.js";
|
|
32
32
|
import { n as generateSecureUuid, t as generateSecureToken } from "./secure-random-B2UrD2xa.js";
|
|
33
33
|
import { a as normalizeReasoningLevel, c as normalizeVerboseLevel, i as normalizeElevatedLevel, l as resolveResponseUsageMode, n as formatXHighModelHint, o as normalizeThinkLevel, s as normalizeUsageDisplay, t as formatThinkingLevels, u as supportsXHighThinking } from "./thinking-CwmtMy_H.js";
|
|
34
|
-
import { $ as resolveTelegramThreadSpec, A as splitTelegramCaption, B as buildTelegramThreadParams, C as recordApiRequest, D as registerAccount, E as recordWebhook, F as buildSenderLabel, G as hasBotMention, H as describeReplyTarget, I as buildSenderName, J as resolveTelegramForumThreadId, K as normalizeForwardedContext, L as buildTelegramGroupFrom, M as loadCronStore, N as resolveCronStorePath, O as releaseAccountOwner, P as buildGroupLabel, Q as resolveTelegramStreamMode, R as buildTelegramGroupPeerId, S as getTelegramFleetSupervisor, T as recordUpdate, U as expandTextLinks, V as buildTypingThreadParams, W as extractTelegramLocation, X as resolveTelegramMediaPlaceholder, Y as resolveTelegramGroupAllowFromContext, Z as resolveTelegramReplyId, _ as markdownToTelegramChunks, _t as listPairingChannels, a as reactMessageTelegram, at as isSenderIdAllowed, b as wrapFileReferencesInHtml, bt as isVoiceCompatibleAudio, c as sendStickerTelegram, ct as formatLocationText, d as extractTelegramErrorText, dt as readChannelAllowFromStore, et as isSenderAllowed$1, f as isDefiniteTelegramRequestNonDeliveryError, ft as removeChannelAllowFromStoreEntry, g as isTelegramEditMayHaveLandedError, gt as getPairingAdapter, h as isTelegramClientRejection, ht as writeJsonFileAtomically, i as editMessageTelegram, it as firstDefined$1, j as withTelegramApiErrorLogging, k as resolveTelegramFetch, l as resolveTelegramVoiceSend, lt as toLocationContext, m as isSafeToRetrySendError, mt as readJsonFileWithFallback, n as createForumTopicTelegram, nt as normalizeDmAllowFromWithStore$1, o as sendMessageTelegram, ot as mergeDmAllowFromSources, p as isRecoverableTelegramNetworkError, pt as upsertChannelPairingRequest, q as resolveTelegramDirectPeerId, r as deleteMessageTelegram, rt as resolveSenderAllowMatch$1, s as sendPollTelegram, st as resolveGroupAllowFromSources, t as buildInlineKeyboard, tt as normalizeAllowFrom$2, u as wasSentByBot, ut as addChannelAllowFromStoreEntry, v as markdownToTelegramHtml, vt as parseTelegramTarget, w as recordState, x as fingerprintTelegramToken, y as renderTelegramHtmlText, yt as resolveTelegramTargetChatType, z as buildTelegramParentPeer } from "./send-
|
|
35
|
-
import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-
|
|
36
|
-
import { A as boundDiagnosticContent, C as logWebhookError, D as refreshRunProgress, E as recordSystemPromptHashComparison, M as resetCommandPollCount, O as startDiagnosticHeartbeat, S as logToolExecutionStarted, T as logWebhookReceived, b as logToolExecutionBlocked, d as logRunCompleted, f as logRunStarted, j as recordCommandPoll, k as stopDiagnosticHeartbeat, l as logModelCallError, o as logMessageProcessed, p as logSessionStateChange, s as logMessageQueued, w as logWebhookProcessed, x as logToolExecutionCompleted } from "./diagnostic-
|
|
37
|
-
import { r as getDiagnosticSessionState, s as redactChannelCorrelation } from "./diagnostic-session-state-
|
|
34
|
+
import { $ as resolveTelegramThreadSpec, A as splitTelegramCaption, B as buildTelegramThreadParams, C as recordApiRequest, D as registerAccount, E as recordWebhook, F as buildSenderLabel, G as hasBotMention, H as describeReplyTarget, I as buildSenderName, J as resolveTelegramForumThreadId, K as normalizeForwardedContext, L as buildTelegramGroupFrom, M as loadCronStore, N as resolveCronStorePath, O as releaseAccountOwner, P as buildGroupLabel, Q as resolveTelegramStreamMode, R as buildTelegramGroupPeerId, S as getTelegramFleetSupervisor, T as recordUpdate, U as expandTextLinks, V as buildTypingThreadParams, W as extractTelegramLocation, X as resolveTelegramMediaPlaceholder, Y as resolveTelegramGroupAllowFromContext, Z as resolveTelegramReplyId, _ as markdownToTelegramChunks, _t as listPairingChannels, a as reactMessageTelegram, at as isSenderIdAllowed, b as wrapFileReferencesInHtml, bt as isVoiceCompatibleAudio, c as sendStickerTelegram, ct as formatLocationText, d as extractTelegramErrorText, dt as readChannelAllowFromStore, et as isSenderAllowed$1, f as isDefiniteTelegramRequestNonDeliveryError, ft as removeChannelAllowFromStoreEntry, g as isTelegramEditMayHaveLandedError, gt as getPairingAdapter, h as isTelegramClientRejection, ht as writeJsonFileAtomically, i as editMessageTelegram, it as firstDefined$1, j as withTelegramApiErrorLogging, k as resolveTelegramFetch, l as resolveTelegramVoiceSend, lt as toLocationContext, m as isSafeToRetrySendError, mt as readJsonFileWithFallback, n as createForumTopicTelegram, nt as normalizeDmAllowFromWithStore$1, o as sendMessageTelegram, ot as mergeDmAllowFromSources, p as isRecoverableTelegramNetworkError, pt as upsertChannelPairingRequest, q as resolveTelegramDirectPeerId, r as deleteMessageTelegram, rt as resolveSenderAllowMatch$1, s as sendPollTelegram, st as resolveGroupAllowFromSources, t as buildInlineKeyboard, tt as normalizeAllowFrom$2, u as wasSentByBot, ut as addChannelAllowFromStoreEntry, v as markdownToTelegramHtml, vt as parseTelegramTarget, w as recordState, x as fingerprintTelegramToken, y as renderTelegramHtmlText, yt as resolveTelegramTargetChatType, z as buildTelegramParentPeer } from "./send-B185UKV9.js";
|
|
35
|
+
import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-DTNAbGed.js";
|
|
36
|
+
import { A as boundDiagnosticContent, C as logWebhookError, D as refreshRunProgress, E as recordSystemPromptHashComparison, M as resetCommandPollCount, O as startDiagnosticHeartbeat, S as logToolExecutionStarted, T as logWebhookReceived, b as logToolExecutionBlocked, d as logRunCompleted, f as logRunStarted, j as recordCommandPoll, k as stopDiagnosticHeartbeat, l as logModelCallError, o as logMessageProcessed, p as logSessionStateChange, s as logMessageQueued, w as logWebhookProcessed, x as logToolExecutionCompleted } from "./diagnostic-mAxbFQHT.js";
|
|
37
|
+
import { r as getDiagnosticSessionState, s as redactChannelCorrelation } from "./diagnostic-session-state-CxVUBLHW.js";
|
|
38
38
|
import { t as redactIdentifier } from "./redact-identifier-BN_ntAFs.js";
|
|
39
39
|
import { t as CommandLane } from "./lanes-DLWRMvoo.js";
|
|
40
|
-
import { a as getCommandLaneSnapshots, i as enqueueCommandInLane, n as clearCommandLane, o as getQueueSize, t as CommandLaneAbortedError } from "./command-queue-
|
|
41
|
-
import { c as getSkillsSnapshotVersion, i as resolveSkillCommandInvocation, l as pruneExpiredPending, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as resolvePairingPaths } from "./skill-commands-
|
|
42
|
-
import { _ as onAgentEvent, a as queueEmbeddedPiMessage, c as handleMessageEnd, d as emitEmbeddedAgentEvent, f as buildCodeSpanIndex, g as emitAgentEvent, h as clearAgentRunContext, i as isEmbeddedPiRunStreaming, l as handleMessageStart, m as endModelCall, n as clearActiveEmbeddedRun, o as setActiveEmbeddedRun, p as createInlineCodeState, r as isEmbeddedPiRunActive, s as waitForEmbeddedPiRunEnd, t as abortEmbeddedPiRun, u as handleMessageUpdate, v as registerAgentRunContext } from "./runs-
|
|
43
|
-
import { a as resolveAgentIdentity, i as resolveAckReaction, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig, t as createReplyPrefixOptions } from "./reply-prefix-
|
|
44
|
-
import { _ as buildTargetResolverSignature, a as normalizeReplyPayloadsForDelivery, c as applyReplyTagsToPayload, d as filterMessagingToolMediaDuplicates, f as isRenderablePayload, g as resolveReplyToMode, h as createReplyToModeFilterForChannel, i as normalizeOutboundPayloadsForJson, l as applyReplyThreading, m as shouldSuppressReasoningPayload, n as formatOutboundPayloadLog, o as throwIfAborted, p as shouldSuppressMessagingToolReplies, r as normalizeOutboundPayloads, s as loadChannelOutboundAdapter, t as deliverOutboundPayloads, u as filterMessagingToolDuplicates, v as normalizeChannelTargetInput, y as normalizeTargetForProvider } from "./deliver-
|
|
45
|
-
import { a as resolveSessionRunStore, r as inferSessionRunKind, t as createSessionRunRecorder } from "./recorder-
|
|
46
|
-
import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-
|
|
47
|
-
import { _ as isNativeCommandsExplicitlyDisabled, a as listChatCommands, b as resolveNativeSkillsEnabled, c as listNativeCommandSpecsForConfig, d as parseCommandArgs, f as resolveCommandArgChoices, g as isCommandFlagEnabled, h as shouldHandleTextCommands, i as isCommandEnabled, l as maybeResolveTextAlias, m as serializeCommandArgs, o as listChatCommandsForConfig, p as resolveCommandArgMenu, r as findCommandByNativeName, s as listNativeCommandSpecs, t as buildCommandTextFromArgs, u as normalizeCommandBody, v as isRestartEnabled, y as resolveNativeCommandsEnabled } from "./commands-registry-
|
|
48
|
-
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-
|
|
49
|
-
import { a as createDiscordRetryRunner, i as normalizePollInput, n as recordChannelActivity, t as getChannelActivity } from "./channel-activity-
|
|
40
|
+
import { a as getCommandLaneSnapshots, i as enqueueCommandInLane, n as clearCommandLane, o as getQueueSize, t as CommandLaneAbortedError } from "./command-queue-D38UhuK9.js";
|
|
41
|
+
import { c as getSkillsSnapshotVersion, i as resolveSkillCommandInvocation, l as pruneExpiredPending, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as resolvePairingPaths } from "./skill-commands-DslzFiF-.js";
|
|
42
|
+
import { _ as onAgentEvent, a as queueEmbeddedPiMessage, c as handleMessageEnd, d as emitEmbeddedAgentEvent, f as buildCodeSpanIndex, g as emitAgentEvent, h as clearAgentRunContext, i as isEmbeddedPiRunStreaming, l as handleMessageStart, m as endModelCall, n as clearActiveEmbeddedRun, o as setActiveEmbeddedRun, p as createInlineCodeState, r as isEmbeddedPiRunActive, s as waitForEmbeddedPiRunEnd, t as abortEmbeddedPiRun, u as handleMessageUpdate, v as registerAgentRunContext } from "./runs-CK-hc7Zt.js";
|
|
43
|
+
import { a as resolveAgentIdentity, i as resolveAckReaction, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig, t as createReplyPrefixOptions } from "./reply-prefix-BicsLWcm.js";
|
|
44
|
+
import { _ as buildTargetResolverSignature, a as normalizeReplyPayloadsForDelivery, c as applyReplyTagsToPayload, d as filterMessagingToolMediaDuplicates, f as isRenderablePayload, g as resolveReplyToMode, h as createReplyToModeFilterForChannel, i as normalizeOutboundPayloadsForJson, l as applyReplyThreading, m as shouldSuppressReasoningPayload, n as formatOutboundPayloadLog, o as throwIfAborted, p as shouldSuppressMessagingToolReplies, r as normalizeOutboundPayloads, s as loadChannelOutboundAdapter, t as deliverOutboundPayloads, u as filterMessagingToolDuplicates, v as normalizeChannelTargetInput, y as normalizeTargetForProvider } from "./deliver-BwrjhyjB.js";
|
|
45
|
+
import { a as resolveSessionRunStore, r as inferSessionRunKind, t as createSessionRunRecorder } from "./recorder-DCKCn66f.js";
|
|
46
|
+
import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-B6ovxuzF.js";
|
|
47
|
+
import { _ as isNativeCommandsExplicitlyDisabled, a as listChatCommands, b as resolveNativeSkillsEnabled, c as listNativeCommandSpecsForConfig, d as parseCommandArgs, f as resolveCommandArgChoices, g as isCommandFlagEnabled, h as shouldHandleTextCommands, i as isCommandEnabled, l as maybeResolveTextAlias, m as serializeCommandArgs, o as listChatCommandsForConfig, p as resolveCommandArgMenu, r as findCommandByNativeName, s as listNativeCommandSpecs, t as buildCommandTextFromArgs, u as normalizeCommandBody, v as isRestartEnabled, y as resolveNativeCommandsEnabled } from "./commands-registry-BMtROFJo.js";
|
|
48
|
+
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-BKb3qUv8.js";
|
|
49
|
+
import { a as createDiscordRetryRunner, i as normalizePollInput, n as recordChannelActivity, t as getChannelActivity } from "./channel-activity-UKizAHW8.js";
|
|
50
50
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-CdUD5EUN.js";
|
|
51
|
-
import { a as loadWebMedia, i as getDefaultLocalRoots, o as loadWebMediaRaw } from "./ir-
|
|
51
|
+
import { a as loadWebMedia, i as getDefaultLocalRoots, o as loadWebMediaRaw } from "./ir-CwFlacLK.js";
|
|
52
52
|
import { n as isSafeFenceBreak, r as parseFenceSpans, t as findFenceSpanAt } from "./fences-FDYDS-Om.js";
|
|
53
|
-
import { a as chunkText, c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, l as resolveChunkMode, o as chunkTextWithMode, r as chunkMarkdownText, t as chunkByNewline, u as resolveChunkNewlinePacking } from "./chunk-
|
|
54
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
55
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
56
|
-
import { i as AGENT_LANE_SUBAGENT, r as AGENT_LANE_NESTED, t as startUserSessionRun } from "./user-run-recording-
|
|
57
|
-
import { n as splitMediaFromOutput, t as parseReplyDirectives } from "./reply-directives-
|
|
58
|
-
import { a as signalCheck, i as resolveSignalRpcContext, n as sendReadReceiptSignal, o as signalRpcRequest, r as sendTypingSignal, s as streamSignalEvents, t as sendMessageSignal } from "./send-
|
|
59
|
-
import { a as isAllowedIMessageSender, i as formatIMessageChatTarget, n as createIMessageRpcClient, o as normalizeIMessageHandle, r as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, s as parseIMessageTarget, t as sendMessageIMessage } from "./send-
|
|
60
|
-
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-
|
|
61
|
-
import { t as createTelegramPollingTransport } from "./proxy-
|
|
62
|
-
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-
|
|
63
|
-
import { t as recordInboundSessionMetaSafe } from "./session-meta-
|
|
64
|
-
import { n as resolveMemorySearchConfig } from "./manager-
|
|
65
|
-
import { f as listMemoryFiles, p as normalizeExtraMemoryPaths } from "./query-expansion-
|
|
53
|
+
import { a as chunkText, c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, l as resolveChunkMode, o as chunkTextWithMode, r as chunkMarkdownText, t as chunkByNewline, u as resolveChunkNewlinePacking } from "./chunk-DaqKWnuH.js";
|
|
54
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-C9S5LJE6.js";
|
|
55
|
+
import { t as convertMarkdownTables } from "./tables-CWATSMdp.js";
|
|
56
|
+
import { i as AGENT_LANE_SUBAGENT, r as AGENT_LANE_NESTED, t as startUserSessionRun } from "./user-run-recording-DBN9MLgl.js";
|
|
57
|
+
import { n as splitMediaFromOutput, t as parseReplyDirectives } from "./reply-directives-B_Ac2F5C.js";
|
|
58
|
+
import { a as signalCheck, i as resolveSignalRpcContext, n as sendReadReceiptSignal, o as signalRpcRequest, r as sendTypingSignal, s as streamSignalEvents, t as sendMessageSignal } from "./send-BWpmSHCb.js";
|
|
59
|
+
import { a as isAllowedIMessageSender, i as formatIMessageChatTarget, n as createIMessageRpcClient, o as normalizeIMessageHandle, r as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, s as parseIMessageTarget, t as sendMessageIMessage } from "./send-CJaXVbN1.js";
|
|
60
|
+
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-D628GK2e.js";
|
|
61
|
+
import { t as createTelegramPollingTransport } from "./proxy-CJSKrzHc.js";
|
|
62
|
+
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-QdHoPz--.js";
|
|
63
|
+
import { t as recordInboundSessionMetaSafe } from "./session-meta-sdu80P7z.js";
|
|
64
|
+
import { n as resolveMemorySearchConfig } from "./manager-MhRo_Y53.js";
|
|
65
|
+
import { f as listMemoryFiles, p as normalizeExtraMemoryPaths } from "./query-expansion-6YaEe4is.js";
|
|
66
66
|
import { createRequire } from "node:module";
|
|
67
67
|
import * as path$1 from "node:path";
|
|
68
68
|
import path, { basename, isAbsolute, join } from "node:path";
|
|
@@ -73,7 +73,7 @@ import readline from "node:readline";
|
|
|
73
73
|
import * as fs$2 from "node:fs/promises";
|
|
74
74
|
import fs$1, { mkdir, readFile, writeFile } from "node:fs/promises";
|
|
75
75
|
import os, { homedir } from "node:os";
|
|
76
|
-
import
|
|
76
|
+
import JSON5 from "json5";
|
|
77
77
|
import { inspect, isDeepStrictEqual, promisify } from "node:util";
|
|
78
78
|
import { execFile, execFileSync, spawn, spawnSync } from "node:child_process";
|
|
79
79
|
import { fileURLToPath } from "node:url";
|
|
@@ -13085,7 +13085,7 @@ async function routeReply(params) {
|
|
|
13085
13085
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
13086
13086
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
13087
13087
|
try {
|
|
13088
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
13088
|
+
const { deliverOutboundPayloads } = await import("./deliver-Cs4Z-yfq.js");
|
|
13089
13089
|
const outboundSession = buildOutboundSessionContext({
|
|
13090
13090
|
cfg,
|
|
13091
13091
|
agentId: resolvedAgentId,
|
|
@@ -14538,7 +14538,7 @@ async function sendTranscriptEcho(params) {
|
|
|
14538
14538
|
}
|
|
14539
14539
|
const text = formatEchoTranscript(transcript, params.format ?? DEFAULT_ECHO_TRANSCRIPT_FORMAT);
|
|
14540
14540
|
try {
|
|
14541
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
14541
|
+
const { deliverOutboundPayloads } = await import("./deliver-Cs4Z-yfq.js");
|
|
14542
14542
|
await deliverOutboundPayloads({
|
|
14543
14543
|
cfg,
|
|
14544
14544
|
channel: normalizedChannel,
|
|
@@ -20636,7 +20636,7 @@ function ensureContextWindowCacheLoaded() {
|
|
|
20636
20636
|
await ensureOpenClawModelsJson(cfg);
|
|
20637
20637
|
} catch {}
|
|
20638
20638
|
try {
|
|
20639
|
-
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-
|
|
20639
|
+
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-DoON6s_y.js").then((n) => n.r);
|
|
20640
20640
|
const agentDir = resolveOpenClawAgentDir();
|
|
20641
20641
|
const modelRegistry = discoverModels(discoverAuthStorage(agentDir), agentDir);
|
|
20642
20642
|
applyDiscoveredContextWindows({
|
|
@@ -30771,7 +30771,7 @@ function normalizeSessionKey(value) {
|
|
|
30771
30771
|
function readSessionStore(storePath) {
|
|
30772
30772
|
try {
|
|
30773
30773
|
const raw = fs.readFileSync(storePath, "utf-8");
|
|
30774
|
-
const parsed =
|
|
30774
|
+
const parsed = JSON5.parse(raw);
|
|
30775
30775
|
if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return parsed;
|
|
30776
30776
|
} catch {}
|
|
30777
30777
|
return {};
|
|
@@ -32432,7 +32432,7 @@ async function createModelSelectionState(params) {
|
|
|
32432
32432
|
}
|
|
32433
32433
|
}
|
|
32434
32434
|
if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
|
|
32435
|
-
const { ensureAuthProfileStore } = await import("./auth-profiles-
|
|
32435
|
+
const { ensureAuthProfileStore } = await import("./auth-profiles-C_lsRyPw.js");
|
|
32436
32436
|
const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
|
|
32437
32437
|
const providerKey = normalizeProviderId(provider);
|
|
32438
32438
|
if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
|
|
@@ -52532,7 +52532,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
52532
52532
|
return;
|
|
52533
52533
|
}
|
|
52534
52534
|
try {
|
|
52535
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
52535
|
+
const { deliverOutboundPayloads } = await import("./deliver-Cs4Z-yfq.js");
|
|
52536
52536
|
const outboundSession = buildOutboundSessionContext({
|
|
52537
52537
|
cfg: params.cfg,
|
|
52538
52538
|
sessionKey: params.sessionKey
|
|
@@ -53989,7 +53989,7 @@ function requestNudge(input, cfg = loadConfig(), deps) {
|
|
|
53989
53989
|
const { backbone, runner } = getAgentTurnRuntime();
|
|
53990
53990
|
const id = await enqueueAgentTurn(backbone, payload);
|
|
53991
53991
|
if (!isClaimableAgentTurnWorkId(id)) return;
|
|
53992
|
-
const { runMainAgentTurn } = await import("./agent-turn-execute-
|
|
53992
|
+
const { runMainAgentTurn } = await import("./agent-turn-execute-CJ36gcjc.js");
|
|
53993
53993
|
await runner.claimAndExecute({
|
|
53994
53994
|
workId: id,
|
|
53995
53995
|
execute: (claim) => runMainAgentTurn(claim.message.payload)
|
|
@@ -55272,7 +55272,7 @@ async function handleHeartbeatError(params) {
|
|
|
55272
55272
|
const AGENT_TURN_PROMPT = "Process the pending system events for this session.";
|
|
55273
55273
|
async function ackAnnounceExecuted(payload) {
|
|
55274
55274
|
if (payload.kind !== "announce") return;
|
|
55275
|
-
const { markSubagentAnnounceExecuted } = await import("./subagent-registry-
|
|
55275
|
+
const { markSubagentAnnounceExecuted } = await import("./subagent-registry-dkpySBIy.js");
|
|
55276
55276
|
for (const runId of [payload.runId, ...payload.mergedRunIds ?? []]) try {
|
|
55277
55277
|
await markSubagentAnnounceExecuted(runId);
|
|
55278
55278
|
} catch {}
|
|
@@ -55520,7 +55520,7 @@ const DIRECT_ANNOUNCE_TRANSIENT_RETRY_DELAYS_MS = FAST_TEST_MODE ? [
|
|
|
55520
55520
|
let subagentRegistryAccessPromise;
|
|
55521
55521
|
const STALLED_SIBLING_ANNOUNCE_HOLD_MS = 5 * 6e4;
|
|
55522
55522
|
function loadSubagentRegistryAccess() {
|
|
55523
|
-
if (!subagentRegistryAccessPromise) subagentRegistryAccessPromise = import("./subagent-registry-
|
|
55523
|
+
if (!subagentRegistryAccessPromise) subagentRegistryAccessPromise = import("./subagent-registry-dkpySBIy.js").catch((err) => {
|
|
55524
55524
|
const message = err instanceof Error && err.message ? err.message : String(err);
|
|
55525
55525
|
defaultRuntime.log(`[warn] subagent registry access import failed: ${message}`);
|
|
55526
55526
|
subagentRegistryAccessPromise = void 0;
|
|
@@ -58093,8 +58093,8 @@ function shouldEmitLoopWarning(state, warningKey, count) {
|
|
|
58093
58093
|
async function recordLoopOutcome(args) {
|
|
58094
58094
|
if (!args.ctx?.sessionKey) return;
|
|
58095
58095
|
try {
|
|
58096
|
-
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-
|
|
58097
|
-
const { recordToolCallOutcome } = await import("./tool-loop-detection-
|
|
58096
|
+
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-CxVUBLHW.js").then((n) => n.n);
|
|
58097
|
+
const { recordToolCallOutcome } = await import("./tool-loop-detection-hidML3Zn.js");
|
|
58098
58098
|
recordToolCallOutcome(getDiagnosticSessionState({
|
|
58099
58099
|
sessionKey: args.ctx.sessionKey,
|
|
58100
58100
|
sessionId: args.ctx?.agentId
|
|
@@ -58120,9 +58120,9 @@ async function runBeforeToolCallHook(args) {
|
|
|
58120
58120
|
const toolName = normalizeToolName(args.toolName || "tool");
|
|
58121
58121
|
const params = args.params;
|
|
58122
58122
|
if (args.ctx?.sessionKey) {
|
|
58123
|
-
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-
|
|
58124
|
-
const { logToolLoopAction } = await import("./diagnostic-
|
|
58125
|
-
const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-
|
|
58123
|
+
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-CxVUBLHW.js").then((n) => n.n);
|
|
58124
|
+
const { logToolLoopAction } = await import("./diagnostic-mAxbFQHT.js").then((n) => n.n);
|
|
58125
|
+
const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-hidML3Zn.js");
|
|
58126
58126
|
const sessionState = getDiagnosticSessionState({
|
|
58127
58127
|
sessionKey: args.ctx.sessionKey,
|
|
58128
58128
|
sessionId: args.ctx?.agentId
|
|
@@ -75476,7 +75476,7 @@ async function describeStickerImage(params) {
|
|
|
75476
75476
|
logVerbose(`telegram: describing sticker with ${provider}/${model}`);
|
|
75477
75477
|
try {
|
|
75478
75478
|
const buffer = await fs$1.readFile(imagePath);
|
|
75479
|
-
const { describeImageWithModel } = await import("./provider-image-
|
|
75479
|
+
const { describeImageWithModel } = await import("./provider-image-DXbrbBES.js");
|
|
75480
75480
|
return (await describeImageWithModel({
|
|
75481
75481
|
buffer,
|
|
75482
75482
|
fileName: "sticker.webp",
|
|
@@ -77189,7 +77189,7 @@ async function resolveDiscordPreflightAudioMentionContext(params) {
|
|
|
77189
77189
|
let transcript;
|
|
77190
77190
|
let carry;
|
|
77191
77191
|
if (needsPreflightTranscription) try {
|
|
77192
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
77192
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-DwOfW2wS.js");
|
|
77193
77193
|
const uploadable = audioAttachments.filter((att) => typeof att.url === "string" && att.url.length > 0);
|
|
77194
77194
|
if (uploadable.length > 0) {
|
|
77195
77195
|
const preflight = await transcribeFirstAudio({
|
|
@@ -84339,23 +84339,23 @@ function createDefaultDeps() {
|
|
|
84339
84339
|
};
|
|
84340
84340
|
},
|
|
84341
84341
|
sendMessageTelegram: async (...args) => {
|
|
84342
|
-
const { sendMessageTelegram } = await import("./send-
|
|
84342
|
+
const { sendMessageTelegram } = await import("./send-BbBjb8Y6.js");
|
|
84343
84343
|
return await sendMessageTelegram(...args);
|
|
84344
84344
|
},
|
|
84345
84345
|
sendMessageDiscord: async (...args) => {
|
|
84346
|
-
const { sendMessageDiscord } = await import("./send-
|
|
84346
|
+
const { sendMessageDiscord } = await import("./send-DpOu5jYA.js");
|
|
84347
84347
|
return await sendMessageDiscord(...args);
|
|
84348
84348
|
},
|
|
84349
84349
|
sendMessageSlack: async (...args) => {
|
|
84350
|
-
const { sendMessageSlack } = await import("./send-
|
|
84350
|
+
const { sendMessageSlack } = await import("./send-BeGT-pg6.js");
|
|
84351
84351
|
return await sendMessageSlack(...args);
|
|
84352
84352
|
},
|
|
84353
84353
|
sendMessageSignal: async (...args) => {
|
|
84354
|
-
const { sendMessageSignal } = await import("./send-
|
|
84354
|
+
const { sendMessageSignal } = await import("./send-j6u0up7Q.js");
|
|
84355
84355
|
return await sendMessageSignal(...args);
|
|
84356
84356
|
},
|
|
84357
84357
|
sendMessageIMessage: async (...args) => {
|
|
84358
|
-
const { sendMessageIMessage } = await import("./send-
|
|
84358
|
+
const { sendMessageIMessage } = await import("./send-mvIDllNB.js");
|
|
84359
84359
|
return await sendMessageIMessage(...args);
|
|
84360
84360
|
}
|
|
84361
84361
|
};
|
|
@@ -96644,7 +96644,7 @@ function readSlackExternalArgMenuToken(raw) {
|
|
|
96644
96644
|
}
|
|
96645
96645
|
let commandsRegistry;
|
|
96646
96646
|
async function getCommandsRegistry() {
|
|
96647
|
-
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-
|
|
96647
|
+
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-BMtROFJo.js").then((n) => n.n);
|
|
96648
96648
|
return commandsRegistry;
|
|
96649
96649
|
}
|
|
96650
96650
|
function encodeSlackCommandArgValue(parts) {
|
|
@@ -96974,14 +96974,14 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
96974
96974
|
const channelName = channelInfo?.name;
|
|
96975
96975
|
const roomLabel = channelName ? `#${channelName}` : `#${command.channel_id}`;
|
|
96976
96976
|
const [{ resolveAgentRoute }, { finalizeInboundContext }, { dispatchReplyWithDispatcher }] = await Promise.all([
|
|
96977
|
-
import("./resolve-route-
|
|
96978
|
-
import("./inbound-context-
|
|
96979
|
-
import("./provider-dispatcher-
|
|
96977
|
+
import("./resolve-route-D628GK2e.js").then((n) => n.r),
|
|
96978
|
+
import("./inbound-context-B6ovxuzF.js").then((n) => n.n),
|
|
96979
|
+
import("./provider-dispatcher-DNwnSw41.js")
|
|
96980
96980
|
]);
|
|
96981
96981
|
const [{ resolveConversationLabel }, { createReplyPrefixOptions }, { recordInboundSessionMetaSafe }] = await Promise.all([
|
|
96982
96982
|
import("./conversation-label-BXGlixeO.js"),
|
|
96983
|
-
import("./reply-prefix-
|
|
96984
|
-
import("./session-meta-
|
|
96983
|
+
import("./reply-prefix-BicsLWcm.js").then((n) => n.n),
|
|
96984
|
+
import("./session-meta-sdu80P7z.js").then((n) => n.n)
|
|
96985
96985
|
]);
|
|
96986
96986
|
const route = resolveAgentRoute({
|
|
96987
96987
|
cfg,
|
|
@@ -97046,9 +97046,9 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
97046
97046
|
});
|
|
97047
97047
|
const deliverSlashPayloads = async (replies) => {
|
|
97048
97048
|
const [{ deliverSlackSlashReplies }, { resolveChunkMode, resolveChunkNewlinePacking }, { resolveMarkdownTableMode }] = await Promise.all([
|
|
97049
|
-
import("./replies-
|
|
97050
|
-
import("./chunk-
|
|
97051
|
-
import("./markdown-tables-
|
|
97049
|
+
import("./replies-Be239YFg.js"),
|
|
97050
|
+
import("./chunk-DaqKWnuH.js").then((n) => n.s),
|
|
97051
|
+
import("./markdown-tables-C9S5LJE6.js").then((n) => n.t)
|
|
97052
97052
|
]);
|
|
97053
97053
|
await deliverSlackSlashReplies({
|
|
97054
97054
|
replies,
|
|
@@ -97102,7 +97102,7 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
97102
97102
|
let nativeCommands = [];
|
|
97103
97103
|
if (nativeEnabled) {
|
|
97104
97104
|
reg = await getCommandsRegistry();
|
|
97105
|
-
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-
|
|
97105
|
+
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-DslzFiF-.js").then((n) => n.a)).listSkillCommandsForAgents({ cfg }) : [];
|
|
97106
97106
|
nativeCommands = reg.listNativeCommandSpecsForConfig(cfg, {
|
|
97107
97107
|
skillCommands,
|
|
97108
97108
|
provider: "slack"
|
|
@@ -97621,8 +97621,8 @@ async function auditTelegramGroupMembership(params) {
|
|
|
97621
97621
|
groups: [],
|
|
97622
97622
|
elapsedMs: Date.now() - started
|
|
97623
97623
|
};
|
|
97624
|
-
const fetcher = params.proxyUrl ? (await import("./proxy-
|
|
97625
|
-
const { fetchWithTimeout } = await import("./fetch-timeout-
|
|
97624
|
+
const fetcher = params.proxyUrl ? (await import("./proxy-CJSKrzHc.js").then((n) => n.n)).makeProxyFetch(params.proxyUrl) : fetch;
|
|
97625
|
+
const { fetchWithTimeout } = await import("./fetch-timeout-Bftlxkgu.js").then((n) => n.r);
|
|
97626
97626
|
const base = `${TELEGRAM_API_BASE$1}/bot${token}`;
|
|
97627
97627
|
const groups = [];
|
|
97628
97628
|
for (const chatId of params.groupIds) try {
|
|
@@ -100148,7 +100148,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, replyMedia =
|
|
|
100148
100148
|
let audioPreflightCarry;
|
|
100149
100149
|
const audioConfigEnabled = cfg.tools?.media?.audio && cfg.tools.media.audio.enabled !== false;
|
|
100150
100150
|
if (hasAudio && !hasUserText && !disableAudioPreflight && (isGroup && requireMention && mentionRegexes.length > 0 || audioConfigEnabled === true)) try {
|
|
100151
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
100151
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-DwOfW2wS.js");
|
|
100152
100152
|
const preflight = await transcribeFirstAudio({
|
|
100153
100153
|
ctx: {
|
|
100154
100154
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -104550,7 +104550,7 @@ async function getMemorySearchManager(params) {
|
|
|
104550
104550
|
if (cached) return { manager: cached };
|
|
104551
104551
|
}
|
|
104552
104552
|
try {
|
|
104553
|
-
const { QmdMemoryManager } = await import("./qmd-manager-
|
|
104553
|
+
const { QmdMemoryManager } = await import("./qmd-manager-Yj4sdDks.js");
|
|
104554
104554
|
const primary = await QmdMemoryManager.create({
|
|
104555
104555
|
cfg: params.cfg,
|
|
104556
104556
|
agentId: params.agentId,
|
|
@@ -104562,7 +104562,7 @@ async function getMemorySearchManager(params) {
|
|
|
104562
104562
|
const wrapper = new FallbackMemoryManager({
|
|
104563
104563
|
primary,
|
|
104564
104564
|
fallbackFactory: async () => {
|
|
104565
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
104565
|
+
const { MemoryIndexManager } = await import("./manager-BMV4GnjN.js");
|
|
104566
104566
|
return await MemoryIndexManager.get(params);
|
|
104567
104567
|
}
|
|
104568
104568
|
}, () => {
|
|
@@ -104577,7 +104577,7 @@ async function getMemorySearchManager(params) {
|
|
|
104577
104577
|
}
|
|
104578
104578
|
}
|
|
104579
104579
|
try {
|
|
104580
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
104580
|
+
const { MemoryIndexManager } = await import("./manager-BMV4GnjN.js");
|
|
104581
104581
|
return { manager: await MemoryIndexManager.get(params) };
|
|
104582
104582
|
} catch (err) {
|
|
104583
104583
|
return {
|
|
@@ -105635,7 +105635,7 @@ function createPluginRuntime(options = {}) {
|
|
|
105635
105635
|
workStates: readTaskWorkStates
|
|
105636
105636
|
},
|
|
105637
105637
|
resolveLearningWorkspaceDir: (agentId) => resolveLearningWorkspaceDir(loadConfig(), agentId),
|
|
105638
|
-
sessions: { startUserRun: async (params) => (await import("./user-run-recording-
|
|
105638
|
+
sessions: { startUserRun: async (params) => (await import("./user-run-recording-DBN9MLgl.js").then((n) => n.n)).startUserSessionRun(params) }
|
|
105639
105639
|
};
|
|
105640
105640
|
Object.defineProperty(runtime, "analysis", {
|
|
105641
105641
|
enumerable: true,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { b as __exportAll } from "./proxy-env-
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
1
|
+
import { b as __exportAll } from "./proxy-env-Bi6F7qH_.js";
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-rgYCdGI1.js";
|
|
3
3
|
import { t as CommandLane } from "./lanes-DLWRMvoo.js";
|
|
4
|
-
import { a as resolveSessionRunStore, i as summarizeSessionRunPrompt, n as deriveSessionRunId, r as inferSessionRunKind, t as createSessionRunRecorder } from "./recorder-
|
|
4
|
+
import { a as resolveSessionRunStore, i as summarizeSessionRunPrompt, n as deriveSessionRunId, r as inferSessionRunKind, t as createSessionRunRecorder } from "./recorder-DCKCn66f.js";
|
|
5
5
|
import { randomUUID } from "node:crypto";
|
|
6
6
|
|
|
7
7
|
//#region src/agents/lanes.ts
|
|
@@ -3,7 +3,7 @@ import { g as resolveAgentModelPrimaryValue, h as resolveAgentModelFallbackValue
|
|
|
3
3
|
import { G as applyConfigEnvVars, rt as isRecord } from "./subsystem-iTNW5QQR.js";
|
|
4
4
|
import { A as requireApiKey, J as loadConfig, O as getApiKeyForModel, Xa as resolveOpenClawAgentDir, _ as resolveImplicitBedrockProvider, eo as normalizeSecretInput, g as normalizeProviders, v as resolveImplicitCopilotProvider, y as resolveImplicitProviders } from "./model-selection-DhXu1Q4_.js";
|
|
5
5
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-C3dMscCT.js";
|
|
6
|
-
import { t as extractAssistantText } from "./pi-embedded-utils-
|
|
6
|
+
import { t as extractAssistantText } from "./pi-embedded-utils-DGuyV3oI.js";
|
|
7
7
|
import fs from "node:fs/promises";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import { complete } from "@mariozechner/pi-ai";
|
|
@@ -3,7 +3,7 @@ import { nt as resolveAgentModelPrimaryValue, tt as resolveAgentModelFallbackVal
|
|
|
3
3
|
import { G as applyConfigEnvVars, rt as isRecord } from "./subsystem-CdS2B7jt.js";
|
|
4
4
|
import { A as requireApiKey, J as loadConfig, O as getApiKeyForModel, _ as resolveImplicitBedrockProvider, ao as normalizeSecretInput, g as normalizeProviders, to as resolveOpenClawAgentDir, v as resolveImplicitCopilotProvider, y as resolveImplicitProviders } from "./model-selection-Cd0R62vH.js";
|
|
5
5
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-CcbW2IAR.js";
|
|
6
|
-
import { t as extractAssistantText } from "./pi-embedded-utils-
|
|
6
|
+
import { t as extractAssistantText } from "./pi-embedded-utils-CHJI4-m4.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs/promises";
|
|
9
9
|
import { complete } from "@mariozechner/pi-ai";
|
|
@@ -8,7 +8,7 @@ import "./github-copilot-token-WSjo05vB.js";
|
|
|
8
8
|
import "./legacy-names-DFLXH7MA.js";
|
|
9
9
|
import "./run-with-concurrency-VoSJL2UI.js";
|
|
10
10
|
import "./redact-D8fpDrdk.js";
|
|
11
|
-
import { F as resolveStrictExistingPathsWithinRoot, L as DEFAULT_FILL_FIELD_TYPE, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, S as withCdpSocket, _ as withBrowserNavigationPolicy, d as formatAriaSnapshot, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, j as DEFAULT_DOWNLOAD_DIR, k as withNoProxyForCdpUrl, t as getChromeWebSocketUrl, v as appendCdpPath, x as getHeadersWithAuth, y as fetchJson } from "./chrome-
|
|
11
|
+
import { F as resolveStrictExistingPathsWithinRoot, L as DEFAULT_FILL_FIELD_TYPE, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, S as withCdpSocket, _ as withBrowserNavigationPolicy, d as formatAriaSnapshot, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, j as DEFAULT_DOWNLOAD_DIR, k as withNoProxyForCdpUrl, t as getChromeWebSocketUrl, v as appendCdpPath, x as getHeadersWithAuth, y as fetchJson } from "./chrome-CGClRujb.js";
|
|
12
12
|
import "./path-alias-guards-y8gxUSMu.js";
|
|
13
13
|
import { p as formatErrorMessage } from "./proxy-env-BBllD0qI.js";
|
|
14
14
|
import { s as writeFileFromPathWithinRoot } from "./fs-safe-BNnzOM9C.js";
|
|
@@ -6,7 +6,7 @@ import { gi as formatCliCommand } from "./model-selection-Cd0R62vH.js";
|
|
|
6
6
|
import "./github-copilot-token-Wgn3tC_h.js";
|
|
7
7
|
import "./run-with-concurrency-B6da8eZU.js";
|
|
8
8
|
import "./redact-DbgJD0JZ.js";
|
|
9
|
-
import { F as resolveStrictExistingPathsWithinRoot, L as DEFAULT_FILL_FIELD_TYPE, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, S as withCdpSocket, _ as withBrowserNavigationPolicy, d as formatAriaSnapshot, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, j as DEFAULT_DOWNLOAD_DIR, k as withNoProxyForCdpUrl, t as getChromeWebSocketUrl, v as appendCdpPath, x as getHeadersWithAuth, y as fetchJson } from "./chrome-
|
|
9
|
+
import { F as resolveStrictExistingPathsWithinRoot, L as DEFAULT_FILL_FIELD_TYPE, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, S as withCdpSocket, _ as withBrowserNavigationPolicy, d as formatAriaSnapshot, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, j as DEFAULT_DOWNLOAD_DIR, k as withNoProxyForCdpUrl, t as getChromeWebSocketUrl, v as appendCdpPath, x as getHeadersWithAuth, y as fetchJson } from "./chrome-CTyhKrVS.js";
|
|
10
10
|
import "./path-alias-guards-C6VPEcOr.js";
|
|
11
11
|
import { p as formatErrorMessage } from "./proxy-env-CN44KnoG.js";
|
|
12
12
|
import { s as writeFileFromPathWithinRoot } from "./fs-safe-ZV-z8lDX.js";
|
|
@@ -3,10 +3,10 @@ import { c as resolveStateDir } from "./paths-CaA28K0s.js";
|
|
|
3
3
|
import { C as appendFileLog } from "./subsystem-CdS2B7jt.js";
|
|
4
4
|
import { kr as normalizeUsage, qa as isTruthyEnvValue } from "./model-selection-Cd0R62vH.js";
|
|
5
5
|
import { n as SILENT_REPLY_TOKEN } from "./tokens-CAPNeQwS.js";
|
|
6
|
-
import { D as refreshRunProgress, c as logModelCallCompleted, p as logSessionStateChange, s as logMessageQueued, t as diag, u as logModelCallStarted } from "./diagnostic-
|
|
6
|
+
import { D as refreshRunProgress, c as logModelCallCompleted, p as logSessionStateChange, s as logMessageQueued, t as diag, u as logModelCallStarted } from "./diagnostic-Ba0VUozS.js";
|
|
7
7
|
import { r as getDiagnosticSessionState } from "./diagnostic-session-state-evjvR-jF.js";
|
|
8
|
-
import { a as isMessagingToolDuplicateNormalized, o as normalizeTextForComparison } from "./pi-embedded-helpers-
|
|
9
|
-
import { a as formatReasoningMessage, c as promoteThinkingTagsToBlocks, i as extractThinkingFromTaggedText, n as extractAssistantThinking, r as extractThinkingFromTaggedStream, t as extractAssistantText } from "./pi-embedded-utils-
|
|
8
|
+
import { a as isMessagingToolDuplicateNormalized, o as normalizeTextForComparison } from "./pi-embedded-helpers-4qLKF7Ti.js";
|
|
9
|
+
import { a as formatReasoningMessage, c as promoteThinkingTagsToBlocks, i as extractThinkingFromTaggedText, n as extractAssistantThinking, r as extractThinkingFromTaggedStream, t as extractAssistantText } from "./pi-embedded-utils-CHJI4-m4.js";
|
|
10
10
|
import { r as parseFenceSpans } from "./fences-Cd5KY13m.js";
|
|
11
11
|
import { t as parseReplyDirectives } from "./reply-directives-CDeBqVkZ.js";
|
|
12
12
|
import path from "node:path";
|
|
@@ -3,10 +3,10 @@ import { c as resolveStateDir } from "./paths-Cvc9EM8Y.js";
|
|
|
3
3
|
import { C as appendFileLog } from "./subsystem-iTNW5QQR.js";
|
|
4
4
|
import { Tr as normalizeUsage, Ua as isTruthyEnvValue } from "./model-selection-DhXu1Q4_.js";
|
|
5
5
|
import { n as SILENT_REPLY_TOKEN } from "./tokens-iu44eB15.js";
|
|
6
|
-
import { D as refreshRunProgress, c as logModelCallCompleted, p as logSessionStateChange, s as logMessageQueued, t as diag, u as logModelCallStarted } from "./diagnostic-
|
|
6
|
+
import { D as refreshRunProgress, c as logModelCallCompleted, p as logSessionStateChange, s as logMessageQueued, t as diag, u as logModelCallStarted } from "./diagnostic-DmBrpD9P.js";
|
|
7
7
|
import { r as getDiagnosticSessionState } from "./diagnostic-session-state-Bnyx-w0F.js";
|
|
8
|
-
import { a as isMessagingToolDuplicateNormalized, o as normalizeTextForComparison } from "./pi-embedded-helpers-
|
|
9
|
-
import { a as formatReasoningMessage, c as promoteThinkingTagsToBlocks, i as extractThinkingFromTaggedText, n as extractAssistantThinking, r as extractThinkingFromTaggedStream, t as extractAssistantText } from "./pi-embedded-utils-
|
|
8
|
+
import { a as isMessagingToolDuplicateNormalized, o as normalizeTextForComparison } from "./pi-embedded-helpers-DYlkCsNL.js";
|
|
9
|
+
import { a as formatReasoningMessage, c as promoteThinkingTagsToBlocks, i as extractThinkingFromTaggedText, n as extractAssistantThinking, r as extractThinkingFromTaggedStream, t as extractAssistantText } from "./pi-embedded-utils-DGuyV3oI.js";
|
|
10
10
|
import { r as parseFenceSpans } from "./fences-DHXKaTRv.js";
|
|
11
11
|
import { t as parseReplyDirectives } from "./reply-directives-CZPJmH1t.js";
|
|
12
12
|
import path from "node:path";
|
|
@@ -3,7 +3,7 @@ import { G as DEFAULT_ACCOUNT_ID, K as normalizeAccountId } from "./agent-scope-
|
|
|
3
3
|
import { c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix, o as resolveOAuthDir } from "./paths-CaA28K0s.js";
|
|
4
4
|
import { Z as CONFIG_DIR, ct as safeParseJson, f as logVerbose, r as avoidTrailingHighSurrogateBreak, t as createSubsystemLogger, u as danger } from "./subsystem-CdS2B7jt.js";
|
|
5
5
|
import { J as loadConfig, Jn as writeJsonAtomic, Jr as listChannelPlugins, Va as resolveTelegramPreviewStreamMode, X as readConfigFileSnapshotForWrite, Z as writeConfigFile, ni as resolveTelegramAccount, no as withFileLock$1, qa as isTruthyEnvValue, qr as getChannelPlugin } from "./model-selection-Cd0R62vH.js";
|
|
6
|
-
import { _ as logTelegramPoll, g as logTelegramDelivery, h as logTelegramApiRequest, m as logTelegramAccountState, v as logTelegramUpdate, y as logTelegramWebhook } from "./diagnostic-
|
|
6
|
+
import { _ as logTelegramPoll, g as logTelegramDelivery, h as logTelegramApiRequest, m as logTelegramAccountState, v as logTelegramUpdate, y as logTelegramWebhook } from "./diagnostic-Ba0VUozS.js";
|
|
7
7
|
import { n as sha256HexPrefix, t as redactIdentifier } from "./redact-identifier-CUq5OWH1.js";
|
|
8
8
|
import { t as redactSensitiveText } from "./redact-DbgJD0JZ.js";
|
|
9
9
|
import { h as normalizeMimeType, m as kindFromMime, p as isGifMedia, u as getFileExtension } from "./image-ops-B06vFlU8.js";
|