DeepSeek Harness plugin

dsh-notify-plugin

DSH 回答完成提醒插件:turn/end 时提示音 + Windows 系统通知,点击通知可聚焦并切换会话,设置里可自由开关。

Jump to install

Source facts

Repository
orange1926/dsh-notify-plugin
Latest update
Aug 14, 2026
Category
Notifications & Integrations
GitHub stars
1
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/orange1926/dsh-notify-plugin
Plugin: dsh-notify-plugin
Author: orange1926

Check the source files

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

File explorer3 files
README.mdSource · read only

DSH 回答完成提醒插件(@dsh-local/notify)

DeepSeek Harness(dsh)的回答完成提醒插件:一次回答(turn/end)结束时——

  • 🔔 提示音(HTML5 audio,后台标签页也能响)
  • 🔔 Windows 系统通知(浏览器通知中心)
  • agent 提问时也提醒ask_user_question 选择题/待填写 → 提示音 + 通知,标题"DSH 需要你回答")
  • 🖱️ 点击通知:聚焦现有 DSH 标签页 + 切换到对应会话(不开新窗口)
  • ⚙️ 设置卡片里自由开关:总开关 / 提示音 / 系统通知 / 出错也提醒 / 音量

> DSH 目前(0.1.0-rc.6)不自带 notify 插件;本插件是纯增量,不占据任何内置插件位置。

安装

需要 dsh web 已安装(npx @deepseek-ai/dsh web)。

# 方式一:官方命令(需要 pnpm 在 PATH)
dsh plugin --profile web add github:<你的用户名>/<仓库名>

# 方式二:等价手动流程(corepack pnpm)
cd "$HOME/.dsh/profiles/web"
corepack pnpm add github:<你的用户名>/<仓库名>

安装后重启 dsh web,刷新浏览器页面。

⚠️ 必须:应用 apiproxy 白名单补丁

DSH 对浏览器可读写的设置命名空间有硬编码白名单dsh-host-apiproxyWEB_SETTINGS_NAMESPACES,官方承认"插件自行暴露配置"为 deferred work)。 不打这个补丁,设置卡片会因读不到数据而不显示。安装后执行:

powershell -ExecutionPolicy Bypass -File scripts\apply-apiproxy-patch.ps1

然后重启 dsh web。DSH 升级后需重跑此脚本。

使用

重启后:设置 → 插件 → 插件配置 → 回答完成提醒,自由开关各项。

卸载

dsh plugin --profile web remove @dsh-local/notify

并手动从 profiles/web/package.jsondsh.profile.bundles 移除 @dsh-local/notify

工作原理

  • 标准组合包(bundle)格式:dsh.bundle(配置层)+ dsh.client(浏览器半身)。
  • 宿主半身注册 notify 设置命名空间(写入 ~/.dsh/settings.yaml,热更新)。
  • 浏览器半身连接 DSH 会话事件流(/api/events.mux),监听 turn/end 精确事件;

提示音用 HTML5 audio(后台标签页可播),通知点击后用 sessions.open() 切换会话; localStorage 做跨标签页去重(多页面时只弹一条)。

  • 副作用全部注册在 ctx.effect(),插件卸载时自动清理。

本地开发

lib/ 下代码后重启 dsh web 即生效(link 依赖指向源码)。

许可

MIT