chenjingchun/dsh-deepseek-balance-badge ↗★ 0
dsh-deepseek-balance-badge
DeepSeek account balance badge in the DSH sidebar footer, with a settings card for the refresh period. The API key stays in the host process. 适合需要随时直观查看API账户余额、防范欠费停用的用户。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:chenjingchun/dsh-deepseek-balance-badgeREADME
Read the full README ↗配置
配置有两层,用户层在上:
| 层 | 位置 | 谁能改 |
|---|---|---|
| 用户层 | ~/.dsh/settings.yaml 的 dsh-deepseek-balance: 分节 | 设置 → 插件 → 插件配置 里的卡片,或直接编辑该文件(改完即生效) |
| 组合层(base) | profile 的 cordis.patch.yml 里本插件条目的 config: | 部署者 |
没有用户覆盖时,值来自组合层,缺失字段回落到 schema 默认值;卡片里留空某个字段就是删除用户覆盖,该字段重新继承组合层。两层都写了同一个键时,用户层生效——所以改了 patch 里的值却不生效时,先去卡片里看看是不是覆盖过。
# category: usage