Preface¶
When using DeepSeek Harness (DSH) 0.1.7-rc.2 on Windows, handling manual approvals and tracking main conversation states often relies on native system features, which can easily lead to noise or fragmented interaction. The dsh-approval-center plugin aims to solve this issue by providing a centralized manual approval entry via the Windows Notification Center. It also unifies the management of completion, error, and exception states for the main conversation, while suppressing sub-agent notifications to reduce distractions caused by parallel tasks.
Core Features¶
- Manual Approval via Windows Notification Center: Provides approve or reject buttons directly via notification cards to handle approval operations requested by the host.
- Main Conversation State Alerts: Receives alerts for turn completion, errors, blockages, and output limits reached.
- Sub-agent Notification Suppression: Disables start, completion, error, and approval notifications for all sub-agents to avoid noise.
- SQLite Audit: Records approval history, including statuses such as approved, rejected, and timeout.
Installation¶
Ensure the environment meets the requirements (DSH 0.1.7-rc.2, Node.js >= 24, pnpm available on PATH). Use the following command to install the specified version:
dsh plugin --profile web add https://github.com/xmwpoi/dsh-approval-center/releases/download/v0.4.0-rc.2/dsh-approval-center-0.4.0-rc.2.tgz
Typical Usage¶
After installation, cordis.patch.yml must be configured. The following configuration example demonstrates a parallel approval queue, a 60-second timeout, and listening for requests from all tools (tools: ['*']):
- id: approval-center
name: dsh-approval-center
config:
timeoutSec: 60
timeoutAction: reject
queueMode: parallel
tools: ['*']
notifyOnTurnEnd: true
notifyOnTurnFailure: true
taskNotificationShowTitle: true
notifyOnApprovalResult: false
Notes¶
- Permission Scope: The plugin only handles operations for which the host has already requested approval; it does not expand tool permissions.
- Notification Control: Approval notifications and result receipts are not controlled by
taskNotificationSound. - Audit Fault Tolerance: If an audit insertion fails, the approval window will not pop up.
- System Limitations: System notification settings, Do Not Disturb/Focus modes may prevent notifications from appearing.
Conclusion¶
This plugin provides a standardized entry for approval and state management for DSH on the Windows platform, making it suitable for scenarios requiring strict human intervention or clear task status feedback.