dsh-plugin-lab/dsh-ds-balance ↗★ 3

dsh-ds-balance

DSH plugin: shows the DeepSeek account balance at the bottom of the sidebar, with a configuration card on the Plugins page. 在侧边栏直观展示 DeepSeek 账户余额并支持阈值告警,适合需要监控 API 消耗的用户。

パッケージ
dsh-ds-balance
互換性
未検証
Harness ピア範囲
^0.1.7-rc.1 || ^0.2.0-rc.1
Cordis ピア範囲
^4.0.3
バージョン
3.0.0
ライセンス
MIT
最終更新
2026/10/15

同名パッケージの別リポジトリ

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:dsh-plugin-lab/dsh-ds-balance

ドキュメント

README 全文を読む ↗

Configuration

The card lives on the Plugins page: sidebar Plugins → "Installed" → click the DeepSeek Balance card to step into its details page.

The configuration area is on the details page, right below the description, ready to edit:

  • Connection — read-only: the two ways this plugin can read your balance, what each one is using right now, where that credential comes from, and a Test button that really calls the provider.
  • Display — which currency amounts use, or let it follow the account.
  • Thresholds — two lines per currency: a warning threshold and a critical threshold. Within one currency the critical value must stay below the warning value; saving is blocked otherwise.
  • Refresh — the server refresh interval, the UI poll interval and the manual refresh cooldown; the defaults suit most setups.

Saving applies immediately; there is no need to restart DSH.

DeepSeek Balance details page: the four configuration groups below the description

The configuration area on the details page. A group with an invalid entry expands itself.

Upgrade notes: the keys these settings are filed under changed once with a host upgrade, and old values are not migrated; after upgrading, fill the four groups in again as above. Separately, version 3.0 removed two settings: a hand-written apiKey and a custom baseUrl now have no effect — the credential is the one the official Models page holds, and the endpoint is the official one. Remove them from your settings file if you had set them by hand.