← 返回列表
D

dsh-plugin-notify-sound

v1.0.0 · 3 天前发布

DeepSeek Harness plugin: per-workspace task-completion ringtones plus attention sounds for approval / question / plan-review / goal-blocked / task-failure events (Web UI; built-in synth, voice (TTS), custom audio)

dshdsh-plugindeepseek-harnesspluginnotificationsoundringtonettsvoice

README

dsh-plugin-notify-sound

English | 中文

DeepSeek Harness(DSH)Web 端插件:任务完成后按工作区播放可定制的通知铃声
并在需要人介入时(审批、提问、计划评审、目标受阻、任务失败)播放注意提示音。

功能

完成铃声(按工作区)

  • 会话「一次回答结束」(回合完成,running: true → false)或后台任务完成时播放。

  • 铃声按工作区解析:先查该工作区的单独配置,未配置则使用默认铃声。

  • 声音来源三选:

  • - 内置合成音 — 6 种(叮咚 / 风铃 / 铃铛 / 完成 / 成功 / 静音),Web Audio 实时合成,无需音频文件;
    - 语音播报(TTS) — 浏览器用系统中文语音朗读自定义文案(如「我做完啦!」),可选声音与语速;
    - 自定义音频 — 上传任意 MP3/WAV 等文件。

    注意铃声(需要人介入时)

    以下事件始终响铃(不受「当前会话不响铃」限制):

    | 事件 | 检测来源 | 默认声音 |
    |---|---|---|
    | 审批请求 | 会话 pendingInteraction: approval | 通用注意音 |
    | 用户提问 | pendingInteraction: question | 通用注意音 |
    | 计划评审 | pendingInteraction: plan-review | 通用注意音 |
    | 目标受阻 | goal 投影进入 blocked | 通用注意音 |
    | 后台任务失败 | 任务状态 failed | 铃铛(独立失败音) |

    每类事件可单独覆盖声音(或跟随通用注意音),也可统一使用一句播报文案
    (如「需要你的确认

    查看完整 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-plugin-notify-sound
    Repo
    git+https://github.com/ldchaowin/dsh-plugin-notify-sound.git
    Engines
    {"node":">=20"}
    Weekly DL
    0
    Monthly DL
    0
    dsh.bundle
    {"bundle":{"patch":"./cordis.patch.yml"},"client":{"platform":"web","inject":["@deepseek-ai/dsh-client-runtime","@deepseek-ai/dsh-client-ui-settings"]}}