ForcePilot/backend/package/yuxi/channels/infrastructure/__init__.py
Kris b88c0ae29e feat(channels): 批量新增多渠道网关限界上下文基础代码与契约
新增完整的 channels 限界上下文模块,包含契约层、领域核心层、应用服务、管道编排、插件体系、基础设施组合根等全层级代码,新增飞书与微信 iLink 渠道插件基础结构,补充各类 DTO、端口协议与领域服务实现。
2026-07-02 03:22:12 +08:00

37 lines
1.1 KiB
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

"""组合根顶层目录。
本包是渠道网关的组合根composition root承载启动编排、关停编排、
DI 容器、工厂与请求级用例装配,对齐 external_systems 项目惯例。
对外导出宿主启动/关停编排器、依赖注入容器、工厂函数与渠道用例聚合,
供应用启动lifespan与路由层装配请求级用例使用。
"""
from __future__ import annotations
from yuxi.channels.infrastructure.channel_use_cases import (
ChannelUseCases,
create_channel_use_cases,
)
from yuxi.channels.infrastructure.dependency_injection import (
DependencyInjectionContainer,
)
from yuxi.channels.infrastructure.factory import (
create_host_bootstrap,
create_host_shutdown,
load_channel_plugins,
)
from yuxi.channels.infrastructure.host_bootstrap import HostBootstrap
from yuxi.channels.infrastructure.host_shutdown import HostShutdown
__all__ = [
"ChannelUseCases",
"DependencyInjectionContainer",
"HostBootstrap",
"HostShutdown",
"create_channel_use_cases",
"create_host_bootstrap",
"create_host_shutdown",
"load_channel_plugins",
]