新增 Twitter 和 Viber 两个渠道扩展。 Twitter 渠道扩展功能模块: - auth: OAuth 认证管理 - config: 渠道配置管理 - gateway: SSE/WebSocket 网关接入 - webhook: Webhook 事件处理 - outbound: 外发消息管理 - streaming: 流式消息处理 - pairing: 用户配对与绑定 - security: 安全校验 - dedupe: 消息去重 - monitor: 渠道状态监控 - status: 会话状态管理 - session: 会话管理 - tweets: 推文管理 - social: 社交互动 - reactions: 表情反应 - media: 媒体资源处理 Viber 渠道扩展功能模块: - config: 渠道配置管理 - gateway: SSE/WebSocket 网关接入 - webhook: Webhook 事件处理 - outbound: 外发消息管理 - streaming: 流式消息处理 - pairing: 用户配对与绑定 - security: 安全校验 - dedupe: 消息去重 - monitor: 渠道状态监控 - status: 会话状态管理 - rate_limiter: 速率限制 - media: 媒体资源处理
40 lines
1.2 KiB
JSON
40 lines
1.2 KiB
JSON
{
|
||
"id": "twitter",
|
||
"name": "X (Twitter)",
|
||
"version": "1.0.0",
|
||
"label": "X (Twitter)",
|
||
"aliases": ["x", "twitter-dm"],
|
||
"description": "X (Twitter) DM 渠道插件,支持 DM 文本/图片/视频/反应,Polling + Webhook 双模式",
|
||
"author": "ForcePilot",
|
||
"order": 45,
|
||
"dependencies": ["tweepy", "requests-oauthlib", "httpx"],
|
||
"enabled": true,
|
||
"capabilities": {
|
||
"chat_types": ["direct", "group"],
|
||
"message_types": ["text", "image", "video"],
|
||
"interactions": ["like", "retweet", "follow", "bookmark", "quote"],
|
||
"reactions": true,
|
||
"typing_indicator": false,
|
||
"threads": false,
|
||
"edit": false,
|
||
"unsend": false,
|
||
"reply": true,
|
||
"media": true,
|
||
"native_commands": false,
|
||
"polls": false,
|
||
"pins": false,
|
||
"group_management": false,
|
||
"adaptive_cards": false,
|
||
"streaming": true,
|
||
"streaming_mode": "block",
|
||
"block_streaming": true,
|
||
"block_streaming_chunk_min_chars": 800,
|
||
"block_streaming_chunk_max_chars": 4000,
|
||
"block_streaming_chunk_break_preference": "paragraph",
|
||
"block_streaming_coalesce_min_chars": 400,
|
||
"block_streaming_coalesce_max_chars": 2000,
|
||
"polling_fallback": true,
|
||
"sse_support": false
|
||
},
|
||
"python_requires": ">=3.12"
|
||
} |