UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

66 lines (65 loc) • 3.45 kB
import { r as getRuntimeConfig } from "./io.runtime-BsUXSsD4.mjs"; import { i as enqueueRoutedSystemEvent } from "./system-events-BkLDPETr.mjs"; import { n as deliverStructuredInboundReplyWithMessageSendContext } from "./channel-outbound-BaV16y8h.mjs"; import "./security-runtime-Cl_Gnohk.mjs"; import { i as resolvePinnedMainDmOwnerFromAllowlist } from "./dm-policy-shared-BRGB1_No.mjs"; import { n as resolveAmbientTranscriptWatermarkKey } from "./ambient-transcript-watermark-DtWso05i.mjs"; import { c as readAmbientTranscriptWatermark, f as resolveStorePath, i as getSessionEntry, l as readSessionUpdatedAt } from "./session-store-runtime-DSst5RB7.mjs"; import { s as resolveInboundLastRouteSessionKey } from "./resolve-route-DYoHvZlS.mjs"; import { n as loadWebMedia } from "./web-media-DIUZpYeK.mjs"; import "./routing-zU2lJDC5.mjs"; import { t as buildChannelInboundEventContext } from "./context-DnDIGmqm.mjs"; import { t as recordInboundSession } from "./session-zF_Eb3Xq.mjs"; import { n as recordChannelActivity } from "./channel-activity-Bn5LeXyE.mjs"; import { d as upsertChannelPairingRequest, s as readChannelAllowFromStore } from "./pairing-store-PqD57hIh.mjs"; import { n as resolveApprovalOverGateway } from "./approval-gateway-resolver-Y01MspUc.mjs"; import "./approval-gateway-runtime-D3cZJnv_.mjs"; import { t as dispatchReplyWithBufferedBlockDispatcher } from "./reply-dispatch-runtime-QEtjjJiD.mjs"; import { t as createChannelReplyPipeline } from "./reply-pipeline-E0oya2hv.mjs"; import "./channel-inbound-CFVoOzkD.mjs"; import "./web-media-DRtmkS14.mjs"; import "./system-event-runtime-BLL5ovDC.mjs"; import "./runtime-config-snapshot-A-BTduWa.mjs"; import "./conversation-runtime-Bvxldv6D.mjs"; import { t as listSkillCommandsForAgents } from "./chat-commands-DdEu_KDx.mjs"; import { a as buildPreparedModelsProviderData } from "./commands-models-B8IMUCLo.mjs"; import "./models-provider-runtime-DRYFNP46.mjs"; import "./skill-commands-runtime-BrcX8lYz.mjs"; import { J as wasSentByBot, Y as recordOutboundMessageForPromptContext, w as editMessageTelegram } from "./send-wlidaQLJ.mjs"; import { r as syncTelegramMenuCommands } from "./bot-native-command-menu-BeSL3n9F.mjs"; import { a as emitTelegramMessageSentHooks, n as deliverStructuredReplies, t as deliverReplies } from "./delivery-ChTn35Ya.mjs"; import { t as createTelegramDraftStream } from "./draft-stream-Db-NzFOK.mjs"; //#region extensions/telegram/src/bot-deps.ts const defaultTelegramBotDeps = { getRuntimeConfig, resolveStorePath, getSessionEntry, readChannelAllowFromStore, readSessionUpdatedAt, readAmbientTranscriptWatermark, resolveAmbientTranscriptWatermarkKey, recordInboundSession, recordChannelActivity, resolveInboundLastRouteSessionKey, resolvePinnedMainDmOwnerFromAllowlist, buildChannelInboundEventContext, upsertChannelPairingRequest, enqueueRoutedSystemEvent, dispatchReplyWithBufferedBlockDispatcher, loadWebMedia, buildModelsProviderData: buildPreparedModelsProviderData, listSkillCommandsForAgents, syncTelegramMenuCommands, wasSentByBot, resolveApproval: resolveApprovalOverGateway, createTelegramDraftStream, deliverReplies, deliverStructuredReplies, deliverStructuredInboundReplyWithMessageSendContext, emitTelegramMessageSentHooks, editMessageTelegram, recordOutboundMessageForPromptContext, createChannelMessageReplyPipeline: createChannelReplyPipeline }; //#endregion export { defaultTelegramBotDeps as t };