merenguesL/dsh-tool-normalizer
Repairs failed tool calls on the tools/execute pipeline before the error reaches the model, filling missing fields and retrying mechanical failures instead of burning a retry round-trip.
Every failed tool call costs a full model round-trip, and in a large workspace that retry resubmits roughly 180k input tokens, so a small failure rate inflates the bill quickly. This plugin sits on tools/execute and heals the mechanical classes before the model sees them: a missing description is filled in, a forgotten file read is performed and the edit retried, a relative path is resolved, and an unrecoverable error gets an actionable hint appended. It also repairs program syntax in three breakage classes the host's async-function executor rejects. Across 192 real sessions and 15,460 tool calls the author measured the surfaced error rate falling from 7.95% to 2.20%, with about 82% of would-be errors healed, and settled calls update aggregate counters off the dispatch hot path.
Install
dsh plugin --profile web add dsh-tool-normalizerThe npm line; dsh-tool-normalizer@0.5.2 has a registry repository field pointing at this repo. The README also lists headless and tui profile variants of the same command.
Compatibility
Installs into any DSH profile that exposes the tools/execute and tools/result extension points; the README shows web, headless and tui profile names. No external service or API key is involved.
Details
- Repo: merenguesL/dsh-tool-normalizer
- Category: Tools & Capabilities
- Stars: 8
- Version: 0.5.2 (npm); MIT
Alternatives
vibeinging/dsh-tool-search · Jaylor-Wang/dsh-tool-antigravity · hrygo/dsh-ptc-tool-search