rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:ZHI00/dsh-model-requests
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A Requests tab for DeepSeek Harness that lists every model call in a conversation — model, throughput, TTFT, duration, token usage — with full details one click away.
It registers a conversation.view entry right after Trajectory, so the tab row becomes Chat / Trajectory / Requests / ⋯.
中文说明见 README.zh.md。
--dsw-alias-* theme tokens, light/dark aware, localized in English and Chinese, responsive via container queries (secondary columns fold away in narrow panes).require("react").Clone the repository, then install the package directory as a DSH bundle:
git clone https://github.com/ZHI00/dsh-model-requests.git
In a DSH session (Agent side):
plugin_manager install_bundle → target: /absolute/path/to/dsh-model-requests
install_bundle links the directory into the current profile; the bundle's cordis.patch.yml mounts the (empty) Host half and the dsh.client section serves client.js to the Web UI. Open any conversation and the Requests tab appears after Trajectory.
The view reads the same snapshot Trajectory publishes through the useTrajectory standard hook, so it neither subscribes to nor re-folds session events.
| Field | Definition |
|---|---|
| Time | Step start time in the local timezone; today shows HH:MM:SS, other days MM-DD HH:MM (full timestamp on hover) |
| Decode throughput | outputTokens ÷ (assistant/message time − first non-empty token time), excluding TTFT |
| End-to-end throughput | outputTokens ÷ (assistant/message time − step/start time), including TTFT |
| TTFT | first non-empty token time − step/start time |
| Duration | assistant/message time − step/start time |
| Tokens | Provider-reported usage (input, output, cache read/write, reasoning) |
sessionStats output speed (the reading under the composer). Its end point is the message commit time, which includes the provider's final usage/finish chunks and commit overhead, so it is slightly lower than a token-to-token generation rate. End-to-end throughput keeps the same numerator but starts at the Step, so it also includes TTFT and request preparation. Across one real session (181 responses) they read 146.1 vs 79.4 tok/s, because TTFT averaged about 4.9 s.step/start, so it includes request preparation and is not a pure network first-byte latency.| Path | Purpose |
|---|---|
index.js |
Host half — intentionally empty; all behavior lives in the browser half |
client.js |
Client module: registers the conversation.view tab and renders the ledger |
cordis.patch.yml |
Bundle patch that inserts the Host row |
locale/*.json |
Title and description shown by the plugin manager |
icon.svg |
Plugin icon |
README.zh.md |
Chinese documentation |
No build, bundler, or npm dependency is involved. client.js is a plain window.__ModuleLoader__ module:
node --check client.js
node --check index.js
After editing client.js in a linked install, restart the bundle (disable/enable it from the plugin manager) so the Client module graph picks up the new bytes.
MIT © 2026 ZHI00
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: llm、deepseek-harness。