Passer au contenu principal
M

dsh-model-allowance

meik2333/dsh-model-allowance

Shows the current conversation model's provider balance or remaining allowance in the composer.

Installer

dsh plugin --profile web add github:meik2333/dsh-model-allowance

README

dsh-model-allowance

中文

Shows the balance or remaining allowance of the provider behind the current conversation model.

The card also switches the session: the button next to the console link lists the provider's models and moves the conversation to the one you pick.

Usage

Usage demo

The card shows the provider's remaining balance or allowance and the model of the current conversation, next to the input box.

Supported

  • DeepSeek
  • MiniMax Coding Plan
  • Zhipu Coding Plan
  • Kimi for Coding
  • OpenCode Go

Not supported

These vendors publish no balance API. As long as they are configured here, they still appear in the card: the panel says there is no balance API, and their models stay switchable.

  • Qwen Token Plan: the vendor publishes no balance API
  • Mimo Token Plan:the vendor publishes no balance API

Installation

  1. Open the Plugins page in the DSH sidebar.

  2. Choose Install and enter:

    dsh-model-allowance@1.0.7
    

    Use the latest published version instead of 1.0.7 when a newer one exists.

  3. Confirm the installation. If DSH reports restart required, restart DSH; otherwise refresh the page.

The npm installation is eligible for the Plugin Manager's Update action.

Install from GitHub

git+https://github.com/MeiK2333/dsh-model-allowance.git#v1.0.7

Git installations are not covered by the Plugin Manager's Update action; updating means removing the old version first, then installing the new tag.

Compatibility

DeepSeek Harness >=0.2.1-rc.5 <0.3.0.

Development

Dependencies are managed with pnpm (pnpm install --frozen-lockfile).

License

MIT. Provider icons are trademarks of their respective owners, used only to identify them.

Plugins associés