dsh-notify
运行结束或需用户输入时的浏览器通知与提示音 适合长时间运行任务时想被提醒的用户,需授权浏览器通知。
同名包的其他仓库
安装
此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗
说明文档
阅读完整 README ↗快速使用 Quick start
- 安装插件到 web profile(见下方「Installation」)并重启
dsh web。 - 打开 Settings → 通知 (Notifications),点击 请求权限 (Request permission) 并允许浏览器通知。
- 先点击页面任意位置一次(浏览器自动播放策略),再用 试听 按钮确认两种提示音都能播放。
- 完成 —— 之后每当一个运行结束(
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:
| Field | Default | Meaning |
|---|---|---|
enabled | true | Master switch for notifications + chimes. |
soundEnabled | true | Play the chime (notification still shows when off). |
volume | 60 | Chime volume, 0–100. |
doneSound | chime | Done preset: chime (ascending arpeggio) or cascade (descending). |
questionSound | triple | Question preset: triple (urgent beeps) or pulse (double pulse). |
onlyWhenHidden | false | Only alert while the page is in another window/tab (quiet in the foreground). |