dsh-notify: Native System Notification Plugin for DeepSeek Harness

In the development workflow of DeepSeek Harness, when an agent is running in the background or waiting for confirmation, developers often need to manually check the window status. The dsh-notify plugin maps DeepSeek Harness status changes directly to the operating system’s notification center, solving the problem of missed statuses caused by “out-of-sight” scenarios.

Maintained by Zhiyi-Zhao and licensed under MIT, this browser-side plugin sends system-level notifications to the desktop or browser via the Web Notification API.

Core Features

The plugin triggers notifications at the following moments:
* Turn finished
* Turn failed
* Background job settled
* Agent waiting for confirmation

Clicking a notification focuses the window and opens the corresponding conversation. To minimize distractions, the plugin includes built-in noise control mechanisms:
* Notifications are suppressed by default when the window is focused.
* Completed tasks with a runtime shorter than 10 seconds are ignored by default.
* Repeated notifications within the same session are stacked rather than overwriting each other.

Installation and Activation

Install via the official CLI:

dsh plugin --profile desktop add github:Zhiyi-Zhao/dsh-notify

After installation, a self-test notification is sent automatically on the first load to verify that the notification channel is functioning correctly.

Configuration

Since the plugin does not read the cordis.yml configuration, all runtime parameters are controlled via the dsh-notify.options key in localStorage.

Example of setting configuration items via the browser console:

localStorage.setItem('dsh-notify.options', JSON.stringify({
  onlyWhenUnfocused: false, // 默认为 true,聚焦时静音
  minRunMs: 0               // 默认为 10000,忽略短于 10 秒的运行
}))

Notes and Use Cases

This plugin runs with the permissions of the DeepSeek Harness process. It is recommended to review the source code and license before use.

  • Configuration Source: The plugin does not provide a web UI configuration card; all configurations must be modified via code or the browser console by changing localStorage.
  • Notification Stacking: Multiple notifications within the same session are stacked and do not replace each other.
  • Multi-client Delivery: If you have both desktop and browser clients mounted simultaneously, both will receive notifications.
  • Headless Mode Unsupported: Only supports Web GUI; notifications will not be received when running in headless mode or ACP (Agent Control Panel).
  • Windows Specifics: On Windows, never pass the tag parameter in the Notification constructor, otherwise Toast messages will not reach the system center.
  • Permission Management: The desktop shell automatically grants notification permissions; the browser side requires user interaction (click or key press) to request permissions.

Summary

dsh-notify provides native integration between DeepSeek Harness and the operating system, making it suitable for development scenarios involving long-running tasks or requiring immediate response confirmations.

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

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

Xiaoye