dsh-windows-notify: Native Windows Notifications at the End of DSH Turns

Preface

When running long sessions in DeepSeek Harness (DSH), there is often no obvious indication when the model finishes a round: the window might be in the background or minimized to the tray, and the “turn finished” status is easy to miss. While the browser tab title changes, it is not as prominent as a system-level toast. Below is an introduction to the community plugin dsh-windows-notify (Maintainer: 528085390, Category: Client): On Windows 10/11, it pops a native WinRT notification at the end of every agent turn. The master switch and granular options are all managed within the DSH settings page; manual configuration file editing is not required.

What is this?

dsh-windows-notify is a Windows native notification plugin for DSH. In short: turn ends → a system toast appears. The switch is located in Settings → Notifications, and changes take effect immediately without a restart (note: modifying host-side code still requires a DSH restart).

  • Repository: 528085390/dsh-windows-notify
  • Community Directory: SkillHub Plugin Page
  • License: MIT; Current Package Version 0.3.0 (subject to the repository’s package.json)
  • Environment: Windows 10/11 (Windows.UI.Notifications) + DSH >= 0.1.7-rc.1; PowerShell 5.1 (pwsh 7 is not supported)

Core Features

Notification Timing and Deduplication

  • One per turn. The deduplication key is <sessionId>#<turn>; turns 2 and 3 of the same session will each trigger a separate notification.
  • Default: No noise from subagents: Subagent session turns do not trigger notifications by default (notifySubagents: false), but this can be enabled in settings.

The plugin registers settings.section (order 16), located between “Plugins” and “Agent Presets”. The adjustable items are as follows (default values are from the README):

Option Default Description
Enable Notifications On Master switch; when off, even test notifications will not pop up.
Sound On Whether the toast plays a sound.
Include Text in Notification On When off, the body text is fixed to “Turn completed”.
Summary Length 80 Maximum character count for the body (20–300).
Title Prefix DeepSeek Harness Title format: <Prefix> · <Session Title>
Notify on Subagent Completion Off When enabled, subagent turns will also trigger notifications.
Send Test Notification — Immediately pops one up to verify the link.

Implementation Details (For Troubleshooting)

  • Zero Dependencies: No build process, no npm dependencies, no native modules; the host side uses ESM + PowerShell 5.1 scripts, and the client side is browser ESM.
  • Diagnostics: One log line per turn (sent / skipped + reason + turn number). See the verification section below for the log file location.
  • Settings are read and written via the same-origin HTTP bridge /api/dsh-windows-notify/*, bypassing schemastery Config. Option priority: State File > cordis line config > Built-in Defaults, read dynamically every turn.

Installation and Activation

Requirements: Windows 10/11 + DSH >= 0.1.7-rc.1.

Command Line or GUI

From the sidebar, go to Plugins → Add Plugin. The following three formats point to the same repository; pick one:

https://github.com/528085390/dsh-windows-notify
git+https://github.com/528085390/dsh-windows-notify.git
github:528085390/dsh-windows-notify

The equivalent command line is:

dsh plugin add https://github.com/528085390/dsh-windows-notify

(Any of the three specs above can also be passed to dsh plugin add.)

If you are asking the agent to install it within a DSH session, you can say: “Help me install the plugin https://github.com/528085390/dsh-windows-notify”—this will write to the profile’s dependencies and dsh.profile.bundles and execute pnpm install. You must restart DSH after completion.

After installation, enable dsh-windows-notify in the Plugins page, and then restart DSH (the host half loads via import at startup; there is no hot reload). To lock a version, you can add a commit hash: https://github.com/528085390/dsh-windows-notify#<sha>.

Do Not Install Using the Bare Package Name

dsh plugin add dsh-windows-notify will resolve via the npm registry. This repository is not published to npm. The package with the same name on the registry belongs to a different author and also declares dsh.bundle.patch; installing it silently installs the wrong package and can easily conflict with dependency records. You should always use the GitHub URL or github:528085390/dsh-windows-notify.

Typical Usage

  1. Install and restart DSH as described in the previous section.
  2. Open Settings → Notifications, ensure “Enable Notifications” is turned on, and click “Send Test Notification” to confirm the WinRT link is working properly.
  3. Converse normally and wait for the agent to finish a round; you should receive a toast. The title will be “Prefix · Session Title”, and the body will be truncated based on “Include Text” and “Summary Length”.

If the GUI is unavailable, the plugin directory provides toggle.cmd (flips the master switch) and status.cmd (shows current values and recent logs). toggle.ps1 only modifies enabled and does not overwrite other items in the settings page.

State file path: ~/.dsh/windows-notify.json, example:

{
  "enabled": true,
  "sound": true,
  "includeText": true,
  "notifySubagents": false,
  "titlePrefix": "DeepSeek Harness",
  "maxBodyChars": 80
}

Verify Successful Load

Get-Content "$HOME\.dsh\windows-notify.log" -Tail 5

You should expect to see something like:

2026-10-20T07:46:11.212Z plugin loaded (config.enabled=true)
2026-10-20T07:46:13.134Z settings bridge ready at /api/dsh-windows-notify
2026-10-20T07:52:23.492Z toast session-bec4c0d4-...#3 exit=0 out=WINRT_OK

If the first two lines are missing, the plugin was not loaded. Please refer to the repository’s docs/troubleshooting.md.

Scenarios and Notes

Suitable for: Users on Windows using DSH for local/agent development who need a system-level reminder when a turn ends but do not want to modify cordis or manually write configuration.

Notes:

  • Windows only; Linux/macOS are not applicable.
  • The plugin runs with the current DSH process privileges. Before installation, it is recommended to read the source code and the MIT license to ensure the toast content and log path are acceptable.
  • The Community Directory (SkillHub) has no official affiliation with DeepSeek or QuantumCloud. The DSH ecosystem is “everything is a plugin,” and this plugin is community-maintained (GitHub stars are subject to the display at the time on the directory/repository).

Conclusion

dsh-windows-notify binds “turn completion” to native Windows toasts, centralizes settings within DSH, and skips subagents by default to reduce noise. Please use the official GitHub spec for installation, enable the plugin, and restart DSH afterwards.

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

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

Xiaoye