dsh-turn-alert: Taskbar Flashing and System Notifications on DSH Response Completion

Introduction

When running long conversations or waiting for the model to finish in DeepSeek Harness (DSH), the window is often not in the foreground: you might be writing other code, switched to a browser, or just minimized the Harness. Harness itself does not provide a desktop-level notification when a turn (round of response) ends; you can only repeatedly switch back to the window to see if the progress has finished.

The dsh-turn-alert plugin introduced below, maintained by community contributor yurin7, listens for the turn/end event in the Session event stream. When a turn worth interrupting you ends, it flashes the Windows taskbar button and pops up a system notification. Options are centralized in Settings → Answer Completion Alert, changes take effect immediately, and no restart is required.

What is it

dsh-turn-alert is a Windows-side DSH Web plugin (requires dsh >=0.2.2-rc.1, Node >=22.19.0). It does not change model behavior; it simply subscribes to the turn end event within the Host process and decides whether to flash the taskbar, send a Toast, or disable both based on your settings.

Repository: https://github.com/yurin7/dsh-turn-alert
Plugin directory page: https://www.skillhub.cn/plugins/yurin7/dsh-turn-alert
License: MIT (package version in docs is 1.3.0).

Core Features

The plugin provides two types of visible signals, corresponding to the Chinese setting item names below.

Signal What you see Setting Item
Taskbar Flash Application button flashes continuously until you switch back to that window Flash Taskbar Icon
System Notification Windows notification from DeepSeek Harness System Notification

By default, subagent turns are not notified—that’s internal dispatch, usually not the “main reply” you are waiting for. If you also want to be notified, you can enable Also notify for subagents (corresponds to config includeSubagents, default false).

Other common behaviors (all have defaults, adjustable in the Settings page or cordis.patch.yml):

  • Master Switch enabled: Default true, disables all options below when turned off.
  • Foreground Mute skipWhenFocused: Default false; when true, no notification if the Harness window is in the foreground.
  • Alert on Failure alertOnError: Default true, notification also works when a turn ends in failure.
  • Cooldown cooldownSeconds: Default 3, shortest interval between two notifications (seconds).
  • Notification Language language: Default auto, options include zh, en, ja, ko, es, fr, de, ru, pt, etc.; The README explains how language is parsed for Toasts and the Settings page as they run in different processes.
  • Title and Body: Customizable via titleFromSession, customTitle, customBody; supports placeholders {title}, {reason} (completed / error / max-tokens), {session}.
  • Diagnostics trace: Default false; when true, writes a line of log for each turn end to %TEMP%\dsh-turn-alert.log.

Installation and Enablement

The installation method provided in the documentation (which does not require publishing to npm) is to add the plugin from GitHub (using the web profile):

dsh plugin --profile web add github:yurin7/dsh-turn-alert

After completion, restart dsh web is required. If using DSH Desktop, you should install via the application’s built-in plugin page so that changes land on the profile actually used by Desktop.

Subagent alerts, cooldown times, etc., can also be written directly into cordis.patch.yml (editing the same patch as the Settings page), for example:

- id: turn-alert
  name: dsh-turn-alert
  config:
    includeSubagents: true
    cooldownSeconds: 10

Example for custom notification text:

- id: turn-alert
  name: dsh-turn-alert
  config:
    customTitle: '{title} replied'
    customBody: 'Ended with: {reason}'

Typical Usage

  1. Install and restart dsh web using the command from the previous section.
  2. Open Settings → Answer Completion Alert, turn on the master switch, taskbar flash, and system notification as needed; if you often use subtasks and want to know about them too, turn on Also notify for subagents.
  3. After initiating a conversation, switch to another window; when the main session turn ends normally, you should see the taskbar flash and/or a system notification (notification title defaults to the session title, body is built-in text or your configured template).
  4. If the notification does not appear, you can check notify, enabled, cooldown time, and whether appUserModelId (default com.deepseek.dsh) matches the current installation identity; you can temporarily enable trace to view the log file for troubleshooting.

Applicable Scenarios and Notes

Who is this for: Developers or regular users on Windows using DSH Web (or Desktop with instructions to install via its plugin page) who want “turn end” to have desktop feedback.

Environment and Permissions: The plugin runs with the current dsh process, so the notification and taskbar APIs it can access are subject to that process’s permissions and platform limitations; Windows only is supported, Linux / macOS are not in the README support scope.

Ecosystem Note: DSH advocates “everything is a plugin”; the plugin directory on skillhub.cn is a community site with no official affiliation with DeepSeek / Hypersphere. It is recommended to review the repository source code and MIT license before installing to ensure it meets your security and compliance requirements.

Conclusion

dsh-turn-alert fills the missing desktop signal for Harness when a turn ends: taskbar flash plus optional system notifications, rules detailed down to subagents, failures, foreground mute, and template text. Install via the directory page or GitHub using the official command, and tune in Answer Completion Alert when needed.

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

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

Xiaoye