openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
16 lines • 8.96 kB
TypeScript
import { $r as ChannelTurnDroppedHistoryOptions, Br as FinalizeChannelInboundContextParams, Fr as BuildChannelInboundEventContextAsyncParams, Gr as finalizeChannelInboundContext, Hr as buildChannelInboundEventContext, Ir as BuildChannelInboundEventContextParams, Kr as resolveInboundSupplementalSenderAllowed, Lr as BuiltChannelInboundEventContext, Mr as ResolvedMentionPatternPolicy, Nr as resolveMentionPatternPolicy, Pr as recordDroppedChannelTurnHistory, Rr as ChannelInboundSupplementalResolutionOptions, Ur as filterChannelInboundQuoteContext, Vr as FinalizeChannelInboundContextResult, Wr as filterChannelInboundSupplementalContext, ai as InboundMediaFacts, ci as ChannelBotLoopProtectionFacts, jr as ResolveMentionPatternPolicyParams, kr as BuildMentionRegexesOptions, li as recordChannelBotPairLoopAndCheckSuppression, ri as CommandFacts, ti as ChannelTurnRecordOptions, zr as FinalizeChannelInboundContextAsyncParams } from "../agent-harness-runtime-CZIVRpx-.js";
import { _ as formatLocationText, g as OutboundLocation, h as NormalizedLocation, m as LocationSource, v as normalizeOutboundLocation, y as toLocationContext } from "../reply-payload-BE6d057B.js";
import { t as InboundEventKind } from "../kind-CC2t750M.js";
import { _t as PluginHookChannelContext, ct as CommandTurnContext, d as SupplementalContextFacts, dt as isAuthorizedTextSlashCommandTurn, ft as isExplicitCommandTurn, gt as PluginHookChannelChatContext, mt as isTextSlashCommandTurn, pt as isNativeCommandTurn, ut as createCommandTurnContext, vt as PluginHookChannelSenderContext } from "../templating-CpgmHvb9.js";
import { A as InboundMentionDecision, F as ResolveInboundMentionDecisionParams, I as implicitMentionKindWhen, L as resolveInboundMentionDecision, M as InboundMentionPolicy, N as ResolveInboundMentionDecisionFlatParams, P as ResolveInboundMentionDecisionNestedParams, j as InboundMentionFacts, k as InboundImplicitMentionKind } from "../runtime-types-BLRqwEdb.js";
import { a as formatInboundFromLabel, i as formatInboundEnvelope, n as EnvelopeFormatOptions, o as resolveEnvelopeFormatOptions, r as formatAgentEnvelope } from "../envelope-Bdv6A0F1.js";
import { n as createInboundDebouncer, r as resolveInboundDebounceMs } from "../inbound-debounce-0EtzcLL0.js";
import { r as mergeInboundPathRoots } from "../inbound-path-policy-nRJfbQMX.js";
import { r as logInboundDrop, t as LogFn } from "../logging-qxfDduLa.js";
import { A as ClassifyChannelInboundEventParams, B as dispatchInboundDirectDm, C as ChannelPartialDeliveryError, D as DEFAULT_CHANNEL_FEEDBACK_REFLECTION_COOLDOWN_MS, E as ChannelFeedbackReflectionResult, F as shouldDebounceTextInbound, G as AgentRunTerminalOutcome, H as DirectDmPreCryptoGuardPolicy, I as buildMentionRegexes, K as readAgentRunTerminalOutcome, L as matchesMentionPatterns, M as resolveUnmentionedGroupInboundPolicy, N as resolveInboundSessionEnvelopeContext, O as recordChannelFeedbackEvent, P as createChannelInboundDebouncer, R as matchesMentionWithExplicit, S as toInboundMediaFactsWithMetadata, T as isChannelPartialDeliveryError, U as DirectDmPreCryptoGuardPolicyOverrides, V as dispatchInboundDirectDmWithRuntime, W as createDirectDmPreCryptoGuardPolicy, _ as buildChannelInboundMediaPayload, a as ChannelInboundTurnPlan, b as toHistoryMediaEntries, c as buildChannelTurnContext, d as filterChannelTurnSupplementalContext, f as runChannelInboundEvent, g as MediaPlaceholderTextFact, h as ChannelInboundMediaPayload, i as ChannelInboundEventRunnerParams, j as classifyChannelInboundEvent, k as runChannelFeedbackReflection, l as dispatchChannelInboundReply, m as ChannelInboundMediaInput, n as BuildChannelTurnContextParams, o as InboundReplyDispatchResult, p as runPreparedInboundReply, r as BuiltChannelTurnContext, s as PreparedInboundReply, t as AssembledInboundReply, u as dispatchChannelInboundTurn, v as formatInboundMediaUnavailableText, w as createChannelPartialDeliveryError, x as toInboundMediaFacts, y as formatMediaPlaceholderText, z as normalizeMentionText } from "../channel-inbound-B6Nb_53l.js";
import { n as hasVisibleChannelTurnDispatch, r as resolveChannelTurnDispatchCounts, t as hasFinalChannelTurnDispatch } from "../dispatch-result-B7vjDk7T.js";
import { n as AccessGroupMembershipResolver } from "../access-groups-DBiUDybe.js";
import { i as resolveInboundDirectDmAccessWithRuntime, n as ResolvedInboundDirectDmAccess, r as createPreCryptoDirectDmAuthorizer, t as DirectDmCommandAuthorizationRuntime } from "../direct-dm-access-D9v6lpNL.js";
import { i as resolveChannelInboundRouteEnvelope, n as createChannelInboundEnvelopeBuilder, t as ChannelInboundEnvelopeInput } from "../envelope-B_VaDITB.js";
import { n as DurableInboundReplyDeliveryParams } from "../durable-delivery-BSJ8sc_q.js";
export { type AccessGroupMembershipResolver, type AgentRunTerminalOutcome, AssembledInboundReply, type BuildChannelInboundEventContextAsyncParams, type BuildChannelInboundEventContextParams, BuildChannelTurnContextParams, type BuildMentionRegexesOptions, type BuiltChannelInboundEventContext, BuiltChannelTurnContext, type ChannelBotLoopProtectionFacts, type ChannelFeedbackReflectionResult, type ChannelTurnDroppedHistoryOptions as ChannelInboundDroppedHistoryOptions, type ChannelTurnDroppedHistoryOptions, type ChannelInboundEnvelopeInput, ChannelInboundEventRunnerParams, type ChannelInboundMediaInput, type ChannelInboundMediaInput as ChannelTurnMediaInput, type ChannelInboundMediaPayload, type ChannelInboundMediaPayload as ChannelTurnMediaPayload, type ChannelInboundSupplementalResolutionOptions, ChannelInboundTurnPlan, type ChannelPartialDeliveryError, type ChannelTurnRecordOptions, type ChannelTurnRecordOptions as InboundReplyRecordOptions, type ClassifyChannelInboundEventParams, type CommandFacts, type CommandTurnContext, DEFAULT_CHANNEL_FEEDBACK_REFLECTION_COOLDOWN_MS, type DirectDmCommandAuthorizationRuntime, type DirectDmPreCryptoGuardPolicy, type DirectDmPreCryptoGuardPolicyOverrides, type DurableInboundReplyDeliveryParams, type EnvelopeFormatOptions, type FinalizeChannelInboundContextAsyncParams, type FinalizeChannelInboundContextParams, type FinalizeChannelInboundContextResult, type InboundEventKind, type InboundEventKind as InboundTurnKind, type InboundImplicitMentionKind, type InboundMediaFacts, type InboundMentionDecision, type InboundMentionFacts, type InboundMentionPolicy, InboundReplyDispatchResult, type LocationSource, type LogFn, type MediaPlaceholderTextFact, type NormalizedLocation, type OutboundLocation, type PluginHookChannelChatContext, type PluginHookChannelContext, type PluginHookChannelSenderContext, PreparedInboundReply, type ResolveInboundMentionDecisionFlatParams, type ResolveInboundMentionDecisionNestedParams, type ResolveInboundMentionDecisionParams, type ResolveMentionPatternPolicyParams, type ResolvedInboundDirectDmAccess, type ResolvedMentionPatternPolicy, type SupplementalContextFacts, 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 };