DSH Plugins
返回列表
dsh-web-notification

dsh-web-notification

客户端 更新于 2026.08.25

在终端中运行以下命令:

dsh plugin install 2h0n/dsh-web-notification

将以下提示词粘贴到 DeepSeek Harness 对话框中:

在终端执行 dsh plugin install 2h0n/dsh-web-notification 即可安装本插件,项目源码见 https://github.com/2h0n/dsh-web-notification 。

插件介绍

Running the DeepSeek Harness Web UI in a browser tab has one persistent annoyance: you alt-tab away to code, read, or handle something else, and when you come back the model already finished its reply — silently, with no sign. dsh-web-notification exists for exactly that gap. It adds no buttons, banners, or overlays to the page; it simply fires a system-level desktop notification the instant each reply turn completes, titled “🐳 Model Replied” with your prompt for that turn as the body, so the answer pings you before you even switch tabs.

The plugin keeps its footprint deliberately minimal. On the client side it watches the turnEnds counter in every open session snapshot; a single increment means one reply just landed, and each session fires its own notification independently. Every notification carries a unique tag with replace semantics, so the OS never shows a duplicate banner on macOS or Chrome. Notification permission is requested automatically at boot and on the first user gesture (satisfying Safari's requirement), and when a user-message text is unavailable the body falls back to the session title, ensuring the notification always carries readable context.

It suits a very concrete workflow: you keep a DeepSeek Harness tab open in the background while you work in an IDE, a terminal, or another app, and you want a quiet done-ping the moment a reply arrives without staring at the tab. Once installed the plugin is effectively invisible — it surges one system notification at the exact second it matters, then steps back out of your way entirely.

截图预览

使用场景

  • 切到 IDE 或终端工作时,模型回复完成立刻弹出桌面通知
  • 并行多个会话窗口,每个会话的回复各自触发独立系统通知
  • 页面留在后台标签页,模型完成回复后通过系统级提醒拉回注意力

适合人员

  • 使用 DeepSeek Harness Web UI 进行日常对话的开发者
  • 同时开多个会话窗口并行等待模型回复的用户
  • 希望不盯页面也能及时获知回复完成状态的效率型用户