Preface¶
DeepSeek Harness (DSH) adopts a plugin architecture, where its extensibility relies primarily on the host’s module system. When developing or debugging Agents, developers typically need to manually refresh or switch browser tabs when the Agent requires user authorization, needs a branch choice, or completes a task round. dsh-windows-notify is a plugin maintained by Exynos671 that provides native Windows desktop notification capabilities for DSH. It utilizes the Windows Toast mechanism to push real-time updates of key Agent status changes to the desktop; clicking a notification brings the DSH browser window to the foreground.
Core Features¶
The plugin primarily provides the following capabilities:
- Windows Toast Notifications: Triggers system notifications at three specific moments.
- Authorization Requests: Displays the tool name and reason when the Agent requires your approval for a tool call.
- Choice Selection: Displays a title, question, and up to 6 options when the Agent needs you to select a branch or answer a question.
- Task Completion: Displays “Task Complete” when a task round ends and the Agent status changes to idle.
- Settings Panel: Adds a “Windows Notifications” toggle group under DSH Settings -> General, allowing independent control of the three notification types mentioned above and the “Todo Status Policy”.
- Click to Focus: Clicking any notification brings the open DSH browser window to the front; if no window is open, it creates a new tab.
- Todo Status Policy: A persistent system prompt rule that enforces incremental status updates for the todo list, prohibiting batch updates.
Installation and Configuration¶
Installation¶
The Bundle installation method is recommended. Run the following command in the terminal to mount the plugin to the web profile:
dsh plugin --profile web add github:Exynos671/dsh-windows-notify
Manual Installation (Not Recommended)¶
If manual installation is required, follow these steps:
- Clone the plugin to the plugins directory:
git clone https://github.com/Exynos671/dsh-windows-notify.git "$env:USERPROFILE\.dsh\profiles\plugins\dsh-windows-notify"
- Create a Junction under
profiles\node_modulesso that DSH’s module resolver can locate the package:
New-Item -ItemType Junction `
-Path "$env:USERPROFILE\.dsh\profiles\node_modules\@deepseek-ai\dsh-windows-notify" `
-Target "$env:USERPROFILE\.dsh\profiles\plugins\dsh-windows-notify"
- Mount the plugin. Append the following content to
~\.dsh\profiles\web\cordis.patch.yml(or the global~\.dsh\cordis.patch.yml):
- insert:
- id: windows-notify
name: '@deepseek-ai/dsh-windows-notify'
Configuration¶
Plugin configuration resides in the dsh-notify namespace within ~\.dsh\settings.yaml. After installation, you can toggle switches in DSH Settings -> General -> “Windows Notifications”, or edit manually:
dsh-notify:
enabled: true
approval: true
choice: true
completion: true
focusOnClick: true
todoStatusPolicy: true
enabled: false only mutes notifications; the plugin and its persistent rules remain loaded. To completely uninstall, delete or disable the mount line.
Typical Usage¶
- When the Agent executes a tool requiring permission, a Toast notification
DSH requires your authorizationpops up on the Windows desktop. - You can click the notification, and the DSH browser window will automatically focus to the foreground, rendering the authorization card on the web interface.
- After completing the operation on the web interface, the Agent status returns to idle, and a “Task Complete” notification pops up again.
Environment and Notes¶
- Platform Limitations: Only supports Windows 10/11.
- Dependencies: The host environment requires Windows PowerShell 5.1.
- Profile Requirements: A DSH profile with the Web app (
web) mounted is required. - Functionality Boundaries: The plugin is solely responsible for notifications and does not answer questions; authorization cards and option lists are still rendered by the web client.
- License: MIT License.
- Installation Conflicts: Do not use both “Manual Mount” and “Bundle Installation” simultaneously, as this will cause module system errors.
Conclusion¶
dsh-windows-notify solves the issue of unintuitive status feedback for DSH in Windows environments through native Toast mechanisms. For developers who frequently interact with Agents, it significantly reduces the frequency of checking the window.
- GitHub Repository: https://github.com/Exynos671/dsh-windows-notify
- Plugin Directory: https://www.skillhub.cn/plugins/Exynos671/dsh-windows-notify