UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

19 lines (18 loc) 5.12 kB
import { a as isNativeCommandTurn, i as isExplicitCommandTurn, n as createCommandTurnContext, o as isTextSlashCommandTurn, r as isAuthorizedTextSlashCommandTurn } from "../command-turn-context-CmPEYNmV.js"; import { D as toLocationContext, E as normalizeOutboundLocation, T as formatLocationText } from "../reply-payload-Bfsi665c.js"; import { r as mergeInboundPathRoots } from "../inbound-path-policy-DQ5Rksw7.js"; import { n as readAgentRunTerminalOutcome } from "../agent-run-terminal-outcome-BwslKylZ.js"; import { i as normalizeMentionText, n as matchesMentionPatterns, r as matchesMentionWithExplicit, s as resolveMentionPatternPolicy, t as buildMentionRegexes } from "../mentions-BXIDEOtX.js"; import { a as resolveEnvelopeFormatOptions, i as formatInboundFromLabel, r as formatInboundEnvelope, t as formatAgentEnvelope } from "../envelope-CGxzYKMZ.js"; import { n as resolveInboundDebounceMs, t as createInboundDebouncer } from "../inbound-debounce-DZwl-vWn.js"; import { a as filterChannelInboundQuoteContext, c as resolveInboundSupplementalSenderAllowed, d as formatMediaPlaceholderText, f as toHistoryMediaEntries, l as buildChannelInboundMediaPayload, m as toInboundMediaFactsWithMetadata, o as filterChannelInboundSupplementalContext, p as toInboundMediaFacts, r as buildChannelInboundEventContext, s as finalizeChannelInboundContext, t as recordDroppedChannelTurnHistory, u as formatInboundMediaUnavailableText } from "../run-channel-turn-g-1d9x-q.js"; import { n as implicitMentionKindWhen, r as resolveInboundMentionDecision } from "../mention-gating-Cqy7URJJ.js"; import { a as recordChannelBotPairLoopAndCheckSuppression } from "../lifecycle-DQ-vfJ_s.js"; import { i as resolveChannelTurnDispatchCounts, n as hasFinalChannelTurnDispatch, r as hasVisibleChannelTurnDispatch } from "../dispatch-result-B75usq__.js"; import { i as isChannelPartialDeliveryError, n as createChannelPartialDeliveryError } from "../delivery-result-jWGDGh5u.js"; import { r as resolveChannelInboundRouteEnvelope, t as createChannelInboundEnvelopeBuilder } from "../envelope-CYYWJCqv.js"; import { n as resolveInboundDirectDmAccessWithRuntime, t as createPreCryptoDirectDmAuthorizer } from "../direct-dm-access-CsYQlnI3.js"; import { t as createDirectDmPreCryptoGuardPolicy } from "../direct-dm-guard-policy-B3uRIqLs.js"; 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-DreWTphY.js"; import { n as logInboundDrop } from "../logging-Cit3ZP-d.js"; export { DEFAULT_CHANNEL_FEEDBACK_REFLECTION_COOLDOWN_MS, buildChannelInboundEventContext, buildChannelInboundMediaPayload, buildChannelInboundMediaPayload as buildChannelTurnMediaPayload, buildChannelTurnContext, buildMentionRegexes, classifyChannelInboundEvent, createChannelInboundDebouncer, createChannelInboundEnvelopeBuilder, createChannelPartialDeliveryError, createCommandTurnContext, createDirectDmPreCryptoGuardPolicy, createInboundDebouncer, createPreCryptoDirectDmAuthorizer, dispatchChannelInboundReply, dispatchChannelInboundTurn, dispatchInboundDirectDm, dispatchInboundDirectDmWithRuntime, filterChannelInboundQuoteContext, filterChannelInboundSupplementalContext, filterChannelTurnSupplementalContext, finalizeChannelInboundContext, formatAgentEnvelope, formatInboundEnvelope, formatInboundFromLabel, formatInboundMediaUnavailableText, formatLocationText, formatMediaPlaceholderText, hasFinalChannelTurnDispatch as hasFinalInboundReplyDispatch, hasVisibleChannelTurnDispatch as hasVisibleInboundReplyDispatch, implicitMentionKindWhen, isAuthorizedTextSlashCommandTurn, isChannelPartialDeliveryError, isExplicitCommandTurn, isNativeCommandTurn, isTextSlashCommandTurn, logInboundDrop, matchesMentionPatterns, matchesMentionWithExplicit, mergeInboundPathRoots, normalizeMentionText, normalizeOutboundLocation, readAgentRunTerminalOutcome, recordChannelBotPairLoopAndCheckSuppression, recordChannelFeedbackEvent, recordDroppedChannelTurnHistory as recordDroppedChannelInboundHistory, recordDroppedChannelTurnHistory, resolveChannelInboundRouteEnvelope, resolveEnvelopeFormatOptions, resolveInboundDebounceMs, resolveInboundDirectDmAccessWithRuntime, resolveInboundMentionDecision, resolveChannelTurnDispatchCounts as resolveInboundReplyDispatchCounts, resolveInboundSessionEnvelopeContext, resolveInboundSupplementalSenderAllowed, resolveMentionPatternPolicy, resolveUnmentionedGroupInboundPolicy, runChannelFeedbackReflection, runChannelInboundEvent, runPreparedInboundReply, shouldDebounceTextInbound, toHistoryMediaEntries, toInboundMediaFacts, toInboundMediaFactsWithMetadata, toLocationContext };