dshbase

插件目录 / UI & Skins / dsh-turn-notify

dsh-turn-notify

已验证 · 实测可装 hxy113

✓ 持续维护

查看 GitHub ↗ ← 返回插件目录

0Stars
0Forks
0未关闭 issue
—语言
2026-08-15最近推送
跨平台平台

功能简介

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

✅
我们的评价
可用 — 实测通过,早期项目

DSH plugin: Windows toast notification when an agent turn completes; click the toast to jump back into that session in the Web UI. 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

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 + 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

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-turn-notify」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

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

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

UI & Skins 里更多

浏览全部 7819 个插件 →