dsh-notification-sound: Alert sounds at key interaction nodes

Introduction

When running agents with DeepSeek Harness (DSH), the interface often presents moments that require your attention, such as popup tabs to click, tool permission approvals, or the end of a conversation turn. It is easy to miss these if you are working in other windows or temporarily away from the screen. When visual cues alone are insufficient, you can add a short notification sound at these points. This article introduces the community plugin dsh-notification-sound (Maintainer: YUsaltyfish, Category: Client), which plays sound effects at three specific moments and supports replacing them with your own audio files.

What is this

dsh-notification-sound is a Cordis plugin for DSH (npm package name dsh-notification-sound, version 0.2.2 in current materials, License MIT). It sounds off at the following three moments:

  1. The AI pops up a tab to ask you a question.
  2. A tool requests your approval.
  3. A conversation turn ends.

You can use the audio files included with the plugin, place them in a custom directory, or specify a path in the configuration. Windows 10 / 11 Only (as specified in the README).

Community Directory Page: https://www.skillhub.cn/plugins/YUsaltyfish/dsh-notification-sound
Source Code & Docs: https://github.com/YUsaltyfish/dsh-notification-sound

Core Features

  • Three Triggers: Question (popup prompt), Approval (tool permission), End (conversation turn end). These can be toggled individually using notifyOnQuestion / notifyOnApproval / notifyOnTurnEnd (all default to true).
  • Custom Audio: Reads from the plugin’s sounds\ folder by default; you can also configure soundDirectory or set questionSound / approvalSound / endSound individually.
  • Formats: Supports .wav, .mp3, .m4a, .wma, .aac, .flac (documentation suggests prioritizing .wav).
  • Behavior Control: Master switch enabled (default true); minimum interval between the same sound cooldownMs (default 800 ms); rootAgentsOnly (default true) indicates playing only for sessions where the user is directly interacting.
  • Auditioning Tool: You can preview the sound by having the AI call fish_beep. If there is an error, provide the returned detail to the AI for troubleshooting.

The plugin runs with the permissions of the current DSH process; it is recommended to review the GitHub source code and MIT license before installation.

Installation and Activation

The installation command for the Desktop (desktop profile) is as follows (must match the README; do not construct other owner/repo forms yourself):

dsh plugin --profile desktop add github:YUsaltyfish/dsh-notification-sound

Desktop plugins typically load automatically. If you are using the Command Line Web version (dsh web), replace desktop with web in the command and restart DSH once.

Runtime Environment (from package.json): Node ^22.19.0 || >=24.0.0, DSH >=0.1.0-rc.1.

Typical Usage: Replacing Default Sound Effects

Method 1: Overwrite default filenames in the plugin directory

Rename your audio files to question.wav (Question), approval.wav (Approval), and end.wav (End), and place them in:

%USERPROFILE%\.dsh\profiles\desktop\node_modules\dsh-notification-sound\sounds\

Note: Upgrading or reinstalling the plugin will overwrite this folder. If you wish to retain custom files long-term, Method 2 is recommended.

Method 2: Independent folder + cordis.patch.yml

Place your sound effects in any directory, and append the following to the end of %USERPROFILE%\.dsh\profiles\desktop\cordis.patch.yml (takes effect in about a second or two after saving, no restart required):

- id: notification-sound
  config:
    soundDirectory: 'D:\MySounds'   # Add questionSound / approvalSound / endSound as needed

Documentation note: When modifying the configuration, the plugin’s config is replaced entirely. When changing settings, you must include all items you wish to retain.

Configuration Options Overview

Setting Default Function
soundDirectory Empty Custom sound folder; if empty, uses built-in sounds\, then system sounds if not found.
questionSound / approvalSound / endSound System sound Specific audio for the three moments (filename or full path).
notifyOnQuestion / notifyOnApproval / notifyOnTurnEnd true Toggle the three moments individually.
enabled / cooldownMs / rootAgentsOnly true / 800 / true Master switch / Minimum interval for same sound (ms) / Play only for user-facing sessions.

Use Cases and Notes

Suitable for: Developers or daily users on Windows 10/11 using the DSH Desktop or Web version who want auditory reminders for “Tab questions, permission approvals, and turn endings.”

Notes:

  • Platform is limited to Windows 10/11; other systems are not supported according to the README.
  • The plugin belongs to the DSH “everything is a plugin” community ecosystem; the SkillHub directory is an independent community site with no official affiliation with DeepSeek / High-Flyer.
  • Please verify the source code and license before installing; plugin permissions are equivalent to the user environment running DSH.

Auditioning and Uninstallation

Auditioning: Ask the AI to call fish_beep. If issues arise, paste the returned detail back to the AI for troubleshooting assistance.

Uninstallation:

dsh plugin --profile desktop remove dsh-notification-sound

(For the Web version, replace desktop with web.)


dsh-notification-sound marks the three common “intervention required” moments in DSH with a short sound, allowing for custom audio and fine-grained toggles. For more information, see the SkillHub Directory Page and the GitHub Repository.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye