rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:doctorllll/dsh-tuner
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English · 中文
Tuning advice for DeepSeek Harness (DSH) based on your own sessions, module by module, with one-click compaction thresholds.
There is no single best configuration: long sessions and quick questions, a 500k-window model and a 1M-window model each have their own sweet spot. dsh-tuner reads only the sessions on your machine and answers three questions per module: how things are now, whether to change anything, and what to change it to.
The panel UI is in Chinese.

| Module | Question it answers | Outcome |
|---|---|---|
| Compaction policy | At what ratio should each model compact? Will it compact again right after (a "treadmill")? | One click writes compaction-basic.modelPolicies into the active agent preset |
| Compaction health | How did real compactions go: failures and causes, time spent? Runs are judged against the threshold in force at the time, so fixed problems stay separate from current ones | Config snippet |
| Cache | Cache hit ratio and request gaps; is a cache keep-warm worth it? | Verdict |
| Model side | Retries by cause, reasoning effort, generation speed per model; are idle timeouts concentrated at the highest effort? | Advice (effort is set in the model picker) |
| Tools | Calls, failure causes and output size per tool; hook overhead | Copyable AGENTS.md sentences |
The overview fits every module on one screen; click a card for the details: conclusions, data tables, replay breakdown and definitions. Follows the app's light and dark themes.


Verified on DSH 0.2.2-rc.1 (the desktop app's desktop profile and dsh web).
dsh plugin --profile <profile> add github:doctorllll/dsh-tuner#v0.5.2
The desktop app's desktop profile only accepts the CLI bundled with the app (a dsh on your PATH refuses with managed exclusively by the Electron application). On macOS:
"/Applications/DeepSeek Harness.app/Contents/Resources/runtime/cli/bin/dsh" \
plugin --profile desktop add github:doctorllll/dsh-tuner#v0.5.2
Quit the app before installing and reopen it afterwards; in dsh web, reload the page. A 「调优 v0.5」 (Tuner) entry appears in the sidebar.
Uninstall with dsh plugin --profile <profile> remove dsh-tuner. Thresholds already written into a preset stay there; click 「恢复 preset 默认」 (restore preset defaults) in the panel first if you want the defaults back.
/compact or reopen sessions that are already open.Without the UI, the /tuner slash command prints the same report as text.
compaction-basic of the default agent preset, in the profile's cordis.patch.yml. It reads the value back and rolls back if it did not land. Your other changes to the preset are kept.How the advice is computed and why preset overrides get rebuilt: docs/DESIGN.zh.md (Chinese). Release history: CHANGELOG.md.
Please open an issue.
MIT, see LICENSE.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek、deepseek-harness。