MatthewTian2018/dsh-plugin-deepseek-balance ↗★ 0
dsh-plugin-deepseek-balance
DeepSeek 余额仪表盘:在 DSH 设置里查看余额、消耗速度与余额趋势
同名套件的其他儲存庫
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:MatthewTian2018/dsh-plugin-deepseek-balance說明文件
閱讀完整 README ↗配置
API Key 只在 Host 进程读取,按以下顺序:
- 环境变量
DEEPSEEK_API_KEY ~/.dsh/.credentials.yaml(DSH 自己的凭证文件)
| 环境变量 | 默认值 | 说明 |
|---|---|---|
DEEPSEEK_API_KEY | 自动读取 | 显式指定 Key |
DEEPSEEK_API_BASE | https://api.deepseek.com | 接口地址 |
数据文件(都不进仓库):
~/.dsh/deepseek-balance/history.json—— 余额采样,最多 20 000 条,新采样与上一条间隔 < 45 s 时合并~/.dsh/deepseek-balance/config.json—— 预算(默认 100)