crazywoola/dsh-balance
Settings页面用的DeepSeek Harness平衡插件
项目介绍Project Overview
dsh-balance 是一款 DeepSeek Harness 插件,用于查询 API 余额与可用模型。核心能力:展示总余额、充值余额和赠送余额,在聊天框下方持续显示摘要并缓存结果,依据北京高峰时段将指示灯变为橙色。安装方式:dsh plugin --profile web add @pinkbanana/dsh-balance@latest。API Key 仅由本机 Host 使用,不会上传至浏览器。需注意:余额数据来源于官方接口,存在查询延迟。
dsh-balance is a DeepSeek Harness plugin that queries API balance and available models. Core capability: displays total, top-up, and grant balances, shows a persistent summary under the chat box with cached results, and turns the indicator orange during Beijing peak hours (09:00–12:00, 14:00–18:00). Install via dsh plugin --profile web add @pinkbanana/dsh-balance@latest. The API key is used only by the local host and never sent to the browser. Note: balance data depends on the official API and may have query delays.
请帮我了解并安装插件:【dsh-balance】【https://github.com/crazywoola/dsh-balance】
把上面这条消息直接发给当前会话里的 DSH,让它帮你了解并安装。安装命令不一定准确,发给 DSH 更稳。Send this message to DSH in your current session. CLI install commands may not be accurate across systems — DSH will figure it out for you.
或使用命令行安装(适合开发者)Or use CLI install (for developers)
命令行安装CLI Install
dsh plugin --profile web add @pinkbanana/dsh-balance@latest
把 crazywoola/dsh-balance 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-balance
DeepSeek Harness 插件,用于查询 API 余额和当前可用模型。API Key 仅由本机 Host 使用,不会发送到浏览器。


功能
- 查看总余额、充值余额和赠送余额
- 在聊天框下方持续显示余额摘要
- 查看当前 API Key 可用的模型
- 缓存查询结果并支持手动刷新
- 依据 DeepSeek 峰谷定价,在高峰时段(北京时间 9:00–12:00、14:00–18:00)将聊天框下方的余额指示灯变为橙色
- 原生支持简体中文和英文,并跟随 Harness 系统语言切换
- 支持 Harness 已保存的
DEEPSEEK_API_KEY
安装
dsh plugin --profile web add @pinkbanana/dsh-balance@latest
dsh --profile web
打开 http://127.0.0.1:3080/,进入“设置 → DeepSeek 余额”。该入口位于“Agent 预设”下方,余额摘要也会显示在已有会话的聊天框下方。API Key 可在“设置 → 模型”中保存,或通过 DEEPSEEK_API_KEY 环境变量提供。
开发
pnpm install
pnpm check

nexu-io/open-design
ruvnet/ruflo
amruthpillai/reactive-resume
esengine/DeepSeek-Reasonix
volcengine/OpenViking
Molunerfinn/PicGo
titanwings/distilly
titanwings/colleague-skill