AI Agent Hub
Back to plugins
🧰

dsh-account-quota

Web Tools Updated 2026.09.12

Run the following command in DeepSeek Harness:

dsh plugin install shxiaooo/dsh-account-quota

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

Run dsh plugin install shxiaooo/dsh-account-quota in your terminal to install this plugin; the source repository is at https://github.com/shxiaooo/dsh-account-quota .

About this plugin

Mid-conversation, checking your remaining balance or how long until your usage window resets means leaving DSH and opening a separate dashboard. dsh-account-quota pins the answers directly below the composer: a left pill shows DeepSeek total balance and daily spend, a right pill shows OpenCode Go rolling, weekly, and monthly percentages with their respective reset countdowns. Both pills are clickable and open detail panels that share the exact same skin and sizing rules as the native DSH session-statistics dialog.

Every number is read straight from the upstream API response. The plugin maintains no pricing table, performs no local token estimation, and does not fold local logs into dollar amounts. Version 0.5.0 explicitly removed the earlier local-statistics feature so that account-level balances are never placed side by side with single-session estimates. Daily spend is computed by a Host process that samples the balance at a fixed interval and accumulates positive deltas segment by segment, so a mid-day top-up is never misread as negative consumption; the series is persisted to disk and stays consistent across tabs and restarts.

Designed for DSH users who hold both a DeepSeek API key and an OpenCode Go subscription and want to keep an eye on their account economics without ever leaving the chat interface.

Use Cases

  • Glance at account balance and daily spend mid-conversation without opening a separate dashboard
  • Track OpenCode Go rolling, weekly, and monthly window percentages and their reset countdowns
  • Share one persisted balance sequence across tabs and sessions so the numbers stay consistent after refresh

Best For

  • DSH users who hold both a DeepSeek API key and an OpenCode Go subscription
  • Developers who want account economics visible inside the chat without breaking context
  • Users who insist on upstream-sourced numbers and reject locally estimated amounts