Files
openclaw/src/plugin-sdk/channel-config-schema.ts
T
Vincent Koc b7c8c53af2 docs(plugins): define config ownership contract
* fix(plugins): flag channel config metadata gaps

* docs(plugins): clarify config ownership
2026-04-24 17:17:10 -07:00

32 lines
1.1 KiB
TypeScript

/** Shared config-schema primitives for channel plugins with DM/group policy knobs. */
export {
AllowFromListSchema,
buildChannelConfigSchema,
buildCatchallMultiAccountChannelSchema,
buildNestedDmConfigSchema,
} from "../channels/plugins/config-schema.js";
export {
BlockStreamingCoalesceSchema,
ContextVisibilityModeSchema,
DmConfigSchema,
DmPolicySchema,
GroupPolicySchema,
MarkdownConfigSchema,
ReplyRuntimeConfigSchemaShape,
requireOpenAllowFrom,
} from "../config/zod-schema.core.js";
export { ToolPolicySchema } from "../config/zod-schema.agent-runtime.js";
// Legacy bundled channel schema exports. New channel plugins should define
// plugin-local schemas and expose JSON Schema through openclaw.plugin.json
// channelConfigs or a lightweight plugin-owned config artifact.
export {
DiscordConfigSchema,
GoogleChatConfigSchema,
IMessageConfigSchema,
MSTeamsConfigSchema,
SignalConfigSchema,
SlackConfigSchema,
TelegramConfigSchema,
} from "../config/zod-schema.providers-core.js";
export { WhatsAppConfigSchema } from "../config/zod-schema.providers-whatsapp.js";