dsh-tui-webhook
by FUSU123fusu
把 dsh-TUI 的关键事件推送到 IM 机器人(飞书 / 钉钉 / 企业微信 / 任意通用 webhook):长轮次完成、审批请求——人离开电脑也能收到提醒。
Pushes key dsh-TUI events to IM bots (Feishu / DingTalk / WeCom / any generic webhook): long-turn completion and approval requests — get notified even when away from the computer.
安装
dsh plugin --profile web add github:FUSU123fusu/dsh-tui-webhookGitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试
安装与环境配置指引、插件开发教程见 DSH 中文社区文档 ↗
安装即在你的机器上以你的权限运行第三方代码——它可读写文件、使用凭据、访问网络,DSH 的工具审批不会为插件代码加沙箱。「检测到 manifest」仅代表发现 dsh.bundle / dsh.plugin 清单,不构成兼容性或安全审查;安装前请审阅源码,不熟悉的插件先在不含密钥的环境试用。
README
适用于 dsh-TUI(dshtui.com)的社区插件。
把 dsh-TUI 的关键事件推送到 IM 机器人(飞书 / 钉钉 / 企业微信 / 任意通用 webhook):长轮次完成、审批请求——人离开电脑也能收到提醒。
English below.
用法
/webhook " 查看配置状态(平台、URL 掩码、开关)
/webhook test " 发送一条测试消息,回报 HTTP 状态
配置在 /settings →「Webhook 通知」,保存后立即生效,无需重启。
| 设置 | 说明 | 默认 |
|---|---|---|
platform |
feishu / dingtalk / wecom / generic |
feishu |
url |
机器人 webhook 地址 | 空 |
secret |
加签密钥(仅飞书/钉钉 HMAC-SHA256;企业微信、generic 忽略) | 空 |
minTurnSeconds |
轮次完成通知的最短时长(秒),0 = 每轮都推 | 30 |
notifyTurnEnd |
轮次完成时推送(✅ 任务完成 · 用时 … · 第 N 轮) |
开 |
notifyApproval |
工具审批请求时推送(⚠️ 需要审批 · <工具/原因>) |
开 |
只统计顶层会话的轮次(子 agent 不重复推送);approval/asked 的摘要取 toolName 与 reason,尽力而为、绝不因异常负载报错。
创建机器人
- 飞书:群设置 → 群机器人 → 自定义机器人,复制 webhook;开启「签名校验」则把密钥填入
secret。官方文档 - 钉钉:群设置 → 机器人 → 自定义,复制 webhook;安全设置选「加签」则把密钥填入
secret。官方文档 - 企业微信:群设置 → 群机器人 → 添加,复制 webhook 即可(不支持加签)。官方文档
- generic:任意接收
POST {"text":"..."}的 HTTP 端点。
隐私
URL 与加签密钥保存在本机 dsh settings 文档中(webhook 命名空间),不上传任何第三方;/webhook 状态只显示 URL 前 30 个字符。
安装
dsh plugin --profile <你的profile> add dsh-tui-webhook
或从源码:npm pack 后 dsh plugin --profile <你的profile> add file:<tgz路径>。
开发
node --test " 单元测试(载荷构造、两种加签算法、时长格式化、防刷屏门槛、清单校验)
English
Pushes dsh-TUI events to IM bot webhooks (Feishu / DingTalk / WeCom / generic): long-turn completion and approval requests, so you know while away from the computer.
/webhookshows the status (platform, masked URL, toggles);/webhook testsends a test message and reports the HTTP status.- Configure under
/settings→ "Webhook 通知"; changes apply live, no restart. - Payloads: Feishu
{"msg_type":"text",…}(optional timestamp+sign: base64 HMAC-SHA256 of the empty message keyed with${ts}\n${secret}), DingTalk{"msgtype":"text",…}(sign rides the URL), WeCom{"msgtype":"text",…}, generic{"text":"…"}. - Only top-level sessions are tracked; turn-end pushes are gated by
minTurnSeconds(default 30s, 0 = every turn). - Privacy: the URL and secret live in the local dsh settings document; status output masks the URL to its first 30 chars.
MIT
原始 README: https://github.com/FUSU123fusu/dsh-tui-webhook/blob/main/README.md ↗
同类插件
查看全部 →
dsh
将 DeepSeek Harness 的生命周期状态、错误与审批请求,桥接到本地运行的 OpenPets 桌面伙伴。

dsh-qqbot
让 QQ Bot 接入 DeepSeek Harness(dsh)的官方插件

dsh-open-in-vscode
从 Web GUI 一键在 VS Code 中打开工作区目录。

dsh-notification
回合完成桌面通知,按结果分控 + 关键词过滤。

dsh-notifier
DSH 统一通知推送与远程控制:一个 `notify()` API 打通 25+ 渠道(Telegram / 钉钉 / 飞书 / 企业微信 / QQ 机器人 / WxPusher / PushPlus / Server 酱 / Bark / Discord / Slack / ntfy / webhook 等),timeSensitive / active / passive 分级路由并重试;五通道反向审批(Telegram 按钮 / 飞书卡片 / QQ / WxPusher / 微信 iLink);QQ/钉钉/飞书官方扫码登录;本地 Web 管理台;多 agent 路由;系统桌面通知——以及**手机指挥中心**:在手机上发 `!status` / `!stop` / `!retry` 遥控 agent,通知带可操作按钮(查看结果 / 重试 / 日志,点击回调 agent)。密钥脱敏、工具限流、零运行时依赖。

chatccc
飞书(Lark)或微信(WeChat)聊天控制 DeepSeek Harness / Claude Code / Cursor / Codex / CCC Agent