openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
23 lines (22 loc) • 5.61 kB
JavaScript
import { o as getGroupThreadDeliverySession } from "../group-thread-context-Q8iIBktF.mjs";
import { i as resolveInboundMentionDecision, n as implicitMentionKindWhen } from "../mention-gating-0Hi8lUn4.mjs";
import { a as isNativeCommandTurn, i as isExplicitCommandTurn, n as createCommandTurnContext, o as isTextSlashCommandTurn, r as isAuthorizedTextSlashCommandTurn } from "../command-turn-context-CSgWM9bZ.mjs";
import { n as normalizeOutboundLocation, r as toLocationContext, t as formatLocationText } from "../location-B_vTo156.mjs";
import { r as mergeInboundPathRoots } from "../inbound-path-policy-CN2LLfoX.mjs";
import { n as readAgentRunTerminalOutcome } from "../agent-run-terminal-outcome-BOQC0T2X.mjs";
import { i as normalizeMentionText, n as matchesMentionPatterns, r as matchesMentionWithExplicit, s as resolveMentionPatternPolicy, t as buildMentionRegexes } from "../mentions-n2-u8q46.mjs";
import { c as resolveGroupThreadConfig, l as resolveGroupThreadMentionFacts, o as runGroupThread, s as isGroupThreadRouteExclusive } from "../dispatch-QTvqNYOP.mjs";
import { c as createAcceptedChannelDeliveryResult, d as createChannelPartialDeliveryError, f as isChannelPartialDeliveryError } from "../live-B6hIHTTD.mjs";
import { a as resolveEnvelopeFormatOptions, i as formatInboundFromLabel, r as formatInboundEnvelope, t as formatAgentEnvelope } from "../envelope-CpxMeoWh.mjs";
import { n as resolveInboundDebounceMs, t as createInboundDebouncer } from "../inbound-debounce-BARh1-6-.mjs";
import { a as toInboundMediaFacts, i as toHistoryMediaEntries, n as formatInboundMediaUnavailableText, o as toInboundMediaFactsWithMetadata, r as formatMediaPlaceholderText, t as buildChannelInboundMediaPayload } from "../media-B7KeS9MP.mjs";
import { a as finalizeChannelInboundContext, i as filterChannelInboundSupplementalContext, o as resolveInboundSupplementalSenderAllowed, r as filterChannelInboundQuoteContext, t as buildChannelInboundEventContext } from "../context-DoI-twr3.mjs";
import { i as resolveChannelTurnDispatchCounts, n as hasFinalChannelTurnDispatch, r as hasVisibleChannelTurnDispatch } from "../dispatch-result-B75usq__.mjs";
import { r as recordChannelBotPairLoopAndCheckSuppression } from "../execution-DiEbCIan.mjs";
import { t as recordDroppedChannelTurnHistory } from "../run-channel-turn-BzXXQMzy.mjs";
import { r as resolveChannelInboundRouteEnvelope, t as createChannelInboundEnvelopeBuilder } from "../envelope-D1xYSwKt.mjs";
import { n as resolveInboundDirectDmAccessWithRuntime, t as createPreCryptoDirectDmAuthorizer } from "../direct-dm-access-xEuOSGgN.mjs";
import { t as createDirectDmPreCryptoGuardPolicy } from "../direct-dm-guard-policy-CRu9EWAH.mjs";
import { a as runChannelInboundEvent, c as recordChannelFeedbackEvent, d as resolveUnmentionedGroupInboundPolicy, f as resolveInboundSessionEnvelopeContext, g as dispatchInboundDirectDmWithRuntime, h as dispatchInboundDirectDm, i as filterChannelTurnSupplementalContext, l as runChannelFeedbackReflection, m as shouldDebounceTextInbound, n as dispatchChannelInboundReply, o as runPreparedInboundReply, p as createChannelInboundDebouncer, r as dispatchChannelInboundTurn, s as DEFAULT_CHANNEL_FEEDBACK_REFLECTION_COOLDOWN_MS, t as buildChannelTurnContext, u as classifyChannelInboundEvent } from "../channel-inbound-88TEBbwh.mjs";
import { n as logInboundDrop } from "../logging-CId_Xb34.mjs";
export { DEFAULT_CHANNEL_FEEDBACK_REFLECTION_COOLDOWN_MS, buildChannelInboundEventContext, buildChannelInboundMediaPayload, buildChannelTurnContext, buildMentionRegexes, classifyChannelInboundEvent, createAcceptedChannelDeliveryResult, createChannelInboundDebouncer, createChannelInboundEnvelopeBuilder, 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, resolveInboundSupplementalSenderAllowed, resolveMentionPatternPolicy, resolveUnmentionedGroupInboundPolicy, runChannelFeedbackReflection, runChannelInboundEvent, runGroupThread, runPreparedInboundReply, shouldDebounceTextInbound, toHistoryMediaEntries, toInboundMediaFacts, toInboundMediaFactsWithMetadata, toLocationContext };