dsh-sound-notification: Browser Notification Sounds for Multi-Session Completion and Todo

Introduction

When running agents or long-running tasks with DeepSeek Harness (DSH), replies often end in background sessions. When you’re away from the screen, you can’t hear that “the run has finished.” Switching tabs repeatedly to check status is tedious and makes it easy to miss nodes that require clicking to confirm or approve. The community plugin dsh-sound-notification is introduced below: it plays short two-tone notification sounds in the Web client to distinguish between “reply ended” and “question / approval pending,” and provides a clickable mute badge next to the input area.

What Is This

dsh-sound-notification is a client-side plugin for the DSH Web UI, released by maintainer sviktor75 and categorized as “client” in the SkillHub plugin directory. It does not modify server-side logic; instead, it monitors session states in the browser, plays distinguishing notification sounds for any session (including sessions corresponding to tabs that are currently not open), and displays a speaker badge in the composer dock for one-click muting.

The DSH ecosystem emphasizes “everything is a plugin”; directories like SkillHub are maintained by the community and have no official affiliation with DeepSeek / Quantilla. Before installing, please review the GitHub repository source code and MIT license yourself, and understand that the plugin runs in the browser alongside the client scripts loaded by the current dsh process.

Core Features

The capabilities explicitly listed in the documentation are as follows.

  1. Two two-tone sine wave notification sounds (Web Audio), applied to any session:
    - Reply ended: ascending tone (880 Hz → 1318.51 Hz).
    - Question asked / approval needed: descending then ascending (987.77 Hz → 783.99 Hz → 987.77 Hz).
  2. Speaker badge in the composer dock: click to toggle between muted / unmuted.
  3. Mute preference: stored in the browser’s localStorage, persisted across refreshes.
  4. Compatible with browser autoplay policies: audio is unlocked after the first click or key press; all audio-related paths include exception protection to prevent UI breakdown due to playback failures.

The server-side index.js is a placeholder (no-op); the actual logic lives in client.js: Web Audio sound generation, state monitoring, and the mute badge. The package manifest is in package.json (dsh.bundle + dsh.client), and the composition layout is written via cordis.patch.yml; plugin metadata is in locale/en.json.

Installation and Activation

No build step is required; the repository is distributed as plain JavaScript. The installation command follows the README verbatim:

dsh plugin --profile <your-profile> add github:sviktor75/dsh-sound-notification

If you want to pin a specific commit for improved reproducibility, you can use:

dsh plugin --profile <your-profile> add github:sviktor75/dsh-sound-notification#<commit-sha>

Replace <your-profile> with the actual name of your DSH profile; replace <commit-sha> with the full SHA of the target commit.

The package.json configures the client for the Web platform with immediately: true and injects @deepseek-ai/dsh-client-ui-conversation; after installation, it works as long as the Web UI loads the client module.

Typical Usage

  1. Install the plugin for a specific profile using the command in the previous section, then restart or refresh the DSH Web interface (following your local DSH habits).
  2. Click or press a key once within the page to satisfy the browser’s first-interaction requirement for audio; after that, notification sounds will play normally.
  3. Let multiple sessions run tasks in the background: when any session’s reply ends, you’ll hear an ascending two-tone; when any session is waiting for a question or approval, you’ll hear a descending–ascending two-tone, even if that session’s page is not currently open.
  4. When you need a quiet environment, click the speaker badge in the composer dock to mute; click again to restore. The preference is written to the current browser’s localStorage.

Use Cases and Notes

Suitable for: scenarios where you run Harness for extended periods, have multiple sessions running in parallel, occasionally leave your workstation, but still want to use sound to perceive “finished” or “you need to click something.”

Notes:

  • Notification sounds depend on Web Audio and browser policies; you must perform at least one user gesture to unlock audio before first use.
  • Muting only applies to the current browser; you must reconfigure it after switching devices or clearing site data.
  • The plugin version in the repository’s package.json is 1.0.0; star counts and other information on directory pages are as shown on each site; installation and behavior are governed by the GitHub README.
  • Before installing the plugin, please read the source code and MIT license; the client script executes in the DSH Web environment you use, so evaluate whether loading third-party client plugins is allowed according to your organization’s security policies.

Conclusion

dsh-sound-notification uses two short chimes to cover “any session’s reply ended” and “question / approval pending,” and provides a persistent clickable mute badge to control the level of interruption. To learn more, visit the SkillHub directory page and the GitHub repository.

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

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

Xiaoye