openclaw-cortex 3.2.0 → 3.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{audio-preflight-DrLN-6C1.js → audio-preflight-DvPjddyW.js} +4 -4
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +6 -6
- package/dist/bundled/session-memory/handler.js +6 -6
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{chrome-DBmAGMTR.js → chrome-C-c5M24y.js} +7 -7
- package/dist/{command-registry-C2HYRZO_.js → command-registry-bnmnLUnx.js} +4 -4
- package/dist/{completion-cli-DB5qbPxk.js → completion-cli-CNWQ3fEd.js} +1 -1
- package/dist/{completion-cli-rVm9UjTQ.js → completion-cli-DkjwWQiV.js} +2 -2
- package/dist/control-ui/_app/immutable/chunks/C1foZlYx.js +1 -0
- package/dist/control-ui/_app/immutable/entry/{app.DKU3ZeOo.js → app.CrCCwjNG.js} +2 -2
- package/dist/control-ui/_app/immutable/entry/start.COsntbkx.js +1 -0
- package/dist/control-ui/_app/immutable/nodes/{0.CDaa-GWT.js → 0.C_eDaxcG.js} +1 -1
- package/dist/control-ui/_app/immutable/nodes/{1.CYtkLWum.js → 1.Bl8gqrPg.js} +1 -1
- package/dist/control-ui/_app/immutable/nodes/{15.7DnWqn28.js → 15.DprKPzQ3.js} +1 -1
- package/dist/control-ui/_app/version.json +1 -1
- package/dist/control-ui/index.html +6 -6
- package/dist/control-ui/sw.js +14 -4
- package/dist/{deliver-miQ_b14_.js → deliver-Cx5HCk1u.js} +1 -1
- package/dist/{doctor-completion-CDdw31wQ.js → doctor-completion-DsPB0eOt.js} +1 -1
- package/dist/{doctor-completion-lw65Gm69.js → doctor-completion-v-5OlFRw.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/{gateway-cli-D_RCXTvo.js → gateway-cli-Can-C2Mw.js} +2 -2
- package/dist/{gateway-cli-yd0wJM_1.js → gateway-cli-DlankjZa.js} +2 -2
- package/dist/{image-Bnzq6Ut_.js → image-Dgvueazf.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/llm-slug-generator.js +6 -6
- package/dist/{onboard-DtWmcQlQ.js → onboard-Be9rD-tu.js} +1 -1
- package/dist/{onboard-Bd7A_X5U.js → onboard-Dq4WS2ai.js} +1 -1
- package/dist/{onboarding-JoS3gVBZ.js → onboarding-jX-gc6kQ.js} +1 -1
- package/dist/{onboarding-D5BRyKY0.js → onboarding-mZg7K8XF.js} +1 -1
- package/dist/{onboarding.finalize-DwWgfZqG.js → onboarding.finalize-A-p1VHgb.js} +4 -4
- package/dist/{onboarding.finalize-Bbi4NFVI.js → onboarding.finalize-CYqgr1Ah.js} +3 -3
- package/dist/{pi-embedded-D0HD9Cfc.js → pi-embedded-BUQwV3oO.js} +16 -16
- package/dist/{pi-embedded-helpers-f1wpGfIT.js → pi-embedded-helpers-CdVb74wU.js} +4 -4
- package/dist/plugin-sdk/{accounts-uAqOguyH.js → accounts-LxMkgia0.js} +1 -1
- package/dist/plugin-sdk/{accounts-b1Cok6r_.js → accounts-iN-dbgw4.js} +3 -3
- package/dist/plugin-sdk/{accounts-CRs7kbLB.js → accounts-vV5Gfd26.js} +1 -1
- package/dist/plugin-sdk/{active-listener-BdVTYHTN.js → active-listener-Bh0LXjEI.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-OWMdRegz.js → agent-scope-BS_vck4W.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-DedcgBOR.js → api-key-rotation-LkecAWT_.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-EYVIo5wC.js → audio-preflight-Bs1SkEb1.js} +25 -25
- package/dist/plugin-sdk/{bindings-LROfNV1W.js → bindings-CTCkMENc.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-DHI8R5Xg.js → channel-activity-PV3vhwo2.js} +1 -1
- package/dist/plugin-sdk/{channel-web-CGp1_ZH4.js → channel-web-C1Hsjdgf.js} +22 -22
- package/dist/plugin-sdk/{chrome-BS8LYp6z.js → chrome-cWvSiZw3.js} +3 -3
- package/dist/plugin-sdk/{chunk-C9J4kyVw.js → chunk-CyOBR4uk.js} +1 -1
- package/dist/plugin-sdk/{command-format-BTciq6Gg.js → command-format-C5kdEGEu.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-pHxVP_Zd.js → commands-registry-Bvksrm0n.js} +3 -3
- package/dist/plugin-sdk/{common-CCPGi5xr.js → common-CJo4CK5_.js} +2 -2
- package/dist/plugin-sdk/{config-DemNgb7Z.js → config-B8Nc1zrG.js} +9 -9
- package/dist/plugin-sdk/{deliver-BCvqh6o3.js → deliver-Dut_1pt2.js} +10 -10
- package/dist/plugin-sdk/{diagnostic-oBxO5N68.js → diagnostic-DFXnVf2I.js} +1 -1
- package/dist/plugin-sdk/{fs-safe-CGcLaY9D.js → fs-safe-CdpuSWry.js} +1 -1
- package/dist/plugin-sdk/{image-BHSeZfna.js → image-B3tSrFDE.js} +4 -4
- package/dist/plugin-sdk/index.js +52 -52
- package/dist/plugin-sdk/{ir-JSGKj1e6.js → ir-05vuco_v.js} +4 -4
- package/dist/plugin-sdk/{local-roots-jpNoUngc.js → local-roots-DlmKIABh.js} +3 -3
- package/dist/plugin-sdk/{login-Ckh0Yz4j.js → login-_t6d0RBi.js} +7 -7
- package/dist/plugin-sdk/{login-qr-DRY27T-V.js → login-qr-Czq6nBnB.js} +9 -9
- package/dist/plugin-sdk/{manager-B9XMF8DU.js → manager-DEOMAxd_.js} +8 -8
- package/dist/plugin-sdk/{manifest-registry-Lzj-fZNH.js → manifest-registry-BgkX6ON4.js} +1 -1
- package/dist/plugin-sdk/{markdown-tables-CgnPuqk-.js → markdown-tables-FF81O4MP.js} +1 -1
- package/dist/plugin-sdk/{message-channel-C3OrO29D.js → message-channel-DxNExIdv.js} +1 -1
- package/dist/plugin-sdk/{model-selection-BQiSfqzh.js → model-selection-Bj-E4zbc.js} +4 -4
- package/dist/plugin-sdk/{normalize-raRH8X3d.js → normalize-DWmWs1Oq.js} +4 -4
- package/dist/plugin-sdk/{outbound-CtRrsxZT.js → outbound-D2-05wUl.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment-BD9q-xgD.js → outbound-attachment-DmbQx_Vk.js} +2 -2
- package/dist/plugin-sdk/{pi-auth-json-BlIDGSl5.js → pi-auth-json-D-qvsSpX.js} +5 -5
- package/dist/plugin-sdk/{pi-embedded-helpers-0qu1zxwF.js → pi-embedded-helpers-C1u6XyK5.js} +17 -17
- package/dist/plugin-sdk/{plugins-BJciHbYr.js → plugins-0PB0IWJL.js} +3 -3
- package/dist/plugin-sdk/{pw-ai-DkUDisr8.js → pw-ai-BIyeKPJF.js} +8 -8
- package/dist/plugin-sdk/{qmd-manager-kPD4Wyie.js → qmd-manager-DeQxerRp.js} +4 -4
- package/dist/plugin-sdk/{registry-C8pj8ctW.js → registry-BECEtj9n.js} +2 -2
- package/dist/plugin-sdk/{replies-0BFlZXJ5.js → replies-DnGHvUeV.js} +3 -3
- package/dist/plugin-sdk/{reply-BUzGHOJ7.js → reply-Due6Dl-a.js} +78 -78
- package/dist/plugin-sdk/{reply-prefix-YUOHz1rF.js → reply-prefix-UgReuQSG.js} +1 -1
- package/dist/plugin-sdk/{resolve-route-DudlMKs4.js → resolve-route-BaFHJbum.js} +3 -3
- package/dist/plugin-sdk/{retry-B8Oq5mgi.js → retry-Bkj1k1me.js} +1 -1
- package/dist/plugin-sdk/{runner-BkD3LLSl.js → runner-Bq1wBell.js} +9 -9
- package/dist/plugin-sdk/{send-CpfmIaxP.js → send-By-dm-fT.js} +11 -11
- package/dist/plugin-sdk/{send-A_uouj00.js → send-D4HKCCvV.js} +7 -7
- package/dist/plugin-sdk/{send-Di1hHvf2.js → send-M99nJHP9.js} +11 -11
- package/dist/plugin-sdk/{send-9i1KJYhJ.js → send-MrY4gJ_w.js} +7 -7
- package/dist/plugin-sdk/{send-DREpPboJ.js → send-NUKqMNZh.js} +6 -6
- package/dist/plugin-sdk/{session-CpS-Mhnp.js → session-DGLRioDC.js} +4 -4
- package/dist/plugin-sdk/{skill-commands-CTB7AZXn.js → skill-commands-Cw-IRPUz.js} +5 -5
- package/dist/plugin-sdk/{skills-BCD1hFBZ.js → skills-D0-IpJne.js} +7 -7
- package/dist/plugin-sdk/{sqlite-Yn48izJ_.js → sqlite-DtIiUWZr.js} +1 -1
- package/dist/plugin-sdk/{store-BJRhX9Bi.js → store-BcTI1iBS.js} +2 -2
- package/dist/plugin-sdk/{subsystem-BfLMZ8kW.js → subsystem-Ck27y_6W.js} +1 -1
- package/dist/plugin-sdk/{tables-D5aPNTF6.js → tables-B6ajREI6.js} +1 -1
- package/dist/plugin-sdk/{thinking-BACprzA0.js → thinking-D81fexfE.js} +5 -5
- package/dist/plugin-sdk/{tokens-D1LxPszt.js → tokens-B6GWdF_0.js} +1 -1
- package/dist/plugin-sdk/{tool-loop-detection-CYSptBsl.js → tool-loop-detection-CbPwu1_R.js} +2 -2
- package/dist/plugin-sdk/web-BfmMxgKj.js +65 -0
- package/dist/plugin-sdk/{whatsapp-actions-CGuheX42.js → whatsapp-actions-B8IYO5sc.js} +20 -20
- package/dist/{program-a6gIDhmg.js → program-DuYe-jhV.js} +2 -2
- package/dist/{program-context-a5xRVp1E.js → program-context-BqVXk3-Z.js} +6 -6
- package/dist/{prompt-select-styled-BEAD7Qf_.js → prompt-select-styled-Bw0ENvI5.js} +1 -1
- package/dist/{prompt-select-styled-pDE5STe1.js → prompt-select-styled-jxYRRElg.js} +1 -1
- package/dist/{pw-ai-BJE3mkCf.js → pw-ai-BwFJauyF.js} +1 -1
- package/dist/{register.maintenance-CkXb4wzI.js → register.maintenance-C4m4RDEl.js} +5 -5
- package/dist/{register.maintenance-C0OozXb_.js → register.maintenance-DGXOz6io.js} +4 -4
- package/dist/{register.onboard-B612Ekbb.js → register.onboard-BX_gqWPl.js} +2 -2
- package/dist/{register.onboard-BFR0fFZX.js → register.onboard-Cg6Xn_7w.js} +2 -2
- package/dist/{register.setup-CtDlzU4V.js → register.setup-BIKdjgm0.js} +2 -2
- package/dist/{register.setup-Caf3i42W.js → register.setup-BOb2yddg.js} +2 -2
- package/dist/{register.subclis-7bpaXBdE.js → register.subclis-NBD6Ksnk.js} +3 -3
- package/dist/{run-main-Y3Uf0qp5.js → run-main-SxDdrSGo.js} +3 -3
- package/dist/{runner-BmfMAciA.js → runner-46SPi1J0.js} +1 -1
- package/dist/{update-cli-D-f0EC6V.js → update-cli-BKj8J7RT.js} +5 -5
- package/dist/{update-cli-DQ-gzfuL.js → update-cli-DvEpui7q.js} +4 -4
- package/dist/{web-C0-NYLoG.js → web-BR2lk-tX.js} +6 -6
- package/package.json +1 -1
- package/dist/control-ui/_app/immutable/chunks/PR_wZ9tz.js +0 -1
- package/dist/control-ui/_app/immutable/entry/start.Bt2xwOar.js +0 -1
- package/dist/plugin-sdk/web-DNugKZLo.js +0 -65
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { v as parseAgentSessionKey } from "./session-key-9yEYlIQe.js";
|
|
2
|
-
import "./registry-
|
|
2
|
+
import "./registry-BECEtj9n.js";
|
|
3
3
|
import { s as resolveStateDir } from "./paths-DJmOcr7Q.js";
|
|
4
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
5
|
-
import { s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
+
import { t as createSubsystemLogger } from "./subsystem-Ck27y_6W.js";
|
|
5
|
+
import { s as resolveAgentWorkspaceDir } from "./agent-scope-BS_vck4W.js";
|
|
6
6
|
import "./redact-DPnDWsnT.js";
|
|
7
7
|
import "./paths-a1ZEI8nz.js";
|
|
8
|
-
import { _ as statRegularFile, g as isFileMissingError, n as buildSessionEntry, r as listSessionFilesForAgent, t as requireNodeSqlite } from "./sqlite-
|
|
8
|
+
import { _ as statRegularFile, g as isFileMissingError, n as buildSessionEntry, r as listSessionFilesForAgent, t as requireNodeSqlite } from "./sqlite-DtIiUWZr.js";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import os from "node:os";
|
|
11
11
|
import fs from "node:fs/promises";
|
|
@@ -3,7 +3,7 @@ import path from "node:path";
|
|
|
3
3
|
import fs from "node:fs";
|
|
4
4
|
import os from "node:os";
|
|
5
5
|
import { Logger } from "tslog";
|
|
6
|
-
import
|
|
6
|
+
import json5 from "json5";
|
|
7
7
|
import chalk, { Chalk } from "chalk";
|
|
8
8
|
|
|
9
9
|
//#region src/plugins/http-path.ts
|
|
@@ -151,7 +151,7 @@ function readLoggingConfig() {
|
|
|
151
151
|
try {
|
|
152
152
|
if (!fs.existsSync(configPath)) return;
|
|
153
153
|
const raw = fs.readFileSync(configPath, "utf-8");
|
|
154
|
-
const logging =
|
|
154
|
+
const logging = json5.parse(raw)?.logging;
|
|
155
155
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
156
156
|
return logging;
|
|
157
157
|
} catch {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { r as markdownToSlackMrkdwnChunks, t as sendMessageSlack } from "./send-
|
|
3
|
-
import { i as chunkMarkdownTextWithMode } from "./chunk-
|
|
4
|
-
import { n as SILENT_REPLY_TOKEN, r as isSilentReplyText } from "./tokens-
|
|
2
|
+
import { r as markdownToSlackMrkdwnChunks, t as sendMessageSlack } from "./send-MrY4gJ_w.js";
|
|
3
|
+
import { i as chunkMarkdownTextWithMode } from "./chunk-CyOBR4uk.js";
|
|
4
|
+
import { n as SILENT_REPLY_TOKEN, r as isSilentReplyText } from "./tokens-B6GWdF_0.js";
|
|
5
5
|
|
|
6
6
|
//#region src/auto-reply/reply/reply-reference.ts
|
|
7
7
|
function createReplyReferencePlanner(options) {
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { _ as isSubagentSessionKey, c as normalizeAccountId$3, d as resolveAgentIdFromSessionKey, f as resolveThreadSessionKeys, g as isCronSessionKey, h as isAcpSessionKey, i as buildAgentMainSessionKey, l as normalizeAgentId, m as getSubagentDepth, n as DEFAULT_AGENT_ID, p as sanitizeAgentId, s as classifySessionKeyShape, t as DEFAULT_ACCOUNT_ID$1, u as normalizeMainKey, v as parseAgentSessionKey, y as resolveThreadParentSessionKey } from "./session-key-9yEYlIQe.js";
|
|
3
|
-
import { c as logoutWeb, f as readWebSelfId, g as webAuthExists, o as getWebAuthAgeMs, r as resolveWhatsAppAccount, s as logWebSelfId } from "./accounts-
|
|
4
|
-
import { B as danger, C as formatTerminalLink, D as normalizeE164, F as sleep$1, G as setVerbose, I as sliceUtf16Safe, J as warn, K as shouldLogVerbose, N as shortenHomeInString, P as shortenHomePath, Q as getChildLogger, R as truncateUtf16Safe, S as escapeRegExp, U as logVerbose, X as isRich, Y as colorize, Z as theme, _ as CONFIG_DIR, a as normalizeAnyChannelId, at as normalizeLogLevel, ct as createInternalHookEvent, d as createPluginRegistry, f as clearPluginCommands, g as matchPluginCommand, h as listPluginCommands, j as resolveUserPath, l as requireActivePluginRegistry, lt as triggerInternalHook, m as getPluginCommandSpecs, n as CHAT_CHANNEL_ORDER, o as normalizeChannelId, p as executePluginCommand, r as DEFAULT_CHAT_CHANNEL, st as resolvePreferredOpenClawTmpDir, u as setActivePluginRegistry, ut as normalizePluginHttpPath, w as isRecord$1, x as ensureDir$3, y as clampInt, z as isPlainObject } from "./registry-
|
|
3
|
+
import { c as logoutWeb, f as readWebSelfId, g as webAuthExists, o as getWebAuthAgeMs, r as resolveWhatsAppAccount, s as logWebSelfId } from "./accounts-iN-dbgw4.js";
|
|
4
|
+
import { B as danger, C as formatTerminalLink, D as normalizeE164, F as sleep$1, G as setVerbose, I as sliceUtf16Safe, J as warn, K as shouldLogVerbose, N as shortenHomeInString, P as shortenHomePath, Q as getChildLogger, R as truncateUtf16Safe, S as escapeRegExp, U as logVerbose, X as isRich, Y as colorize, Z as theme, _ as CONFIG_DIR, a as normalizeAnyChannelId, at as normalizeLogLevel, ct as createInternalHookEvent, d as createPluginRegistry, f as clearPluginCommands, g as matchPluginCommand, h as listPluginCommands, j as resolveUserPath, l as requireActivePluginRegistry, lt as triggerInternalHook, m as getPluginCommandSpecs, n as CHAT_CHANNEL_ORDER, o as normalizeChannelId, p as executePluginCommand, r as DEFAULT_CHAT_CHANNEL, st as resolvePreferredOpenClawTmpDir, u as setActivePluginRegistry, ut as normalizePluginHttpPath, w as isRecord$1, x as ensureDir$3, y as clampInt, z as isPlainObject } from "./registry-BECEtj9n.js";
|
|
5
5
|
import { c as expandHomePrefix, i as resolveGatewayPort, n as resolveConfigPath, s as resolveStateDir, t as STATE_DIR, u as resolveRequiredHomeDir } from "./paths-DJmOcr7Q.js";
|
|
6
|
-
import { A as getSoonestCooldownExpiry, B as resolveOpenClawAgentDir, C as getCustomProviderApiKey, D as resolveModelAuthMode, E as resolveEnvApiKey, F as dedupeProfileIds, G as DEFAULT_PROVIDER, H as resolveAuthProfileDisplayLabel, I as listProfilesForProvider, J as resolveShellEnvFallbackTimeoutMs, K as getShellPathFromLoginShell, L as markAuthProfileGood, M as markAuthProfileFailure, N as markAuthProfileUsed, P as resolveApiKeyForProfile, Q as withFileLock, R as ensureAuthProfileStore, S as getApiKeyForModel, T as resolveApiKeyForProvider, U as DEFAULT_CONTEXT_TOKENS, V as normalizeSecretInput, W as DEFAULT_MODEL, a as isCliProvider, b as OLLAMA_NATIVE_BASE_URL, c as normalizeProviderId, d as resolveDefaultModelForAgent, f as resolveModelRefFromString, i as findNormalizedProviderValue, j as isProfileInCooldown, k as resolveAuthProfileOrder, m as resolveThinkingDefault, n as buildConfiguredAllowlistKeys, o as modelKey, p as resolveSubagentSpawnModelSelection, r as buildModelAliasIndex, s as normalizeModelRef$2, t as buildAllowedModelSet, u as resolveConfiguredModelRef, w as requireApiKey, x as createOllamaStreamFn, z as resolveAuthStorePathForDisplay } from "./model-selection-
|
|
7
|
-
import { B as isSafeExecutableValue, H as TELEGRAM_COMMAND_NAME_PATTERN, J as resolveIMessageAttachmentRoots, K as isInboundPathAllowed, U as normalizeTelegramCommandName, V as parseDurationMs, W as resolveTelegramCustomCommands, X as normalizeScpRemoteHost, Y as resolveIMessageRemoteAttachmentRoots, _ as resolveAgentMaxConcurrent, a as writeConfigFile, c as validateJsonSchemaValue, d as setConfigOverride, f as unsetConfigOverride, g as unsetConfigValueAtPath, h as setConfigValueAtPath, i as resolveConfigSnapshotHash, l as getConfigOverrides, m as parseConfigPath, n as loadConfig, o as validateConfigObjectWithPlugins, p as getConfigValueAtPath, r as readConfigFileSnapshot, u as resetConfigOverrides, v as VERSION } from "./config-
|
|
8
|
-
import { a as formatIMessageChatTarget, c as parseIMessageTarget, i as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, o as isAllowedIMessageSender, r as createIMessageRpcClient, s as normalizeIMessageHandle, t as sendMessageIMessage } from "./send-
|
|
9
|
-
import { d as detectMime, f as extensionForMime, g as isGifMedia, h as isAudioFileName, m as imageMimeFromFormat, s as getImageMetadata, u as resizeToJpeg, x as mediaKindFromMime, y as MAX_IMAGE_BYTES } from "./fs-safe-
|
|
10
|
-
import { a as clearActiveProgressLine, i as defaultRuntime, o as registerActiveProgressLine, r as createNonExitingRuntime, s as unregisterActiveProgressLine, t as createSubsystemLogger } from "./subsystem-
|
|
11
|
-
import { A as logError, C as resolveOpenClawPackageRoot, D as runExec, E as runCommandWithTimeout, M as logWarn, O as spawnWithFallback, S as loadWorkspaceBootstrapFiles, a as resolveAgentModelPrimary, b as ensureAgentWorkspace, c as resolveDefaultAgentId, d as resolveSessionAgentIds, i as resolveAgentModelFallbacksOverride, j as logInfo, k as logDebug, l as resolveEffectiveModelFallbacks, m as DEFAULT_BOOTSTRAP_FILENAME, n as resolveAgentConfig, o as resolveAgentSkillsFilter, p as DEFAULT_AGENT_WORKSPACE_DIR, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds, u as resolveSessionAgentId, x as filterBootstrapFilesForSession } from "./agent-scope-
|
|
12
|
-
import { a as parseAvailableTags, c as readStringArrayParam, h as resolveImageSanitizationLimits, i as jsonResult, l as readStringOrNumberParam, m as sanitizeToolResultImages, n as imageResult, o as readNumberParam, p as sanitizeImageBlocks, r as imageResultFromFile, s as readReactionParams, t as createActionGate, u as readStringParam } from "./common-
|
|
13
|
-
import { a as createSlackWebClient, c as validateSlackBlocksArray, i as buildSlackBlocksFallbackText, o as resolveSlackWebClientOptions, s as parseSlackBlocksInput, t as sendMessageSlack } from "./send-
|
|
14
|
-
import { a as chunkText, c as resolveChunkMode, d as isSafeFenceBreak, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, o as chunkTextWithMode, r as chunkMarkdownText, t as chunkByNewline, u as findFenceSpanAt } from "./chunk-
|
|
15
|
-
import { $ as parseTelegramTarget, A as hasBotMention, B as resolveSenderAllowMatch, C as buildTelegramGroupPeerId, D as describeReplyTarget, E as buildTypingThreadParams, F as resolveTelegramReplyId, G as readChannelAllowFromStore, H as isSenderIdAllowed, I as resolveTelegramStreamMode, J as upsertChannelPairingRequest, L as resolveTelegramThreadSpec, M as resolveTelegramForumThreadId, N as resolveTelegramGroupAllowFromContext, O as expandTextLinks, P as resolveTelegramMediaPlaceholder, Q as isVoiceCompatibleAudio, R as isSenderAllowed$1, S as buildTelegramGroupFrom, T as buildTelegramThreadParams, U as mergeAllowFromSources, V as firstDefined$1, W as addChannelAllowFromStoreEntry, X as listPairingChannels, Y as getPairingAdapter, Z as withTelegramApiErrorLogging, _ as resolveTelegramFetch, a as reactMessageTelegram, b as buildSenderLabel, c as sendStickerTelegram, d as wasSentByBot, et as resolveTelegramTargetChatType, f as isRecoverableTelegramNetworkError, g as wrapFileReferencesInHtml, h as renderTelegramHtmlText, i as editMessageTelegram, j as normalizeForwardedContext, k as extractTelegramLocation, m as markdownToTelegramHtml, n as createForumTopicTelegram, nt as toLocationContext, o as sendMessageTelegram, p as markdownToTelegramChunks, q as removeChannelAllowFromStoreEntry, r as deleteMessageTelegram, s as sendPollTelegram, t as buildInlineKeyboard, tt as formatLocationText, u as resolveTelegramVoiceSend, v as splitTelegramCaption, w as buildTelegramParentPeer, x as buildSenderName, y as buildGroupLabel, z as normalizeAllowFromWithStore$1 } from "./send-
|
|
16
|
-
import { _ as CLI_OUTPUT_MAX_BUFFER, a as resolveMediaAttachmentLocalRoots, c as loadModelCatalog, d as resolveAttachmentKind, f as registerUnhandledRejectionHandler, g as resolveMediaUnderstandingScope, h as normalizeMediaUnderstandingChatType, i as resolveAutoImageModel, l as modelSupportsVision, m as resolveTimeoutMs$1, n as createMediaAttachmentCache, o as runCapability, p as resolveConcurrency, r as normalizeMediaAttachments, s as findModelInCatalog, t as buildProviderRegistry, v as applyTemplate, y as buildRandomTempFilePath } from "./runner-
|
|
17
|
-
import { a as resolveAckReaction, i as resolveResponsePrefixTemplate, n as createReplyPrefixOptions, o as resolveEffectiveMessagesConfig, s as resolveHumanDelayConfig } from "./reply-prefix-
|
|
18
|
-
import { n as SILENT_REPLY_TOKEN, r as isSilentReplyText, t as HEARTBEAT_TOKEN } from "./tokens-
|
|
19
|
-
import { c as getSkillsSnapshotVersion, d as resolvePairingPaths, f as createAsyncLock, i as resolveSkillCommandInvocation, l as generatePairingToken, m as writeJsonAtomic, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, p as readJsonFile, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as pruneExpiredPending } from "./skill-commands-
|
|
20
|
-
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-
|
|
6
|
+
import { A as getSoonestCooldownExpiry, B as resolveOpenClawAgentDir, C as getCustomProviderApiKey, D as resolveModelAuthMode, E as resolveEnvApiKey, F as dedupeProfileIds, G as DEFAULT_PROVIDER, H as resolveAuthProfileDisplayLabel, I as listProfilesForProvider, J as resolveShellEnvFallbackTimeoutMs, K as getShellPathFromLoginShell, L as markAuthProfileGood, M as markAuthProfileFailure, N as markAuthProfileUsed, P as resolveApiKeyForProfile, Q as withFileLock, R as ensureAuthProfileStore, S as getApiKeyForModel, T as resolveApiKeyForProvider, U as DEFAULT_CONTEXT_TOKENS, V as normalizeSecretInput, W as DEFAULT_MODEL, a as isCliProvider, b as OLLAMA_NATIVE_BASE_URL, c as normalizeProviderId, d as resolveDefaultModelForAgent, f as resolveModelRefFromString, i as findNormalizedProviderValue, j as isProfileInCooldown, k as resolveAuthProfileOrder, m as resolveThinkingDefault, n as buildConfiguredAllowlistKeys, o as modelKey, p as resolveSubagentSpawnModelSelection, r as buildModelAliasIndex, s as normalizeModelRef$2, t as buildAllowedModelSet, u as resolveConfiguredModelRef, w as requireApiKey, x as createOllamaStreamFn, z as resolveAuthStorePathForDisplay } from "./model-selection-Bj-E4zbc.js";
|
|
7
|
+
import { B as isSafeExecutableValue, H as TELEGRAM_COMMAND_NAME_PATTERN, J as resolveIMessageAttachmentRoots, K as isInboundPathAllowed, U as normalizeTelegramCommandName, V as parseDurationMs, W as resolveTelegramCustomCommands, X as normalizeScpRemoteHost, Y as resolveIMessageRemoteAttachmentRoots, _ as resolveAgentMaxConcurrent, a as writeConfigFile, c as validateJsonSchemaValue, d as setConfigOverride, f as unsetConfigOverride, g as unsetConfigValueAtPath, h as setConfigValueAtPath, i as resolveConfigSnapshotHash, l as getConfigOverrides, m as parseConfigPath, n as loadConfig, o as validateConfigObjectWithPlugins, p as getConfigValueAtPath, r as readConfigFileSnapshot, u as resetConfigOverrides, v as VERSION } from "./config-B8Nc1zrG.js";
|
|
8
|
+
import { a as formatIMessageChatTarget, c as parseIMessageTarget, i as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, o as isAllowedIMessageSender, r as createIMessageRpcClient, s as normalizeIMessageHandle, t as sendMessageIMessage } from "./send-D4HKCCvV.js";
|
|
9
|
+
import { d as detectMime, f as extensionForMime, g as isGifMedia, h as isAudioFileName, m as imageMimeFromFormat, s as getImageMetadata, u as resizeToJpeg, x as mediaKindFromMime, y as MAX_IMAGE_BYTES } from "./fs-safe-CdpuSWry.js";
|
|
10
|
+
import { a as clearActiveProgressLine, i as defaultRuntime, o as registerActiveProgressLine, r as createNonExitingRuntime, s as unregisterActiveProgressLine, t as createSubsystemLogger } from "./subsystem-Ck27y_6W.js";
|
|
11
|
+
import { A as logError, C as resolveOpenClawPackageRoot, D as runExec, E as runCommandWithTimeout, M as logWarn, O as spawnWithFallback, S as loadWorkspaceBootstrapFiles, a as resolveAgentModelPrimary, b as ensureAgentWorkspace, c as resolveDefaultAgentId, d as resolveSessionAgentIds, i as resolveAgentModelFallbacksOverride, j as logInfo, k as logDebug, l as resolveEffectiveModelFallbacks, m as DEFAULT_BOOTSTRAP_FILENAME, n as resolveAgentConfig, o as resolveAgentSkillsFilter, p as DEFAULT_AGENT_WORKSPACE_DIR, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds, u as resolveSessionAgentId, x as filterBootstrapFilesForSession } from "./agent-scope-BS_vck4W.js";
|
|
12
|
+
import { a as parseAvailableTags, c as readStringArrayParam, h as resolveImageSanitizationLimits, i as jsonResult, l as readStringOrNumberParam, m as sanitizeToolResultImages, n as imageResult, o as readNumberParam, p as sanitizeImageBlocks, r as imageResultFromFile, s as readReactionParams, t as createActionGate, u as readStringParam } from "./common-CJo4CK5_.js";
|
|
13
|
+
import { a as createSlackWebClient, c as validateSlackBlocksArray, i as buildSlackBlocksFallbackText, o as resolveSlackWebClientOptions, s as parseSlackBlocksInput, t as sendMessageSlack } from "./send-MrY4gJ_w.js";
|
|
14
|
+
import { a as chunkText, c as resolveChunkMode, d as isSafeFenceBreak, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, o as chunkTextWithMode, r as chunkMarkdownText, t as chunkByNewline, u as findFenceSpanAt } from "./chunk-CyOBR4uk.js";
|
|
15
|
+
import { $ as parseTelegramTarget, A as hasBotMention, B as resolveSenderAllowMatch, C as buildTelegramGroupPeerId, D as describeReplyTarget, E as buildTypingThreadParams, F as resolveTelegramReplyId, G as readChannelAllowFromStore, H as isSenderIdAllowed, I as resolveTelegramStreamMode, J as upsertChannelPairingRequest, L as resolveTelegramThreadSpec, M as resolveTelegramForumThreadId, N as resolveTelegramGroupAllowFromContext, O as expandTextLinks, P as resolveTelegramMediaPlaceholder, Q as isVoiceCompatibleAudio, R as isSenderAllowed$1, S as buildTelegramGroupFrom, T as buildTelegramThreadParams, U as mergeAllowFromSources, V as firstDefined$1, W as addChannelAllowFromStoreEntry, X as listPairingChannels, Y as getPairingAdapter, Z as withTelegramApiErrorLogging, _ as resolveTelegramFetch, a as reactMessageTelegram, b as buildSenderLabel, c as sendStickerTelegram, d as wasSentByBot, et as resolveTelegramTargetChatType, f as isRecoverableTelegramNetworkError, g as wrapFileReferencesInHtml, h as renderTelegramHtmlText, i as editMessageTelegram, j as normalizeForwardedContext, k as extractTelegramLocation, m as markdownToTelegramHtml, n as createForumTopicTelegram, nt as toLocationContext, o as sendMessageTelegram, p as markdownToTelegramChunks, q as removeChannelAllowFromStoreEntry, r as deleteMessageTelegram, s as sendPollTelegram, t as buildInlineKeyboard, tt as formatLocationText, u as resolveTelegramVoiceSend, v as splitTelegramCaption, w as buildTelegramParentPeer, x as buildSenderName, y as buildGroupLabel, z as normalizeAllowFromWithStore$1 } from "./send-By-dm-fT.js";
|
|
16
|
+
import { _ as CLI_OUTPUT_MAX_BUFFER, a as resolveMediaAttachmentLocalRoots, c as loadModelCatalog, d as resolveAttachmentKind, f as registerUnhandledRejectionHandler, g as resolveMediaUnderstandingScope, h as normalizeMediaUnderstandingChatType, i as resolveAutoImageModel, l as modelSupportsVision, m as resolveTimeoutMs$1, n as createMediaAttachmentCache, o as runCapability, p as resolveConcurrency, r as normalizeMediaAttachments, s as findModelInCatalog, t as buildProviderRegistry, v as applyTemplate, y as buildRandomTempFilePath } from "./runner-Bq1wBell.js";
|
|
17
|
+
import { a as resolveAckReaction, i as resolveResponsePrefixTemplate, n as createReplyPrefixOptions, o as resolveEffectiveMessagesConfig, s as resolveHumanDelayConfig } from "./reply-prefix-UgReuQSG.js";
|
|
18
|
+
import { n as SILENT_REPLY_TOKEN, r as isSilentReplyText, t as HEARTBEAT_TOKEN } from "./tokens-B6GWdF_0.js";
|
|
19
|
+
import { c as getSkillsSnapshotVersion, d as resolvePairingPaths, f as createAsyncLock, i as resolveSkillCommandInvocation, l as generatePairingToken, m as writeJsonAtomic, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, p as readJsonFile, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as pruneExpiredPending } from "./skill-commands-Cw-IRPUz.js";
|
|
20
|
+
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-D0-IpJne.js";
|
|
21
21
|
import { n as formatErrorMessage, r as formatUncaughtError } from "./errors-Bv8oZiTO.js";
|
|
22
22
|
import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-BKZjgek-.js";
|
|
23
23
|
import { a as isBlockedHostnameOrIp, c as normalizeHostname, t as SsrFBlockedError } from "./ssrf-DxmqkHJJ.js";
|
|
24
|
-
import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, o as fetchWithSsrFGuard, t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
25
|
-
import { M as isSecureWebSocketUrl, N as rawDataToString, T as DEFAULT_AI_SNAPSHOT_MAX_CHARS, x as ensureChromeExtensionRelayServer } from "./chrome-
|
|
26
|
-
import { i as parseBooleanValue$1, n as resolveCliName, r as isTruthyEnvValue, t as formatCliCommand } from "./command-format-
|
|
27
|
-
import { A as normalizeHyphenSlug, F as resolveChannelGroupRequireMention, I as resolveChannelGroupToolsPolicy, M as normalizeStringEntriesLower, P as resolveChannelGroupPolicy, a as normalizeReasoningLevel, c as normalizeVerboseLevel, d as getChannelDock, f as listChannelDocks, i as normalizeElevatedLevel, j as normalizeStringEntries, k as normalizeAtHashSlug, l as resolveResponseUsageMode, m as normalizeSignalMessagingTarget, n as formatXHighModelHint, o as normalizeThinkLevel, s as normalizeUsageDisplay, t as formatThinkingLevels, u as supportsXHighThinking } from "./thinking-
|
|
28
|
-
import { a as listTelegramAccountIds, b as resolveDiscordAccount, c as resolveTelegramToken, f as resolveSlackAccount, g as createDiscordActionGate, h as resolveSlackBotToken, i as listEnabledTelegramAccounts, m as resolveSlackAppToken, n as normalizeWhatsAppTarget, r as createTelegramActionGate, s as resolveTelegramAccount, t as isWhatsAppGroupJid, v as listEnabledDiscordAccounts, x as normalizeDiscordToken } from "./normalize-
|
|
29
|
-
import { r as resolveIMessageAccount } from "./accounts-
|
|
30
|
-
import { i as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-
|
|
24
|
+
import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, o as fetchWithSsrFGuard, t as getAgentScopedMediaLocalRoots } from "./local-roots-DlmKIABh.js";
|
|
25
|
+
import { M as isSecureWebSocketUrl, N as rawDataToString, T as DEFAULT_AI_SNAPSHOT_MAX_CHARS, x as ensureChromeExtensionRelayServer } from "./chrome-cWvSiZw3.js";
|
|
26
|
+
import { i as parseBooleanValue$1, n as resolveCliName, r as isTruthyEnvValue, t as formatCliCommand } from "./command-format-C5kdEGEu.js";
|
|
27
|
+
import { A as normalizeHyphenSlug, F as resolveChannelGroupRequireMention, I as resolveChannelGroupToolsPolicy, M as normalizeStringEntriesLower, P as resolveChannelGroupPolicy, a as normalizeReasoningLevel, c as normalizeVerboseLevel, d as getChannelDock, f as listChannelDocks, i as normalizeElevatedLevel, j as normalizeStringEntries, k as normalizeAtHashSlug, l as resolveResponseUsageMode, m as normalizeSignalMessagingTarget, n as formatXHighModelHint, o as normalizeThinkLevel, s as normalizeUsageDisplay, t as formatThinkingLevels, u as supportsXHighThinking } from "./thinking-D81fexfE.js";
|
|
28
|
+
import { a as listTelegramAccountIds, b as resolveDiscordAccount, c as resolveTelegramToken, f as resolveSlackAccount, g as createDiscordActionGate, h as resolveSlackBotToken, i as listEnabledTelegramAccounts, m as resolveSlackAppToken, n as normalizeWhatsAppTarget, r as createTelegramActionGate, s as resolveTelegramAccount, t as isWhatsAppGroupJid, v as listEnabledDiscordAccounts, x as normalizeDiscordToken } from "./normalize-DWmWs1Oq.js";
|
|
29
|
+
import { r as resolveIMessageAccount } from "./accounts-vV5Gfd26.js";
|
|
30
|
+
import { i as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-LxMkgia0.js";
|
|
31
31
|
import { t as normalizeChatType } from "./chat-type-B5__aQIT.js";
|
|
32
|
-
import { h as resolveSlackChannelId, m as parseSlackTarget, n as listChannelPlugins, r as normalizeChannelId$1, t as getChannelPlugin } from "./plugins-
|
|
33
|
-
import { $ as resolveDiscordChannelId, A as addRoleDiscord, B as removeRoleDiscord, C as fetchMessageDiscord, Ct as applyChannelMatchMeta, D as readMessagesDiscord, Dt as resolveChannelEntryMatchWithFallback, E as pinMessageDiscord, 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, P as fetchMemberInfoDiscord, Q as parseDiscordTarget, R as listGuildChannelsDiscord, S as editMessageDiscord, St as chunkDiscordTextWithMode, T as listThreadsDiscord, Tt as normalizeChannelSlug, U as uploadEmojiDiscord, V as timeoutMemberDiscord, W as uploadStickerDiscord, X as setChannelPermissionDiscord, Y as removeChannelPermissionDiscord, Z as stripUndefinedFields, _ as sendPollDiscord, _t as resolveTimestampMs, a as removeReactionDiscord, at as normalizeDiscordSlug, b as createThreadDiscord, bt as hasAnyGuildPermissionDiscord, c as formatDiscordComponentEventText, ct as resolveDiscordGuildEntry, d as parseDiscordModalCustomId, dt as resolveDiscordShouldRequireMention, et as listDiscordDirectoryGroupsLive, f as parseDiscordModalCustomIdForCarbon, ft as resolveGroupDmAllow, g as sendMessageDiscord, gt as resolveDiscordSystemLocation, h as resolveDiscordModalEntry, ht as formatDiscordUserTag, i as removeOwnReactionsDiscord, it as normalizeDiscordAllowList, j as banMemberDiscord, k as unpinMessageDiscord, l as parseDiscordComponentCustomId, lt as resolveDiscordMemberAccessState, m as resolveDiscordComponentEntry, mt as formatDiscordReactionEmoji, n as fetchReactionsDiscord, nt as allowListMatches$1, o as sendDiscordComponentMessage, ot as resolveDiscordAllowListMatch, p as readDiscordComponentSpec, pt as shouldEmitDiscordReactionNotification, q as editChannelDiscord, r as reactMessageDiscord, rt as isDiscordGroupAllowedByPolicy, s as createDiscordFormModal, st as resolveDiscordChannelConfigWithFallback, tt as listDiscordDirectoryPeersLive, u as parseDiscordComponentCustomIdForCarbon, ut as resolveDiscordOwnerAllowFrom, v as sendStickerDiscord, vt as fetchDiscord, w as listPinsDiscord, wt as buildChannelKeyCandidates, x as deleteMessageDiscord, xt as createDiscordClient, y as sendVoiceMessageDiscord, yt as fetchChannelPermissionsDiscord, z as listScheduledEventsDiscord } from "./send-
|
|
34
|
-
import { C as getGlobalHookRunner, S as throwIfAborted, _ as normalizeTargetForProvider, a as normalizeOutboundPayloadsForJson, b as splitMediaFromOutput, c as applyReplyThreading, d as isRenderablePayload, f as shouldSuppressMessagingToolReplies, g as normalizeChannelTargetInput, h as buildTargetResolverSignature, i as normalizeOutboundPayloads, l as filterMessagingToolDuplicates, m as resolveReplyToMode, o as normalizeReplyPayloadsForDelivery, p as createReplyToModeFilterForChannel, r as formatOutboundPayloadLog, s as applyReplyTagsToPayload, t as deliverOutboundPayloads, u as filterMessagingToolMediaDuplicates, v as parseReplyDirectives, w as initializeGlobalHookRunner, x as parseInlineDirectives$1, y as MEDIA_TOKEN_RE } from "./deliver-
|
|
35
|
-
import { a as isMarkdownCapableMessageChannel, c as resolveGatewayMessageChannel, d as GATEWAY_CLIENT_MODES, f as GATEWAY_CLIENT_NAMES, i as isInternalMessageChannel, l as resolveMessageChannel, n as isDeliverableMessageChannel, o as listDeliverableMessageChannels, r as isGatewayMessageChannel, s as normalizeMessageChannel, t as INTERNAL_MESSAGE_CHANNEL, u as GATEWAY_CLIENT_IDS } from "./message-channel-
|
|
36
|
-
import { $ as normalizeToolName, A as isTransientHttpError, At as INPUT_PROVENANCE_KIND_VALUES, B as resolveProfile, Bt as resolveSessionResetType, C as isContextOverflowError, Ct as normalizeDeliveryContext, D as isRateLimitAssistantError, Dt as capArrayByJsonBytes, E as isLikelyContextOverflowError, Et as archiveSessionTranscripts, F as resolveSandboxContext, Ft as resolveSessionLockMaxHoldFromTimeout, G as resolveBrowserControlAuth, Gt as resolveExplicitAgentSessionKey, H as resolveExistingPathsWithinRoot, Ht as DEFAULT_RESET_TRIGGERS, I as resolveSandboxRuntimeStatus, It as resolveSessionKey, J as buildPluginToolGroups, Jt as resolveGroupSessionKey, K as resolveSandboxConfigForAgent, Kt as resolveMainSessionKey, L as createBrowserRouteContext, Lt as evaluateSessionFreshness, M as parseImageSizeError, Mt as hasInterSessionUserProvenance, N as sanitizeUserFacingText, Nt as normalizeInputProvenance, O as isRawApiErrorPayload, Ot as countToolResults, P as ensureSandboxWorkspaceForSession, Pt as acquireSessionWriteLock, Q as mergeAlsoAllowPolicy, R as registerBrowserRoutes, Rt as resolveChannelResetConfig, S as isCompactionFailureError, St as mergeDeliveryContext, T as isFailoverErrorMessage, Tt as normalizeAccountId$4, U as getBridgeAuthForPort, Ut as resolveFreshSessionTotalTokens, V as DEFAULT_UPLOAD_DIR, Vt as resolveThreadFlag, W as ensureBrowserControlAuth, Wt as canonicalizeMainSessionAlias, X as expandPolicyWithPluginGroups, Y as collectExplicitAllowlist, Z as expandToolGroups, _ as formatRawAssistantErrorForUi, _t as updateSessionStoreEntry, a as isMessagingToolDuplicateNormalized, at as ensureSessionHeader, b as isBillingAssistantError, bt as deliveryContextFromSession, c as extractToolCallsFromAssistant, ct as sanitizeGoogleTurnOrdering, d as isAntigravityClaude, et as resolveToolProfilePolicy, f as isGoogleModelApi, ft as loadSessionStore, g as formatBillingErrorMessage, gt as updateSessionStore, h as formatAssistantErrorText, ht as updateLastRoute, it as buildBootstrapContextFiles, j as parseImageDimensionError, jt as applyInputProvenanceToUserMessage, k as isTimeoutErrorMessage, kt as extractToolCallNames, l as extractToolResultId, lt as extractDeliveryInfo, m as classifyFailoverReason, mt as recordSessionMetaFromInbound, n as validateGeminiTurns, nt as compileGlobPatterns, o as normalizeTextForComparison, ot as resolveBootstrapMaxChars, p as BILLING_ERROR_USER_MESSAGE, pt as readSessionUpdatedAt, q as applyOwnerOnlyToolPolicy, qt as deriveSessionMetaPatch, r as pickFallbackThinkingLevel, rt as matchesAnyGlobPattern, s as sanitizeSessionMessagesImages, st as resolveBootstrapTotalMaxChars, t as validateAnthropicTurns, tt as stripPluginOnlyAllowlist, u as downgradeOpenAIReasoningBlocks, ut as appendAssistantMessageToSessionTranscript, v as getApiErrorPayloadFingerprint, vt as isCacheEnabled, w as isFailoverAssistantError, wt as normalizeSessionDeliveryFields, x as isCloudCodeAssistFormatError, xt as deliveryContextKey, y as isAuthAssistantError, yt as resolveCacheTtlMs$1, z as resolveBrowserConfig, zt as resolveSessionResetPolicy } from "./pi-embedded-helpers-
|
|
32
|
+
import { h as resolveSlackChannelId, m as parseSlackTarget, n as listChannelPlugins, r as normalizeChannelId$1, t as getChannelPlugin } from "./plugins-0PB0IWJL.js";
|
|
33
|
+
import { $ as resolveDiscordChannelId, A as addRoleDiscord, B as removeRoleDiscord, C as fetchMessageDiscord, Ct as applyChannelMatchMeta, D as readMessagesDiscord, Dt as resolveChannelEntryMatchWithFallback, E as pinMessageDiscord, 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, P as fetchMemberInfoDiscord, Q as parseDiscordTarget, R as listGuildChannelsDiscord, S as editMessageDiscord, St as chunkDiscordTextWithMode, T as listThreadsDiscord, Tt as normalizeChannelSlug, U as uploadEmojiDiscord, V as timeoutMemberDiscord, W as uploadStickerDiscord, X as setChannelPermissionDiscord, Y as removeChannelPermissionDiscord, Z as stripUndefinedFields, _ as sendPollDiscord, _t as resolveTimestampMs, a as removeReactionDiscord, at as normalizeDiscordSlug, b as createThreadDiscord, bt as hasAnyGuildPermissionDiscord, c as formatDiscordComponentEventText, ct as resolveDiscordGuildEntry, d as parseDiscordModalCustomId, dt as resolveDiscordShouldRequireMention, et as listDiscordDirectoryGroupsLive, f as parseDiscordModalCustomIdForCarbon, ft as resolveGroupDmAllow, g as sendMessageDiscord, gt as resolveDiscordSystemLocation, h as resolveDiscordModalEntry, ht as formatDiscordUserTag, i as removeOwnReactionsDiscord, it as normalizeDiscordAllowList, j as banMemberDiscord, k as unpinMessageDiscord, l as parseDiscordComponentCustomId, lt as resolveDiscordMemberAccessState, m as resolveDiscordComponentEntry, mt as formatDiscordReactionEmoji, n as fetchReactionsDiscord, nt as allowListMatches$1, o as sendDiscordComponentMessage, ot as resolveDiscordAllowListMatch, p as readDiscordComponentSpec, pt as shouldEmitDiscordReactionNotification, q as editChannelDiscord, r as reactMessageDiscord, rt as isDiscordGroupAllowedByPolicy, s as createDiscordFormModal, st as resolveDiscordChannelConfigWithFallback, tt as listDiscordDirectoryPeersLive, u as parseDiscordComponentCustomIdForCarbon, ut as resolveDiscordOwnerAllowFrom, v as sendStickerDiscord, vt as fetchDiscord, w as listPinsDiscord, wt as buildChannelKeyCandidates, x as deleteMessageDiscord, xt as createDiscordClient, y as sendVoiceMessageDiscord, yt as fetchChannelPermissionsDiscord, z as listScheduledEventsDiscord } from "./send-M99nJHP9.js";
|
|
34
|
+
import { C as getGlobalHookRunner, S as throwIfAborted, _ as normalizeTargetForProvider, a as normalizeOutboundPayloadsForJson, b as splitMediaFromOutput, c as applyReplyThreading, d as isRenderablePayload, f as shouldSuppressMessagingToolReplies, g as normalizeChannelTargetInput, h as buildTargetResolverSignature, i as normalizeOutboundPayloads, l as filterMessagingToolDuplicates, m as resolveReplyToMode, o as normalizeReplyPayloadsForDelivery, p as createReplyToModeFilterForChannel, r as formatOutboundPayloadLog, s as applyReplyTagsToPayload, t as deliverOutboundPayloads, u as filterMessagingToolMediaDuplicates, v as parseReplyDirectives, w as initializeGlobalHookRunner, x as parseInlineDirectives$1, y as MEDIA_TOKEN_RE } from "./deliver-Dut_1pt2.js";
|
|
35
|
+
import { a as isMarkdownCapableMessageChannel, c as resolveGatewayMessageChannel, d as GATEWAY_CLIENT_MODES, f as GATEWAY_CLIENT_NAMES, i as isInternalMessageChannel, l as resolveMessageChannel, n as isDeliverableMessageChannel, o as listDeliverableMessageChannels, r as isGatewayMessageChannel, s as normalizeMessageChannel, t as INTERNAL_MESSAGE_CHANNEL, u as GATEWAY_CLIENT_IDS } from "./message-channel-DxNExIdv.js";
|
|
36
|
+
import { $ as normalizeToolName, A as isTransientHttpError, At as INPUT_PROVENANCE_KIND_VALUES, B as resolveProfile, Bt as resolveSessionResetType, C as isContextOverflowError, Ct as normalizeDeliveryContext, D as isRateLimitAssistantError, Dt as capArrayByJsonBytes, E as isLikelyContextOverflowError, Et as archiveSessionTranscripts, F as resolveSandboxContext, Ft as resolveSessionLockMaxHoldFromTimeout, G as resolveBrowserControlAuth, Gt as resolveExplicitAgentSessionKey, H as resolveExistingPathsWithinRoot, Ht as DEFAULT_RESET_TRIGGERS, I as resolveSandboxRuntimeStatus, It as resolveSessionKey, J as buildPluginToolGroups, Jt as resolveGroupSessionKey, K as resolveSandboxConfigForAgent, Kt as resolveMainSessionKey, L as createBrowserRouteContext, Lt as evaluateSessionFreshness, M as parseImageSizeError, Mt as hasInterSessionUserProvenance, N as sanitizeUserFacingText, Nt as normalizeInputProvenance, O as isRawApiErrorPayload, Ot as countToolResults, P as ensureSandboxWorkspaceForSession, Pt as acquireSessionWriteLock, Q as mergeAlsoAllowPolicy, R as registerBrowserRoutes, Rt as resolveChannelResetConfig, S as isCompactionFailureError, St as mergeDeliveryContext, T as isFailoverErrorMessage, Tt as normalizeAccountId$4, U as getBridgeAuthForPort, Ut as resolveFreshSessionTotalTokens, V as DEFAULT_UPLOAD_DIR, Vt as resolveThreadFlag, W as ensureBrowserControlAuth, Wt as canonicalizeMainSessionAlias, X as expandPolicyWithPluginGroups, Y as collectExplicitAllowlist, Z as expandToolGroups, _ as formatRawAssistantErrorForUi, _t as updateSessionStoreEntry, a as isMessagingToolDuplicateNormalized, at as ensureSessionHeader, b as isBillingAssistantError, bt as deliveryContextFromSession, c as extractToolCallsFromAssistant, ct as sanitizeGoogleTurnOrdering, d as isAntigravityClaude, et as resolveToolProfilePolicy, f as isGoogleModelApi, ft as loadSessionStore, g as formatBillingErrorMessage, gt as updateSessionStore, h as formatAssistantErrorText, ht as updateLastRoute, it as buildBootstrapContextFiles, j as parseImageDimensionError, jt as applyInputProvenanceToUserMessage, k as isTimeoutErrorMessage, kt as extractToolCallNames, l as extractToolResultId, lt as extractDeliveryInfo, m as classifyFailoverReason, mt as recordSessionMetaFromInbound, n as validateGeminiTurns, nt as compileGlobPatterns, o as normalizeTextForComparison, ot as resolveBootstrapMaxChars, p as BILLING_ERROR_USER_MESSAGE, pt as readSessionUpdatedAt, q as applyOwnerOnlyToolPolicy, qt as deriveSessionMetaPatch, r as pickFallbackThinkingLevel, rt as matchesAnyGlobPattern, s as sanitizeSessionMessagesImages, st as resolveBootstrapTotalMaxChars, t as validateAnthropicTurns, tt as stripPluginOnlyAllowlist, u as downgradeOpenAIReasoningBlocks, ut as appendAssistantMessageToSessionTranscript, v as getApiErrorPayloadFingerprint, vt as isCacheEnabled, w as isFailoverAssistantError, wt as normalizeSessionDeliveryFields, x as isCloudCodeAssistFormatError, xt as deliveryContextKey, y as isAuthAssistantError, yt as resolveCacheTtlMs$1, z as resolveBrowserConfig, zt as resolveSessionResetPolicy } from "./pi-embedded-helpers-C1u6XyK5.js";
|
|
37
37
|
import { n as resolveConversationLabel } from "./conversation-label-2FLz1ei_.js";
|
|
38
38
|
import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-etmIcdko.js";
|
|
39
|
-
import { c as normalizePluginsConfig, f as isPathInsideWithRealpath, i as safeStatSync, l as resolveEnableState, n as discoverOpenClawPlugins, r as isPathInside, s as applyTestPluginDefaults, t as loadPluginManifestRegistry, u as resolveMemorySlotDecision } from "./manifest-registry-
|
|
39
|
+
import { c as normalizePluginsConfig, f as isPathInsideWithRealpath, i as safeStatSync, l as resolveEnableState, n as discoverOpenClawPlugins, r as isPathInside, s as applyTestPluginDefaults, t as loadPluginManifestRegistry, u as resolveMemorySlotDecision } from "./manifest-registry-BgkX6ON4.js";
|
|
40
40
|
import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-a1ZEI8nz.js";
|
|
41
41
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-Cj85Mq0h.js";
|
|
42
|
-
import { a as logMessageProcessed, c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, i as logLaneEnqueue, l as logWebhookProcessed, m as isDiagnosticsEnabled, o as logMessageQueued, p as emitDiagnosticEvent, r as logLaneDequeue, s as logSessionStateChange, t as diag, u as logWebhookReceived } from "./diagnostic-
|
|
43
|
-
import { i as saveMediaBuffer, r as getMediaDir } from "./store-
|
|
42
|
+
import { a as logMessageProcessed, c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, i as logLaneEnqueue, l as logWebhookProcessed, m as isDiagnosticsEnabled, o as logMessageQueued, p as emitDiagnosticEvent, r as logLaneDequeue, s as logSessionStateChange, t as diag, u as logWebhookReceived } from "./diagnostic-DFXnVf2I.js";
|
|
43
|
+
import { i as saveMediaBuffer, r as getMediaDir } from "./store-BcTI1iBS.js";
|
|
44
44
|
import { n as normalizePollInput } from "./polls-dTqdfZ_K.js";
|
|
45
|
-
import { a as loadWebMedia, i as getDefaultLocalRoots } from "./ir-
|
|
46
|
-
import { n as retryAsync } from "./retry-
|
|
47
|
-
import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-
|
|
45
|
+
import { a as loadWebMedia, i as getDefaultLocalRoots } from "./ir-05vuco_v.js";
|
|
46
|
+
import { n as retryAsync } from "./retry-Bkj1k1me.js";
|
|
47
|
+
import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-PV3vhwo2.js";
|
|
48
48
|
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-B79-NBmS.js";
|
|
49
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
50
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
49
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-FF81O4MP.js";
|
|
50
|
+
import { t as convertMarkdownTables } from "./tables-B6ajREI6.js";
|
|
51
51
|
import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-hgCIam0H.js";
|
|
52
|
-
import { S as minimaxUnderstandImage, _ as stripThinkingTagsFromText, a as decodeDataUrl, b as extractTextFromChatContent, c as extractAssistantThinking, d as formatReasoningMessage, f as inferToolMetaFromArgs, g as stripMinimaxToolCallXml, h as stripDowngradedToolCallText, i as coerceImageModelConfig, l as extractThinkingFromTaggedStream, m as promoteThinkingTagsToBlocks, o as resolveProviderVisionModelFromConfig, p as isAssistantMessage, r as coerceImageAssistantText, s as extractAssistantText$1, u as extractThinkingFromTaggedText, v as resolveToolDisplay, x as ensureOpenClawModelsJson, y as stripReasoningTagsFromText } from "./image-
|
|
52
|
+
import { S as minimaxUnderstandImage, _ as stripThinkingTagsFromText, a as decodeDataUrl, b as extractTextFromChatContent, c as extractAssistantThinking, d as formatReasoningMessage, f as inferToolMetaFromArgs, g as stripMinimaxToolCallXml, h as stripDowngradedToolCallText, i as coerceImageModelConfig, l as extractThinkingFromTaggedStream, m as promoteThinkingTagsToBlocks, o as resolveProviderVisionModelFromConfig, p as isAssistantMessage, r as coerceImageAssistantText, s as extractAssistantText$1, u as extractThinkingFromTaggedText, v as resolveToolDisplay, x as ensureOpenClawModelsJson, y as stripReasoningTagsFromText } from "./image-B3tSrFDE.js";
|
|
53
53
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-3Y4hcIsw.js";
|
|
54
|
-
import { d as listMemoryFiles, f as normalizeExtraMemoryPaths, v as runTasksWithConcurrency } from "./sqlite-
|
|
54
|
+
import { d as listMemoryFiles, f as normalizeExtraMemoryPaths, v as runTasksWithConcurrency } from "./sqlite-DtIiUWZr.js";
|
|
55
55
|
import { r as getDiagnosticSessionState } from "./diagnostic-session-state-BW5KRYN1.js";
|
|
56
|
-
import { n as resolveMemorySearchConfig } from "./manager-
|
|
57
|
-
import { a as listChatCommandsForConfig, c as normalizeCommandBody, d as resolveCommandArgMenu, f as serializeCommandArgs, i as listChatCommands, l as parseCommandArgs, o as listNativeCommandSpecs, p as shouldHandleTextCommands, r as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as resolveCommandArgChoices } from "./commands-registry-
|
|
58
|
-
import { c as signalRpcRequest, l as streamSignalEvents, n as sendReadReceiptSignal, o as resolveSignalRpcContext, r as sendTypingSignal, s as signalCheck, t as sendMessageSignal } from "./send-
|
|
56
|
+
import { n as resolveMemorySearchConfig } from "./manager-DEOMAxd_.js";
|
|
57
|
+
import { a as listChatCommandsForConfig, c as normalizeCommandBody, d as resolveCommandArgMenu, f as serializeCommandArgs, i as listChatCommands, l as parseCommandArgs, o as listNativeCommandSpecs, p as shouldHandleTextCommands, r as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as resolveCommandArgChoices } from "./commands-registry-Bvksrm0n.js";
|
|
58
|
+
import { c as signalRpcRequest, l as streamSignalEvents, n as sendReadReceiptSignal, o as resolveSignalRpcContext, r as sendTypingSignal, s as signalCheck, t as sendMessageSignal } from "./send-NUKqMNZh.js";
|
|
59
59
|
import { t as makeProxyFetch } from "./proxy-BwzmpJWq.js";
|
|
60
|
-
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-
|
|
61
|
-
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-
|
|
62
|
-
import { t as getActiveWebListener } from "./active-listener-
|
|
60
|
+
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-BaFHJbum.js";
|
|
61
|
+
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-DnGHvUeV.js";
|
|
62
|
+
import { t as getActiveWebListener } from "./active-listener-Bh0LXjEI.js";
|
|
63
63
|
import { n as recordCommandPoll, r as resetCommandPollCount } from "./command-poll-backoff-NAePk3eL.js";
|
|
64
64
|
import { createRequire } from "node:module";
|
|
65
65
|
import * as path$1 from "node:path";
|
|
66
66
|
import path from "node:path";
|
|
67
67
|
import fs, { existsSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
|
|
68
68
|
import os, { homedir } from "node:os";
|
|
69
|
-
import
|
|
69
|
+
import json5 from "json5";
|
|
70
70
|
import * as fs$2 from "node:fs/promises";
|
|
71
71
|
import fs$1 from "node:fs/promises";
|
|
72
72
|
import { inspect, promisify } from "node:util";
|
|
@@ -6815,7 +6815,7 @@ async function createModelSelectionState(params) {
|
|
|
6815
6815
|
}
|
|
6816
6816
|
}
|
|
6817
6817
|
if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
|
|
6818
|
-
const { ensureAuthProfileStore } = await import("./model-selection-
|
|
6818
|
+
const { ensureAuthProfileStore } = await import("./model-selection-Bj-E4zbc.js").then((n) => n.O);
|
|
6819
6819
|
const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
|
|
6820
6820
|
const providerKey = normalizeProviderId(provider);
|
|
6821
6821
|
if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
|
|
@@ -10567,7 +10567,7 @@ async function getMemorySearchManager(params) {
|
|
|
10567
10567
|
if (cached) return { manager: cached };
|
|
10568
10568
|
}
|
|
10569
10569
|
try {
|
|
10570
|
-
const { QmdMemoryManager } = await import("./qmd-manager-
|
|
10570
|
+
const { QmdMemoryManager } = await import("./qmd-manager-DeQxerRp.js");
|
|
10571
10571
|
const primary = await QmdMemoryManager.create({
|
|
10572
10572
|
cfg: params.cfg,
|
|
10573
10573
|
agentId: params.agentId,
|
|
@@ -10579,7 +10579,7 @@ async function getMemorySearchManager(params) {
|
|
|
10579
10579
|
const wrapper = new FallbackMemoryManager({
|
|
10580
10580
|
primary,
|
|
10581
10581
|
fallbackFactory: async () => {
|
|
10582
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
10582
|
+
const { MemoryIndexManager } = await import("./manager-DEOMAxd_.js").then((n) => n.t);
|
|
10583
10583
|
return await MemoryIndexManager.get(params);
|
|
10584
10584
|
}
|
|
10585
10585
|
}, () => QMD_MANAGER_CACHE.delete(cacheKey));
|
|
@@ -10592,7 +10592,7 @@ async function getMemorySearchManager(params) {
|
|
|
10592
10592
|
}
|
|
10593
10593
|
}
|
|
10594
10594
|
try {
|
|
10595
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
10595
|
+
const { MemoryIndexManager } = await import("./manager-DEOMAxd_.js").then((n) => n.t);
|
|
10596
10596
|
return { manager: await MemoryIndexManager.get(params) };
|
|
10597
10597
|
} catch (err) {
|
|
10598
10598
|
return {
|
|
@@ -11582,7 +11582,7 @@ function normalizeSessionKey(value) {
|
|
|
11582
11582
|
function readSessionStore(storePath) {
|
|
11583
11583
|
try {
|
|
11584
11584
|
const raw = fs.readFileSync(storePath, "utf-8");
|
|
11585
|
-
const parsed =
|
|
11585
|
+
const parsed = json5.parse(raw);
|
|
11586
11586
|
if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return parsed;
|
|
11587
11587
|
} catch {}
|
|
11588
11588
|
return {};
|
|
@@ -13989,7 +13989,7 @@ async function routeReply(params) {
|
|
|
13989
13989
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
13990
13990
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
13991
13991
|
try {
|
|
13992
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
13992
|
+
const { deliverOutboundPayloads } = await import("./deliver-Dut_1pt2.js").then((n) => n.n);
|
|
13993
13993
|
return {
|
|
13994
13994
|
ok: true,
|
|
13995
13995
|
messageId: (await deliverOutboundPayloads({
|
|
@@ -16463,7 +16463,7 @@ async function describeStickerImage(params) {
|
|
|
16463
16463
|
logVerbose(`telegram: describing sticker with ${provider}/${model}`);
|
|
16464
16464
|
try {
|
|
16465
16465
|
const buffer = await fs$1.readFile(imagePath);
|
|
16466
|
-
const { describeImageWithModel } = await import("./image-
|
|
16466
|
+
const { describeImageWithModel } = await import("./image-B3tSrFDE.js").then((n) => n.n);
|
|
16467
16467
|
return (await describeImageWithModel({
|
|
16468
16468
|
buffer,
|
|
16469
16469
|
fileName: "sticker.webp",
|
|
@@ -16874,7 +16874,7 @@ function createWhatsAppLoginTool() {
|
|
|
16874
16874
|
force: Type.Optional(Type.Boolean())
|
|
16875
16875
|
}),
|
|
16876
16876
|
execute: async (_toolCallId, args) => {
|
|
16877
|
-
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-
|
|
16877
|
+
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-Czq6nBnB.js");
|
|
16878
16878
|
if ((args?.action ?? "start") === "wait") {
|
|
16879
16879
|
const result = await waitForWebLogin({ timeoutMs: typeof args.timeoutMs === "number" ? args.timeoutMs : void 0 });
|
|
16880
16880
|
return {
|
|
@@ -18700,7 +18700,7 @@ async function preflightDiscordMessage(params) {
|
|
|
18700
18700
|
let preflightTranscript;
|
|
18701
18701
|
const hasAudioAttachment = message.attachments?.some((att) => att.contentType?.startsWith("audio/"));
|
|
18702
18702
|
if (!isDirectMessage && shouldRequireMention && hasAudioAttachment && !baseText && mentionRegexes.length > 0) try {
|
|
18703
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
18703
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-Bs1SkEb1.js");
|
|
18704
18704
|
const audioPaths = message.attachments?.filter((att) => att.contentType?.startsWith("audio/")).map((att) => att.url) ?? [];
|
|
18705
18705
|
if (audioPaths.length > 0) preflightTranscript = await transcribeFirstAudio({
|
|
18706
18706
|
ctx: {
|
|
@@ -25154,27 +25154,27 @@ async function runWithImageModelFallback(params) {
|
|
|
25154
25154
|
function createDefaultDeps() {
|
|
25155
25155
|
return {
|
|
25156
25156
|
sendMessageWhatsApp: async (...args) => {
|
|
25157
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
25157
|
+
const { sendMessageWhatsApp } = await import("./web-BfmMxgKj.js");
|
|
25158
25158
|
return await sendMessageWhatsApp(...args);
|
|
25159
25159
|
},
|
|
25160
25160
|
sendMessageTelegram: async (...args) => {
|
|
25161
|
-
const { sendMessageTelegram } = await import("./send-
|
|
25161
|
+
const { sendMessageTelegram } = await import("./send-By-dm-fT.js").then((n) => n.l);
|
|
25162
25162
|
return await sendMessageTelegram(...args);
|
|
25163
25163
|
},
|
|
25164
25164
|
sendMessageDiscord: async (...args) => {
|
|
25165
|
-
const { sendMessageDiscord } = await import("./send-
|
|
25165
|
+
const { sendMessageDiscord } = await import("./send-M99nJHP9.js").then((n) => n.t);
|
|
25166
25166
|
return await sendMessageDiscord(...args);
|
|
25167
25167
|
},
|
|
25168
25168
|
sendMessageSlack: async (...args) => {
|
|
25169
|
-
const { sendMessageSlack } = await import("./send-
|
|
25169
|
+
const { sendMessageSlack } = await import("./send-MrY4gJ_w.js").then((n) => n.n);
|
|
25170
25170
|
return await sendMessageSlack(...args);
|
|
25171
25171
|
},
|
|
25172
25172
|
sendMessageSignal: async (...args) => {
|
|
25173
|
-
const { sendMessageSignal } = await import("./send-
|
|
25173
|
+
const { sendMessageSignal } = await import("./send-NUKqMNZh.js").then((n) => n.i);
|
|
25174
25174
|
return await sendMessageSignal(...args);
|
|
25175
25175
|
},
|
|
25176
25176
|
sendMessageIMessage: async (...args) => {
|
|
25177
|
-
const { sendMessageIMessage } = await import("./send-
|
|
25177
|
+
const { sendMessageIMessage } = await import("./send-D4HKCCvV.js").then((n) => n.n);
|
|
25178
25178
|
return await sendMessageIMessage(...args);
|
|
25179
25179
|
}
|
|
25180
25180
|
};
|
|
@@ -35187,7 +35187,7 @@ function readSlackExternalArgMenuToken(raw) {
|
|
|
35187
35187
|
}
|
|
35188
35188
|
let commandsRegistry;
|
|
35189
35189
|
async function getCommandsRegistry() {
|
|
35190
|
-
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-
|
|
35190
|
+
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-Bvksrm0n.js").then((n) => n.n);
|
|
35191
35191
|
return commandsRegistry;
|
|
35192
35192
|
}
|
|
35193
35193
|
function encodeSlackCommandArgValue(parts) {
|
|
@@ -35529,11 +35529,11 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
35529
35529
|
const channelName = channelInfo?.name;
|
|
35530
35530
|
const roomLabel = channelName ? `#${channelName}` : `#${command.channel_id}`;
|
|
35531
35531
|
const [{ resolveAgentRoute }, { finalizeInboundContext }, { dispatchReplyWithDispatcher }] = await Promise.all([
|
|
35532
|
-
import("./resolve-route-
|
|
35532
|
+
import("./resolve-route-BaFHJbum.js").then((n) => n.r),
|
|
35533
35533
|
import("./inbound-context-hgCIam0H.js").then((n) => n.n),
|
|
35534
35534
|
Promise.resolve().then(() => provider_dispatcher_exports)
|
|
35535
35535
|
]);
|
|
35536
|
-
const [{ resolveConversationLabel }, { createReplyPrefixOptions }] = await Promise.all([import("./conversation-label-2FLz1ei_.js").then((n) => n.t), import("./reply-prefix-
|
|
35536
|
+
const [{ resolveConversationLabel }, { createReplyPrefixOptions }] = await Promise.all([import("./conversation-label-2FLz1ei_.js").then((n) => n.t), import("./reply-prefix-UgReuQSG.js").then((n) => n.r)]);
|
|
35537
35537
|
const route = resolveAgentRoute({
|
|
35538
35538
|
cfg,
|
|
35539
35539
|
channel: "slack",
|
|
@@ -35590,9 +35590,9 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
35590
35590
|
});
|
|
35591
35591
|
const deliverSlashPayloads = async (replies) => {
|
|
35592
35592
|
const [{ deliverSlackSlashReplies }, { resolveChunkMode }, { resolveMarkdownTableMode }] = await Promise.all([
|
|
35593
|
-
import("./replies-
|
|
35594
|
-
import("./chunk-
|
|
35595
|
-
import("./markdown-tables-
|
|
35593
|
+
import("./replies-DnGHvUeV.js").then((n) => n.r),
|
|
35594
|
+
import("./chunk-CyOBR4uk.js").then((n) => n.s),
|
|
35595
|
+
import("./markdown-tables-FF81O4MP.js").then((n) => n.t)
|
|
35596
35596
|
]);
|
|
35597
35597
|
await deliverSlackSlashReplies({
|
|
35598
35598
|
replies,
|
|
@@ -35645,7 +35645,7 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
35645
35645
|
let nativeCommands = [];
|
|
35646
35646
|
if (nativeEnabled) {
|
|
35647
35647
|
reg = await getCommandsRegistry();
|
|
35648
|
-
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-
|
|
35648
|
+
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-Cw-IRPUz.js").then((n) => n.a)).listSkillCommandsForAgents({ cfg }) : [];
|
|
35649
35649
|
nativeCommands = reg.listNativeCommandSpecsForConfig(cfg, {
|
|
35650
35650
|
skillCommands,
|
|
35651
35651
|
provider: "slack"
|
|
@@ -40417,7 +40417,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, storeAllowFro
|
|
|
40417
40417
|
const hasAudio = allMedia.some((media) => media.contentType?.startsWith("audio/"));
|
|
40418
40418
|
let preflightTranscript;
|
|
40419
40419
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0) try {
|
|
40420
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
40420
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-Bs1SkEb1.js");
|
|
40421
40421
|
preflightTranscript = await transcribeFirstAudio({
|
|
40422
40422
|
ctx: {
|
|
40423
40423
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -42583,23 +42583,23 @@ let webLoginQrPromise = null;
|
|
|
42583
42583
|
let webChannelPromise = null;
|
|
42584
42584
|
let whatsappActionsPromise = null;
|
|
42585
42585
|
function loadWebOutbound() {
|
|
42586
|
-
webOutboundPromise ??= import("./outbound-
|
|
42586
|
+
webOutboundPromise ??= import("./outbound-D2-05wUl.js").then((n) => n.t);
|
|
42587
42587
|
return webOutboundPromise;
|
|
42588
42588
|
}
|
|
42589
42589
|
function loadWebLogin() {
|
|
42590
|
-
webLoginPromise ??= import("./login-
|
|
42590
|
+
webLoginPromise ??= import("./login-_t6d0RBi.js").then((n) => n.n);
|
|
42591
42591
|
return webLoginPromise;
|
|
42592
42592
|
}
|
|
42593
42593
|
function loadWebLoginQr() {
|
|
42594
|
-
webLoginQrPromise ??= import("./login-qr-
|
|
42594
|
+
webLoginQrPromise ??= import("./login-qr-Czq6nBnB.js");
|
|
42595
42595
|
return webLoginQrPromise;
|
|
42596
42596
|
}
|
|
42597
42597
|
function loadWebChannel() {
|
|
42598
|
-
webChannelPromise ??= import("./web-
|
|
42598
|
+
webChannelPromise ??= import("./web-BfmMxgKj.js");
|
|
42599
42599
|
return webChannelPromise;
|
|
42600
42600
|
}
|
|
42601
42601
|
function loadWhatsAppActions() {
|
|
42602
|
-
whatsappActionsPromise ??= import("./whatsapp-actions-
|
|
42602
|
+
whatsappActionsPromise ??= import("./whatsapp-actions-B8IYO5sc.js");
|
|
42603
42603
|
return whatsappActionsPromise;
|
|
42604
42604
|
}
|
|
42605
42605
|
function createPluginRuntime() {
|
|
@@ -57614,7 +57614,7 @@ async function recordLoopOutcome(args) {
|
|
|
57614
57614
|
if (!args.ctx?.sessionKey) return;
|
|
57615
57615
|
try {
|
|
57616
57616
|
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-BW5KRYN1.js").then((n) => n.n);
|
|
57617
|
-
const { recordToolCallOutcome } = await import("./tool-loop-detection-
|
|
57617
|
+
const { recordToolCallOutcome } = await import("./tool-loop-detection-CbPwu1_R.js");
|
|
57618
57618
|
recordToolCallOutcome(getDiagnosticSessionState({
|
|
57619
57619
|
sessionKey: args.ctx.sessionKey,
|
|
57620
57620
|
sessionId: args.ctx?.agentId
|
|
@@ -57635,8 +57635,8 @@ async function runBeforeToolCallHook(args) {
|
|
|
57635
57635
|
const params = args.params;
|
|
57636
57636
|
if (args.ctx?.sessionKey) {
|
|
57637
57637
|
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-BW5KRYN1.js").then((n) => n.n);
|
|
57638
|
-
const { logToolLoopAction } = await import("./diagnostic-
|
|
57639
|
-
const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-
|
|
57638
|
+
const { logToolLoopAction } = await import("./diagnostic-DFXnVf2I.js").then((n) => n.n);
|
|
57639
|
+
const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-CbPwu1_R.js");
|
|
57640
57640
|
const sessionState = getDiagnosticSessionState({
|
|
57641
57641
|
sessionKey: args.ctx.sessionKey,
|
|
57642
57642
|
sessionId: args.ctx?.agentId
|
|
@@ -74017,7 +74017,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
74017
74017
|
return;
|
|
74018
74018
|
}
|
|
74019
74019
|
try {
|
|
74020
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
74020
|
+
const { deliverOutboundPayloads } = await import("./deliver-Dut_1pt2.js").then((n) => n.n);
|
|
74021
74021
|
await deliverOutboundPayloads({
|
|
74022
74022
|
cfg: params.cfg,
|
|
74023
74023
|
channel,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { n as resolveAgentConfig } from "./agent-scope-
|
|
2
|
+
import { n as resolveAgentConfig } from "./agent-scope-BS_vck4W.js";
|
|
3
3
|
|
|
4
4
|
//#region src/agents/identity.ts
|
|
5
5
|
const DEFAULT_ACK_REACTION = "👀";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { a as buildAgentPeerSessionKey, i as buildAgentMainSessionKey, l as normalizeAgentId, n as DEFAULT_AGENT_ID, p as sanitizeAgentId, r as DEFAULT_MAIN_KEY, t as DEFAULT_ACCOUNT_ID } from "./session-key-9yEYlIQe.js";
|
|
3
|
-
import { K as shouldLogVerbose } from "./registry-
|
|
4
|
-
import { c as resolveDefaultAgentId, k as logDebug } from "./agent-scope-
|
|
3
|
+
import { K as shouldLogVerbose } from "./registry-BECEtj9n.js";
|
|
4
|
+
import { c as resolveDefaultAgentId, k as logDebug } from "./agent-scope-BS_vck4W.js";
|
|
5
5
|
import { t as normalizeChatType } from "./chat-type-B5__aQIT.js";
|
|
6
|
-
import { t as listBindings } from "./bindings-
|
|
6
|
+
import { t as listBindings } from "./bindings-CTCkMENc.js";
|
|
7
7
|
|
|
8
8
|
//#region src/routing/resolve-route.ts
|
|
9
9
|
var resolve_route_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { K as shouldLogVerbose, U as logVerbose } from "./registry-
|
|
2
|
-
import { B as resolveOpenClawAgentDir, T as resolveApiKeyForProvider, c as normalizeProviderId, h as normalizeGoogleModelId, w as requireApiKey } from "./model-selection-
|
|
3
|
-
import { G as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, J as resolveIMessageAttachmentRoots, K as isInboundPathAllowed, n as loadConfig, q as mergeInboundPathRoots } from "./config-
|
|
4
|
-
import { _ as kindFromMime, d as detectMime, h as isAudioFileName, p as getFileExtension } from "./fs-safe-
|
|
5
|
-
import { D as runExec } from "./agent-scope-
|
|
1
|
+
import { K as shouldLogVerbose, U as logVerbose } from "./registry-BECEtj9n.js";
|
|
2
|
+
import { B as resolveOpenClawAgentDir, T as resolveApiKeyForProvider, c as normalizeProviderId, h as normalizeGoogleModelId, w as requireApiKey } from "./model-selection-Bj-E4zbc.js";
|
|
3
|
+
import { G as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, J as resolveIMessageAttachmentRoots, K as isInboundPathAllowed, n as loadConfig, q as mergeInboundPathRoots } from "./config-B8Nc1zrG.js";
|
|
4
|
+
import { _ as kindFromMime, d as detectMime, h as isAudioFileName, p as getFileExtension } from "./fs-safe-CdpuSWry.js";
|
|
5
|
+
import { D as runExec } from "./agent-scope-BS_vck4W.js";
|
|
6
6
|
import { n as fetchWithTimeout } from "./fetch-timeout-BKZjgek-.js";
|
|
7
|
-
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, o as fetchWithSsrFGuard, r as MediaFetchError } from "./local-roots-
|
|
7
|
+
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, o as fetchWithSsrFGuard, r as MediaFetchError } from "./local-roots-DlmKIABh.js";
|
|
8
8
|
import { t as normalizeChatType } from "./chat-type-B5__aQIT.js";
|
|
9
|
-
import { t as describeImageWithModel, x as ensureOpenClawModelsJson } from "./image-
|
|
10
|
-
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
9
|
+
import { t as describeImageWithModel, x as ensureOpenClawModelsJson } from "./image-B3tSrFDE.js";
|
|
10
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-LkecAWT_.js";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import { constants } from "node:fs";
|
|
13
13
|
import os from "node:os";
|
|
@@ -899,7 +899,7 @@ async function loadModelCatalog(params) {
|
|
|
899
899
|
});
|
|
900
900
|
try {
|
|
901
901
|
await ensureOpenClawModelsJson(params?.config ?? loadConfig());
|
|
902
|
-
await (await import("./pi-auth-json-
|
|
902
|
+
await (await import("./pi-auth-json-D-qvsSpX.js")).ensurePiAuthJsonFromAuthProfiles(resolveOpenClawAgentDir());
|
|
903
903
|
const piSdk = await importPiSdk();
|
|
904
904
|
const agentDir = resolveOpenClawAgentDir();
|
|
905
905
|
const { join } = await import("node:path");
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { B as danger, M as safeParseJson, U as logVerbose } from "./registry-
|
|
2
|
+
import { B as danger, M as safeParseJson, U as logVerbose } from "./registry-BECEtj9n.js";
|
|
3
3
|
import { a as resolveOAuthDir, s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-DJmOcr7Q.js";
|
|
4
|
-
import { Q as withFileLock$1 } from "./model-selection-
|
|
5
|
-
import { n as loadConfig } from "./config-
|
|
6
|
-
import { g as isGifMedia, p as getFileExtension, v as normalizeMimeType, x as mediaKindFromMime } from "./fs-safe-
|
|
7
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
+
import { Q as withFileLock$1 } from "./model-selection-Bj-E4zbc.js";
|
|
5
|
+
import { n as loadConfig } from "./config-B8Nc1zrG.js";
|
|
6
|
+
import { g as isGifMedia, p as getFileExtension, v as normalizeMimeType, x as mediaKindFromMime } from "./fs-safe-CdpuSWry.js";
|
|
7
|
+
import { t as createSubsystemLogger } from "./subsystem-Ck27y_6W.js";
|
|
8
8
|
import { t as redactSensitiveText } from "./redact-DPnDWsnT.js";
|
|
9
9
|
import { n as formatErrorMessage, r as formatUncaughtError, t as extractErrorCode } from "./errors-Bv8oZiTO.js";
|
|
10
|
-
import { r as isTruthyEnvValue } from "./command-format-
|
|
11
|
-
import { s as resolveTelegramAccount } from "./normalize-
|
|
12
|
-
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-
|
|
10
|
+
import { r as isTruthyEnvValue } from "./command-format-C5kdEGEu.js";
|
|
11
|
+
import { s as resolveTelegramAccount } from "./normalize-DWmWs1Oq.js";
|
|
12
|
+
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-0PB0IWJL.js";
|
|
13
13
|
import { n as normalizePollInput } from "./polls-dTqdfZ_K.js";
|
|
14
|
-
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
15
|
-
import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-
|
|
14
|
+
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-05vuco_v.js";
|
|
15
|
+
import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-PV3vhwo2.js";
|
|
16
16
|
import { t as resolveFetch } from "./fetch-B79-NBmS.js";
|
|
17
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
17
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-FF81O4MP.js";
|
|
18
18
|
import { t as renderMarkdownWithMarkers } from "./render-DehvxLfa.js";
|
|
19
19
|
import { t as makeProxyFetch } from "./proxy-BwzmpJWq.js";
|
|
20
20
|
import path from "node:path";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { D as normalizeE164, j as resolveUserPath } from "./registry-
|
|
3
|
-
import { n as loadConfig } from "./config-
|
|
4
|
-
import { x as mediaKindFromMime } from "./fs-safe-
|
|
5
|
-
import { r as resolveIMessageAccount } from "./accounts-
|
|
6
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
7
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
8
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
2
|
+
import { D as normalizeE164, j as resolveUserPath } from "./registry-BECEtj9n.js";
|
|
3
|
+
import { n as loadConfig } from "./config-B8Nc1zrG.js";
|
|
4
|
+
import { x as mediaKindFromMime } from "./fs-safe-CdpuSWry.js";
|
|
5
|
+
import { r as resolveIMessageAccount } from "./accounts-vV5Gfd26.js";
|
|
6
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-FF81O4MP.js";
|
|
7
|
+
import { t as convertMarkdownTables } from "./tables-B6ajREI6.js";
|
|
8
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-DmbQx_Vk.js";
|
|
9
9
|
import { spawn } from "node:child_process";
|
|
10
10
|
import { createInterface } from "node:readline";
|
|
11
11
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { st as resolvePreferredOpenClawTmpDir } from "./registry-
|
|
3
|
-
import { n as loadConfig } from "./config-
|
|
4
|
-
import { b as maxBytesForKind, f as extensionForMime } from "./fs-safe-
|
|
5
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode } from "./chunk-
|
|
6
|
-
import { b as resolveDiscordAccount, x as normalizeDiscordToken } from "./normalize-
|
|
7
|
-
import { _ as ensureTargetId, b as requireTargetKind, g as buildMessagingTarget, v as parseTargetMention, y as parseTargetPrefixes } from "./plugins-
|
|
2
|
+
import { st as resolvePreferredOpenClawTmpDir } from "./registry-BECEtj9n.js";
|
|
3
|
+
import { n as loadConfig } from "./config-B8Nc1zrG.js";
|
|
4
|
+
import { b as maxBytesForKind, f as extensionForMime } from "./fs-safe-CdpuSWry.js";
|
|
5
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode } from "./chunk-CyOBR4uk.js";
|
|
6
|
+
import { b as resolveDiscordAccount, x as normalizeDiscordToken } from "./normalize-DWmWs1Oq.js";
|
|
7
|
+
import { _ as ensureTargetId, b as requireTargetKind, g as buildMessagingTarget, v as parseTargetMention, y as parseTargetPrefixes } from "./plugins-0PB0IWJL.js";
|
|
8
8
|
import { n as normalizePollInput, t as normalizePollDurationHours } from "./polls-dTqdfZ_K.js";
|
|
9
|
-
import { a as loadWebMedia, o as loadWebMediaRaw } from "./ir-
|
|
10
|
-
import { n as retryAsync, t as resolveRetryConfig } from "./retry-
|
|
11
|
-
import { n as recordChannelActivity, r as createDiscordRetryRunner } from "./channel-activity-
|
|
9
|
+
import { a as loadWebMedia, o as loadWebMediaRaw } from "./ir-05vuco_v.js";
|
|
10
|
+
import { n as retryAsync, t as resolveRetryConfig } from "./retry-Bkj1k1me.js";
|
|
11
|
+
import { n as recordChannelActivity, r as createDiscordRetryRunner } from "./channel-activity-PV3vhwo2.js";
|
|
12
12
|
import { t as resolveFetch } from "./fetch-B79-NBmS.js";
|
|
13
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
14
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
13
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-FF81O4MP.js";
|
|
14
|
+
import { t as convertMarkdownTables } from "./tables-B6ajREI6.js";
|
|
15
15
|
import path from "node:path";
|
|
16
16
|
import fs from "node:fs/promises";
|
|
17
17
|
import { promisify } from "node:util";
|