freespace8/dsh-plugins--plugins-dsh-deepseek-balance ↗★ 0
@freespace8/dsh-deepseek-balance
适用于 DeepSeek Harness Web GUI 会话页眉的官方 DeepSeek API 余额胶囊,支持点击/定时刷新,并对非官方模型自动隐藏。
AI 分析
核心用途是在会话顶部直观展示官方 DeepSeek 账户余额。适合使用官方 API 且需要随时监控余额消耗的用户。支持在配置文件中自定义刷新间隔。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:freespace8/dsh-plugins#21734829ebf838b852a9df4d5207c7f59be1289a&path:plugins/dsh-deepseek-balance說明文件
閱讀完整 README ↗Configuration
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)