residenthiago2011 / @residenthiago/dsh-tool-router
Lazy tool discovery: hides every tool schema from prefill and reveals one through a decision-model choice on demand.
About this plugin
Written by the registry from verified metadata, not from the README.
@residenthiago/dsh-tool-router is a DSH plugin published from the plugin package in the residenthiago2011/DSH-Tool-Router repository.
Capabilities and topics
DeepSeek Harness - Tool Router
Lazy tool discovery for DeepSeek Harness:
hides every tool schema from the model's prefill and reveals exactly one tool
on demand through a decision model API (POST /v1/systemone).
- Prefill cost: one small
find_toolschema instead of every mounted tool (7,919 → 523 first-turn prompt tokens, Standard vs no-prefill). - Stage 1 — one decision call returns the winning tool.
- Stage 2 — accept iff
confidence >= 0.70; otherwise return a probability-ordered shortlist so the model can retry with an exact tool name. Exact tool-name requests skip the decision call and reveal instantly. - Preset-scoped: only
no-prefillagents are masked; switching to another preset releases the mask, so Standard sessions keep all their tools.
Install
From a GitHub Release (plugin panel / tarball URL)
DeepSeek Harness → Plugins → Add plugin → Registry: Official npm registry → paste:
https://github.com/residenthiago2011/DSH-Tool-Router/releases/download/v1.3.1/residenthiago-dsh-tool-router-1.3.1.tgz
Pick the newest tag from the
Releases page;
each release also carries a SHA256SUMS.txt for sha256sum -c. To remove the
plugin later, open its card → Uninstall (the profile must run with HMR
enabled for the panel uninstall; otherwise use dsh plugin remove).
From a registry package
dsh plugin --profile <profile> add @residenthiago/dsh-tool-router
Then select the bundle on the Plugins page (installation enables it by default) and restart DSH if the profile runs without HMR.
The package declares a bundle patch (dsh.bundle.patch → cordis.patch.yml)
with the no-prefill agent preset, so it appears in the Plugins panel as the
Tool Router card with its own enable/disable toggle.
Configuration
The decision-model endpoint defaults to http://127.0.0.1:8081/v1/systemone.
Set DSH_TOOL_ROUTER_URL to a full /v1/systemone URL or a bare origin to use
another host or port; no source edit is needed. An invalid value warns once and
falls back to the default.
License
MIT — see LICENSE.
Badge
Listed here? Link back with this badge — paste the snippet into your repository README.
[](https://dsh-plugin.com/plugins/residenthiago2011/DSH-Tool-Router/plugin)