diff --git a/extensions/msteams/src/channel-api.ts b/extensions/msteams/src/channel-api.ts new file mode 100644 index 00000000000..85c599f22fb --- /dev/null +++ b/extensions/msteams/src/channel-api.ts @@ -0,0 +1,9 @@ +export type { ChannelMessageActionName } from "openclaw/plugin-sdk/channel-contract"; +export { PAIRING_APPROVED_MESSAGE } from "openclaw/plugin-sdk/channel-status"; +export type { ChannelPlugin, OpenClawConfig } from "openclaw/plugin-sdk/core"; +export { DEFAULT_ACCOUNT_ID } from "openclaw/plugin-sdk/core"; +export { + buildProbeChannelStatusSummary, + createDefaultChannelRuntimeState, +} from "openclaw/plugin-sdk/status-helpers"; +export { chunkTextForOutbound } from "openclaw/plugin-sdk/text-chunking"; diff --git a/extensions/msteams/src/channel.ts b/extensions/msteams/src/channel.ts index b2bb7e7ed2d..8e42fd309ec 100644 --- a/extensions/msteams/src/channel.ts +++ b/extensions/msteams/src/channel.ts @@ -20,15 +20,17 @@ import { import { createLazyRuntimeNamedExport } from "openclaw/plugin-sdk/lazy-runtime"; import { createRuntimeOutboundDelegates } from "openclaw/plugin-sdk/outbound-runtime"; import { createComputedAccountStatusAdapter } from "openclaw/plugin-sdk/status-helpers"; -import type { ChannelMessageActionName, ChannelPlugin, OpenClawConfig } from "../runtime-api.js"; +import { msTeamsApprovalAuth } from "./approval-auth.js"; import { buildProbeChannelStatusSummary, chunkTextForOutbound, createDefaultChannelRuntimeState, DEFAULT_ACCOUNT_ID, PAIRING_APPROVED_MESSAGE, -} from "../runtime-api.js"; -import { msTeamsApprovalAuth } from "./approval-auth.js"; + type ChannelMessageActionName, + type ChannelPlugin, + type OpenClawConfig, +} from "./channel-api.js"; import { MSTeamsChannelConfigSchema } from "./config-schema.js"; import { collectMSTeamsMutableAllowlistWarnings } from "./doctor.js"; import { formatUnknownError } from "./errors.js";