Plugin directory / UI & Skins / dsh-turn-notify
dsh-turn-notify
Verified · install-tested on dsh hxy113
What it does
DSH plugin: Windows toast notification when an agent turn completes; click the toast to jump back into that session in the Web UI.
Works — verified, early-stage project
DSH plugin: Windows toast notification when an agent turn completes; click the toast to jump back into that session in the Web UI. It installs cleanly and boots without issues in our testing. It's early-stage but functional.
“Verified” means our automated CI actually ran dsh plugin add in a clean profile and it booted — nothing more. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.
README
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+ WinRTToastNotificationManager弹系统 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
Install
Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:
dsh plugin add dshbase-catalog Then say "install dsh-turn-notify for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.
This plugin is GitHub source (not published to npm) — install it straight from the repo:
Web profile:
dsh plugin --profile web add github:hxy113/dsh-turn-notify Headless (CLI) profile:
dsh plugin --profile headless add github:hxy113/dsh-turn-notify Test report
Verified: L1 install + L2 load + L3 runtime from GitHub source on dsh 0.1.0-rc.6.