healing1/dsh-balance-meter ↗★ 0
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. 在输入框旁直观展示 DeepSeek 官方账户余额。适合使用官方 API 且需要随时监控账户额度剩余的 DSH 用户,需配置有效 API 密钥。
같은 패키지 이름의 다른 저장소
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:healing1/dsh-balance-meterConfiguration
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
| Key | Type | Default | Meaning |
|---|---|---|---|
model | 'flash' | 'pro' | flash | Pricing preset used until the auto-fetched page overrides it |
pricingRefreshHours | number | 6 | Hours between automatic official-pricing refreshes |
apiKeyEnv | string | DEEPSEEK_API_KEY | Credential ref storing the DeepSeek API key |
baseUrl | string | https://api.deepseek.com | API base URL (gateway/compat override) |
refreshIntervalSeconds | number | 30 | Minimum seconds between balance queries |