Feishu Smart Connector
Connect dsh agent to the aggregation gateway plug-in of 20+ chat platforms such as WeChat and Feishu.
Project overview
打开 dsh Web GUI(默认 http://localhost:3080)→ 设置 ⚙️ → 「🐋 IM 网关」: 微信 / WhatsApp:点「连接(扫码)」→ 页面直接弹出二维码,手机扫码确认即连 ✅ 飞书 / Telegram / QQ 机器人 / Discord / Slack …:点「填写凭据」→ 按提示粘贴 token → 「保存并连接」✅ WebChat 网页:点「一键开启」→ 浏览器打开给出的地址,直接和 agent 对话 ✅
连接后无需重启,状态实时显示(等待扫码 / 已连接 / 异常)。重启 dsh 后所有已配置渠道自动重连(微信登录态已持久化,无需重复扫码)。 🔧 断开 vs 删除配置:已连接渠道卡片上有两个按钮——「断开」只是临时停用(重启自动恢复);「删除配置」会移除凭据(重启不再连接,需重新配置)。 💡 手动配置方式(可选):在 /.dsh/profiles/web/cordis.patch.yml 写配置,凭据也可用环境变量,见下文「Configuration」。 3. 开始使用
agent 回复实时回推;需要批准时在聊天里回「批准 / 拒绝」;agent 还可以用 imsendfile 把文件(截图/报告)直接发到聊天。 💬 IM Commands 命令 · 说明 命令: /help · 说明: 帮助 命令: /status · 说明: 当前会话 / 待批准数 命令: /new · /clear · 说明: 开启全新会话(per-chat 模式) 命令: /bind · 说明: 绑定已有 DSH 会话(bound 模式) 命令: /unbind · 说明: 解绑 命令: /channels · 说明: 各渠道连接状态 命令: 批准 / 拒绝 · 说明: 应答待批准请求(也支持 yes / no / 同意) 命令: 普通文本 · 说明: 发给 agent;结尾 .. 表示还有后续,!! 立即提交 ⚙️ Configuration