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-5IgE9UKY.js";
import { m as resolveThreadSessionKeys } from "../../session-key-BsbwBJwv.js";
import { r as buildChannelConfigSchema } from "../../config-schema-CFVaMM-z.js";
import { c as isTrustedProxyAddress, f as resolveClientIp } from "../../net-DQvRbvSK.js";
import { t as createDedupeCache } from "../../dedupe-DnzL4okR.js";
import { u as resolveStorePath } from "../../paths-BcGVZo_k.js";
import { a as resolveAllowlistMatchSimple } from "../../allowlist-match-Cg15MVcF.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-BEjP88cf.js";
import { r as getAgentScopedMediaLocalRoots } from "../../local-roots-DjdsAoVF.js";
import { a as resolveChannelMediaMaxBytes } from "../../media-runtime-CP3Buesq.js";
import { t as buildAgentMediaPayload } from "../../agent-media-payload-CSLL6yrE.js";
import { t as chunkTextForOutbound } from "../../text-chunking-Dv_a57u3.js";
import { n as resolveStoredModelOverride } from "../../stored-model-override-BHFUrpM3.js";
import { n as applySetupAccountConfigPatch, s as migrateBaseNameToDefaultAccount, t as applyAccountNameToChannelSection } from "../../setup-helpers-CPWoWqOy.js";
import "../../core-DSBgt6Pg.js";
import { l as normalizeProviderId } from "../../provider-model-shared-CKFakuj-.js";
import "../../routing-DuwrFDdF.js";
import { i as formatInboundFromLabel } from "../../envelope-CZharBzl.js";
import { c as buildPendingHistoryContextFromMap, m as recordPendingHistoryEntryIfEnabled, t as DEFAULT_GROUP_HISTORY_LIMIT, u as clearHistoryEntriesIfEnabled } from "../../history-Digw4nIX.js";
import { t as createChannelReplyPipeline } from "../../reply-pipeline-CxqO6kKd.js";
import { t as createChannelHistoryWindow } from "../../history-window-DkUxEB4q.js";
import { t as rawDataToString } from "../../ws-C3qhmaFC.js";
import { t as createAccountStatusSink } from "../../channel-lifecycle.core-Bfh0_sXw.js";
import "../../allow-from-nMWw_kVf.js";
import { n as isDangerousNameMatchingEnabled } from "../../dangerous-name-matching-Z6nhxFXz.js";
import "../../reply-history-DDmYe8Zf.js";
import "../../setup-DGGLn4oX.js";
import { r as loadSessionStore } from "../../session-store-runtime-DIo09ING.js";
import { t as listSkillCommandsForAgents } from "../../chat-commands-520jUhKl.js";
import "../../channel-outbound-CHb-uDxw.js";
import { n as logInboundDrop, r as logTypingFailure } from "../../logging-gUWPKC5g.js";
import { n as loadOutboundMediaFromUrl } from "../../outbound-media-DbqHlRw6.js";
import { a as isRequestBodyLimitError, s as readRequestBodyWithLimit } from "../../http-body-Z3mhnRNk.js";
import { t as registerPluginHttpRoute } from "../../http-registry-BJkk3P4N.js";
import "../../dangerous-name-runtime-cJriWyuh.js";
import { t as buildModelsProviderData } from "../../commands-models-COlM4qCS.js";
import "../../command-auth-native-IFmI8urX.js";
import { r as buildComputedAccountStatusSnapshot } from "../../status-helpers-CMNeqAe_.js";
import "../../channel-status-DMvqj2bH.js";
import "../../channel-inbound-Bl4qL4ZS.js";
import "../../channel-feedback-CVLJbdV5.js";
import { n as createChannelPairingController } from "../../channel-pairing-Cr6y6rdp.js";
import "../../models-provider-runtime-DA6nGT_Z.js";
import "../../webhook-ingress-Btd-EgwJ.js";
import "../../webhook-targets-k9Oe4zzO.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 };