wellorbetter/dsh-plugin-window-stats
DSH web plugin: see every session's conversation progress and token usage at a glance — all-windows overview,
The bundle adds a cross-session observability surface to every session of the target dsh profile. A window-stats view tab lists one row per session — status, turns and steps, input/output tokens, cache-hit ratio, context occupancy, duration, cost and last activity — with toolbar sorting, filtering, group-by-workspace, and model and currency selectors (USD, CNY, EUR, GBP, JPY), plus a right detail panel showing token buckets, context composition, timing and a heatmap. A second session-analysis tab analyses the current session over preset or custom time ranges with a token trend chart, a tool-type duration donut and bars, and per-turn task summaries. A sidebar footer always shows the running count, total tokens and cost, and a collapsed-by-default right drawer expands to running sessions, top token consumers and recent activity, each row clickable to open. Cost is estimated from DeepSeek's official V4-Flash and V4-Pro pricing, with cache-hit, cache-miss and output priced separately.
Install
dsh plugin --profile web add github:wellorbetter/dsh-plugin-window-statsCopied verbatim from the README's Install block under the comment "# from GitHub (recommended)"; the block's second variant is a local-checkout path install. The the npm registry check (2026-10-17) returned no package for this repo, so no npm package is published and the GitHub form is what ships.
Compatibility
Requires the dsh CLI and a profile restart (dsh web) after installing; the README states no DSH version range. Because the bundle declares dsh.bundle.patch, dsh plugin adds it to the profile's dsh.profile.bundles with no hand-editing. It reads only the official tokenUsage, sessionStats, contextPressure and contextBreakdown projections plus a tokenHistory projection it registers itself, so no extra host service or RPC is needed, and it is described as 100% read-only and local with no outbound requests and no session writes.
Details
- Repo: wellorbetter/dsh-plugin-window-stats
- Category: Agent Capabilities
- Stars: 1
- Version: wellorbetter/dsh-plugin-window-stats has 1 star, is installed from GitHub (no npm package published), is MIT licensed, written in JavaScript and was created 2026-08-14; the README documents a dsh bundle that declares dsh.bundle.patch so dsh plugin reconciles it into the profile's dsh.profile.bundles automatically, and it ships pre-built JavaScript in lib/ so a GitHub install needs no build step or allowBuilds permission.
- Last push: 2026-08-14
- First seen: 2026-08-14
Alternatives
SmileTao/dsh-plugin-dev-skill · YYTbit/dsh-plugin-vision-toolkit · Wine-Red/dsh-prompt-stash