Files
openclaw/extensions/msteams/runtime-api.ts
Peter Steinberger 1507a9701b refactor: centralize inbound supplemental context
* refactor: centralize inbound supplemental context

* refactor: trim supplemental finalizer typing

* docs: clarify supplemental context projection

* refactor: move inbound finalization into core

* refactor: simplify channel inbound facts

* refactor: fold supplemental media into inbound finalizer

* refactor: migrate channel inbound callers to builder

* docs: mark inbound finalizer compat types deprecated

* refactor: wire runtime turn context builder

* refactor: replace channel turn runtime API

* fix: respect discord quote visibility

* fix: avoid deprecated line dispatch helper

* refactor: deprecate channel message SDK seams

* docs: trim channel outbound SDK page

* test: migrate irc inbound assertion

* refactor: deprecate outbound SDK facades

* refactor: deprecate channel helper SDK facades

* refactor: deprecate channel streaming SDK facade

* refactor: move direct dm helpers into inbound SDK

* chore: mark legacy test-utils SDK alias deprecated

* refactor: remove unused allow-from read helper

* refactor: route remaining channel dispatch through core

* refactor: enforce modern extension SDK imports

* test: give slow image root tests more time

* ci: support node fallback on windows

* fix: add transcripts tool display metadata

* refactor: trim legacy channel test seams

* fix: preserve channel compat after rebase

* fix: keep deprecated channel inbound aliases

* fix: preserve discord thread context visibility

* fix: clean final rebase conflicts

* fix: preserve channel message dispatch aliases

* fix: sync channel refactor after rebase

* fix: sync channel refactor after latest main

* fix: dedupe memory-core subagent mock

* test: align clickclack inbound dispatch assertions

* fix: sync plugin sdk api hash after rebase

* fix: sync channel refactor after latest main

* fix: sync plugin sdk api hash after rebase

* fix: sync plugin sdk api hash after latest main

* test: remove stale inbound context awaits
2026-05-27 09:26:06 +01:00

67 lines
2.9 KiB
TypeScript

// Private runtime barrel for the bundled Microsoft Teams extension.
// Keep this barrel thin and aligned with the local extension surface.
export { DEFAULT_ACCOUNT_ID } from "openclaw/plugin-sdk/account-id";
export type { AllowlistMatch } from "openclaw/plugin-sdk/allow-from";
export {
mergeAllowlist,
resolveAllowlistMatchSimple,
summarizeMapping,
} from "openclaw/plugin-sdk/allow-from";
export type {
BaseProbeResult,
ChannelDirectoryEntry,
ChannelGroupContext,
ChannelMessageActionName,
ChannelOutboundAdapter,
} from "openclaw/plugin-sdk/channel-contract";
export type { ChannelPlugin } from "openclaw/plugin-sdk/channel-core";
export { logTypingFailure } from "openclaw/plugin-sdk/channel-outbound";
export { createChannelPairingController } from "openclaw/plugin-sdk/channel-pairing";
export { resolveToolsBySender } from "openclaw/plugin-sdk/channel-policy";
export { createChannelMessageReplyPipeline } from "openclaw/plugin-sdk/channel-outbound";
export {
PAIRING_APPROVED_MESSAGE,
buildProbeChannelStatusSummary,
createDefaultChannelRuntimeState,
} from "openclaw/plugin-sdk/channel-status";
export {
buildChannelKeyCandidates,
normalizeChannelSlug,
resolveChannelEntryMatchWithFallback,
resolveNestedAllowlistDecision,
} from "openclaw/plugin-sdk/channel-targets";
export type {
GroupPolicy,
GroupToolPolicyConfig,
MSTeamsChannelConfig,
MSTeamsConfig,
MSTeamsReplyStyle,
MSTeamsTeamConfig,
MarkdownTableMode,
OpenClawConfig,
} from "openclaw/plugin-sdk/config-contracts";
export { isDangerousNameMatchingEnabled } from "openclaw/plugin-sdk/dangerous-name-runtime";
export { resolveDefaultGroupPolicy } from "openclaw/plugin-sdk/runtime-group-policy";
export { withFileLock } from "openclaw/plugin-sdk/file-lock";
export { keepHttpServerTaskAlive } from "openclaw/plugin-sdk/channel-outbound";
export {
detectMime,
extensionForMime,
extractOriginalFilename,
getFileExtension,
resolveChannelMediaMaxBytes,
} from "openclaw/plugin-sdk/media-runtime";
export { dispatchReplyFromConfigWithSettledDispatcher } from "openclaw/plugin-sdk/channel-inbound";
export { loadOutboundMediaFromUrl } from "openclaw/plugin-sdk/outbound-media";
export { buildMediaPayload } from "openclaw/plugin-sdk/reply-payload";
export type { ReplyPayload } from "openclaw/plugin-sdk/reply-payload";
export type { PluginRuntime } from "openclaw/plugin-sdk/runtime-store";
export type { RuntimeEnv } from "openclaw/plugin-sdk/runtime";
export type { SsrFPolicy } from "openclaw/plugin-sdk/ssrf-runtime";
export { fetchWithSsrFGuard } from "openclaw/plugin-sdk/ssrf-runtime";
export { normalizeStringEntries } from "openclaw/plugin-sdk/string-normalization-runtime";
export { chunkTextForOutbound } from "openclaw/plugin-sdk/text-chunking";
export { DEFAULT_WEBHOOK_MAX_BODY_BYTES } from "openclaw/plugin-sdk/webhook-ingress";
export { setMSTeamsRuntime } from "./src/runtime.js";