rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Pourii83/dsh-account-usage
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A DeepSeek Harness UI plugin: it prints the account credit usage as plain text in the status row below the composer, right after the built-in context meter.
conversation.composer.dock, e.g. $2.00 · ¥0.55.
It uses the same size, color, and tabular figures as the host's own stats, so
it reads as part of the row rather than a new control.Usage: <amount>.—.The reading is built from the same account projection the Account settings page uses:
ctx.remote.account.getState() — sign-in state.ctx.remote.account.getBalance(clientMetadata) — topped-up and granted
wallets. Amounts are grouped per currency and formatted like the settings
page; nothing is cached server-side by this plugin.The balance is re-read on mount, when the window regains focus or visibility, and every five minutes. The client identity the platform sees is composed from the page boot manifest's release version, the active UI language, and the UTC offset.
The reading registers in conversation.composer.dock as its own cell
(account-usage, order 2), which keeps the host's own activity and usage
cells intact. Inside the dock row it uses flex order: 1 so it renders after
the host context meter rather than before it.
From a DSH profile with Full access:
plugin_manager install_bundle <absolute path to this directory>
or add the directory to the profile's bundle list. The bundle is client-only; its Host half only keeps the Loader row alive.
The plugin reads only the signed-in account's own balance through the existing account Remote. It stores nothing, logs no credentials, and never talks to the platform from the browser itself.
MIT — see LICENSE.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。