mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-05 17:41:37 +00:00
* refactor: move telegram and imessage schemas to plugins * test: allow bundled schema facade regression coverage * refactor: remove orphaned command config helper
55 lines
1.8 KiB
TypeScript
55 lines
1.8 KiB
TypeScript
/**
|
|
* Shared config-schema primitives for channel plugins with DM/group policy knobs.
|
|
*
|
|
* Canonical config-schema module: internal/bundled code imports this subpath;
|
|
* the primitives/bundled/legacy facades are re-export shells over it.
|
|
*/
|
|
export {
|
|
AllowFromListSchema,
|
|
ChannelGroupEntrySchema,
|
|
buildChannelConfigSchema,
|
|
buildCatchallMultiAccountChannelSchema,
|
|
buildGroupEntrySchema,
|
|
buildJsonChannelConfigSchema,
|
|
buildMultiAccountChannelSchema,
|
|
buildNestedDmConfigSchema,
|
|
} from "../channels/plugins/config-schema.js";
|
|
export {
|
|
BlockStreamingChunkSchema,
|
|
BlockStreamingCoalesceSchema,
|
|
ChannelDeliveryStreamingConfigSchema,
|
|
ChannelStreamingBlockSchema,
|
|
ContextVisibilityModeSchema,
|
|
DmConfigSchema,
|
|
DmPolicySchema,
|
|
ExecutableTokenSchema,
|
|
GroupPolicySchema,
|
|
MarkdownConfigSchema,
|
|
MentionPatternsPolicySchema,
|
|
MSTeamsReplyStyleSchema,
|
|
ProviderCommandsSchema,
|
|
ReplyToModeSchema,
|
|
ReplyRuntimeConfigSchemaShape,
|
|
TextChunkModeSchema,
|
|
TtsConfigSchema,
|
|
requireAllowlistAllowFrom,
|
|
requireOpenAllowFrom,
|
|
} from "../config/zod-schema.core.js";
|
|
export {
|
|
buildChannelAllowBotsSchema,
|
|
buildChannelExecApprovalsSchema,
|
|
buildChannelReactionShape,
|
|
buildCommonChannelAccountShape,
|
|
ChannelBotLoopProtectionSchema,
|
|
ChannelDangerouslyAllowNameMatchingSchema,
|
|
ChannelPreviewStreamingConfigSchema,
|
|
ChannelSendReadReceiptsSchema,
|
|
ChannelStreamingProgressSchema,
|
|
ChannelStreamingPreviewSchema,
|
|
UnifiedStreamingModeSchema,
|
|
} from "../config/zod-schema.channel-messaging-common.js";
|
|
export { ChannelImplicitMentionsSchema } from "../config/zod-schema.implicit-mentions.js";
|
|
export { ToolPolicySchema } from "../config/zod-schema.agent-runtime.js";
|
|
export { isSafeScpRemoteHost } from "../infra/scp-host.js";
|
|
export { isValidInboundPathRootPattern } from "@openclaw/media-core/inbound-path-policy";
|