michaelcode-wang/dsh-wecom
michaelcode-wang★ 0JavaScript最后同步: 2026-08-16
WeCom (Enterprise WeChat) Smart Robot bridge for DeepSeek Harness — two-way chat over the aibot WebSocket gateway, no public endpoint needed.
README 摘要
dsh-wecom 企业微信(WeCom)智能机器人桥接插件:通过 aibot WebSocket 网关,让 DeepSeek Harness 的智能体变成能在企业微信里双向对话的助手。 无需公网地址、无需自建应用回调 ,只需智能机器人的 bot id + secret 。 协议移植自 Hermes Agent 的 plugins/platforms/wecom/adapter.py ( aibot subscribe 认证 → aibot msg callback 收消息 → aibot respond msg / aibot send msg 回复)。 特性 - 企业微信智能机器人 WebSocket 长连接( wss://openws.work.weixin.qq.com ),断线自动退避重连 - 每个聊天一个独立 agent 会话,多轮上下文保留,空闲自动回收 - 白名单访问控制( allowedUserIds ) - markdown 回复 + 超长消息自动分片(默认 4000 字符) - 聊天命令: /help 、 /reset 、 /status 安装 前置条件 1. 企业微信智能机器人 :在企业微信后台创建一个「智能机器人」,拿到 bot id 和 secret 。 2. im profile 需要 preset roster :独立 im profile( dsh-base + 本插件)没有 web 层,而 preset roster( agent-presets )默认由 dsh-web-app 提供。若要让 agent 挂载某个 preset,需在 im profile 的 cordis.patch.yml 里手动插入 roster(见下方完整示例)。 配置 在 $DSH HOME/profiles/im/cordis.patch.yml 中: 启动: dsh --profile im (建议配 launchd / systemd 常驻)。 配置项 键 默认 说明 enabled true 总开关 botId '' 企业微信智能机器人 ID secret '' 企业微信智能机器人密钥(只写) websocketUrl wss://openws.work.weixin.qq.com WebSocket 网关地址 allowedUserIds [] 允许对话的 userid 白名单;留空=所有人 agent.preset taibai 挂载的 agent preset agent.cwd '' agent 工作目录(默认进程 cwd) agent.provider / agent.model '' 模型覆盖;留空=部署默认 agent.maxMessageLength 4000 单条外发消息最大字符数 agent.idleTimeoutMs…
在 GitHub 查看完整 README →分类
🎨 Best DeepSeek Harness Design Plugin. The open-source Claude Design alternative. 🖥️ Local-first desktop app. 🖼️ Your coding agent becomes the design engine: prototypes, landing pages, dashboards, slides, images & video — real files, HTML/PDF/PPTX/MP4 export. 🤖 Claude Code / Codex / Cursor / DeepSeek Harness / OpenCode & 20+ CLIs via BYOK.
★ 87,271
volcengine/OpenVikingSelf-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
★ 28,588
titanwings/colleague-skill将冰冷的离别化为温暖的 Skill,欢迎加入数字生命1.0!Transforming cold farewells into warm skills? It's giving rebirth era. Welcome to Digital Life 1.0. 🫶
★ 22,692