D
dsh-balance-context-meter
v0.1.0 · 1 天前发布
Sidebar meters for DeepSeek Harness Web: a DeepSeek account balance bar (orange, with a low-balance alarm) and a conversation context-usage bar (blue), rendered above the plugin store with a hover detail popover.
README
dsh-balance-context-meter
DeepSeek Harness Web 侧边栏仪表盘插件:DeepSeek 账户余额进度条与对话上下文进度条,位于侧边栏底部、插件商店上方。
功能
剩余 / 上次刷新时余额,40 秒轮询;右侧刷新按钮把当前余额设为新的满值,之后随使用逐渐缩短(满值存浏览器 localStorage)剩余 / 窗口上限,跟随当前对话窗口实时更新(对话中 10s 刷新,空闲 40s,新会话无数据 5s )安装
sh
npm
dsh plugin --profile web add dsh-balance-context-meter
GitHub
dsh plugin --profile web add github:EvangeliMo/dsh-balance-context-meter#main
本地目录
dsh plugin --profile web add /path/to/dsh-balance-context-meter
安装后重启 dsh web。
要求
DEEPSEEK_API_KEY(能用聊天即已配置)版本兼容矩阵
| 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-context-meter
- Repo
- git+https://github.com/EvangeliMo/dsh-balance-context-meter.git
- Engines
{}- Weekly DL
- 0
- Monthly DL
- 0
- dsh.bundle
{"bundle":{"patch":"./cordis.patch.yml"},"client":{"platform":"web","inject":["@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-api-remotes","slots"]}}