dsh-status-bar
精选清单收录维护状态: 活跃starlight-bananice/dsh-status-bar
Know what your agent is doing at a glance — 17-segment configurable status bar for DeepSeek Harness: status/model/context/tokens/TPS/cost/jobs. 一眼看清你的 agent 正在做什么:17 段可配置 DSH 会话状态栏。
$ dsh plugin add dsh-status-bar11
星标
2
Fork
TypeScript
语言
MIT
许可证
2026-08-15
创建于
2026-10-19
最近推送
README
dsh-status-bar · Know what your agent is doing — at a glance
✅ Adapted to the DSH desktop app — DSH 0.2.1-rc.2.
The 0.2.x line is built for the desktop runtime: install it into the desktop profile (in-app Plugins page, or dsh plugin --profile desktop add …).
The retired 0.1.x line targets the old 0.1.x runtime and will NOT load on the 0.2.x desktop.
✅ Adapted to the DSH desktop app — DSH 0.2.1-rc.2.
The 0.2.x line is built for the desktop runtime: install it into the desktop profile (in-app Plugins page, or dsh plugin --profile desktop add …).
The retired 0.1.x line targets the old 0.1.x runtime and will NOT load on the 0.2.x desktop.
Overview
The problem: the native DSH bottom status bar is one long, fixed line — the more it shows, the more it overflows, and on narrow windows parts of it get truncated. You cannot see the current model, how full the context window is, how fast tokens are streaming, or what a session has cost — and there is no way to arrange that information the way you work.
Who it is for: anyone running the DSH desktop app daily — power users and teams who want live session telemetry without leaving the composer, and without running a separate monitor.
What it does:
- Desktop-native, not bolted on — rebuilt against the DSH 0.2 desktop runtime (
@deepseek-ai/dsh-*@0.2.0-rc.2): session facts come from the desktop's own Chat / session / composer services, background jobs from its job service, and the live throughput figure from its own streaming event window. No shims, no legacy compatibility path. - Near-native experience, fully yours — 16 toggleable segments (the context ring is pinned to the right; the other 15 are reorderable): status dot, model, title, workspace, turns & steps, model/tool time, TTFT & decode speed, cache-hit rate, tokens, context pressure, live TPS, session time, cost estimate, jobs, queue, errors
- Live throughput (TPS) — the bar folds this session's own live stream in the browser, so the speed updates chunk by chunk while streaming and tracks the real generation rate regardless of how finely the stream is delivered; no polling, no host round-trip, no external live-stats plugin
- Cost estimation with a user-maintained model price book — per-model rates, per-model peak/off-peak schedules, each message/step priced with the model that actually produced it (input, cache-hit, cache-write and output priced separately at that step's own time), and a «Usage & cost» dialog with a stacked cost-trend chart (day / week / month), a paged per-step usage history (with a dedicated cache-hit column), and a total-cost hero
- Keeps up with DeepSeek's shifting peak/off-peak rules — no more one hard-coded list of
HH:MMwindows: billing keys off working day vs weekend vs public holiday, with the holiday / 调休 calendar fetched and cached locally (and editable by hand). When DeepSeek moves the windows, changes the weekend rule, or adds holidays and make-up workdays, you refresh once or edit one field instead of rebuilding the price book - Zero-config default — 13 segments ship enabled; everything else is a checkbox away
- Useful options — multi-line wrapping (so nothing gets truncated), per-model cost estimation with peak/off-peak pricing, currency choice (CNY / USD), a quick-toggle gear menu, and a dedicated settings page with one-click reset
- Official context ring, built in — the composer's context meter is recreated inside the bar: a right-pinned ring and percentage fed by
contextPressure, with the shipped click-opencontextBreakdownpanel (system prompt / tools / conversation). Turn the context segment off to hand the ring back to DSH - 24-hour clock fields — peak windows are typed as
09:00, not whatever AM/PM format the browser locale would impose on a native time input - Clean takeover, with a native fallback — the plugin's bar replaces the two built-in composer statistics entries (
activityandusage) at lower priority: while loaded it renders, when unloaded both built-ins return untouched. A Use native status bar switch in Settings (and the gear menu) releases both takeovers live, so DSH's own bar and context meter return without restarting. The plugin's own ring replaces the native meter; turning the context segment off (or switching to native mode) hands the native ring back - Bilingual UI — client locale strings ship for English and Chinese, following the DSH locale system
Screenshots
The status bar replaces the built-in stats line with near-native live session telemetry (status · model · turns · context · cache · TPS · session time · jobs · queue · errors), managed from a dedicated settings page — including a per-model price book and the holiday calendar behind peak/off-peak pricing:


| Toggle & reorder on the go (segment list) | Usage & cost dialog (trend chart · stat cards · history) |
|---|---|
![]() |
![]() |
Compatibility
更多「用量与计费」插件
dsh-cost-meter
作者 han-1413141
DeepSeek Harness 会话与当日 API 费用、预算与官方余额统计插件:历史看板、峰谷计价与官方价格一键同步。
dsh-usage-stats
作者 ychris12138
为 DeepSeek Harness Web GUI 提供提供方余额、订阅额度与 Token 用量分析。
tokdash
作者 jingbiaomei
智能体仪表盘:以热力图、成本追踪与 Token 计数可视化各提供方的会话与配额用量,帮助分析与优化。
dsh-plugins
作者 mt-youya
DeepSeek Harness 插件集合,用于集中安装和管理扩展。


