refactor(msteams): narrow channel runtime imports

This commit is contained in:
Vincent Koc
2026-04-04 12:08:05 +09:00
parent a23ab9b906
commit c4bae0f7bf
2 changed files with 14 additions and 3 deletions

View File

@@ -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";

View File

@@ -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";