跳到主要内容

dsh-web-notify

已验证

dsh-web-notify · v0.1.5 · MIT · 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.

安装

dsh plugin add dsh-web-notify

dsh --profile default --dump-config 确认 layer 已生效 —— 参见安装指南

源码

标签

作者

说明文档

dsh-web-notify

npm version License: MIT

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