openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
67 lines (66 loc) • 3.55 kB
JavaScript
import { c as resolveSessionStorePathCore } from "./paths-Bonddxfk.mjs";
import { r as getRuntimeConfig } from "./io.runtime-B134MOMz.mjs";
import { i as enqueueRoutedSystemEvent } from "./system-events-BUAe9tUk.mjs";
import { n as deliverStructuredInboundReplyWithMessageSendContext } from "./channel-outbound-2iQdEUqa.mjs";
import "./security-runtime-DBKL3aSe.mjs";
import { i as resolvePinnedMainDmOwnerFromAllowlist } from "./dm-policy-shared-BAoCKf0l.mjs";
import { n as resolveAmbientTranscriptWatermarkKey } from "./ambient-transcript-watermark-DJGydsET.mjs";
import { c as readAmbientTranscriptWatermark, i as getSessionEntry, u as readSessionUpdatedAtAsync } from "./session-store-runtime-B8fW3ciZ.mjs";
import { s as resolveInboundLastRouteSessionKey } from "./resolve-route-DeZAxBYa.mjs";
import { n as loadWebMedia } from "./web-media-BoSxnw3q.mjs";
import "./routing-DvCc0aVb.mjs";
import { t as buildChannelInboundEventContext } from "./context-CNczOQBo.mjs";
import { t as recordInboundSession } from "./session-8xLvR_7s.mjs";
import { n as recordChannelActivity } from "./channel-activity-Bn5LeXyE.mjs";
import { t as readChannelAllowFromStore } from "./pairing-store.read-B4WF5dGA.mjs";
import { c as upsertChannelPairingRequest } from "./pairing-store-CwzvtRQg.mjs";
import { n as resolveApprovalOverGateway } from "./approval-gateway-resolver-BTcYFiBq.mjs";
import "./approval-gateway-runtime-MNW5Bg-e.mjs";
import { t as dispatchReplyWithBufferedBlockDispatcher } from "./reply-dispatch-runtime-BV9g0pHK.mjs";
import { t as createChannelReplyPipeline } from "./reply-pipeline-Tm9TGN8z.mjs";
import "./channel-inbound-BOhgTVYr.mjs";
import "./web-media-D1Dv73pC.mjs";
import "./system-event-runtime-Dm72IptL.mjs";
import "./runtime-config-snapshot--IkldAgP.mjs";
import "./conversation-runtime-BFzsGEgq.mjs";
import { t as listSkillCommandsForAgents } from "./chat-commands-pcwvQC7g.mjs";
import { a as buildPreparedModelsProviderData } from "./commands-models-BYrP0p9u.mjs";
import "./models-provider-runtime-DiaDyOX4.mjs";
import "./skill-commands-runtime-D4-gwyNj.mjs";
import { X as recordOutboundMessageForPromptContext, Y as wasSentByBot, w as editMessageTelegram } from "./send-CpiI0BKu.mjs";
import { r as syncTelegramMenuCommands } from "./bot-native-command-menu-cNbY_hGs.mjs";
import { a as emitTelegramMessageSentHooks, n as deliverStructuredReplies, t as deliverReplies } from "./delivery-B2vxfnEv.mjs";
import { t as createTelegramDraftStream } from "./draft-stream-5lSfr0xA.mjs";
const defaultTelegramBotDeps = {
getRuntimeConfig,
resolveStorePath: resolveSessionStorePathCore,
getSessionEntry,
readChannelAllowFromStore,
readSessionUpdatedAtAsync,
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 };