All plugins

DSH / BUNDLE / CLIENT-UI

dsh-model-router

v0.8.1tianji-qingtian / dsh-model-router121ee7d4d9

External Git bundleBundlesUI & client pluginsCommunity · Topic auto-analysisWeb UI
Open on GitHub
Runtime anatomy
HOSTCLIENTUITOOLDATAFLOW

Overview

dsh-model-router

Model router & cost optimizer for DeepSeek Harness: heuristic tier routing between cheap and strong models, automatic fallback on transient failures, and a per-session token/cache/cost panel in the composer dock.

Community · Topic auto-analysis — Automatically discovered through the dsh-plugin GitHub Topic. Static checks verified a pinned public root bundle contract and committed files without executing third-party code. This is not a human review, security audit, runtime smoke test, publisher identity check, or official endorsement.

Install

Install this bundle from GitHub

The CLI validates the bundle, invokes native DSH, then reports completion.

npx dshpub add tianji-qingtian/dsh-model-router --ref 121ee7d4d9f0b7e063ff1533d8ac20c2bf63f128

Capabilities

What it contributes

HostCordis loadableNot inspected
Client / UIWeb UINot inspected
Model toolsNot inspectedNot inspected
Profile stateconditionalNot inspected

README / EN

Package documentation

Model Router & Cost Optimizer for DeepSeek Harness (dsh). Answers simple questions directly on the cheap model (zero prefix, no cache tax), degrades gracefully on transient provider failures, and shows live per-session token / cache-hit / cost figures right under the composer.

LIMITATIONS

Known limitations

- Routing state is split: the auto/off mode is **durable** (folded by the projection from the session's `command/run` events, so it survives restarts), while the transient-failure degradation flag is process-local and resets with the harness. - `useProjection`-driven stats reflect the whole session log — history recorded before installation is included, which is intentional. - Direct quick answers write a forged step envelope (plus a `request/header` for attribution) into the session log. This satisfies the current session invariants (the step is appended before the real step starts), but it is the most harness-coupled part of the plugin — worth re-checking after harness upgrades.