rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:wxfiveopps1102/pixel-usage-desk
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English | 简体中文
A retro pixel CRT for DeepSeek Harness: keep the DeepSeek account balance and live token usage visible while you work.
The repository ships two related pieces:
| Piece | Where | What it is |
|---|---|---|
| DSH overlay plugin | repository root | A shell.overlay widget inside the Harness Web UI: balance, current-session tokens, context, total usage, live rate. |
| macOS desktop app | desktop/ |
The same visual as a standalone transparent app that can live anywhere on your display. |
![]()
Screenshot: the macOS desktop app — warm beige in light mode, green phosphor CRT in dark mode. The DSH overlay uses the same display design.
used / context window).SYNC to refresh the balance, SET to edit the local budget, – to collapse.× button only hides the window; click the Dock icon to reopen.SPENT shows the account's lifetime platform cost (not a token count)..
├── client.js # Web Client half: the overlay UI and data store
├── index.js # Host half (deliberately a no-op)
├── cordis.patch.yml # Loader row for the plugin
├── package.json # dsh.bundle + dsh.client manifest
├── locale/ # Plugin-manager title/description
├── icon.svg # Plugin icon
├── desktop/ # Standalone macOS app (Swift + WKWebView)
├── assets/ # Storefront icon and preview
├── market/ # awesome-dsh-plugin catalog entry
└── .github/workflows/ # Syntax / manifest validation
OFFLINE/NO ACCOUNT.swiftc).Use the DSH Plugins page to add this repository as a plugin source:
https://github.com/wxfiveopps1102/pixel-usage-desk
Or, when the dsh CLI is on your PATH:
dsh plugin --profile <profile> add git+https://github.com/wxfiveopps1102/pixel-usage-desk.git
After installation, enable Pixel Usage Desk in the Plugins page. The CRT appears in the frame-wide overlay layer at the top-right.
The repository root is the installable bundle (
dsh.bundleinpackage.json, pluscordis.patch.yml). The desktop app is a separate download and is not installed by this plugin.
The repository is prepared for the awesome-dsh-plugin catalog; see SUBMIT.md. Once the listing is merged, the plugin can be installed from any format-1 market, including dsh-market.
PIXEL DESK header to move it within the Harness frame.SET edits the local budget used by the balance gauge.SYNC forces a balance refresh.– collapses the widget to a compact bar.The overlay lives inside the DSH window. For a widget that can be moved anywhere on the desktop, use the macOS app.
cd desktop
./build.sh
open PixelUsageDesk.app
See desktop/README.md for controls, the optional LaunchAgent, and troubleshooting. The app is ad-hoc signed and built locally; it is not a notarized download.
ctx.remote.account.getBalance(...) (the deepseek-account provider). The remote is optional: if a profile has no account service, token metrics still work and the wallet reports OFFLINE.ctx.sessions.list and the token-meter wire projections (tokenUsage, contextPressure). No session-log replay in the browser.~/.dsh/.credentials.yaml, sent only to https://platform.deepseek.com/api/v0/users/get_user_summary.~/.dsh/storages/session_projcache/sessions/*.json; the current session is the most recently modified cache file.0.2.1-rc.3+ and the shell.overlay/session-controller services.Start Pixel Usage Desk.command or Gatekeeper confirmation.# JavaScript syntax and manifest sanity
node --check index.js
node --check client.js
npm pack --dry-run
# Desktop app
cd desktop
./build.sh
GitHub Actions runs the syntax/manifest check on every push and pull request.
| Symptom | What to check |
|---|---|
| Overlay does not appear | Plugin installed and enabled; reload the DSH page; check the browser console for pixel-usage-desk. |
Wallet shows NO ACCOUNT |
Sign in to the DeepSeek account in DSH Settings → Account. |
Wallet shows OFFLINE |
The account remote or platform request failed; try SYNC; check the DSH account session. |
| Token numbers stay at 0 | Open a session; the projection cache is written as DSH checkpoints the session. |
| Desktop app will not open | macOS 13+; double-click PixelUsageDesk.app, or use desktop/Start Pixel Usage Desk.command if LaunchServices refuses the ad-hoc-signed app. |
| Desktop app is hidden | Click the Pixel Usage Desk Dock icon or the menu-bar display icon. |
| Desktop app shows stale data | DSH is closed or signed out; reopen DSH and wait for a checkpoint. |
Issues and pull requests are welcome. Keep the overlay's data contract read-only and avoid adding model calls to the widget. For catalog changes, the one-file submission is documented in SUBMIT.md.
MIT — see LICENSE.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。