dsh-notify-say: DSH Desktop Task Completion Voice Notification Plugin

Introduction

When running long tasks on DeepSeek Harness (DSH) Desktop, a common practice is to switch to another window and wait for a notification before returning. Standard desktop notifications often consist of just a sound or a Toast message, reporting “completed” as soon as the main conversation round finishes. This can lead to premature conclusions when sub-agents or background tasks are still running. Conversely, if a notification pops up every time a subtask ends, it results in a barrage of reminders.

The following is an introduction to the community plugin dsh-notify-say (maintainer unifilitence): a notification extension for Windows DSH Desktop that announces status via local voice (and optional VOICEVOX voice packs), reducing false positives and notification bombing through rules like the idle gate. Classified as a client-side plugin, it is listed in the SkillHub plugin directory; source code and documentation are available in the GitHub repository (MIT license, version 0.4.87 referenced in the materials).

What is this

dsh-notify-say is a notification plugin for DSH Desktop: when a task finishes, it speaks (playing local wav files, without relying on cloud TTS). Crucially, if sub-agents are still running, it delays the “completed” announcement, playing it only once everything has finished.

Compared to notifications that just “ding,” it emphasizes three things: audible announcement content, more accurate completion timing, and individual toggling for five event types (completed / error / intercepted / pending approval / needs input). Without installing additional voice packs, it still functions normally using Windows Toast and system alert sounds.

Core Features

Idle Gate and Same-Session Debounce

When the main conversation round ends but sub-agents or background tasks are still running, the plugin withholds the completion reminder; it plays only once after everything finishes. There is a default timeout fallback of approximately 10 minutes to prevent the notification from never playing if a subtask hangs.

By default, it triggers only once per session within 60 seconds (adjustable via the “Same-session debounce” setting). When a turn encounters an error, it can play a Japanese apology voice line (optional) to distinguish it from “task completion.”

Voice and Audio Sources

  • The release version includes 1 Japanese voice (Zundamon), with 13 additional voices available for on-demand download from GitHub via the settings page (a terms and attribution notice will appear before downloading).
  • Audio sources can be selected: Voice Pack, Windows System Speech Synthesis, or System Alert Sound. Notifications and playback are fully offline; network access is used solely for optional voice pack downloads and update checks (max once every 24 hours, triggered only by manually clicking “Check for updates”).
  • Custom wav files can be placed in the directory specified in the README (can also be synthesized using a local VOICEVOX engine).

Settings Page and Command Line

Configuration uses the official Config schema. Changes made in DSH Settings → Notifications take effect immediately. Priority (low to high) is: Schema Defaults → cordis.patch.yml → Settings Page → storages/config.json written by tools/notify-config.ps1. Note: If you change an item in the Settings Page, subsequent changes to the same item in cordis.patch.yml will not take effect (due to the DSH user-layer priority design).

Scripting examples (located in the plugin’s tools directory):

.\notify-config.ps1 -Show
.\notify-config.ps1 -Voice off
.\notify-config.ps1 -Volume 40
.\notify-config.ps1 -Disable aborted -Enable subagents
.\notify-config.ps1 -Clear

Jump Back to Session

  • Jump on window switch-back: If DSH is not in the foreground when the notification is sent, switching back to the window allows jumping to the relevant session (strategies available for multiple sessions: “Earliest missed / Last one / None”).
  • Click Toast to jump to corresponding session (from v0.4.70, stable in v0.4.83): Requires explicitly enabling “Click notification to jump to corresponding session” in settings. This is handled via a registered dshnotify:// protocol and local endpoint. Enabling this turns off the older “Auto-jump on window switch-back” to prevent conflicting jumps.

The plugin cannot know which session the user is currently viewing; multi-session jump rules are a documented trade-off solution.

Installation and Activation

Prerequisites

  • DSH Desktop >=0.2.1-rc.2 and <0.3.0 (README specifies tested environment including 0.2.1-rc.2).
  • Windows only (uses WinRT for Toast, MCI for playback, depends on Windows PowerShell 5.1).
  1. Open DSH Settings → Plugins.
  2. Enter the package name in the “Package Name or Address” input box (not the search box above).
  3. Click “Install” and restart DSH when done.
dsh-notify-say

If you encounter network issues installing within China, you can switch the “Install Source” to “China Mainland Mirror” in the same panel and try again.

Other Methods

npm:

npm install dsh-notify-say

For local development, you can use link: to the repository path in your profile’s package.json, add dsh-notify-say to dsh.profile.bundles, and run pnpm install in the profile directory before restarting DSH (paths depend on your local DSH installation; the README example uses profiles\desktop\package.json).

Typical Usage

After installation, no configuration is needed: you will get a Toast + default voice announcement upon task completion.

For fine-tuning, go to DSH Settings → Notifications:

Goal Action
Change voice / volume “Voice” / “Volume”
Download more voices “Voice Packs” → “Load List” → “Download”
Sound only Change audio source to “System Alert Sound”
Notify on sub-agent completion Turn on “Sub-agents” (default: off)
Reduce repeated notifications Increase “Same-session debounce”
Troubleshooting Diagnostic export in the advanced section (sanitized logs)

Example directory for downloaded voice packs:

%LOCALAPPDATA%\dsh-notify-say\voice-lines\<voice_key>\

Use Cases and Notes

Who is it for: Developers using DSH Desktop on Windows who want to hear when long tasks finish and want fewer false positives; users willing to optionally download VOICEVOX voice packs and comply with attribution terms.

Important Notes:

  • The plugin runs under the current DSH process permissions. Please read the source code, the MIT license, and THIRD-PARTY-NOTICES before installing.
  • Platform and DSH versions are constrained by the README; non-Windows or unsupported DSH versions are not applicable.
  • Clicking a Toast to jump depends on local protocol registration and security software allowances; if blocked, it degrades to only focusing the window without jumping.
  • SkillHub etc. are community directories and have no official affiliation with DeepSeek / High-Flyer; the DSH ecosystem emphasizes “everything is a plugin,” and this is one such community contribution.

Conclusion

dsh-notify-say advances DSH Desktop notifications from “just a beep” to “clear announcement, waiting for sub-agents, configurable”: the idle gate reduces false completions, local voice and optional VOICEVOX packs balance offline capability with voice variety, and the settings page along with notify-config.ps1 facilitate daily use and scripted troubleshooting.

  • Directory Page: https://www.skillhub.cn/plugins/unifilitence/dsh-notify-say
  • GitHub: https://github.com/unifilitence/dsh-notify-say
羽毛球分组比赛记分
小程序二维码

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

Xiaoye