graph TB
    subgraph "通道插件架构"
        IF[ChannelPlugin 接口]

        subgraph "插件实现"
            TG[Telegram<br/>Bot API]
            SL[Slack<br/>Bolt SDK]
            DC[Discord<br/>discord.js]
            WA[WhatsApp<br/>Baileys]
            SIG[Signal<br/>signal-cli]
            FS[飞书<br/>Open API]
        end

        subgraph "生命周期"
            INIT[initialize<br/>认证 + 连接]
            LISTEN[listen<br/>消息监听]
            ROUTE[route<br/>路由到 Agent]
            DELIVER[deliver<br/>回传响应]
            SHUTDOWN[shutdown<br/>优雅断开]
        end
    end

    IF --> TG & SL & DC & WA & SIG & FS
    TG & SL & DC & WA & SIG & FS --> INIT --> LISTEN --> ROUTE --> DELIVER --> SHUTDOWN