Repository navigation
Releases
Releases · SavaStone/dsh-provider-limits
v0.4.0
First public release of dsh-provider-limits — a DSH plugin that shows how much of your AI provider's limit is left, right in the app.
What it does
- A
Limitsbutton in the sidebar footer (above the account row) and the same readout in the settings panel header and on Settings → General. - OpenRouter: credit balance as one sentence, e.g.
OpenRouter credits are $10. - OpenCode Go: the three quota windows (5 hours, Weekly, Monthly) with a coloured bar, the percentage left and a reset countdown.
- Colour that warns: green, amber at ≤35% left, red at ≤15% left.
- Automatic provider detection follows the chat you are looking at; unsupported providers get a one-click Creator-mode request instead of another provider's numbers.
- Two app-wide settings in Settings → General: Limit display (Bars / Percent) and Percentage shown (Remaining / Used).
- Up to date by itself: 30-second poll, refresh on click and on window focus; one shared upstream read per 20 seconds.
- Privacy by construction: the API key stays in the DSH host process; the browser only receives numbers.
Install
From a checkout (recommended — update with git pull):
git clone https://github.com/SavaStone/dsh-provider-limits
dsh plugin --profile <profile> add ./dsh-provider-limitsOr from the .tgz attached to this release:
dsh plugin --profile <profile> add ./dsh-provider-limits-0.4.0.tgzRestart DSH after installing. Set OPENROUTER_API_KEY and/or OPENCODE_GO_API_KEY in the DSH credential store or the environment.
Verification
node test-host.mjs— 92/92 checksnode test-client.mjs— 173/173 checks- CI matrix: Node 20, 22 and 24 on every push and pull request
- Release tarball SHA-256:
ebbd6dbf0755c9034a56966a16c8fad07df41a720e31b5750d99f07a9ca6059f
See the README for all features, settings, troubleshooting and supported providers.
Full changelog: initial release.