a792883583/dsh-message-gateway0

dsh-message-gateway

Universal message-platform gateway for the DSH web GUI: configure QQ / WeChat / WeCom / WeCom AI bot / Discord / Telegram / WhatsApp / Email / Webhooks connectors, save credentials, test connections, and run a persistent WeCom AI bot bridge with per-chat sessions and auto context compression, same as the web conversation.

包名
dsh-message-gateway
版本
0.1.0
许可证
MIT
最近更新
2026年8月19日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:a792883583/dsh-message-gateway

使用

  1. 打开 DSH Web(dsh web),点击侧边栏「消息平台」按钮
  2. 左侧选择平台,右侧填写凭据
  3. 点击「保存」:凭据落盘并立即自动触发一次连接测试,状态即时刷新
  4. 点击「测试连接」:用当前表单值只测不存
  5. 企微智能机器人保存 botId + secret 后立即建立常驻连接;删除配置即断开

从 npm 安装(通用插件,任何 DSH 用户可直接使用)

dsh plugin --profile web add dsh-message-gateway

配置

插件可通过 dsh plugin config 或 profile 配置文件调整(所有项均有默认值,开箱即用):

配置类型默认说明
botLocalezh | enzh机器人回复文案语言
maxChatAgentsnumber40每机器人最多保留的聊天会话数,超出自动淘汰最旧
botModel{provider, model}可选:机器人专用模型(优先于部署默认模型;不填则与 Web 对话一致)
autoStartWecombooleantrue启动时自动用已保存的企业微信智能机器人凭据连接
groupReplybooleantrue是否回复群聊消息(false 时只处理单聊)