dsh-web-notify
Đã xác minhdsh-web-notify · v0.1.5 · MIT · Giao diện web
Approval attention plugin for the DSH Web GUI — audible + visual alerts (chime, tab badge, OS notification, dock) for pending approvals, session completions, job failures, and connection loss.
Cài đặt
dsh plugin add dsh-web-notify 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-web-notify
DSH Web GUI 审批注意力插件 — 待处理审批、会话完成、任务失败、连接断线时,通过提示音、标签页徽标、OS 通知、通知中心 Dock 多通道提醒。
安装
前提:Node.js >= 22、pnpm(npm install -g pnpm)。若 dsh 未全局安装,用 npx @deepseek-ai/dsh 调用。
# npm 一键挂载
dsh plugin --profile web add dsh-web-notify
# 或开发调试模式
git clone https://github.com/renpengfei1027/dsh-web-notify.git
cd dsh-web-notify
npm install && npm run build
dsh plugin --profile web add link:$(pwd)
# Windows PowerShell: link:$PWD.Path
⚠️ AI 编码工具(TRAE / Cursor 等)沙箱会阻止写
~/.dsh/目录,请在普通终端中执行上述命令。切勿手动npm install绕过dsh plugin,会导致依赖链接断裂、卡片只读。完整安装与校验指南见 GitHub。
安装后重启 dsh web,设置页「插件配置」→「通知」卡片可热配置所有通道、音量、免打扰时段。
功能
- 🔔 待处理审批 / 提问 → 提示音 + 标签页徽标 + OS 通知 + Dock
- ✅ 会话完成 → toast + 完成音
- ❌ 任务失败 / 模型异常(429等) → error toast + 提示音
- 📡 断线 / 重连 → warning toast + 提示音
License
MIT