AI Agent Hub
Back to plugins
🖥️

dsh-usage-widget

Client Updated 2026.09.08

Run the following command in DeepSeek Harness:

dsh plugin install AHui-Lab/dsh-usage-widget

Paste the following prompt into your AI chat to install this plugin:

Search for dsh-usage-widget in the DeepSeek Harness plugin marketplace, or run dsh plugin install AHui-Lab/dsh-usage-widget in the terminal to install it; the source code is at https://github.com/AHui-Lab/dsh-usage-widget .

About this plugin

Developers who work with both DeepSeek and Kimi Code often find themselves switching tabs mid-thought to check remaining balance or quota limits. dsh-usage-widget removes that friction by pinning a compact usage widget to the bottom of the left sidebar in the DSH Web GUI, giving you an at-a-glance readout of your DeepSeek account balance and Kimi Code 5-hour window plus weekly quota without ever leaving your workspace.

The panel auto-refreshes every 60 seconds, toggles between DeepSeek and Kimi with a single click, and collapses or expands on demand. Under the hood it uses a dual data path: it prefers a host-route proxy (/usage-monitor/deepseek and /usage-monitor/kimi) that forwards upstream requests server-side and sidesteps browser CORS restrictions; if that route is unreachable, it falls back to a browser-direct fetch. All styles are scoped under a data-plugin attribute so the widget never overlaps the chat area or breaks the existing layout.

API keys are configured per machine in a local credentials file or browser localStorage and are never bundled with the plugin. If you regularly use both DeepSeek and Kimi Code through a DSH Web or Desktop profile and want usage figures always in your peripheral vision without breaking coding flow, this is the plug-and-play solution you are looking for.

Use Cases

  • Glance at DeepSeek balance and Kimi quota mid-coding without switching tabs
  • Track consumption from both services simultaneously via the sidebar panel during parallel tasks
  • Auto-refresh alerts you when quota is running low to avoid mid-task interruption

Best For

  • DSH users who use both DeepSeek API and Kimi Code
  • Developers who want persistent usage info in the Web GUI
  • AI tool users who track API costs and quota management