penguin-oo/dsh-delegate-router
Automatic Flash/Pro routing for DeepSeek Harness subagent calls: while the main conversation keeps running on a strong model, this plugin classifies each delegated task and sends light tasks to a cheap model while heavy tasks stay on the strong one — deterministically, without relying on the model's cooperation — recording every decision in a sidebar ledger. Rules (keyword lists, short-task threshold, budget cap, peak-hour demotion) live in a local JSON file.
dsh-delegate-router adds automatic Flash/Pro routing to DeepSeek Harness subagent calls. Your main conversation keeps running on a strong model (e.g. V4 Pro); when the agent delegates a task to a subagent, the plugin classifies the task and sends light tasks to a cheap model (e.g. V4 Flash) while heavy tasks stay on the strong model — deterministically, without relying on the model's cooperation. DIY rules (keyword lists, the short-task threshold, the budget cap and a Beijing peak-hour demotion) live in a local JSON file, manual per-call provider overrides are available, and every decision is recorded in a ledger you can inspect from the sidebar (⚡ 分派记录), so cost savings are auditable rather than invisible.
Install
dsh plugin --profile web add dsh-delegate-routerCopied verbatim from the README's install block (npm form). Rules live in ~/.dsh/dsh-delegate-router.json; the README documents the ledger ('⚡ 分派记录') visible from the sidebar.
Compatibility
A DeepSeek Harness plugin. All routing rules live in a single local JSON file (~/.dsh/dsh-delegate-router.json): keyword lists, the short-task threshold, the budget cap and the Beijing peak-hour demotion. Per-call provider overrides are supported, so a specific delegation can be pinned manually when the heuristic would choose otherwise.
Details
- Repo: penguin-oo/dsh-delegate-router
- Category: Models & Providers
- Stars: 2
- Version: GitHub repo penguin-oo/dsh-delegate-router (2★); npm package dsh-delegate-router at 0.4.5 (registry check 2026-10-11; registry repository field resolves back to this repo).
Alternatives
aa2246740/dsh-antigravity-oauth · AmmarByFar/dsh-trustedrouter · BruceLanLan/dsh-tier-router