rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:loiter1EM/dsh-tok-qty
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
输入框状态栏上的 DeepSeek 余额 + token 用量统计。 DeepSeek balance and token-usage stats in the DSH composer status bar.
输入框右下角那排状态信息里,多一个钱包图标和你的总余额(如 总余额 ¥31.99)。点它展开一块面板:
设置存在浏览器 localStorage 里,关掉面板再打开回到统计界面,不会又跳进设置。
数据从哪来:余额走 DeepSeek 官方 GET /user/balance;用量读本机里的 assistant/message 事件。全部在本机算,不上传任何东西,浏览器侧也永远看不到 API key(由宿主进程代发请求)。
余额怎么读到 key:依次尝试 DSH 的凭据服务 → DEEPSEEK_API_KEY 。所以只要 DSH 本身能用 DeepSeek,这里就能显示余额。
dsh plugin --profile web add dsh-tok-qty
装完重启 DSH。插件自带 bundle patch,不需要再改 cordis.patch.yml。
conversation.composer.dock 注册的 DSH 客户端(@deepseek-ai/dsh-client-ui-conversation)zlib.zstdDecompressSync;旧版本 Node 会退化成只读到第一帧,面板显示 0)A wallet icon and your total balance (e.g. 总余额 ¥31.99) join the status row at the bottom right of the composer. Click it to open a panel with:
Settings live in the browser's localStorage; close the panel and open it again and you are back on the stats view, never dropped into settings.
Where the numbers come from: the balance comes from DeepSeek's official GET /user/balance; usage comes from the assistant/message events in the session logs on this machine. Everything is computed locally, nothing is uploaded, and the browser never sees the API key — the host process sends the request on its behalf.
How the key is found: the DSH credential service first, then DEEPSEEK_API_KEY. So as long as DSH itself can use DeepSeek, a balance shows up here.
dsh plugin --profile web add dsh-tok-qty
Restart DSH afterwards. The package ships its own bundle patch, so there is nothing to edit in cordis.patch.yml.
conversation.composer.dock (@deepseek-ai/dsh-client-ui-conversation)zlib.zstdDecompressSync, Node 20+; on older Node builds only the first frame is read and the panel shows 0)lm-*, omlx, local) and the common vendors are recognised, anything else lands in "Other"CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 模型。