focksor/dsh-plugin-mini-dashboard ↗★ 1
dsh-plugin-mini-dashboard
在侧边栏上方添加会话与 token 消耗情况的迷你仪表盘。 适合需要直观、实时监控当前会话 Token 消耗和运行状态的用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:focksor/dsh-plugin-mini-dashboard说明文档
阅读完整 README ↗Configuration
Two places edit the same settings, and every change applies instantly:
- the mini dashboard section in DSH's built-in Settings dialog;
- the ⚙ popover on the panel itself — same options, always one click away.
Settings persist to ~/.dsh/settings.yaml (namespace mini-dashboard) and survive restarts.
| Setting | Default | Effect |
|---|---|---|
| Enable panel | on | Master switch |
| Layout | Cards | Compact single row / Cards grid / List rows |
| Refresh interval | 2s | Update cadence (1/2/5/10/30s); also caps trendline detail |
| Speed scope | Current session | Count speeds across all sessions or the current one only |
| Output speed includes reasoning | on | On: 10s window, thinking text counts toward the live estimate. Off: smoother 30s window that ignores it |
| Today usage includes subagents | on | Whether subagent sessions add to today's token figures |
| Columns per row | 2 | Card layout density (1–4) |
| Snap to screen edge | on | Magnet when dragging near an edge; a threshold slider (8–80px) appears alongside |
| Fg / Bg transparency | 0% / 15% | Fade the metric text / the backdrop |
| Visible metrics | all shown | Per-metric show/hide; drag to reorder |
| Trendline | 5m (both speeds) | Off / 1m / 3m / 5m, set per speed metric |
| Git metrics | shown | Branch / Changes / combined Git status, each individually toggleable in Visible metrics |