ForcePilot/backend/package/yuxi/channel/plugins/__init__.py
Kris bab30f2715
Some checks failed
Deploy VitePress site to Pages / build (push) Has been cancelled
Ruff Format Check / Ruff Format & Lint (push) Has been cancelled
Deploy VitePress site to Pages / Deploy (push) Has been cancelled
feat:0715
2026-07-15 12:30:58 +08:00

80 lines
1.7 KiB
Python

"""渠道插件基础设施。"""
from yuxi.channel.exceptions import ChannelErrorClassification
from yuxi.channel.plugins.builders import create_channel_plugin_base, define_channel_plugin_entry
from yuxi.channel.plugins.protocol import (
BindingConversationRef,
BindingRoute,
ChannelCapability,
ChannelHealthStatus,
ChannelMeta,
ChannelPlugin,
DeliveryCapabilities,
DeliveryMode,
DmPolicy,
GroupPolicy,
InboundMedia,
InboundMessage,
InboundRequest,
OutboundMessage,
RateLimitPolicy,
SessionConversationRef,
Transport,
TransportState,
TransportType,
)
from yuxi.channel.plugins.registry import ChannelRegistry, get_registry
from yuxi.channel.ports import (
AuthPort,
BindingPort,
ConfigPort,
InboundPort,
LifecyclePort,
MetaPort,
OutboundPort,
SecurityPort,
SessionPort,
StatusPort,
ThreadingPort,
TransportPort,
)
__all__ = [
"AuthPort",
"BindingConversationRef",
"BindingPort",
"BindingRoute",
"ChannelCapability",
"ChannelErrorClassification",
"ChannelHealthStatus",
"ChannelMeta",
"ChannelPlugin",
"ChannelRegistry",
"ConfigPort",
"create_channel_plugin_base",
"define_channel_plugin_entry",
"DeliveryCapabilities",
"DeliveryMode",
"DmPolicy",
"get_registry",
"GroupPolicy",
"InboundMedia",
"InboundMessage",
"InboundPort",
"InboundRequest",
"LifecyclePort",
"MetaPort",
"OutboundMessage",
"OutboundPort",
"RateLimitPolicy",
"SecurityPort",
"SessionConversationRef",
"SessionPort",
"StatusPort",
"ThreadingPort",
"Transport",
"TransportPort",
"TransportState",
"TransportType",
]