dsh-task-overlay: Monitoring Task Progress Outside the DSH Window

Introduction

When running long tasks with DeepSeek Harness (DSH), the current phase, Todo list, and “pending confirmation / completed but unviewed” statuses are usually located in the main window. If you minimize the window or switch to other applications, you must click back into DSH to check the status. If you wish to have a small area persistently displayed on your desktop showing the same set of information, and want to control its start/stop via switches within DSH, the community plugin dsh-task-overlay is a client extension designed for this scenario.

Below is an introduction to what it does, how to install and use it, and the respective responsibilities of the Windows desktop floating window and the cross-platform sidebar.

What is this

dsh-task-overlay is released by maintainer gg947919490-byte and categorized as a Client plugin. It places a desktop floating window outside the DSH window to display the current task status in real-time; simultaneously, it provides a “Desktop Overlay” start/stop switch in the DSH sidebar.

The desktop floating window component is based on PowerShell + WPF and supports Windows only. The switch within DSH and the GUI push status to the floating window; this logic is cross-platform along with the DSH client (on non-Windows systems, the sidebar switch and status pushing can still be used, but there will be no desktop WPF window).

Core Features

Goals and Todos

Content synchronized between the floating window and the DSH sidebar includes:

  • Goal Status: phase (In Progress / Paused / Blocked / Completed), objective, Round N/M, blockage reason.
  • Todo Progress: Progress bar and list (Completed / In Progress / To Do).
  • Reminders: Statistics across all sessions—N sessions waiting for confirmation, N sessions completed but unviewed.

Lifecycle Behavior

  • The desktop floating window remains available even after the DSH window is minimized or closed.
  • If DSH completely exits, the floating window does not disappear automatically but will display “DSH Not Running”.

DSH-side Control

After installation and refreshing the page, a “Desktop Overlay” switch (green dot indicates running) will appear at the bottom of the sidebar, used to start or stop the desktop floating window process.

Installation and Activation

The plugin requires Node >= 20 and DSH >= 0.2.0-0 (see repository package.json). The license is MIT.

First, install the market plugin dshmarket. Open Settings → Plugin Market in DSH, search for dsh-task-overlay, and install with one click.

DSH Official Plugin Page

Fill in the installation box with:

github:gg947919490-byte/dsh-task-overlay

Or paste the direct link to dsh-task-overlay.tgz from the Releases.

CLI

dsh plugin add gg947919490-byte/dsh-task-overlay

After installation is complete, refresh the DSH page once (F5). The “Desktop Overlay” switch should appear at the bottom of the sidebar.

Typical Usage

Entry Action
“Desktop Overlay” switch at the bottom of DSH sidebar Click to start/stop the desktop overlay (Green dot = Running)
Floating window title bar ▾ / ▸ Expand details / Collapse to a 190×32 mini capsule
Drag floating window title bar Move position (Position and collapse state will be remembered)
Floating window ✕ Close the floating window process (Can be reopened via the DSH sidebar switch)

First launch without going through DSH switch: Double-click desktop\launch-overlay.cmd or desktop\launch-overlay.vbs.

Startup Auto-start: Place a shortcut to launch-overlay.vbs in shell:startup.

How it Works (Briefly)

Data is not projected by the host from the root context (as it cannot read session-scoped todos / goal), but is pushed by the DSH GUI Client:

DSH GUI (Client plugin, possessing full session state)
   │  POST compressed snapshot → 127.0.0.1:45123 (2-second heartbeat, instant push on change)
   ▼
Desktop Overlay (Independent WPF process + built-in TCP listener)
   ▲
   │  Sidebar switch → same-origin relative path /task-overlay/control (start/stop/toggle/status)
DSH Host (Host half of this package)—— start uses spawn to launch overlay, stop sends {"cmd":"stop"} for graceful shutdown

The floating window determines if DSH is alive using a three-stage approach: ≤20 seconds is considered real-time; >20 seconds retains the last frame and labels the data age; >150 seconds and host port connection refused triggers the “DSH Not Running” display.

Configuration and Troubleshooting

Common Configuration

Location Parameter Default Description
dsh/client.js BRIDGE_URL http://127.0.0.1:45123/task-overlay Client push address, must match the overlay -Port
desktop/task-overlay.ps1 -Port 45123 Bridge listening port
Same as above -DshPort 19387 Host port, used for liveness detection
Same as above -Width 300 Expanded width (200–520)
Same as above -StateFile ~/.dsh/task-overlay/desktop-window.json Position/collapse memory

If the port is occupied: Modify -Port and sync BRIDGE_URL in dsh/client.js.

Troubleshooting

  • Last frame snapshot: ~/.dsh/task-overlay/last-payload.json
  • Overlay not appearing: Ensure you have refreshed with F5 and the sidebar switch is “On”; or manually run desktop\launch-overlay.cmd.

Security Notes (Should be aware before use)

  • The host control interface binds to the webServer’s own listening address (default 127.0.0.1) and validates the request Origin to be same-origin or dsh-app://app.
  • The bridge port (45123) has no authentication and binds only to the loopback; other local processes could theoretically forge display data or trigger shutdown. This is a known limitation described in the README.

Use Cases and Notes

Suitable for: Developers running long DSH tasks on Windows who wish to have goal / Todo / session reminders permanently residing in a corner of their desktop without repeatedly switching back to the main window.

Notes:

  • The desktop WPF floating window is Windows only; other systems can only rely on the switch within DSH and client push logic.
  • The plugin runs with the current DSH process privileges; it is recommended to read the GitHub repository source code and MIT license before installation.
  • The community directory SkillHub Plugin Page is an independent ecosystem site and has no official affiliation with DeepSeek / High-Flyer.

Conclusion

dsh-task-overlay pushes the goal, Todo progress, and cross-session confirmation reminders from the DSH session into an independent desktop floating window, and manages the start/stop uniformly via a sidebar switch. Windows users can install via the CLI or Plugin Market described above and try it out after refreshing.

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

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

Xiaoye