rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:h2fe1/dsh-deepseek-account-balance
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
在 DSH 对话输入框下方、上下文用量的右边放一枚很小的余额标签,显示当前登录的 DeepSeek 账号余额:
[1 轮 114 步 · 216 tok/s] [12M tok · 缓存命中 99%] ◔ 19% 余额 ¥61.48
只显示余额本身,不占整条底栏,也不显示账号、更新时间等额外内容。悬停可看充值余额、赠送余额和最近更新时间;点击整枚标签立即刷新。字号、颜色与该行其他项一致(12px、tertiary、正常字重)。
DSH 的 deepseek-account 服务已经把账号余额投影成页面可安全使用的数据;本插件直接走客户端 account Remote 的只读方法:
| 方法 | 用途 |
|---|---|
account.getState() |
判断是否已登录(credential-stored / signed-out) |
account.getBalance(client) |
normal_wallets(充值余额)与 bonus_wallets(赠送余额) |
<¥0.01(负数显示 -¥0.01),多币种用 + 连接。在 DSH Web GUI 打开 Plugins → 添加插件 → 安装第三方插件,填仓库地址:
https://github.com/h2fe1/dsh-deepseek-account-balance
也可以让 Agent 或 CLI 安装:
dsh plugin --profile <你的 profile> add github:h2fe1/dsh-deepseek-account-balance
装好后进入任意会话,输入框下方上下文用量的右侧就会出现余额标签;页面可见时每 60 秒自动刷新一次,切回页面也会刷新。
git clone https://github.com/h2fe1/dsh-deepseek-account-balance.git
dsh plugin --profile <你的 profile> add link:$PWD/dsh-deepseek-account-balance
余额 ¥61.48;有赠送额度时只在悬停提示里显示 赠送 ¥x.xx。余额 —,悬停提示去「设置 → 账号」登录。无。插件不读取任何密钥,也不需要填写账号信息。
node --test test/*.test.mjs
node --check index.js && node --check client.js
index.js — 宿主半:只保留 Loader 行,不注册路由。client.js — 浏览器半:conversation.composer.dock 里的余额标签、账号 Remote 读取与格式化。locale/*.json — 插件列表里的标题和描述。CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek、deepseek-harness。