新增 Matrix 渠道扩展,支持在 Yuxi 平台中集成 Matrix 去中心化通讯协议。 包含以下功能模块: - config: 渠道配置管理 - gateway: SSE/WebSocket 网关接入 - outbound: 外发消息管理 - streaming: 流式消息处理 - pairing: 用户配对与绑定 - security: 安全校验 - crypto: 端到端加密 - dedupe: 消息去重 - monitor: 渠道状态监控 - status: 会话状态管理 - session: 会话管理 - room_resolver: 房间解析 - dm_tracker: 私聊追踪 - rate_limiter: 速率限制 - actions: 动作处理 - constants: 常量定义 - utils: 工具函数 - types: 类型定义
30 lines
867 B
JSON
30 lines
867 B
JSON
{
|
|
"id": "matrix",
|
|
"name": "Matrix",
|
|
"version": "0.1.0",
|
|
"label": "Matrix (联邦协议)",
|
|
"aliases": ["element", "synapse"],
|
|
"description": "Matrix 联邦协议渠道插件 - 基于 matrix-nio 的 Matrix 客户端",
|
|
"author": "ForcePilot Team",
|
|
"order": 70,
|
|
"dependencies": ["matrix-nio", "python-olm", "peewee"],
|
|
"enabled": true,
|
|
"python_requires": ">=3.12",
|
|
"capabilities": {
|
|
"chat_types": ["direct", "group", "thread"],
|
|
"message_types": ["text", "image", "file", "audio", "video", "location", "voice", "sticker"],
|
|
"reactions": true,
|
|
"edit": true,
|
|
"unsend": true,
|
|
"reply": true,
|
|
"media": true,
|
|
"polls": true,
|
|
"threads": true,
|
|
"native_commands": true,
|
|
"streaming": true,
|
|
"streaming_mode": "partial",
|
|
"block_streaming": false,
|
|
"group_management": true,
|
|
"typing_indicator": true
|
|
}
|
|
} |