classic-takeoff/DSH_plugins--plugins-deepseek-balance0

@deepseek-ai/dsh-deepseek-balance

DeepSeek balance display: a host balance service over the official user/balance API plus web sidebar widget and settings card, shipped as a profile plugin bundle

AI Analysis

核心用途是在 DSH 界面上直观展示 DeepSeek 官方 API 账户的剩余余额。适合使用官方 API、需要随时监控资费消耗的用户。

Package
@deepseek-ai/dsh-deepseek-balance
Version
0.1.2-alpha.2
Last updated
Aug 31, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:classic-takeoff/DSH_plugins#f3301a5c611fe5607e3d4f554a3ccaeb0f0c602e&path:plugins/deepseek-balance

Configuration

All fields are optional; each doubles as a deepseek-balance: section in the user settings document.

KeyDefaultMeaning
apiKeyEnvDEEPSEEK_API_KEYCredential reference (environment-variable name) resolved per request through ctx.credentials.
baseURLhttps://api.deepseek.comAPI origin; /user/balance is appended.
autoRefreshtrueWhether the browser widget auto-refreshes.
refreshIntervalMs600000Auto-refresh interval (1 s … 24 h).
cacheTtlMs30000Host snapshot cache TTL; 0 disables the cache.
timeoutMs10000Per-request HTTP timeout.