ForcePilot/backend/package/yuxi/channel/__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

95 lines
2.2 KiB
Python

"""多渠道网关公共 API。"""
from yuxi.channel.bootstrap import ChannelGatewayBootstrap
from yuxi.channel.exceptions import (
ChannelConfigurationError,
ChannelError,
ChannelErrorClassification,
ChannelNotLoggedInError,
ChannelNotSupportedError,
ChannelPermanentError,
ChannelRateLimitedError,
ChannelRetryableError,
ChannelTransportReconnectRequested,
ChannelValidationError,
)
from yuxi.channel.message import ChannelGateway, InboundMessage, MessageDeduper, RunAcceptedResponse
from yuxi.channel.outbound import OutboundDispatcher
from yuxi.channel.plugins import (
BindingRoute,
ChannelCapability,
ChannelHealthStatus,
ChannelMeta,
ChannelPlugin,
ChannelRegistry,
DeliveryMode,
InboundRequest,
MetaPort,
OutboundMessage,
TransportType,
create_channel_plugin_base,
define_channel_plugin_entry,
get_registry,
)
from yuxi.channel.ports import (
AuthPort,
BindingPort,
ConfigPort,
InboundPort,
LifecyclePort,
OutboundPort,
SecurityPort,
SessionPort,
StatusPort,
ThreadingPort,
TransportPort,
)
from yuxi.channel.routing import BindingRouter
from yuxi.channel.session import SessionManager
__all__ = [
"AuthPort",
"BindingPort",
"BindingRoute",
"BindingRouter",
"ChannelConfigurationError",
"ChannelCapability",
"ChannelError",
"ChannelErrorClassification",
"ChannelGateway",
"ChannelGatewayBootstrap",
"ChannelHealthStatus",
"ChannelMeta",
"ChannelNotLoggedInError",
"ChannelNotSupportedError",
"ChannelPermanentError",
"ChannelPlugin",
"ChannelRateLimitedError",
"ChannelRegistry",
"ChannelRetryableError",
"ChannelTransportReconnectRequested",
"ChannelValidationError",
"ConfigPort",
"DeliveryMode",
"InboundMessage",
"InboundPort",
"InboundRequest",
"LifecyclePort",
"MessageDeduper",
"MetaPort",
"OutboundDispatcher",
"OutboundMessage",
"OutboundPort",
"RunAcceptedResponse",
"SecurityPort",
"SessionManager",
"SessionPort",
"StatusPort",
"ThreadingPort",
"TransportPort",
"TransportType",
"create_channel_plugin_base",
"define_channel_plugin_entry",
"get_registry",
]