rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Exceptions-del/dsh-plugin-install-progress
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English | 中文
A progress card above the message box in the DSH Web GUI, covering two tasks:
plugin_manager tool;download_file tool this plugin adds.The card follows the composer width, disappears by itself about 3 seconds after the task
settles, and can be hidden immediately with the × in its corner. Parallel tasks show
“N more running”.
No third-party dependencies, no build step. For DeepSeek Harness (DSH) Web.
Pick one of three ways:
plugin_manager → install_bundle with
github:Exceptions-del/dsh-plugin-install-progress.https://github.com/Exceptions-del/dsh-plugin-install-progress.Updating: reinstall when installed from GitHub (or remove and install again). For a local
directory, switch the plugin off and on in the Plugins page after editing client.js,
then reload the page.
While installing a plugin
@acme/foo@1.2.0).resolved / reused /
downloaded), plus “source 1/2” when more than one registry is tried.not-found, network,
build-blocked, …) or the run's own error.While downloading a file
download_file toolThe plugin also registers this tool so the agent can download large files with real byte progress:
| Parameter | Required | Meaning |
|---|---|---|
url |
yes | Absolute http(s) URL. |
path |
no | Destination file, relative to the session working directory or absolute inside it; defaults to the file name in the URL. |
overwrite |
no | Replace an existing file; defaults to false. |
expectedBytes |
no | Total size used for the percentage when the server sends no Content-Length. |
It follows redirects, streams the body to disk while writing, removes the partial file on failure, keeps the destination inside the session working directory, and reports size, path, duration and average throughput back to the model.
Why the tool exists: DSH's tool pipeline has no progress channel, and curl, wget and
Invoke-WebRequest print no progress in non-interactive captured output. A reliable
percentage therefore needs a downloader that reports bytes itself. The tool description
tells the agent to prefer download_file for large files.
plugin_manager tool calls installBundle without a requestId, and
the Host only streams plugin-manager/install-state / install-log for installs that
carry one. The Host half wraps installBundle, adds an id only when the caller named
none, and brackets the run with two marker log chunks (start/end). Arguments, return
values and errors pass through untouched, so installs started from the Plugins page
(which bring their own id) are unaffected.download_file streams the response body and reports bytes received,
throttled to one update every 150 ms.plugin-manager/install-log), each under its own marker command line. Every other
consumer filters by requestId, so the Plugins dialog never sees these chunks.conversation.input.dock (the row above the message box).download_file writes with the Host process's permissions, restricted by path to the
session working directory, and asks for no per-file approval. Do not use it when a
download is not wanted.plugin_manager tool and
downloads started by download_file. dsh plugin in a terminal, installs started in the
Plugins page, and shell downloads (curl, wget, Invoke-WebRequest) keep their own
output and show no card.download_file.| File | Role |
|---|---|
index.js |
Host half: wraps installBundle, registers the download_file tool, emits marker events. |
client.js |
Browser half: event subscriptions, progress model, the card above the message box. |
package.json |
Bundle manifest: dsh.bundle.patch and dsh.client. |
cordis.patch.yml |
Inserts the plugin row into a profile. |
locale/en.json, locale/zh.json |
Title and description shown in the Plugins page. |
icon.svg, docs/ |
Plugin icon and the detail-page illustration. |
test/*.test.mjs |
Tests for the Host wrapper, the download tool (against a local HTTP server) and the browser progress model. |
After an edit, apply the update step above. Run the tests (Node built-ins only; the download test talks to the loopback interface only):
npm test # the three test files
npm run check # syntax check for both entry files
MIT © 2026 Exceptions-del. Use, modify, redistribute and sell freely; keep the copyright and license text.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。