MatthewTian2018/dsh-plugin-deepseek-balance ↗★ 0

dsh-plugin-deepseek-balance

DeepSeek 余额仪表盘:在 DSH 设置里查看余额、消耗速度与余额趋势

套件
dsh-plugin-deepseek-balance
相容性
待驗證
Cordis 依賴範圍
*
版本
0.1.2
授權
MIT
最近更新
2026年11月10日

同名套件的其他儲存庫

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:MatthewTian2018/dsh-plugin-deepseek-balance

配置

API Key 只在 Host 进程读取,按以下顺序:

  1. 环境变量 DEEPSEEK_API_KEY
  2. ~/.dsh/.credentials.yaml(DSH 自己的凭证文件)
环境变量默认值说明
DEEPSEEK_API_KEY自动读取显式指定 Key
DEEPSEEK_API_BASEhttps://api.deepseek.com接口地址

数据文件(都不进仓库):

  • ~/.dsh/deepseek-balance/history.json —— 余额采样,最多 20 000 条,新采样与上一条间隔 < 45 s 时合并
  • ~/.dsh/deepseek-balance/config.json —— 预算(默认 100)