dsh-notify-panel
Đã xác minhdsh-notify-panel · v0.1.0 · MIT · Giao diện web
DSH web plugin: sidebar notification panel with per-scene sounds (plan / done / ask / fail) for every finished turn, custom sound uploads, and system notifications while the tab is hidden.
Cài đặt
dsh plugin add dsh-notify-panel Xác nhận layer đã áp bằng dsh --profile default --dump-config — xem hướng dẫn cài plugin.
Mã nguồn
Thẻ
Tác giả
Readme
dsh-notify
English | 中文
DeepSeek Harness(dsh --profile web)的通知插件:侧边栏底部入口(样式与系统「设置」按钮一致)+浮层面板——每次对话结束都有提示音、每个场景独立选音效、支持上传自定义音效、离开标签页时弹系统通知,不用一直盯着页面。
五大场景
| 场景 | 触发条件 | 音效 |
|---|---|---|
| 🗂️ 计划出方案 | 回合期间计划模式曾激活(含"出方案→请求批准→批准退出"整轮) | plan |
| ✅ 任务完成 | 其余一切回合结束——普通问答、纯查询、执行任务统一完成音 | done |
| 🙋 需要你回应 | agent 提问(ask_user_question)/ 计划批准请求(exit_plan_mode)/ 审批请求 |
ask |
| ⚠️ 出错 | 回合/步骤报错 | fail |
功能
- 侧边栏入口:底部 🔔 铃铛按钮,与系统「设置」按钮逐值一致(34px 行高、12px 圆角、窄栏 36px 圆形、同一 hover 主题变量);点击展开浮层面板
- 每场景独立选音效:内置音效库——默认 / 铃音 / 柔和 / 响亮(Web Audio 合成,无需资源文件);下拉选中即播放预览
- 自定义音效:每个场景可上传自己的 wav(
audio/*,≤ 2MB);上传后下拉出现「自定义」选项,可随时移除 - 系统通知:页面隐藏时,非静音场景同时弹浏览器
Notification(点击可聚焦回页面) - 每次对话结束都响:计划回合响 plan 音,其余回合结束统一响 done 音(出错回合响 fail,不叠加)
- 设置持久化:写入
settings.yaml的dsh-notify段
安装
需要支持 dsh plugin profile bundle 系统的 DSH 版本。
dsh plugin --profile web add dsh-notify-panel
或直接从本仓库安装:
dsh plugin --profile web add https://github.com/zal572199088-creator/dsh-notify/archive/refs/tags/v0.1.0.tar.gz
重启 DSH 后,侧边栏底部出现 🔔 按钮,点击打开通知面板。
卸载
dsh plugin --profile web remove dsh-notify-panel
自定义音效文件存于 $DSH_HOME/notify/sounds/,通过面板内「移除自定义」删除(卸载插件不会自动清理)。
License
MIT