openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
53 lines (52 loc) • 2.59 kB
JavaScript
import { r as buildChannelConfigSchema } from "./config-schema-CO2ikh7C.js";
import { a as MSTeamsConfigSchema } from "./bundled-channel-config-schema-DwZyvOaO.js";
//#endregion
//#region extensions/msteams/src/config-schema.ts
const MSTeamsChannelConfigSchema = buildChannelConfigSchema(MSTeamsConfigSchema, { uiHints: {
"": {
label: "MS Teams",
help: "Microsoft Teams channel provider configuration and provider-specific policy toggles. Use this section to isolate Teams behavior from other enterprise chat providers."
},
configWrites: {
label: "MS Teams Config Writes",
help: "Allow Microsoft Teams to write config in response to channel events/commands (default: true)."
},
cloud: {
label: "MS Teams Cloud",
help: "Teams SDK cloud environment for auth, token validation, and token services: \"Public\", \"USGov\", \"USGovDoD\", or \"China\" (default: Public)."
},
serviceUrl: {
label: "MS Teams Service URL",
help: "Bot Connector service URL for SDK proactive sends/edits/deletes. Set with cloud for USGov/DoD; set alone for GCC."
},
streaming: {
label: "MS Teams Streaming",
help: "Microsoft Teams preview/progress streaming mode: \"off\" | \"partial\" | \"block\" | \"progress\". Personal chats use Teams native streaminfo progress when available."
},
"streaming.progress.label": {
label: "MS Teams Progress Label",
help: "Initial progress title. Use \"auto\" for built-in single-word labels, a custom string, or false to hide the title."
},
"streaming.progress.labels": {
label: "MS Teams Progress Label Pool",
help: "Candidate labels for streaming.progress.label=\"auto\". Leave unset to use OpenClaw built-in progress labels."
},
"streaming.progress.maxLines": {
label: "MS Teams Progress Max Lines",
help: "Maximum number of compact progress lines to keep below the progress title (default: 8)."
},
"streaming.progress.maxLineChars": {
label: "MS Teams Progress Max Line Chars",
help: "Maximum characters per compact progress line before truncation (default: 120). Prose cuts at word boundaries; commands and paths keep useful suffixes."
},
"streaming.progress.toolProgress": {
label: "MS Teams Progress Tool Lines",
help: "Show compact tool/progress lines in progress mode (default: true). Set false to keep only the title until final delivery."
},
"streaming.progress.commandText": {
label: "MS Teams Progress Command Text",
help: "Command/exec detail in progress lines: \"raw\" preserves released behavior; \"status\" shows only the tool label."
}
} });
//#endregion
export { MSTeamsChannelConfigSchema as t };