- Startseite
- Plugins
- Integrationen & Fernzugriff
- dsh-task-completion-notifier
dsh-task-completion-notifier
jarvis1919/dsh-task-completion-notifier
Lightweight Windows desktop popups for completed DSH turns, with the session title and final-reply excerpt; works independently of notification-center banner policy, with optional subagent, incomplete-turn, and silent modes.
Installation
dsh plugin --profile web add github:jarvis1919/dsh-task-completion-notifierREADME
任务完成通知
这是一个适用于 Windows 桌面版 DeepSeek Harness(DSH) 的轻量通知插件。主会话的回合正常结束时,在屏幕右下角显示置顶弹窗,提醒你回来查看结果。

功能
- 回合正常完成时显示弹窗,包含会话标题和最后回复节选。
- 可选通知子代理,以及出错、中止、受阻、中断或达到输出上限的回合。
- 可关闭提示音,并调整回复节选长度。
- 弹窗默认 15 秒自动关闭,也可以单击关闭。
- 使用独立 WPF 弹窗,不依赖 Windows 通知中心是否允许横幅。
“回合完成”指 DSH 已提交一次 turn/end,且结束原因是 completed。插件不会判断任务的业务目标是否真正达成,也不会把多个后续回合合并成一次通知。
安装
从插件市场安装
收录后,在 dshmarket 搜索“任务完成通知”或 dsh-task-completion-notifier,打开条目并安装。
从 GitHub Release 安装
在 DSH 的插件管理页选择添加插件,粘贴以下安装包地址:
https://github.com/Jarvis1919/dsh-task-completion-notifier/releases/download/v1.0.2/dsh-task-completion-notifier-1.0.2.tgz
也可以使用 DSH CLI(把 <profile> 换成你的 profile 名称):
dsh plugin --profile <profile> add -w "https://github.com/Jarvis1919/dsh-task-completion-notifier/releases/download/v1.0.2/dsh-task-completion-notifier-1.0.2.tgz"
从源码安装
仓库没有构建步骤或安装脚本,也可以直接安装源码:
dsh plugin --profile <profile> add github:Jarvis1919/dsh-task-completion-notifier
使用
- 安装并启用
task-completion-notifier。 - 在主会话中正常提问;一轮回复结束后会显示桌面弹窗。
- 在插件设置中调整以下选项:
| 设置 | 默认值 | 作用 |
|---|---|---|
includeSubagents | false | 子代理回合结束时也通知;并行子代理较多时可能连续弹窗。 |
notifyOnIncomplete | false | 出错、中止、受阻、中断或达到输出上限时也通知。 |
silent | false | 显示弹窗但不播放提示音。 |
summaryLength | 160 | 回复节选的最大字符数,范围 40–400。这里是原文截断,不是 AI 摘要。 |
通知文字与设置项目前为中文。
隐私与安全
- 插件只读取当前 Host 提供的会话结束事件、会话标题和最后一条助手文本,用于生成本机弹窗。
- 没有网络上传、遥测、账号凭据读取或 npm 运行依赖。
- 弹窗由系统 Windows PowerShell 启动随包附带的固定
windows-toast.ps1,通过 WPF 绘制;进程参数使用数组传递,不拼接 shell 命令。 - 为兼容默认禁止脚本执行的 Windows 环境,进程级使用
-ExecutionPolicy Bypass。它只作用于这次固定本地脚本,不修改系统执行策略,也不下载或执行远程脚本。 - 回复节选会显示在电脑屏幕上;共享屏幕或公开展示时,请注意其中可能包含会话内容。
限制
- 仅支持 Windows 桌面 Host;其他平台不会显示通知。
- 单击弹窗只会关闭它,不会跳转回对应会话。
- 弹窗显示最后回复的原文节选,不会生成新的 AI 摘要。
- 子代理默认不通知;启用后,每个符合条件的子代理回合都会单独通知。
开发与验证
需要 Node.js 22 或更新版本。单元测试不需要安装依赖:
npm run check
npm test
npm pack --dry-run
显示一个持续 5 秒的真实测试弹窗:
npm run test:manual
手动测试会真实弹出窗口;它不包含在自动单元测试中。
许可证
Ähnliche Plugins
dsh-purge
kingcharleslzy-ai/dsh-purge
dsh-web (dsh-ssh)
zhu1090093659/dsh-web
dsh-web (dsh-remote-web-ui)
zhu1090093659/dsh-web
dsh-web-ui (dsh-ssh)
zhu1090093659/dsh-web-ui