Zenjibad/headroom-stats-plugin ↗★ 0
headroom-stats-plugin
Live token/cost-savings dashboard for the Headroom compression proxy inside the DeepSeek Harness (DSH) Web UI: a settings-page dashboard plus a persistent stats line under the composer. 在 DSH 内实时展示 Headroom 压节省统计:设置页仪表盘 + 输入区常驻统计行。
AI Analysis
核心用途是直观展示Headroom压缩代理带来的Token和资金节省数据。适合使用Headroom进行上下文压缩、关注成本优化效果的用户。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Zenjibad/headroom-stats-pluginREADME
Read the full README ↗⚙️ Configuration
No config file, no persisted settings. The path is resolved dynamically from these env vars (probed once, cached):
| Variable | Role |
|---|---|
HEADROOM_SAVINGS_PATH | absolute path to proxy_savings.json (highest priority) |
HEADROOM_WORKSPACE_DIR | headroom workspace override (appended /proxy_savings.json) |
%USERPROFILE% | fallback: %USERPROFILE%\.headroom\proxy_savings.json |
Poll interval: 5s constant (POLL_MS in src/client/index.tsx).