freespace8/dsh-plugins--plugins-dsh-deepseek-balance ↗★ 0
@freespace8/dsh-deepseek-balance
Official DeepSeek API balance pill for the DeepSeek Harness Web GUI session header, with peak/off-peak countdown and click/timed refresh. 官方 DeepSeek API 余额胶囊。 适合使用官方DeepSeek API并需要随时监控账户余额的用户。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:freespace8/dsh-plugins#2b6d752bd411f7a5304d6f60709a501790ef01b8&path:plugins/dsh-deepseek-balanceConfiguration
Override any field in the profile's cordis.patch.yml by id (the config
block is replaced wholesale):
- id: deepseek-balance
config:
apiKeyEnv: DEEPSEEK_API_KEY # credential name used for the balance request
refreshIntervalMs: 300000 # auto-refresh interval (milliseconds)
order: -1 # pill order in the session header (lower = earlier)
shellTimeoutMs: 8000 # total shell timeout for fetching the balance (ms)