Preface¶
When running large-file downloads inside DSH, progress is often scattered across different places: a single command in the main session, another one spun up by a sub-agent, or your own script pulling data in the terminal. The ecosystem already offers plugins such as dsh-download-progress, dsh-smart-dl, dsh-task-progress and dsh-job-progress; most of them only cover the “current session” or “current workspace”, and their README files explicitly state such scope limits. You cannot see the same download initiated by a sub-agent or an external terminal from the right side of the main session, so figuring out “has it finished yet?” forces you to switch sessions or inspect the disk.
Below is the maintained project dsh-download-dashboard by LemRic1117 (GitHub: LemRic1117/dsh-download-dashboard). It attaches a floating panel on the right side of the chat area that only shows downloads of 300 MB or larger, updating progress, speed and remaining time in real time. The data comes from state snapshots in the system temp directory, so it does not discriminate who initiated the download—as long as a downloader writes status to the agreed location, it shows up on the same dashboard regardless of whether it was started in the main session, a sub-agent, or a local terminal.
What is this?¶
dsh-download-dashboard is a local plugin package for DSH (private: true, not published to npm). It is currently at version 1.0.1, licensed under MIT, and requires Node >=20. The community catalog SkillHub categorises it as “memory”; functionally, however, it addresses centralising and making large-file download progress visible across contexts, rather than storing conversation memory.
The plugin has two halves: index.js registers a read-only route that aggregates the state directory; client.js hooks into the framework’s shell.overlay to draw the floating panel. A prerequisite is that the downloader you use writes machine-readable snapshots to an agreed path—the repo’s bundled tools/dl.ps1 is one such example. Using an older dl.ps1 that does not write status leads to “installed but the panel stays empty”, which is the most common “no reaction” reason noted in the README.
UI and behavior¶
The floating panel sits on the right side of the chat area: it does not take up chat width, does not steal focus, and does not cover the input box. Each row corresponds to a download item and shows the file name (hover for the full save path), percentage and progress bar, downloaded/total size, speed, and remaining time.
Status is colour-coded: blue for in progress, green for completed, red for failed (with the failure reason shown). If a download is interrupted by Ctrl+C, process kill, power loss, etc., the snapshot might stay at running for a long time; the rule is 90 seconds without progress updates marks it as “interrupted” (yellow) and retains the byte count at interruption; after another 5 minutes it disappears from the panel. If it was merely temporarily stalled and then continues, it automatically returns to in progress.
When there are no downloads meeting the threshold (default 300 MB), the entire panel is not rendered—no placeholder, no mouse interception. After completion or failure, an entry lingers for 5 minutes before vanishing. Window resizing is handled by CSS; if the right sidebar is open, the panel automatically shifts left to give way.
Where the data comes from: state directory and contract¶
The companion downloader writes a JSON snapshot to the system temp directory on every progress refresh:
%TEMP%\dsh-downloads\state\<id>.json (Windows)
$TMPDIR/dsh-downloads/state/<id>.json (macOS / Linux)
The host-side route GET /dsh-downloads/state aggregates this directory, skipping records that fail to parse or are older than 24 hours. The client-side polls roughly every 1.5 seconds when downloads are active, every 6 seconds when idle, and pauses polling when the page is hidden.
Key fields in the state file are as follows (the route only returns whitelisted fields externally, not exposing URLs, session IDs, command lines, etc.):
| Field | Description |
|---|---|
id |
Unique identifier |
name |
File name shown in the panel |
out |
Full save path (hover hint) |
totalBytes |
Total bytes; null if Content-Length is absent |
doneBytes |
Bytes already downloaded |
speedBps |
Bytes per second |
etaSec |
Remaining seconds |
status |
starting / running / retrying / done / failed |
error |
Failure reason |
startedAt / updatedAt |
ISO 8601; updatedAt affects when it disappears from the panel |
Installation and activation¶
This package is not published to npm. You need to obtain the repository directory, then paste its absolute path (e.g. D:\plugins\dsh-download-dashboard) on the Plugins page of the DSH desktop or Web client, and reload the page (Ctrl+R) after installation.
Method of acquisition as per the documentation:
git clone https://github.com/LemRic1117/dsh-download-dashboard
Place tools/dl.ps1 at ~/.dsh/tools/dl.ps1 or any convenient location, and use this script for large-file downloads (PowerShell 5.1+, supports multi-line progress, resume, retries, and verifies bytes on disk against Content-Length at the end):
powershell -NoProfile -ExecutionPolicy Bypass -File tools\dl.ps1 -Url <url> -Out <path> -Resume
The plugin runs under the permissions of the current DSH process; before installing, it is advisable to review the repo’s source code and confirm that the MIT license and the read-only route security model fit your environment.
Tunable parameters¶
Defaults live at the top of client.js; after changes, reinstall or wait for HMR:
| Constant | Default | Meaning |
|---|---|---|
MIN_BYTES |
300 MB | Display threshold |
LINGER_MS |
5 minutes | Retention after completion/failure |
ACTIVE_STALE_MS |
90 seconds | No update → treated as interrupted |
POLL_ACTIVE_MS |
1500 ms | Poll interval while downloads are active |
POLL_IDLE_MS |
6000 ms | Poll interval when idle |
GAP_PX |
12 | Gap from right edge and right sidebar |
If you want progress restricted to a single session, you can change STATE_DIR at the top of index.js to a per-session directory (the README notes this is a one-line change).
Security model (brief)¶
The route is read-only; there is no POST/PUT/DELETE, nor can it download or cancel on your behalf. Access is gated by loopback address, Host/Origin, Sec-Fetch-Site, etc. The response only whitelists certain fields and does not return signed download URLs. The state directory resides under the current user’s system temp folder with ACLs limiting access to that user; “cross-session visibility” means whoever writes to the agreed directory under the same user on the same machine gets displayed, not that it reads other sessions’ private data. If the DSH Web service binds to 0.0.0.0, please understand the README’s notes on Host spoofing and the true boundary (socket loopback).
Use cases and caveats¶
Suitable for: people who routinely mix downloaders across the DSH main session, sub-agents and local terminals to pull 300 MB+ files, and want a global progress view in a single right-side floating panel instead of relying on “current session only” progress plugins.
Caveats:
- You must use a downloader that writes status JSON; merely installing the plugin while still using an old script or commands that do not write status will leave the panel empty.
- Small files are not shown by default; adjust
MIN_BYTESto change the threshold. - To uninstall, simply disable or remove the bundle on the Plugins page; routes and the overlay vanish with its lifecycle.
- The README states that some UI layers (e.g. dockkit floating panel, skin center) have not been fully validated on real devices.
Differences from similar ecosystem plugins (per the README “Related projects”): dsh-download-progress tracks shell and workspace files, uses a ~64 KB threshold and is session-centric; dsh-smart-dl writes state under the session cwd; dsh-task-progress deliberately avoids cross-session reading. This plugin uses the global temp directory state, filling the cross-session, cross-sub-agent, cross-terminal dimension.
Wrap-up¶
dsh-download-dashboard consolidates “large-file download progress” from scattered sessions and workspaces into a single read-only floating panel on the right side of the chat area: agreed directory, whitelisted fields, and the bundled dl.ps1. As long as main session, sub-agent, and terminal downloads write to the same state schema, they all become visible together.
- Community catalog: https://www.skillhub.cn/plugins/LemRic1117/dsh-download-dashboard
- Source & docs: https://github.com/LemRic1117/dsh-download-dashboard
SkillHub is a community plugin catalog site with no official affiliation to DeepSeek / Quant AI; DSH itself follows the “everything is a plugin” philosophy, so specific capabilities depend on the bundle and downloader installed locally.