新增京东(JD)渠道扩展,支持在 Yuxi 平台中集成京东客服渠道。 包含以下功能模块: - client: 京东 API 客户端封装 - config: 渠道配置管理 - gateway: SSE/WebSocket 网关接入 - webhook: Webhook 事件处理 - outbound: 外发消息管理 - pairing: 用户配对与绑定 - security: 安全校验 - signature: 请求签名验证 - crypto: 加解密处理 - dedupe: 消息去重 - monitor: 渠道状态监控 - status: 会话状态管理 - session: 会话管理 - business: 业务逻辑处理 - types: 类型定义
28 lines
849 B
JSON
28 lines
849 B
JSON
{
|
|
"id": "jd",
|
|
"name": "京东/咚咚",
|
|
"version": "0.3.0",
|
|
"description": "京东电商平台咚咚 IM 客服渠道,通过咚咚消息推送 Webhook + 京东开放平台 JOS API 实现双向消息收发,支持订单/物流/商品查询",
|
|
"author": "ForcePilot",
|
|
"order": 90,
|
|
"dependencies": ["httpx"],
|
|
"capabilities": {
|
|
"chat_types": ["direct"],
|
|
"message_types": ["text", "image", "link", "product_card"],
|
|
"reactions": false,
|
|
"typing_indicator": false,
|
|
"threads": false,
|
|
"edit": false,
|
|
"unsend": true,
|
|
"reply": false,
|
|
"media": true,
|
|
"effects": false,
|
|
"native_commands": false,
|
|
"polls": false,
|
|
"group_management": false,
|
|
"streaming": false
|
|
},
|
|
"enabled": true,
|
|
"python_requires": ">=3.12"
|
|
}
|