UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

1 lines • 5.44 kB
import{n as resolveInboundDebounceMs,t as createInboundDebouncer}from"../inbound-debounce-AdZEtXcM.mjs";import{w as getGroupThreadDeliverySession}from"../hooks-Bu2gwS_g.mjs";import{i as resolveInboundMentionDecision,n as implicitMentionKindWhen}from"../mention-gating-CNrjYnq2.mjs";import{n as normalizeOutboundLocation,r as toLocationContext,t as formatLocationText}from"../location-CLRIvK_g.mjs";import{i as isExplicitCommandTurn,n as createCommandTurnContext,o as isNativeCommandTurn,r as isAuthorizedTextSlashCommandTurn,s as isTextSlashCommandTurn}from"../command-turn-context-vtXH8Cqw.mjs";import{r as mergeInboundPathRoots}from"../inbound-path-policy-CPnRL2ib.mjs";import{n as readAgentRunTerminalOutcome}from"../agent-run-terminal-outcome-BEd4_P7Y.mjs";import{i as normalizeMentionText,n as matchesMentionPatterns,r as matchesMentionWithExplicit,s as resolveMentionPatternPolicy,t as buildMentionRegexes}from"../mentions-2eKnPtcO.mjs";import{c as resolveGroupThreadConfig,l as resolveGroupThreadMentionFacts,o as runGroupThread,s as isGroupThreadRouteExclusive}from"../dispatch-OJrrdqsb.mjs";import{a as resolveEnvelopeFormatOptions,i as formatInboundFromLabel,r as formatInboundEnvelope,t as formatAgentEnvelope}from"../envelope-B7t5cF__.mjs";import{a as toInboundMediaFacts,i as toHistoryMediaEntries,n as formatInboundMediaUnavailableText,o as toInboundMediaFactsWithMetadata,r as formatMediaPlaceholderText,t as buildChannelInboundMediaPayload}from"../media-7VtkM6sY.mjs";import{a as filterChannelInboundSupplementalContext,i as filterChannelInboundQuoteContext,n as buildChannelInboundEventContext,o as finalizeChannelInboundContext,s as resolveInboundSupplementalSenderAllowed}from"../reply-options-D-cQz0Qt.mjs";import{d as createChannelPartialDeliveryError,f as isChannelPartialDeliveryError,s as createAcceptedChannelDeliveryResult}from"../live-CZp14Lp3.mjs";import{a as resolveChannelTurnDispatchCounts,i as hasVisibleChannelTurnDispatch,o as recordChannelBotPairLoopAndCheckSuppression,r as hasFinalChannelTurnDispatch}from"../execution-Cpe8EZ0A.mjs";import{t as recordDroppedChannelTurnHistory}from"../run-channel-turn-KxIBuYA-.mjs";import{i as resolveChannelInboundRouteEnvelope,n as createChannelInboundEnvelopeBuilderAsync,t as createChannelInboundEnvelopeBuilder}from"../envelope-BKdDYYXy.mjs";import{_ as dispatchInboundDirectDmWithRuntime,a as runChannelInboundEvent,c as recordChannelFeedbackEvent,d as resolveUnmentionedGroupInboundPolicy,f as resolveInboundSessionEnvelopeContext,g as dispatchInboundDirectDm,h as shouldDebounceTextInbound,i as filterChannelTurnSupplementalContext,l as runChannelFeedbackReflection,m as createChannelInboundDebouncer,n as dispatchChannelInboundReply,o as runPreparedInboundReply,p as resolveInboundSessionEnvelopeContextAsync,r as dispatchChannelInboundTurn,s as DEFAULT_CHANNEL_FEEDBACK_REFLECTION_COOLDOWN_MS,t as buildChannelTurnContext,u as classifyChannelInboundEvent,v as createPreCryptoDirectDmAuthorizer,y as resolveInboundDirectDmAccessWithRuntime}from"../channel-inbound-DZDqWdoL.mjs";import{t as createDirectDmPreCryptoGuardPolicy}from"../direct-dm-guard-policy-DSnz0v84.mjs";import{n as logInboundDrop}from"../logging-B6XiK4pi.mjs";export{DEFAULT_CHANNEL_FEEDBACK_REFLECTION_COOLDOWN_MS,buildChannelInboundEventContext,buildChannelInboundMediaPayload,buildChannelTurnContext,buildMentionRegexes,classifyChannelInboundEvent,createAcceptedChannelDeliveryResult,createChannelInboundDebouncer,createChannelInboundEnvelopeBuilder,createChannelInboundEnvelopeBuilderAsync,createChannelPartialDeliveryError,createCommandTurnContext,createDirectDmPreCryptoGuardPolicy,createInboundDebouncer,createPreCryptoDirectDmAuthorizer,dispatchChannelInboundReply,dispatchChannelInboundTurn,dispatchInboundDirectDm,dispatchInboundDirectDmWithRuntime,filterChannelInboundQuoteContext,filterChannelInboundSupplementalContext,filterChannelTurnSupplementalContext,finalizeChannelInboundContext,formatAgentEnvelope,formatInboundEnvelope,formatInboundFromLabel,formatInboundMediaUnavailableText,formatLocationText,formatMediaPlaceholderText,getGroupThreadDeliverySession,hasFinalChannelTurnDispatch as hasFinalInboundReplyDispatch,hasVisibleChannelTurnDispatch as hasVisibleInboundReplyDispatch,implicitMentionKindWhen,isAuthorizedTextSlashCommandTurn,isChannelPartialDeliveryError,isExplicitCommandTurn,isGroupThreadRouteExclusive,isNativeCommandTurn,isTextSlashCommandTurn,logInboundDrop,matchesMentionPatterns,matchesMentionWithExplicit,mergeInboundPathRoots,normalizeMentionText,normalizeOutboundLocation,readAgentRunTerminalOutcome,recordChannelBotPairLoopAndCheckSuppression,recordChannelFeedbackEvent,recordDroppedChannelTurnHistory as recordDroppedChannelInboundHistory,recordDroppedChannelTurnHistory,resolveChannelInboundRouteEnvelope,resolveEnvelopeFormatOptions,resolveGroupThreadConfig,resolveGroupThreadMentionFacts,resolveInboundDebounceMs,resolveInboundDirectDmAccessWithRuntime,resolveInboundMentionDecision,resolveChannelTurnDispatchCounts as resolveInboundReplyDispatchCounts,resolveInboundSessionEnvelopeContext,resolveInboundSessionEnvelopeContextAsync,resolveInboundSupplementalSenderAllowed,resolveMentionPatternPolicy,resolveUnmentionedGroupInboundPolicy,runChannelFeedbackReflection,runChannelInboundEvent,runGroupThread,runPreparedInboundReply,shouldDebounceTextInbound,toHistoryMediaEntries,toInboundMediaFacts,toInboundMediaFactsWithMetadata,toLocationContext};