rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:b9p79rgh6f-sudo/dsh-balance-widget
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
DSH 侧边栏底部的常驻小挂件:显示 DeepSeek 账户余额、今日 token 用量与估算花费,点开还能看今天每个对话花了多少钱,以及当前处在高峰还是空闲计费时段。
deepseekAccount,读的是充值余额与赠送余额两个钱包,不经过任何第三方。usage 的 assistant/message 事件,按事件时间归到北京时间的某一天,结果缓存在 ~/.dsh/storages/balance-widget-cache.json。index.js 里的 PRICES。从插件市场安装,或者:
dsh plugin --profile <profile> add @b9p79rgh6f-sudo/dsh-balance-widget
也可以直接从 GitHub 装:
dsh plugin --profile <profile> add github:b9p79rgh6f-sudo/dsh-balance-widget
装完刷新页面(宿主页有改动时重启 DSH)。
sidebar.footer.action 与 shell.overlay 槽位、deepseekAccount 服务)。tools/ 下是开发时用的自查脚本,其中 test-client-render.mjs 用假的 React 桩渲染界面,不需要启动 DSH;verify-usage.py 会直接读本机会话日志重算一遍用量和花费,用来和面板数字对账。这些脚本依赖本机的会话日志,换台机器不一定能直接跑。
A persistent widget at the DSH sidebar foot: account balance, today's token usage and estimated spend, a panel with per-conversation cost for the day, and the current peak/idle pricing window.
Balance comes from DSH's official deepseekAccount service (no third party). Usage is folded host-side from assistant/message usage events into Beijing-time days and cached under ~/.dsh/storages/balance-widget-cache.json. Cost is estimated from DeepSeek's official price table (captured 2026-11-03) — an estimate, not a bill. Peak hours are Monday–Friday 09:00–12:00 and 14:00–18:00 Beijing time; everything else is half price.
The sidebar dot is green during idle (half-price) hours and yellow during peak hours.
Install from the plugin market, or:
dsh plugin --profile <profile> add @b9p79rgh6f-sudo/dsh-balance-widget
dsh plugin --profile <profile> add github:b9p79rgh6f-sudo/dsh-balance-widget
MIT licensed.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。