UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

21 lines (20 loc) • 5.69 kB
import { o as getGroupThreadDeliverySession } from "../group-thread-context-DLcO7Z-w.mjs"; import { i as resolveInboundMentionDecision, n as implicitMentionKindWhen } from "../mention-gating-0Hi8lUn4.mjs"; import { n as resolveInboundDebounceMs, t as createInboundDebouncer } from "../inbound-debounce-D_uzsHO6.mjs"; import { a as isNativeCommandTurn, i as isExplicitCommandTurn, n as createCommandTurnContext, o as isTextSlashCommandTurn, r as isAuthorizedTextSlashCommandTurn } from "../command-turn-context-TJGbDzsZ.mjs"; import { n as normalizeOutboundLocation, r as toLocationContext, t as formatLocationText } from "../location-CxESZbHi.mjs"; import { r as mergeInboundPathRoots } from "../inbound-path-policy-BNhvjhiQ.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-DhMxVyTi.mjs"; import { c as resolveGroupThreadConfig, l as resolveGroupThreadMentionFacts, o as runGroupThread, s as isGroupThreadRouteExclusive } from "../dispatch-24DdbDip.mjs"; import { d as createChannelPartialDeliveryError, f as isChannelPartialDeliveryError, s as createAcceptedChannelDeliveryResult } from "../live-BtWpKyHV.mjs"; import { a as resolveEnvelopeFormatOptions, i as formatInboundFromLabel, r as formatInboundEnvelope, t as formatAgentEnvelope } from "../envelope-UOtEX9A5.mjs"; import { a as toInboundMediaFacts, i as toHistoryMediaEntries, n as formatInboundMediaUnavailableText, o as toInboundMediaFactsWithMetadata, r as formatMediaPlaceholderText, t as buildChannelInboundMediaPayload } from "../media-B-17jCYF.mjs"; import { a as finalizeChannelInboundContext, i as filterChannelInboundSupplementalContext, o as resolveInboundSupplementalSenderAllowed, r as filterChannelInboundQuoteContext, t as buildChannelInboundEventContext } from "../context-CNczOQBo.mjs"; import { a as resolveChannelTurnDispatchCounts, i as hasVisibleChannelTurnDispatch, o as recordChannelBotPairLoopAndCheckSuppression, r as hasFinalChannelTurnDispatch } from "../execution-Dbc2Hj0P.mjs"; import { t as recordDroppedChannelTurnHistory } from "../run-channel-turn-D73TvDkz.mjs"; import { i as resolveChannelInboundRouteEnvelope, n as createChannelInboundEnvelopeBuilderAsync, t as createChannelInboundEnvelopeBuilder } from "../envelope-z7JVcwnO.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-BOhgTVYr.mjs"; import { t as createDirectDmPreCryptoGuardPolicy } from "../direct-dm-guard-policy-DBugFbho.mjs"; import { n as logInboundDrop } from "../logging-C9LTVJNE.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 };