healing1/dsh-balance-meter0

dsh-balance-meter

DeepSeek account balance and usage readout for the dsh web GUI: queries the official Get User Balance endpoint and shows current remaining balance and spend on the page.

AI 分析

在输入框旁直观展示 DeepSeek 官方账户余额。适合使用官方 API 且需要随时监控账户额度剩余的 DSH 用户,需配置有效 API 密钥。

パッケージ
dsh-balance-meter
バージョン
0.1.0
ライセンス
BSD-3-Clause
最終更新
2026/08/15

インストール

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

ドキュメント

README 全文を読む ↗

Configuration

The plugin is zero-config by default (uses DEEPSEEK_API_KEY and the official pricing page). Optional composition settings:

- insert:
    - id: balance
      name: 'dsh-balance-meter'
      config:
        model: flash        # 'flash' (default) or 'pro'
        pricingRefreshHours: 6
KeyTypeDefaultMeaning
model'flash' | 'pro'flashPricing preset used until the auto-fetched page overrides it
pricingRefreshHoursnumber6Hours between automatic official-pricing refreshes
apiKeyEnvstringDEEPSEEK_API_KEYCredential ref storing the DeepSeek API key
baseUrlstringhttps://api.deepseek.comAPI base URL (gateway/compat override)
refreshIntervalSecondsnumber30Minimum seconds between balance queries