Plugin directory / Developer / dsh-dual-auto
dsh-dual-auto
Unverified lengquan88
What it does
Dual-model auto-routing plugin for DeepSeek Harness: low-cost direct / high-cost upgrade + escape-learning closed loop
Unverified — not yet verified
Dual-model auto-routing plugin for DeepSeek Harness: low-cost direct / high-cost upgrade + escape-learning closed loop Not yet verified — install and test it yourself.
“Unverified” means our automated CI has not yet installed this plugin. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.
README
dsh-dual-auto
Dual-model auto-routing plugin for the DeepSeek Harness (dsh).
Low-cost direct / high-cost upgrade with an escape-learning closed loop.
Install
pnpm add @lengquan88/dsh-dual-auto
Enable
Add one row to your profile's cordis.patch.yml:
- insert:
- id: dual-auto
name: '@lengquan88/dsh-dual-auto'
Restart dsh web. The tools dual_model_route, dual_model_run, anddual_model_mark become available in every session.
Tools
| Tool | Purpose |
|---|---|
dual_model_route |
Six-criteria routing decision (length / context / domain coverage / rule conflict / confidence / novelty → six labels). Fingerprints that escaped once are force-upgraded. |
dual_model_run |
Decision + real model call: direct → deepseek-v4-flash, upgrade → deepseek-v4-pro (auto-degrade to flash on failure, marked degraded). Probe tasks auto-validate against a gold set — wrong direct answers trigger escape learning. |
dual_model_mark |
Mark the quality of a direct result. correct=false learns the fingerprint and rewrites the disk log marker; the same fingerprint is force-upgraded next time. |
Persistence
State persists to output/dsh_router_{fingerprints,stats}.json anddsh_router_decision_log.jsonl — interoperable with the project's Pythondao/model_router.py (v2 dict fingerprints load directly).
Links
- npm: https://www.npmjs.com/package/@lengquan88/dsh-dual-auto
- Source mirror (atomgit): https://atomgit.com/guaikepa/zhonghua/tree/main/dsh-dual-auto
License
MIT
Install
Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:
dsh plugin add dshbase-catalog Then say "install dsh-dual-auto for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.
This plugin is GitHub source (not published to npm) — install it straight from the repo:
Web profile:
dsh plugin --profile web add github:lengquan88/dsh-dual-auto Headless (CLI) profile:
dsh plugin --profile headless add github:lengquan88/dsh-dual-auto Test report
Not yet L3-verified — see failure note below if we already ran it.