D
dsh-balance-sidebar
v0.1.0 · 2 天前发布
DeepSeek API 余额实时显示插件:侧边栏余额行(设置上方)+ 设置→插件 明细卡片,25 秒自动刷新,复用 Harness 已配置的凭据
README
# dsh-balance-sidebar
DeepSeek Harness 插件:实时显示 DeepSeek API 账户余额。
● DeepSeek ¥x.xx + 更新时间 + ↻ 立即刷新(收起侧边栏时显示数值,点击即刷新)llm-deepseek 设置 → DEEPSEEK_API_KEY 凭据库),浏览器只访问同源路由 /dsh-balance安装
从 npm(发布后)
sh
dsh plugin --profile web add dsh-balance-sidebar
从源码 / 本地目录
sh
dsh plugin --profile web add ./dsh-balance # 相对路径以调用目录为锚点
或 file: 形式
dsh plugin --profile web add "file:D:/path/to/dsh-balance"
安装后重启 dsh web 即生效(dsh.bundle.patch 声明会自动把本插件的 cordis.patch.yml 并入 profile 层栈)。
卸载
sh
dsh plugin --profile web remove dsh-balance-sidebar
依赖要求
| 依赖 | 说明 |
| --- | --- |
| DeepSeek Harness | `>= 0.1
版本兼容矩阵
| DSH 版本 | 状态 | 说明 |
|---|---|---|
dsh@0.1.0-rc.6 | ✅ 兼容 | cordis patch ✅ |
dsh@0.1.0 | ✅ 兼容 | 标准 patch ✅ |
dsh@0.2.0 | ⚠️ 待验证 | 待实测(API 可能在变) |
dsh@0.3.0+ | ❓ 未知 | 尚未发布 |
💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正
元数据
- License
- MIT
- npm
- dsh-balance-sidebar
- Repo
- git+https://github.com/cwen63970-coder/dsh-balance.git
- Engines
{}- Weekly DL
- 0
- Monthly DL
- 0
- dsh.bundle
{"bundle":{"patch":"./cordis.patch.yml"},"client":{"platform":"web","inject":["slots"]}}