DSH Plugins Marketplace

DSH Plugins

Plugins

/

Notifications & Integrations

/

dsh-notify-ding

b

dsh-notify-ding

Manifest valid★ 2

dsh · DingDong Notification Plugin. When the agent asks a question or finishes a round, it triggers a browser system notification and has the host process play Windows' built-in alert sound, so you get called back even when you've switched to another window; a self-contained plugin that doesn't modify DSH's source code.

UI (client)hasBundlePatch

dsh·通知叮咚插件

在 DSH 需要你人工回答或一轮对话跑完时,弹出系统通知。

纯浏览器端的插件,不替换任何原生界面。

引言

最小的 Windows 11 系统通知 + 内置提示音的提醒插件。

功能

  • 某个会话出现新的待人工回答交互时叮咚一次,question、plan-review、approval 都算。
  • 某个会话从执行中落到空闲、也就是一轮对话跑完时叮咚一次。
  • 两种触发都会弹一条浏览器系统通知,提示音由 Windows 通知系统自带。
  • 不判断页面是否聚焦,也不区分是否为当前会话,任何会话有事都会响。
  • 通知不设自动关闭时间,会一直留在系统通知里,直到对应会话发生操作:会话被选中、该会话开始新一轮、待回答被解决,或会话从列表移除。
  • 每个会话最多保留一条通知,新通知会顶掉同会话的旧通知;点击通知会聚焦窗口并切到该会话。
  • 同一待回答请求只响一次,两次响铃之间至少有 800 毫秒间隔,且该间隔跨标签页共享,多开标签页不会重复响。

使用

首次使用

浏览器系统通知需要页面授权。插件在加载时会尝试请求一次,若被浏览器拒绝,会在你下一次点击或按键时再请求一次。所以在第一次看到页面后点一下任意位置,授权弹窗就会出来。

提示音从哪来

插件不自行发声,提示音由 Windows 的通知系统在弹通知时自带。提示音的音量与静音都跟着系统通知设置走,和插件本身无关。

全屏时通知会被系统静默

Windows 11 的「专注」有一条自动规则「当我在全屏使用应用时」,全屏看视频或玩游戏时会自动进入专注状态,通知横幅不显示、通知音被静音,通知只落进通知中心,看起来就像插件根本没响。这是系统行为,插件感知不到也绕不开。

想在全屏时也看到横幅,去 设置 → 系统 → 通知 → 专注,关闭「自动开启专注会话」里的「当我在全屏使用应用时」。代价是全屏时其他应用的通知也会冒出来。

此时插件没有任何声音提示,因为它不自己发声,提示音就是被一并静音的通知音。

安装

从 GitHub 安装:源码在 src/,lib/ 不入仓库,安装时 npm 会触发 prepare 脚本现场构建。

dsh plugin --profile web add github:better-er/dsh-notify-ding

从 npm 安装:包内已含构建产物 lib/index.js 与 lib/client.js,安装时不再构建。

dsh plugin --profile web add dsh-notify-ding

两种方式装完都会自动挂载,重启 DSH web 后启用,无需手工编辑任何文件。

卸载

dsh plugin --profile web remove dsh-notify-ding

彻底移除,重启 DSH web 后不再加载。

工作原理

浏览器半身订阅 ctx.sessions.list 与 ctx.uiSession.pendingInteractions 两个只读快照,用边沿检测判断该不该响:运行态从真落到假算一轮跑完,出现新 key 的待回答交互算需要人工介入。首帧只建基线不发声,同一待回答请求只响一次,两次响铃之间留至少 800 毫秒并把该时刻写入 localStorage 跨标签页共享。

判定通过时它弹出一条浏览器系统通知。通知按会话记录且不设自动关闭,同一会话只留最新一条;会话被选中、开始新一轮、待回答被解决或从列表移除时会关掉对应通知,点击通知则聚焦窗口、切换过去并关掉该条。完整设计见 设计说明。

要求与开发

  • 是标准形态的 dsh client 插件,声明 dsh.client,导出 ./client。
  • 同时声明了 dsh.bundle,因此也是一个自挂载的 bundle 层插件:用 dsh plugin --profile <name> add 从 GitHub 安装后会被自动识别为 profile layer 并挂载,无需手工写组合 entry。
  • 浏览器半身依赖 uiSession 与 sessions;宿主入口没有运行时行为,只为让包能被 Loader 加载。
  • 构建型插件:src/ 是 TypeScript 源码,lib/ 是构建产物且不入库,安装或发布前由 prepare 构建。

开发

pnpm install
pnpm run typecheck   # tsc --noEmit 严格类型检查
pnpm run build       # tsdown,产出 lib/index.js 与 lib/client.js
  • src/index.ts:宿主入口,无运行时行为,只用于让包被 Loader 加载。
  • src/client/index.ts:浏览器半身,边沿检测与通知。
  • 构建用 tsdown,client 产物是 window.__ModuleLoader__.load({ id, factory }) 的注册式模块,@deepseek-ai/cordis 保持外部依赖。

License

MIT

Compatibility

DSH 0.2.0-rc.2: failedDSH 0.2.1-rc.4: failedDSH 0.2.1-alpha.4: failed

Versions

Latest versionPublishedSize
0.0.1——
0.1.0——
0.1.2——
0.1.4——
0.1.6——
0.1.1——
0.1.3——

Comments

Loading…

Similar plugins

dsh-notify-linux

by Wlaeg

DSH (DeepSeek Harness) 插件:完成任务、需要选择或需要批准时发送桌面通知并播放提示音 · Desktop notifications + sound for DSH on Linux

Tools & CapabilitiesNotifications & IntegrationsManifest valid

★ 1

MIT

JavaScript

Oct 14, 2026

dsh plugin --profile web add dsh-notify-linux

by chromoany

Desktop notifications, sounds and a tab-title marker when the agent needs your input or a reply finishes in the background.

Notifications & IntegrationsManifest valid

★ 101

↓ 1.9k/wk

MIT

JavaScript

Nov 3, 2026

dsh plugin --profile web add dsh-notify-me

by chidaic

Windows system-level notifications when the agent finishes a task or needs your input: task-done, question, approval and plan-review alerts via the browser Notification API, click-to-open the session,

Notifications & IntegrationsDevelopment & InfrastructureTerminal & ClientsManifest valid

★ 3

↓ 315/wk

MIT

JavaScript

Aug 22, 2026

dsh plugin --profile web add dsh-agent-notify

by bitterSmilezzz

Native desktop notifications for DSH — approvals, questions, turn completion, session end and errors — with click-to-session, per-event toggles, quiet hours, a privacy switch that keeps message text o

Notifications & IntegrationsTerminal & ClientsManifest valid

★ 3

↓ 135/wk

MIT

TypeScript

Oct 20, 2026

dsh plugin --profile web add @bittersmilezzz/dsh-notify

by JHyugou

DSH 插件:任务完成 / 审批请求 / DSH 提问时用 Windows 原生通知(带提示音)提醒你——只有你不在看 DSH 时才打扰

Manifest valid

★ 0

MIT

JavaScript

Oct 19, 2026

dsh plugin --profile web add dsh-remind

by printz1

DSH Web GUI 通知插件:需要审批 / 模型提问 / 一轮指令结束 / 后台任务结束 / 会话出错时提醒。带完整设置页 —— 场景开关、静音指定会话、免打扰时段、时长下限、提醒节流、系统通知/页面内气泡/提示音三渠道。

Tools & CapabilitiesManifest valid

★ 0

MIT

JavaScript

Sep 11, 2026

dsh plugin --profile web add dsh-notify