DeepSeek Harness plugin

dsh-turn-notify

DSH plugin: Windows toast notification when an agent turn completes; click the toast to jump back into that session in the Web UI.

Jump to install

Source facts

Repository
hxy113/dsh-turn-notify
Latest update
Aug 15, 2026
Category
Memory
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/hxy113/dsh-turn-notify
Plugin: dsh-turn-notify
Author: hxy113

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer3 files
README.mdSource · read only

dsh-turn-notify

DSH(DeepSeek Harness)插件:每个交互式回合结束时,在 Windows 右下角弹出系统 toast 通知;点击通知直接跳回对应的会话

效果

  • 发送者:DeepSeek Harness(通过注册表 HKCU\Software\Classes\AppUserModelId\DeepSeekHarness.DSH 注册,首次使用自动创建,卸载时自动清理)
  • 标题:当前会话的标题(自动读取,无标题时回退为 DeepSeek Harness)
  • 正文:最后一条 AI 回复的开头(截取 120 字符,不显示"已完成"之类的提示)
  • 点击:用默认浏览器打开 Web UI 并自动进入该会话(/jump-session 路由 → 写入 localStorage['dsh.sessions.current'] → GUI 主页自动恢复)
  • 只对根会话(交互式会话)触发,子代理 / workflow 内部回合不会打扰

安装

dsh plugin --profile web add github:hxy113/dsh-turn-notify
dsh web

纯 JavaScript、无构建步骤,git 安装不需要 prepare 授权。

工作原理

  • 监听 agent/turn-stopping 事件(回合即将关闭时触发)
  • 通过 powershell.exe -STA + WinRT ToastNotificationManager 弹系统 toast(pwsh 7 无法加载 WinRT 类型,故使用系统自带的 Windows PowerShell 5.1 通道)
  • toast 使用 activationType="protocol",点击后系统用默认浏览器打开 http://127.0.0.1:<port>/jump-session?sid=<sessionId>
  • 该路由由插件注册(webServer.register),返回一个微型 HTML 页面,写入会话恢复标记后跳转 GUI 主页

要求

  • Windows 10/11
  • DSH Web UI(dsh web)
  • 通知可能被系统"专注助手"或应用通知设置拦截,这是 Windows 自身行为

卸载

dsh plugin --profile web remove dsh-turn-notify

插件卸载时自动删除注册表 AUMID 键和遗留快捷方式。

License

MIT