rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:victorcastro55/dsh-matrix-terminal-balance
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
The host half of dsh-matrix-terminal.
It exposes one authenticated route that answers with the DeepSeek account balance behind the API key the harness already configured. The key is resolved per request through the credential service, used for a single outbound call, and never leaves the host process: the browser receives decimal strings and nothing else.

The route rides the harness's authenticated /api channel: an unauthenticated request gets 401,
and a request carrying a foreign Origin gets 403, so the amount is only readable from a page your
own harness served to you.
GET /api/matrix-terminal.balance
{ "ok": true, "available": true,
"wallets": [ { "currency": "USD", "total": "0.00", "granted": "0.00", "toppedUp": "0.00" } ] }
DEEPSEEK_API_KEY from the credential service — the same reference the model provider
reads, so the number shown is the number being spent.https://api.deepseek.com/user/balance with an 8 s timeout.{ ok: false, reason } — no-key, network, http-<status> or protocol — instead of
failing the route. The skin treats every failure as "no balance" and keeps the last known amount.Nothing is logged beyond the plugin id, and no key material is written to any response, cache file or log line.
0.2.1-rc.5 or a compatible release, with the connection and credentials
services (both are part of the stock host).no-key and the
prompt line simply ends at the cursor.Not on npm yet — install straight from the repository:
dsh plugin --profile web add github:victorcastro55/dsh-matrix-terminal-balance
Companion to dsh-matrix-terminal; installing it alone is harmless — the route exists and nothing
reads it. Installing the skin alone is also fine — the prompt line just omits the amount.
The route is namespaced, owner-authenticated and stable; anything on the page can read it:
const res = await fetch('/api/matrix-terminal.balance', { headers: { accept: 'application/json' } });
const body = await res.json(); // { ok, available?, wallets: [{ currency, total, granted?, toppedUp? }] }
total is the documented decimal string from the platform, not a number, so formatting stays exact.
The skin formats it as <$0.01 below a cent, groups thousands, and joins multiple wallets with +.
MIT. Not affiliated with DeepSeek. The balance endpoint is a documented platform API; using it consumes no tokens.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。