deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:mxl2498/dsh-balance
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
DSH Web 插件:右下角悬浮显示 DeepSeek 账户余额,点击直达官网充值页。
余额 ¥110.00),可拖动到任意位置(记忆在 localStorage);DEEPSEEK_API_KEY 密钥只留在服务端,不会进入浏览器;右下角悬浮球(点击展开明细与充值入口):

设置 → 「余额悬浮球」页(开关 / 刷新间隔 / 低余额阈值 / 悬浮位置):

浏览器端(悬浮球 UI) --fetch--> 服务端代理 /dsh-balance/balance --fetch--> DeepSeek API
lib/client.js lib/index.js (ctx.webServer + ctx.credentials) api.deepseek.com/user/balance
服务端通过 ctx.credentials 解析 DEEPSEEK_API_KEY(DSH 凭证系统,当前已配置),
带 Authorization: Bearer 请求 https://api.deepseek.com/user/balance,结果缓存 60 秒。
在 cordis.patch.yml(本包自带,可被 profile 的 patch 覆盖)中调整:
| 配置项 | 默认值 | 说明 |
|---|---|---|
cacheSeconds |
60 |
服务端余额缓存秒数 |
topUpUrl |
https://platform.deepseek.com/top_up |
充值页地址 |
enabled |
true |
是否启用悬浮球 |
refreshSeconds |
60 |
客户端自动刷新间隔秒数 |
lowBalanceThreshold |
5 |
余额低于该值(CNY)时红色告警 |
position |
bottom-right |
默认悬浮位置(bottom-right / top-right / bottom-left / top-left) |
# 加入 web profile 的依赖(声明 dsh.bundle,dsh plugin 会自动追加进 bundles)
dsh plugin --profile web add github:mxl2498/dsh-balance
# 然后重启 DSH Desktop / dsh web
本地开发时也可用 dsh plugin --profile web add file:../dsh-balance 安装本地目录。
balance_infos 第一项为准(一般即 CNY 账户);多币种时卡片会列出各项。CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。