GuZhengSVT/dsh-WeCom-notify ↗★ 0
dsh-wecom-notify
DeepSeek Harness (dsh) plugin: event-driven WeChat Work (企业微信) group-robot notifications via the official webhook. Auto-notifies you when dsh finishes (or blocks on) a goal, and exposes a wechat_notify tool for the agent to report progress.
安装
此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗
说明文档
阅读完整 README ↗dsh-WeCom-notify
A [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) (dsh) plugin that pushes WeChat Work (企业微信) group-robot notifications to your phone — automatically.
[](https://github.com/GuZhengSVT/dsh-WeCom-notify/blob/d32198bea75f20b7c4756698276cd2f7107be445/LICENSE)
这是什么?
dsh-WeCom-notify 是 DeepSeek Harness(dsh)的一个插件:
通过企业微信官方群机器人 webhook,在 dsh 的关键节点自动把通知推到你的手机。
- 任务完成 / 阻塞:goal 生命周期变化时自动推送(
✅ dsh 任务完成/⛔ dsh 任务阻塞); - 每轮对话完成:自动推送该轮 agent 回复总结;
- agent 主动汇报:同时保留
wechat_notify工具,供 agent 主动发进度。
全程无需 agent 记得调用工具——事件由 dsh 内部状态机触发,无法被 prompt injection 伪造。
✨ 特性
- 官方通道,零封号风险:走企业微信官方 webhook(
qyapi.weixin.qq.com),免费个人注册即可用,无第三方中转; - 事件驱动:订阅
session/event(每轮总结)与goal/changed(完成/阻塞)自动推送,不依赖 LLM 自觉; - 异步非阻塞:
fetch异步发送(不是execFileSync同步阻塞事件循环); - 健壮调度:串行队列、节流(默认 10s 间隔)、内容去重(默认 30s 窗口)、指数退避重试、10s 超时;
- 中文可靠:UTF-8 按码点截断(不截断 emoji 代理对),markdown 转义防格式破坏;
- 零隐私硬编码:配置全部来自环境变量,仓库不含任何本机路径与密钥;
- @ 提醒:支持
WECHAT_MENTION_USERID在通知时 @ 指定成员; - 降级不报错:未配置 key 时插件正常加载,通知降级为日志提示。
🙏 致谢:dsh-wechat-notify 的贡献
本项目是 wssfk12138/dsh-wechat-notify 的优化重写版,灵感与基础均来自该项目。