DSH-BalanceHUD
Agent 与会话 活跃维护

DSH-BalanceHUD

Inlispwrad/DSH-BalanceHUD

部署于DeepSeek Harness编辑器顶部的轻量化插件,可实时呈现剩余有效上下文长度、API钱包余额,以及当日token消耗与累计花费,无需跳转页面即可快速掌握使用配额情况。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
JavaScript
主要语言
MIT
开源协议
30 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:Inlispwrad/DSH-BalanceHUD
git clone https://github.com/Inlispwrad/DSH-BalanceHUD.git
git clone git@github.com:Inlispwrad/DSH-BalanceHUD.git
README.md main

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