该提交实现了完整的钉钉聊天渠道插件,包含: 1. 基础配置、账号管理与凭证校验 2. WebSocket长连接网关与消息去重 3. 消息接收/解析/分发与安全校验 4. 媒体文件上传下载与缓存 5. 互动卡片流式更新与回调处理 6. 群管理、命令支持与诊断工具 7. 完整的插件元数据与依赖声明
33 lines
1.0 KiB
JSON
33 lines
1.0 KiB
JSON
{
|
|
"id": "dingtalk",
|
|
"name": "钉钉",
|
|
"version": "1.1.0",
|
|
"label": "DingTalk",
|
|
"aliases": ["ding", "dd"],
|
|
"description": "钉钉渠道插件 — 基于 Stream 模式 WebSocket 长连接,支持单聊/群聊/卡片流式/审批通知/消息撤回/群管理",
|
|
"author": "ForcePilot Team",
|
|
"order": 20,
|
|
"dependencies": ["dingtalk-stream", "httpx", "websockets"],
|
|
"capabilities": {
|
|
"chat_types": ["direct", "group"],
|
|
"message_types": ["text", "image", "file", "audio", "video", "markdown"],
|
|
"reactions": false,
|
|
"typing_indicator": false,
|
|
"threads": false,
|
|
"edit": false,
|
|
"unsend": true,
|
|
"reply": true,
|
|
"media": true,
|
|
"effects": false,
|
|
"native_commands": true,
|
|
"polls": false,
|
|
"group_management": true,
|
|
"streaming": true,
|
|
"streaming_mode": "block",
|
|
"block_streaming": true,
|
|
"adaptive_cards": true
|
|
},
|
|
"enabled": true,
|
|
"python_requires": ">=3.12"
|
|
}
|