openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
50 lines (49 loc) • 5.04 kB
JavaScript
import { b as parseStrictPositiveInteger } from "../../number-coercion-CJQ8TR--.js";
import { n as normalizeAccountId, t as DEFAULT_ACCOUNT_ID } from "../../account-id-Df9e41E6.js";
import { m as resolveThreadSessionKeys } from "../../session-key-B_NoIfpX.js";
import { c as isTrustedProxyAddress, f as resolveClientIp } from "../../net-DTe7AQiu.js";
import { r as buildChannelConfigSchema } from "../../config-schema-CO2ikh7C.js";
import { t as createDedupeCache } from "../../dedupe-DnzL4okR.js";
import { u as resolveStorePath } from "../../paths-NEwU8m3X.js";
import { a as resolveAllowlistMatchSimple } from "../../allowlist-match-B04-UeMC.js";
import { n as resolveControlCommandGate } from "../../command-gating-65fgTdwb.js";
import { a as warnMissingProviderGroupPolicyFallbackOnce, n as resolveAllowlistProviderRuntimeGroupPolicy, r as resolveDefaultGroupPolicy, t as GROUP_POLICY_BLOCKED_LABEL } from "../../runtime-group-policy-CSD1Is8G.js";
import { r as getAgentScopedMediaLocalRoots } from "../../local-roots-BqdtViGS.js";
import { a as resolveChannelMediaMaxBytes } from "../../media-runtime-fgpmX6eL.js";
import { t as buildAgentMediaPayload } from "../../agent-media-payload-BXUnfV7N.js";
import { t as chunkTextForOutbound } from "../../text-chunking-D45TeeEs.js";
import { n as resolveStoredModelOverride } from "../../stored-model-override-B3aWM_od.js";
import { n as applySetupAccountConfigPatch, s as migrateBaseNameToDefaultAccount, t as applyAccountNameToChannelSection } from "../../setup-helpers-DO5nSeNy.js";
import "../../core-DSxVv-v1.js";
import { l as normalizeProviderId } from "../../provider-model-shared-D-lyTLvb.js";
import "../../routing-CQ63ICPX.js";
import { i as formatInboundFromLabel } from "../../envelope-IMcsY0tl.js";
import { c as buildPendingHistoryContextFromMap, m as recordPendingHistoryEntryIfEnabled, t as DEFAULT_GROUP_HISTORY_LIMIT, u as clearHistoryEntriesIfEnabled } from "../../history-6XlO5h6s.js";
import { t as createChannelReplyPipeline } from "../../reply-pipeline-eJPstCAz.js";
import { t as createChannelHistoryWindow } from "../../history-window-B0hyPVKC.js";
import { t as rawDataToString } from "../../ws-C3qhmaFC.js";
import { t as createAccountStatusSink } from "../../channel-lifecycle.core-Bfh0_sXw.js";
import "../../allow-from-DCaV3hzI.js";
import { n as isDangerousNameMatchingEnabled } from "../../dangerous-name-matching-D4QRC91G.js";
import "../../reply-history-Y9HXucO9.js";
import "../../setup-DHfdBmUU.js";
import { t as listSkillCommandsForAgents } from "../../chat-commands-DKDF6ilZ.js";
import "../../channel-outbound-B3_Zy-kG.js";
import { n as logInboundDrop, r as logTypingFailure } from "../../logging-gUWPKC5g.js";
import { n as loadOutboundMediaFromUrl } from "../../outbound-media-MHBXtJsJ.js";
import { a as isRequestBodyLimitError, s as readRequestBodyWithLimit } from "../../http-body-DASeqdKJ.js";
import { t as registerPluginHttpRoute } from "../../http-registry-C6KnnU9A.js";
import "../../dangerous-name-runtime-zP2lSdMQ.js";
import { t as buildModelsProviderData } from "../../commands-models-BhAJq6Rj.js";
import "../../command-auth-native-D4ML0UKp.js";
import { r as buildComputedAccountStatusSnapshot } from "../../status-helpers-BevxX6Pu.js";
import "../../channel-status-DxlXr0Xh.js";
import "../../channel-inbound-bl7VmTdr.js";
import "../../channel-feedback-Bi1IYmE_.js";
import { n as createChannelPairingController } from "../../channel-pairing-Bk6_JhTm.js";
import { t as loadSessionStore } from "../../session-store-runtime-rvUx2Fil.js";
import "../../models-provider-runtime-wrU609z3.js";
import "../../webhook-ingress-Dgd3Jtks.js";
import "../../webhook-targets-Beqkt_FW.js";
import { n as setMattermostRuntime } from "../../runtime-D5T9siJC.js";
export { DEFAULT_ACCOUNT_ID, DEFAULT_GROUP_HISTORY_LIMIT, GROUP_POLICY_BLOCKED_LABEL, applyAccountNameToChannelSection, applySetupAccountConfigPatch, buildAgentMediaPayload, buildChannelConfigSchema, buildComputedAccountStatusSnapshot, buildModelsProviderData, buildPendingHistoryContextFromMap, chunkTextForOutbound, clearHistoryEntriesIfEnabled, createAccountStatusSink, createChannelHistoryWindow, createChannelReplyPipeline as createChannelMessageReplyPipeline, createChannelPairingController, createDedupeCache, formatInboundFromLabel, getAgentScopedMediaLocalRoots, isDangerousNameMatchingEnabled, isRequestBodyLimitError, isTrustedProxyAddress, listSkillCommandsForAgents, loadOutboundMediaFromUrl, loadSessionStore, logInboundDrop, logTypingFailure, migrateBaseNameToDefaultAccount, normalizeAccountId, normalizeProviderId, parseStrictPositiveInteger, rawDataToString, readRequestBodyWithLimit, recordPendingHistoryEntryIfEnabled, registerPluginHttpRoute, resolveAllowlistMatchSimple, resolveAllowlistProviderRuntimeGroupPolicy, resolveChannelMediaMaxBytes, resolveClientIp, resolveControlCommandGate, resolveDefaultGroupPolicy, resolveStorePath, resolveStoredModelOverride, resolveThreadSessionKeys, setMattermostRuntime, warnMissingProviderGroupPolicyFallbackOnce };