D
dsh-balance-dock
v0.1.1 · 2 天前发布
Show the DeepSeek account balance below the conversation in the web UI. · 在对话下方显示 DeepSeek 账户余额。
README
dsh-balance
在对话下方(消息区与输入框之间)显示 DeepSeek 账户余额的 DeepSeek Harness(DSH)web 插件。
Show the DeepSeek account balance below the conversation in the DSH web UI.
功能 Features
conversation.input.dock 槽位渲染紧凑余额条:💰 CNY 19.63/dsh-balance/balance)安装 Install
前置:DSH 已安装且 dsh web 可正常运行;Node.js ≥ 20;pnpm ≥ 10(dsh plugin 需要)。
npm 包名是dsh-balance-dock(dsh-balance已被同名插件占用);GitHub 仓库名是dsh-balance,两者装出来是同一个插件。
```sh
从 npm 安装(推荐)
dsh plugin --profile web add dsh-balance-dock
或从 GitHub 安装
版本兼容矩阵
| 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-dock
- Repo
- git+https://github.com/Shawnxxboxx/dsh-balance.git
- Engines
{}- Weekly DL
- 0
- Monthly DL
- 0
- dsh.bundle
{"bundle":{"patch":"./cordis.patch.yml"},"client":{"platform":"web","inject":["@deepseek-ai/dsh-client-runtime","@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-client-ui-slots","@deepseek-ai/dsh-client-ui-conversation"]}}