新增 Facebook Messenger 渠道扩展,支持在 Yuxi 平台中集成 Messenger 即时通讯渠道。 包含以下功能模块: - config: 渠道配置管理 - gateway: SSE/WebSocket 网关接入 - webhook: Webhook 事件处理 - outbound: 外发消息管理 - streaming: 流式消息处理 - pairing: 用户配对与绑定 - security: 安全校验 - dedupe: 消息去重 - monitor: 渠道状态监控 - status: 会话状态管理 - actions: 动作处理 - template: 消息模板 - quick_reply: 快捷回复 - private_reply: 私密回复 - handover: 转人工切换 - persona: 人设管理 - profile: 主页配置 - user: 用户信息 - insights: 数据洞察 - notification: 通知推送 - media: 媒体资源处理 - types: 类型定义
38 lines
1.1 KiB
JSON
38 lines
1.1 KiB
JSON
{
|
|
"id": "messenger",
|
|
"name": "Facebook Messenger",
|
|
"version": "0.1.0",
|
|
"label": "Messenger",
|
|
"aliases": ["facebook-messenger", "fb-messenger"],
|
|
"description": "Facebook Messenger 渠道插件 — Webhook 接收、文本/媒体/模板发送、流式 block、配对验证",
|
|
"author": "ForcePilot Team",
|
|
"order": 120,
|
|
"dependencies": ["httpx"],
|
|
"capabilities": {
|
|
"chat_types": ["direct"],
|
|
"message_types": ["text", "image", "voice", "file", "video"],
|
|
"reactions": false,
|
|
"typing_indicator": true,
|
|
"threads": false,
|
|
"edit": false,
|
|
"unsend": false,
|
|
"reply": true,
|
|
"media": true,
|
|
"native_commands": false,
|
|
"polls": false,
|
|
"pins": false,
|
|
"group_management": false,
|
|
"streaming": true,
|
|
"streaming_mode": "block",
|
|
"block_streaming": true,
|
|
"block_streaming_chunk_min_chars": 80,
|
|
"block_streaming_chunk_max_chars": 2000,
|
|
"block_streaming_chunk_break_preference": "paragraph",
|
|
"block_streaming_coalesce_idle_ms": 500,
|
|
"templates": true,
|
|
"handover": false,
|
|
"personas": false
|
|
},
|
|
"enabled": true,
|
|
"python_requires": ">=3.12"
|
|
} |