dshiq04/dsh-notify ↗★ 0

dsh-notify

运行结束或需用户输入时的浏览器通知与提示音 适合长时间运行任务时想被提醒的用户,需授权浏览器通知。

包名
dsh-notify
兼容性
待验证
Harness 依赖范围
^0.1.0-rc.6
Cordis 依赖范围
^4.0.1
版本
0.1.0
最近更新
2026年8月14日

同名包的其他仓库

安装

此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗

快速使用 Quick start

  1. 安装插件到 web profile(见下方「Installation」)并重启 dsh web。
  2. 打开 Settings → 通知 (Notifications),点击 请求权限 (Request permission) 并允许浏览器通知。
  3. 先点击页面任意位置一次(浏览器自动播放策略),再用 试听 按钮确认两种提示音都能播放。
  4. 完成 —— 之后每当一个运行结束(done)或智能体需要你输入(question / 计划审批 / 操作确认)时,都会收到浏览器通知 + 提示音。

Configuration

Preferences are edited in the Settings → 通知 (Notifications) page and persist in the browser's localStorage (key dsh-notify/settings/v1). With the host allowlist patch applied, each change is also mirrored into the dsh-notify: section of $DSH_HOME/settings.yaml:

FieldDefaultMeaning
enabledtrueMaster switch for notifications + chimes.
soundEnabledtruePlay the chime (notification still shows when off).
volume60Chime volume, 0–100.
doneSoundchimeDone preset: chime (ascending arpeggio) or cascade (descending).
questionSoundtripleQuestion preset: triple (urgent beeps) or pulse (double pulse).
onlyWhenHiddenfalseOnly alert while the page is in another window/tab (quiet in the foreground).