Inlispwrad/DSH-BalanceHUD0

dsh-balance-hud

Balance HUD - a tiny DeepSeek Harness plugin: a HUD above the composer showing remaining effective context (HP), API wallet balance, and today's token & cost spend.

AI 분석

核心用途是实时监控 API 消耗和上下文健康度。适合重度使用、需要及时了解钱包余额并根据“血条”判断何时开启新会话的用户。

패키지
dsh-balance-hud
버전
1.0.0
라이선스
MIT
최근 업데이트
2026. 8. 16.

설치

검증된 bundle이 없거나 호환성 검사에 실패했습니다. 먼저 저장소 설명을 읽어 주세요. 전체 README 읽기 ↗

English | 简体中文

Balance HUD

A tiny HUD for DeepSeek Harness, docked above the composer input:

HP [97% ██████████] 137.8K/1M    Wallet ¥110.00    Spend 12.3K tok · ¥0.0432
  • HP — remaining effective context, drawn as a health bar. It stays high while the context is efficient, then collapses as the window fills. If HP is red, start a new session to keep performance.
  • Wallet — your DeepSeek API account balance.
  • Spend — today's token count and estimated cost.

Developed and tested on DSH 0.1.0-rc.6.

Install

Dynamic (no build) — in a cordis session, cordis_define with dynamic/host.js (host) and dynamic/client.js (client), then cordis_run.

Static — copy this package to ~/.dsh/profiles/web/packages/, add "dsh-balance-hud": "file:./packages/dsh-balance-hud" to the profile package.json, append to cordis.patch.yml:

- insert:
    - id: balance-hud
      name: dsh-balance-hud

then restart DSH.

License

MIT