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

@deepseek-ai/dsh-deepseek-balance

DeepSeek 余额显示插件:通过官方用户余额 API 提供主机余额服务,包含 Web 侧边栏小部件和设置卡片,以插件包形式分发。

AI 分析

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

包名
@deepseek-ai/dsh-deepseek-balance
版本
0.1.2-alpha.2
最近更新
2026年8月31日

安装

$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.