Zenjibad/headroom-stats-plugin

插件 ⭐ 0 MIT web-ui

Headroom 压缩代理的实时令牌与成本节省仪表板,集成于 DeepSeek Harness (DSH) 网页界面内。打包的 DSH 插件 — 设置仪表板 + 编辑器统计行。

catalog 简介:Live token & cost-savings dashboard for the Headroom compression proxy, inside the DeepSeek Harness (DSH) web UI. Packaged DSH plugin — settings dashboard + composer stats line.

安装

Headroom proxy ──writes──> ~/.headroom/proxy_savings.json (grows continuously)
                                 │
Host half (DSH process)          ▼
  └─ one-time env probe: cmd /c echo %HEADROOM_SAVINGS_PATH%&echo %HEADROOM_WORKSPACE_DIR%&echo %USERPROFILE%
       (DSH host sandbox exposes no direct env access; fetched via subprocess)
  └─ fs service stat/readText → snake_case→camelCase reshape
  └─ webServer route GET /headroom-stats/api → JSON snapshot
                                 │
Client bundle (browser)          ▼
  └─ single 5s poller → fetch(/headroom-stats/api) → snapshot fan-out to two seats
       ├─ settings.section (id headroom-stats)       → full dashboard
       └─ conversation.composer.dock (id headroom-dock) → stats line

Zenjibad/headroom-stats-plugin 加入你的 DSH 配置(web profile)即可启用。

README

展开完整 README 收起

README 内容为空。