dsh-quiet: Delegate agent monitoring to the plugin; flash the taskbar only when necessary

Introduction

When running long-running tasks with agents in DeepSeek Harness (DSH), a common practice is to repeatedly switch back to the window while waiting: worrying it might be stuck on approval, waiting for your answer, or that it has finished without your knowledge. Capabilities in the DSH ecosystem are often extended via plugins; the community directory SkillHub and third-party repositories on GitHub are independent entities and are not equivalent to the official DeepSeek or High-Flyer application stores. Below is an introduction to dsh-quiet, a client plugin by maintainer YE-ZINAN (repository YE-ZINAN/dsh-quiet). It “watches” the session progress for you while you are away and only uses taskbar flashing to call you when it truly needs your intervention or the entire task has reached a terminal state. It accumulates other notifications without interrupting what you are currently doing.

What is this

dsh-quiet is a desktop plugin for DeepSeek Harness (package.json version 1.0.1, MIT License). In one sentence: it allows the agent to monitor for you while you are away, alerting you only when stuck (requiring approval/answer) or when there is a result (goal reached, unexpected interruption, reply truncated). Progress such as a specific step being completed or a normal reply ending will not bother you.

The alert method is restrained: it only flashes the Windows taskbar button, without popping up system notifications, making sounds, or stealing focus. The plugin runs with the permissions of the current DSH process; it is recommended to review the repository source code and license before installation (NOTICE.md explains behaviors such as PowerShell launches and local writes).

Platform Limitations (from source material): Windows only. Flashing relies on Win32 FlashWindowEx; it cannot flash when the window is minimized to the tray; if you are currently in the DSH foreground, the taskbar is already lit, so flashing is ineffective—the plugin design assumes flashing is only needed when you “walk away.”

Core Features: Alert Grading and /focus

The plugin categorizes events into three levels. Behavior within a focus block is as follows:

Level Meaning Within Focus Block
L0 Stuck Requires your approval, or agent asks a question Penetrative—Flash taskbar immediately
L1 Result Goal reached, unexpected interruption, reply truncated Accumulate first; present together when focus ends or you manually end it
L2 Intermediate Progress A step completed, a normal reply finished Never alert

The design philosophy is stated bluntly in the README: approvals are fail-closed; if not answered, the task stops, so L0 must penetrate. L2 does not block anything, and “receiving a notification” itself impairs attention task performance, so it cannot be configured as an alert.

Daily usage revolves around a slash command /focus:

Input Behavior
/focus Start focus block, default 25 minutes
/focus 40 Custom duration (minutes)
/focus 0 No time limit, until you say stop
/focus off End early and list accumulated items
/focus status Current status and accumulated items
/focus digest View only accumulated items

Upon starting, it gives a managed declaration (general meaning: do not worry about the agent during this time; if stuck, the taskbar will flash; other progress will be accumulated; it will flash once more at the end for you to review accumulated items). The README explains this is not just copywriting decoration, but helps psychologically replace “unfinished monitoring” with a concrete plan, reducing suspended distractions.

Installation and Enablement

The installation command must use the original text from the source material, replacing the path with the absolute path of your local clone or extracted dsh-quiet:

$env:DSH_HOME = "$env:USERPROFILE\.dsh"
dsh plugin --profile desktop add "link:<absolute path to dsh-quiet>" --registry=https://registry.npmmirror.com

It activates immediately upon installation. If you modify the plugin code later, you must fully quit and restart the desktop client to load the new code—closing the window may only minimize it to the tray, so ensure you actually quit.

Important Warning (README tested): Do not “disable” this plugin in the plugin marketplace. The desktop disable intent will fail and retry approximately every 60 seconds, repeatedly rewriting cordis.patch.yml, potentially flushing the file from ~13 KB to ~661 B, causing loss of agent presets and model settings.

Configuration

Adjust in config within cordis.patch.yml (changes do not hot-reload, client restart required):

Key Default Description
flash true Master switch; if off, only logs are written, no flashing
alertLevels [L0, L1] Levels allowed to alert
focusMinutes 25 Default duration for /focus with no arguments
focusL0Penetrates true Whether L0 penetrates within a focus block
l0FlashMode tray L0 flash mode: tray only flashes taskbar, all includes title bar
l0FlashCount 15 Number of L0 flashes
l1FlashMode / l1FlashCount tray / 8 Corresponding settings for L1
logPath '' Observation log; leave empty to use internal events.jsonl

Typical Usage

  1. In the DSH desktop client, after assigning a task to the agent, enter /focus or /focus 40, and leave the window to do other things.
  2. If the agent is stuck on approval or a question (L0), the taskbar flashes; return to DSH to handle it.
  3. During the focus time, L1 events will not interrupt in real-time; it flashes once when time is up, or you can check accumulated items anytime with /focus off or /focus digest.
  4. For silent debugging, set flash to false and check logs only.

Alert execution details are in the repository tools/flash-dsh.ps1, which can be run independently (-Mode tray|all|caption, -Count N, -UntilFocused). For more complete design derivations, see DESIGN.md.

Use Cases and Notes

Who it is for: Windows users who frequently run long tasks in DSH desktop and do not want to be interrupted by step-by-step progress notifications; willing to use “taskbar flash” instead of “staring at the window constantly.”

Must Know:

Conclusion

dsh-quiet changes “when to come back and see the agent” from manual repeated switching to system management based on L0/L1/L2 rules: immediate flash for blockers, batch reporting for terminal states and block ends, and silence for intermediate progress. If you are already using DSH desktop for agent development or long conversations, you can install it using the link: local path with the PowerShell command above, try a round with /focus, and modify cordis.patch.yml as needed. It is classified as a client-side plugin; entries and repositories for dsh-quiet maintained by YE-ZINAN can be found on both SkillHub and GitHub.

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

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

Xiaoye