ChatGPTClaudeGrok / X / CursorGemini

dsh-minimax-quota: Keep MiniMax Remaining Quota Visible in DeepSeek Harness

boldandigital/dsh-minimax-quota

Models & ReasoningVerified
Listed on 2026-11-12
Page last updated 2026-11-15

A DSH plugin that adds a MiniMax Token Plan quota chip below the composer, showing 5-hour and weekly remaining quota and reset times on hover.

dsh-minimax-quota is a DSH plugin for DeepSeek Harness that turns MiniMax Token Plan usage into a small chip under the composer. It removes the need to leave the conversation just to check quota, placing the percentage beside the existing info strip without altering the shipped UI. Hovering expands the 5-hour and weekly windows with remaining percentages, request counts, and reset times, while international and China endpoints fall back automatically and the key is resolved only on the host side. Maintained by boldandigital under the MIT license.

How to Install

install
npmdsh plugin --profile <your-profile> add dsh-minimax-quota

Replace --profile with the profile name you actually run (see ls ~/.dsh/profiles/): usually web in the browser UI, desktop or desktop-NNN in the desktop app.

Category
Models & Reasoning
Platform
DSH Plugin
Author
boldandigital
Distribution
Plugin

dsh-minimax-quota Key Features

Quota chip below the composerHover shows per-window remaining quotaAuto-adapts international and China endpointsAPI key read only on the host side
Listed on dsh-plugin.org

dsh-minimax-quota Repo Summary

What Does It Do?

MiniMax Quota is a DSH plugin for DeepSeek Harness that places a MiniMax Token Plan quota chip on the web surface, right below the composer card. It solves the problem of leaving the conversation to check remaining quota: the percentage sits beside the existing "8.9M tok · Cache hit 91%" strip without touching the shipped UI. Maintained by boldandigital under the MIT license and written in JavaScript, it was last updated on 2026-11-11.

Core Features

  • Composer dock chip: registers one entry in the conversation.composer.dock slot so the remaining quota renders as "● MiniMax 32%" under the composer card.
  • Hover for every window: hovering reveals the 5-hour and weekly remaining percentages, the "x of y left" request counts where MiniMax reports them, and the reset time for each window.
  • Multi-region endpoint fallback: international and China endpoints are tried in order and the first to answer wins; all accept a plain API key, no admin key required.
  • Region quirk correction: international endpoints report how much is left while the China endpoint reports how much was used, so the plugin treats the region-independent remaining-percent fields as the source of truth and interprets counts per region.
  • Key never reaches the browser: the client calls the host over the loopback RPC channel and the host resolves the credential through the harness credential seam, returning already-normalized rows.

How to Use This Plugin?

After enabling this DSH plugin, the quota chip appears below the composer with no further setup, as long as the credential already exists in the DSH credential store. To change refresh behavior, edit refreshMs (default 60000 ms, minimum 5000) and credentialRef (default MINIMAX_API_KEY) in the profile's cordis.patch.yml. Reload the GUI page after installing so the browser picks up the new client module; the same quota can also be read from the terminal as JSON.

How to Troubleshoot This Plugin?

If the chip does not appear, first confirm the GUI page was reloaded after installing, since the browser only loads the new client module from the host's client graph. If the numbers look wrong, check whether the endpoint in use is the international or China region; the plugin already interprets counts per region, so if values still disagree, verify the credential points at the intended MiniMax account.

This page is an independent rewrite of the plugin's official README — for authoritative documentation and the latest changes, refer to the source: boldandigital/dsh-minimax-quota. The plugin is third-party code that runs on your machine once installed; inclusion does not imply endorsement — please review the source before installing.

Install, update, and uninstall this plugin in the Plugin Market of DeepSeek Harness's DSH Plugin Hub
ChatGPTClaudeGrok / X / CursorGemini

DSH Plugin FAQ