dsh-taskcompletednotification-plugin: Alerts you back via Windows banners when DSH long tasks complete

Preface

When running codegen, batch processing, or long conversations in DeepSeek Harness (DSH), the window often remains in the background. If you rely on manual Alt+Tab switching when a task ends or the model waits for you to click “Approve / Select an item,” it disrupts your workflow and makes it easy to miss a turn.

Below is an introduction to the community plugin dsh-taskcompletednotification-plugin (maintained by S1m0n1314). It monitors Harness session events on Windows and pops up system banners for three scenarios: task completion, model questions, and model permission requests. Clicking the notification brings the DSH window to the foreground. The plugin only listens to events and does not modify the execution path of approvals or questions.

What is this

  • npm Package Name: dsh-taskcompletednotification-plugin (all lowercase; the GitHub repository is named dsh-TaskCompletedNotification-plugin, but installation and references use the npm package name).
  • Display Name (package.json): Windows Notification Reminder.
  • Platform: Windows (as indicated in the README; not applicable to non-Windows environments).
  • License: MIT (© 2026 S1m0n1314).
  • Current Version (package.json): 0.2.0; Node engine requirement >=22.19.0.

The community directory SkillHub entry classifies it as “Fun Customization”; the plugin is marked as an extension in the DSH-side metadata. The DSH ecosystem follows the “everything is a plugin” philosophy. SkillHub is an independent community site and has no official affiliation with DeepSeek / High-Flyer.

Core Functions

The plugin pops up a Windows toast in three scenarios. The title is always DeepSeek Harness (configurable via the title setting):

Scenario Notification Body (Default)
A task turn finishes (turn/end, and reason.kind === 'completed') Task Completed
Model calls ask_user_question waiting for your selection Action Requires Confirmation
Model requests sandbox / privilege escalation waiting for your authorization Action Requires Confirmation

Other documented behaviors:

  1. Click banner to bring up window: Enabled by default (focusOnClick: true); it attempts to restore the window to the foreground even if it was minimized.
  2. Signature and Icon: Can be registered as “DeepSeek Harness” + Harness icon instead of “Windows PowerShell” (registerAppId, default true).
  3. Only one pop-up per turn: If a “Requires Confirmation” notification was already triggered for a question or permission request in the current turn, the “Completed” notification is not repeated at the end of the turn by default (suppressTurnEndAfterAsk: true).
  4. Sub-sessions do not disturb: Turns generated by subagents do not trigger notifications; only the session you are currently in will notify.
  5. Does not interfere with Harness: It only listens throughout the process and does not modify any decisions.

Installation and Activation

After installing via any of the following methods, you must fully exit and restart DSH (plugin modules are loaded only once at startup).

The command provided in the README is:

dsh plugin --profile web add dsh-taskcompletednotification-plugin

The documentation also states that this command requires the package to be published to npm. At the time of writing, the plugin has not been published; you need to install it via a distribution package or local bundle first. Once published, the command above can be used directly.

Install from GitHub Releases

  1. Download dsh-taskcompletednotification-plugin-<version>.zip from Releases and extract it (example path: D:\plugins\dsh-taskcompletednotification-plugin-0.1.0).
  2. Let DSH install the directory:
plugin_manager action=install_bundle target="D:\plugins\dsh-taskcompletednotification-plugin-0.1.0"

Replace target with the actual path on your machine after extraction.

Manual Profile Editing

Add the plugin directory to the package.json dependencies of your profile, and insert the following into the profile’s cordis.patch.yml:

- insert:
    - id: dsh-taskcompletednotification-plugin
      name: 'dsh-taskcompletednotification-plugin'

It is recommended to review the repository source code and the MIT license before installation; the plugin runs with the permissions of the current DSH process.

Typical Usage

  1. After installing and restarting DSH, work normally in the Harness; no additional operations are required.
  2. When a task ends or requires confirmation in the UI, a banner will appear in the bottom right corner of Windows and enter the Notification Center.
  3. Click the banner or the entry in the Notification Center to return the DSH window to the foreground and continue working.
  4. If you do not want to be disturbed: Turn off “DeepSeek Harness” in Settings → System → Notifications, or set enabled to false in the plugin configuration.

Configuration

Locate the dsh-taskcompletednotification-plugin entry in the profile’s cordis.patch.yml and modify its config; fully restart DSH after making changes. Unfilled fields use default values.

Field Default Meaning
enabled true Master switch
notifyOnTurnEnd true Task completion notification
notifyOnQuestion true Model question notification
notifyOnApproval true Model permission request notification
minTurnMs 0 Do not pop up completion notification for turns shorter than this millisecond value
quietWhenActiveMs 0 Set to e.g., 15000 to suppress completion notification if there was recent keyboard/mouse activity
suppressTurnEndAfterAsk true Do not pop up “Completed” at turn end if a question/permission request occurred in this turn
title DeepSeek Harness Notification title and registered display name
focusOnClick true Whether clicking the banner activates the DSH window
registerAppId true Whether to register notification signature and icon

Example: Disable click-to-activate, and only notify on completion when away from the computer:

- id: dsh-taskcompletednotification-plugin
  name: 'dsh-taskcompletednotification-plugin'
  config:
    focusOnClick: false
    quietWhenActiveMs: 15000

You can use the repository’s included script to test the notification chain on Windows:

node tools/send-test-toast.mjs "Body Text"

Scenarios and Caveats

Who is it for: Developers using DSH on Windows for long tasks who want the system to proactively remind them “you should come take a look”; this aligns with the README’s positioning of “felt it was useful with WorkBuddy, so made a banner notification.”

Permissions and Side Effects (No administrator required; writable resources only for the current user):

  • User directory: %USERPROFILE%\.dsh\dsh-taskcompletednotification-plugin\ (logs, notification staging, click handling scripts, etc.).
  • User-level Registry (HKCU): Notification AppUserModelId and the dsh-taskcompletednotification-plugin:// protocol (used for clicking to bring up the window; protocol-related entries are deleted upon uninstallation).
  • Each notification may briefly launch powershell.exe (documented as ~1 second, max 3 concurrent); the plugin itself does not connect to the network.

If you do not accept registry or click behaviors, you can set registerAppId: false, focusOnClick: false, or enabled: false.

Links

Following the steps above, once installed and DSH is restarted on Windows, long tasks and operations requiring confirmation will remind you via banners. You can simply click to return to the Harness and continue when needed.

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

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

Xiaoye