新增 QQ Bot 渠道扩展,支持在 Yuxi 平台中集成 QQ 机器人渠道。 包含以下功能模块: - api_client: QQ API 客户端封装 - api_routes: API 路由管理 - config: 渠道配置管理 - gateway: SSE/WebSocket 网关接入 - websocket: WebSocket 实时连接 - credentials: 凭证管理 - token: Token 管理 - outbound: 外发消息管理 - outbound_media: 媒体外发 - streaming: 流式消息处理 - streaming_media: 媒体流处理 - pairing: 用户配对与绑定 - security: 安全校验 - dedupe: 消息去重 - monitor: 渠道状态监控 - status: 会话状态管理 - session: 会话管理 - pipeline: 消息管道 - pipeline_stages: 管道阶段 - commands: 指令处理 - commands_builtin: 内置指令 - interaction: 交互处理 - approval: 审批流程 - ark: ARK 消息 - audio: 音频处理 - media: 媒体资源 - media_chunked: 分块媒体 - media_tags: 媒体标签 - message_queue: 消息队列 - delivery: 消息送达确认 - reconnect: 重连机制 - typing_keepalive: 输入状态保活 - group_activation: 群激活 - group_gating: 群门控 - group_history: 群历史 - known_users: 已知用户 - ref_index: 引用索引 - tools: Agent 工具集成 - types: 类型定义
32 lines
1.1 KiB
JSON
32 lines
1.1 KiB
JSON
{
|
||
"id": "qqbot",
|
||
"name": "QQBot",
|
||
"version": "0.2.0",
|
||
"description": "QQ 官方 Bot (QQBot) 渠道插件,基于 WebSocket Gateway 连接,支持 C2C 私聊、群组、频道消息,内置流式消息、Markdown、ARK 消息、斜杠命令",
|
||
"author": "ForcePilot Team",
|
||
"order": 50,
|
||
"dependencies": ["httpx>=0.27.0", "websockets>=12.0"],
|
||
"capabilities": {
|
||
"chat_types": ["direct", "group"],
|
||
"message_types": ["text", "image", "voice", "video", "file"],
|
||
"interactions": ["button", "command"],
|
||
"typing_indicator": true,
|
||
"threads": false,
|
||
"edit": false,
|
||
"unsend": true,
|
||
"reply": true,
|
||
"media": true,
|
||
"native_commands": true,
|
||
"streaming": true,
|
||
"streaming_mode": "c2c_stream_api",
|
||
"block_streaming": true,
|
||
"block_streaming_break": "paragraph",
|
||
"block_streaming_chunk_min_chars": 800,
|
||
"block_streaming_chunk_max_chars": 5000,
|
||
"block_streaming_coalesce_min_chars": 400,
|
||
"block_streaming_coalesce_max_chars": 800
|
||
},
|
||
"enabled": true,
|
||
"python_requires": ">=3.12"
|
||
}
|