dsh-task-complete-notifier
Manifest valid当 DeepSeek Harness 运行结束、提出问题或等待审批时触发的系统通知。System notification when a DeepSeek Harness run ends, asks a question, or waits for approval
DSH 任务完成通知
English | 简体中文
DeepSeek Harness 的客户端插件:每当一轮任务结束、会话向你提问、或等待你确认时,在系统通知区域(Windows 屏幕右下角)弹出一条通知。页面内不画任何东西,声音使用操作系统自带的提示音。

第一行是 Windows 显示的应用名,标题是状态,正文是会话名。
行为
| 时刻 | 通知标题 | 正文 |
|---|---|---|
| 一轮运行结束 | 运行已结束 | 会话名 |
| 向你提问 | 等待你的回答 | 会话名 |
| 等待授权 | 等待你的确认 | 会话名 |
- 子代理会话保持安静,只有你自己驱动的会话会通知。
- 点击通知:窗口置顶并打开对应会话。
- 所有通知共用一个 tag,新状态替换旧通知,不会堆积。
- 首帧快照只作为基线,刷新页面不会重放历史事件。
安装
需要 DeepSeek Harness 0.2.2-rc.3(桌面版)。本插件是一个 Cordis bundle,从 npm 安装:
plugin_manager → action: install_bundle → target: @jgeeee/dsh-task-complete-notifier@1.0.0
改插件源码开发时,也可以直接指向本目录(以 link: 方式装入 profile,改完刷新即加载新代码):
plugin_manager → action: install_bundle → target: <本目录的绝对路径>
安装后刷新页面即可生效。
实现说明
- 订阅
shell.overlay槽位,从槽位注入的useSessionStatus/useSessions读取会话状态快照(DSH 客户端没有“任务完成”事件,只能比较快照)。 - 完成判定:
running由true变为false。 - 提问/授权判定:
pendingInteraction.key与上一快照不同。 - 通知:
NotificationAPI,标题为状态、正文为会话名;仅在权限为granted时发送。 - 桌面壳会自动授予通知权限;普通浏览器在首次点击后询问一次,并用
localStorage记住不再重复打扰。
客户端只暴露“是否在运行”,拿不到成功/失败,因此完成通知写“运行已结束”,不谎称成功。
已知限制
- 依赖 DSH
0.2.2-rc.3的客户端会话快照 API(内部契约),DSH 升级后可能失效。 - 通知权限被拒时不会退回页面内提示(这是有意的:只弹系统通知)。
- Harness 关闭期间结束的任务无法补报。
- 页面从未被点击/按键过时,浏览器/引擎可能不显示通知(自动播放与权限策略)。
许可
Comments
Loading…
Similar plugins
by HOPE-LGNF
DeepSeek Harness 的完成、审批、提问、受阻和错误通知插件
★ 2
MIT
JavaScript
Nov 7, 2026
dsh plugin --profile web add dsh-state-notifierby YiMlT
DeepSeek Harness 通知插件:在 **任务完成 / 任务出错 / 运行中 / 等待审批 / 等待回答** 时提醒用户。 通知标题为对话标题;系统通知与自定义通知均支持**点击跳转到对应会话**。
★ 5
↓ 325/wk
MIT
JavaScript
Oct 14, 2026
dsh plugin --profile web add dsh-notify-yimitby kaotusi
DeepSeek Harness (DSH) system-level task notifications: approval required / awaiting reply / task finished (background job, subagent, workflow) → OS notification center with chimes + in-app bell panel
★ 4
MIT
JavaScript
Aug 15, 2026
dsh plugin --profile web add @deepseek-ai/dsh-task-notifyby pedesdestiny
Browser desktop notifications for DeepSeek Harness (dsh) — get notified when a turn completes or an approval is needed
★ 3
↓ 822/wk
JavaScript
Aug 18, 2026
dsh plugin --profile web add dsh-notifyby purejiang
Desktop notifications for DeepSeek Harness (dsh) Web sessions: get notified when a session waits for approval or finishes, then click to jump back to it.
★ 0
MIT
JavaScript
Oct 26, 2026
dsh plugin --profile web add dsh-system-notificationsWindows toast notifications when a DeepSeek Harness task finishes: the session title, the outcome, and a summary of the final reply, sent once when the agent really stops rather than once per round of
★ 0
dsh plugin --profile web add dsh-notify