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

ドキュメント

README 全文を読む ↗

配置

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)