rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:imCBW/dsh-balance-corner
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
只做一件事:显示余额。 没有别的功能,也不占新的地方——不长出面板、不新占一行、不塞额外按钮,只是把金额填进侧边栏账号行右边本来就空着的那点位置。抬眼即见,不打断手上任何操作。
It does one thing: show the balance. Nothing else, and no extra real estate — no panel, no extra row, no added chrome; it only fills the empty space on the right of the sidebar's account row. Glance and go, without interrupting anything you are doing.
DeepSeek 账号余额显示在侧边栏左下角账号行的最右端,例如 ¥43.52。
A DeepSeek account balance at the right end of the sidebar's account row — for example ¥43.52.

在 DSH 里的整体位置(红框处就是余额;对话内容与头像已打码):

dsh plugin add dsh-balance-corner
或在桌面端/市场的插件页里搜 dsh-balance-corner 安装。装完刷新页面。
依赖 DSH 0.2.2 系列(engines.dsh: ^0.2.2-rc.1),需要登录 DeepSeek 账号;用 API Key 的配置不会显示余额——那部分没有账号余额可读。
走 DSH 自己的账号服务 remote.account.getBalance,也就是「设置 → 账号」用的同一条通路:请求由 Host 发出,用本机已登录的账号授权,页面里不保存也不传输任何密钥;Host 只把平台返回的 normal_wallets / bonus_wallets 的币种和余额字符串投影给页面。
刷新:打开时读一次、每 2 分钟一次、窗口重新聚焦时(上次读取超过 1 分钟)、以及任一会话有活动时(最多每 30 秒一次)。
sidebar.footer.action 只用来拿一个稳定的挂载点;芯片本身用 react-dom 的 createPortal 挂到账号行元素末尾([class*="_triggerRow"],退化为 button[aria-haspopup="dialog"] 的父元素),因为账号行是 shell 写死的 [设置触发器][连接指示灯][更新角标],没有尾部插槽。remote 和 remote.account,否则会报 cannot get property "remote" without inject。remote.account 读余额与账号状态。MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek、deepseek-harness。