Zenjibad/headroom-stats-plugin0

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进行上下文压缩、关注成本优化效果的用户。

Package
headroom-stats-plugin
Version
1.0.0
License
MIT
Last updated
Aug 16, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Zenjibad/headroom-stats-plugin

⚙️ Configuration

No config file, no persisted settings. The path is resolved dynamically from these env vars (probed once, cached):

VariableRole
HEADROOM_SAVINGS_PATHabsolute path to proxy_savings.json (highest priority)
HEADROOM_WORKSPACE_DIRheadroom workspace override (appended /proxy_savings.json)
%USERPROFILE%fallback: %USERPROFILE%\.headroom\proxy_savings.json

Poll interval: 5s constant (POLL_MS in src/client/index.tsx).