Community plugin

residenthiago2011 / @residenthiago/dsh-tool-router

Lazy tool discovery: hides every tool schema from prefill and reveals one through a decision-model choice on demand.

  • JavaScript
  • MIT
  • 1 stars
  • Nov 19, 2026

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.

  • Listing statusManifest verified
  • Manifest checkedNov 21, 2026
  • Package@residenthiago/dsh-tool-router
  • Package pathplugin
  • Package version1.3.1
  • Source commite113029
  • Repository createdOct 8, 2026

Capabilities and topics

aicordisdshdsh-plugin-bundle
From the repository README

README

Everything below this line is the repository's own document, cached here. This site did not write or review it.

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_tool schema 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-prefill agents 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.

Listed on DSH Plugin badge
[![Listed on DSH Plugin](https://dsh-plugin.com/badges/listed.svg)](https://dsh-plugin.com/plugins/residenthiago2011/DSH-Tool-Router/plugin)