1"""

2 AgentOS Messaging Channels — Unified multi-channel message gateway.

3

4 支持的渠道:

5 - wechat-mp 微信公众号

6 - wecom 企业微信

7 - feishu 飞书

8 - dingtalk 钉钉

9 - qq QQ (官方机器人)

10

11 架构:

12 ChannelMessage (统一消息模型)

13 ↓

14 BaseChannelAdapter (抽象适配器)

15 ↓

16 WeChatAdapter / WeComAdapter / FeishuAdapter / DingTalkAdapter / QQAdapter

17 ↓

18 ChannelRouter (路由 + 会话管理)

19 ↓

20 Gateway (FastAPI webhook 入口)

21 ↓

22 Agent Engine (Marvis)

23"""

24

25 from agentos.channels.message import (

26 ChannelMessage,

27 ChannelType,

28 MessageType,

29 ConversationContext,

30)

31 from agentos.channels.base import (

32 BaseChannelAdapter,

33 ChannelConfig,

34 ReplyResult,

35)

36 from agentos.channels.router import ChannelRouter

37 from agentos.channels.gateway import (

38 create_app,

39 on_message,

40 get_router,

41 register_adapter,

42)

43

44__all__ = [

45 # message

46 "ChannelMessage", "ChannelType", "MessageType", "ConversationContext",

47 # base

48 "BaseChannelAdapter", "ChannelConfig", "ReplyResult",

49 # router

50 "ChannelRouter",

51 # gateway

52 "create_app", "on_message", "get_router", "register_adapter",

53]