|
|
|
|
@ -9,15 +9,13 @@ import {
|
|
|
|
|
formatAllowlistMatchMeta,
|
|
|
|
|
type HistoryEntry,
|
|
|
|
|
} from "openclaw/plugin-sdk";
|
|
|
|
|
import type { StoredConversationReference } from "../conversation-store.js";
|
|
|
|
|
import type { MSTeamsMessageHandlerDeps } from "../monitor-handler.js";
|
|
|
|
|
import type { MSTeamsTurnContext } from "../sdk-types.js";
|
|
|
|
|
import {
|
|
|
|
|
buildMSTeamsAttachmentPlaceholder,
|
|
|
|
|
buildMSTeamsMediaPayload,
|
|
|
|
|
type MSTeamsAttachmentLike,
|
|
|
|
|
summarizeMSTeamsHtmlAttachments,
|
|
|
|
|
} from "../attachments.js";
|
|
|
|
|
import type { StoredConversationReference } from "../conversation-store.js";
|
|
|
|
|
import { formatUnknownError } from "../errors.js";
|
|
|
|
|
import {
|
|
|
|
|
extractMSTeamsConversationMessageId,
|
|
|
|
|
@ -26,6 +24,7 @@ import {
|
|
|
|
|
stripMSTeamsMentionTags,
|
|
|
|
|
wasMSTeamsBotMentioned,
|
|
|
|
|
} from "../inbound.js";
|
|
|
|
|
import type { MSTeamsMessageHandlerDeps } from "../monitor-handler.js";
|
|
|
|
|
import {
|
|
|
|
|
isMSTeamsGroupAllowed,
|
|
|
|
|
resolveMSTeamsAllowlistMatch,
|
|
|
|
|
@ -35,6 +34,7 @@ import {
|
|
|
|
|
import { extractMSTeamsPollVote } from "../polls.js";
|
|
|
|
|
import { createMSTeamsReplyDispatcher } from "../reply-dispatcher.js";
|
|
|
|
|
import { getMSTeamsRuntime } from "../runtime.js";
|
|
|
|
|
import type { MSTeamsTurnContext } from "../sdk-types.js";
|
|
|
|
|
import { recordMSTeamsSentMessage, wasMSTeamsMessageSent } from "../sent-message-cache.js";
|
|
|
|
|
import { resolveMSTeamsInboundMedia } from "./inbound-media.js";
|
|
|
|
|
|
|
|
|
|
|