← 返回列表
D

dsh-notify-panel

v0.1.0 · 1 天前发布

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.

dshdsh-pluginnotifynotificationsoundsidebar

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,不叠加)

  • 设置持久化:写入 `setti
  • 查看完整 README →

    版本兼容矩阵

    DSH 版本状态说明
    dsh@0.1.0-rc.6 ✅ 兼容 cordis patch ✅
    dsh@0.1.0 ✅ 兼容 标准 patch ✅
    dsh@0.2.0 ⚠️ 待验证 待实测(API 可能在变)
    dsh@0.3.0+ ❓ 未知 尚未发布

    💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正

    元数据

    License
    MIT
    npm
    dsh-notify-panel
    Repo
    git+https://github.com/zal572199088-creator/dsh-notify.git
    Engines
    {"node":">=20"}
    Weekly DL
    0
    Monthly DL
    0
    dsh.bundle
    {"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-connection","@deepseek-ai/dsh-client-runtime","@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-client-ui-settings","@deepseek-ai/dsh-client-ui-settings-general","@deepseek-ai/dsh-api-remotes"],"platform":"web"}}