rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:wsqwsq735/dsh-run-progress
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A slim progress rail pinned to the far right edge of the DeepSeek Harness Web GUI, with a Run flow panel behind it.
Nothing to configure: once the plugin is enabled the rail appears on the right edge whenever a turn runs.
From the packaged tarball (works without a registry):
release/dsh-run-progress-0.8.0.tgz
(it is committed to this repository, so the link works even when a release asset is missing;
the same file is attached to the latest release)install_bundle with the absolute path of the downloaded .tgzCtrl+R) when the install finishesFrom npm — the registry package is the same bundle:
npm i dsh-run-progress
If the registry lookup fails (not published yet), use the tarball above; it is byte-for-byte the same package.
From a checkout — install the folder, which is linked rather than copied, so local edits go live on refresh:
install_bundle → D:\path\to\dsh-run-progress
Check Plugins: the row dsh-run-progress should be listed as enabled.
todo_write), the fill is that list's completion instead of an
invented estimate. Without a task list the rail shows a moving activity pulse.12.3k/51.2k), idle or not.localStorage, not the Session log) and stays inside the viewport on resize.
Double-click it to return to the default seat under the rail. A drag never opens the panel;
a click (or Enter/Space) still does.315k/1.0M · ≈¥0.63), and the panel's Token section breaks it down per bucket, states
the rate it used, and marks the figure as an estimate. Defaults are ¥2 / ¥0.2 / ¥2 / ¥3 per
1M tokens (uncached input / cache read / cache write / output). This is a status readout, not
billing — the prices are local constants, not something DSH reports.message.source.model), so every turn is priced at its own row; the Session total is priced at
the newest turn's row and names it, and each turn's tooltip names the row it used. Store a table
in this browser:
localStorage['dsh-run-progress:pricing'] = {"default":{"input":2,"cacheRead":0.2,"cacheWrite":2,"output":3},"models":{"deepseek-v4-flash":{"input":0.5,"cacheRead":0.05,"cacheWrite":0.5,"output":1}}}
A legacy flat row ({"input":2,...}) is still understood and prices every turn at the default.todo_write before multi-step work and keep it
current. The section is empty when the todo tool is not installed, so the prompt never names a
missing tool, and DSH_RUN_PROGRESS_TODO_NUDGE=0 turns it off for profiles that carry their own
policy.The rail follows the Session the main conversation retains (retainedBy.mainView), borrows its
binding with ctx.sessions.binding() without extending its lifetime, and reads faces the
browser already holds: the contiguous event window for turn/*, step/*, tool/call and
tool/result records (plus each assistant/message settlement's usage, which is what the
per-turn Token lines sum), the todos projection, and two token units — contextPressure
(prompt-side pressure of the newest request paired with the newest known window, plus the
meter's estimate of surface movement since that sample) and tokenUsage (whole-log buckets:
uncached input, cache read, cache write, output). The plugin writes nothing to the Session log
and keeps no state of its own.
Four suites, all runnable without a DSH install:
npm test # offline render suite (hand-written React stand-in), 119 checks
npm run test:zh # the same suite driving the Chinese dictionary
npm run test:host # the Host half against a fake system-prompt/tools context
The stand-in verifies the rendered tree but cannot enforce React's hook rules, so a
fourth run renders the real entry with react-dom in jsdom and lets React itself
check them:
pnpm add react react-dom jsdom --dir "$env:TEMP\dsh-react-check" --registry=https://registry.npmmirror.com
set DSH_TEST_DEPS=%TEMP%\dsh-react-check\package.json
npm run test:dom # 23 checks; exits 0 with SKIP when react-dom is absent
cordis.patch.yml inserts the run-progress row. The browser half registers one entry in
shell.overlay, the frame-wide floating layer, so the rail never reflows the three-column
layout.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek。