DeepSeek Harness plugin

dsh-sound-alert

DSH Web 客户端插件:助手回答结束时播放「叮咚」提示音

Jump to install

Source facts

Repository
mxl2498/dsh-sound-alert
Latest update
Aug 16, 2026
Category
Notifications & Integrations
GitHub stars
1
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/mxl2498/dsh-sound-alert
Plugin: dsh-sound-alert
Author: mxl2498

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer2 files
README.mdSource · read only

声音提醒(@dsh-external/声音提醒)

DSH Web 客户端插件:助手回答结束时播放一段清脆的“叮咚”提示音

纯浏览器端实现,零音频资源依赖(用 Web Audio API 运行时合成提示音), 不需要服务端逻辑,也不需要重新构建任何官方包。

截图

设置 → 「声音提醒」页(总开关 / 音量 / 监听所有会话):

![声音提醒设置页](docs/screenshot-settings.png)

工作原理

  • 通过 dsh.clientplatform: "web")接入 Web 客户端 Loader 树;
  • 订阅 ctx.sessions 的会话列表与当前会话快照;
  • 检测会话快照 running 状态 true → false 的边缘 —— 即助手结束回答的时刻 —— 播放提示音;
  • 因浏览器自动播放策略,首次播放需要一次用户手势(点击/按键),之后即可随时提醒。

配置

在 profile 的插件 patch(本包的 cordis.patch.yml,可被 profile 覆盖)中调整:

配置项默认值说明
enabledtrue是否启用声音提醒
volume0.5音量 0~1
allSessionsfalsefalse 只监听当前会话;true 监听所有会话的回答结束

示例(在 profile 的 cordis.patch.yml 中覆盖):

- id: sound-alert
  config:
    enabled: true
    volume: 0.7
    allSessions: true

安装(从 GitHub)

# 1. 把插件加入 web profile 的依赖(dsh plugin 会转发给 pnpm 并自动追加进 bundles)
dsh plugin --profile web add github:mxl2498/dsh-sound-alert

# 2. 重启 DSH Desktop / dsh web,使 Loader 树重载

本地开发时也可用 dsh plugin --profile web add file:../dsh-sound-alert 安装本地目录。

安装后 dsh plugin 的 reconcile 会自动把本包追加进 dsh.profile.bundles(因为它声明了 dsh.bundle.patch),随后其 cordis.patch.ymlinsert 条目把插件挂进 Loader 树, Node 半区扫描到 dsh.client 声明后即会服务浏览器端产物。

文件

  • lib/index.js —— 服务端占位插件(Loader 条目)
  • lib/client.js —— 浏览器端实现(__ModuleLoader__ lazy-CJS 包)
  • cordis.patch.yml —— bundle patch(insert + 默认配置)