GooodWei/context-vista

Provides the right floating bar and /context command for DeepSeek Harness, uses a ring chart to display the current context token usage and allocation in real time, and the effect of compact instructions. It also supports estimated cost consumption, benchmarking Claude Code's /co

context-vista adds a /context slash command for DeepSeek Harness that shows the current context token usage and allocation as a donut chart (system / tools / messages / free), an occupancy bar, session totals, and an estimated cost. A mini floating card stays on the right side of the conversation area showing occupancy and estimated cost live — draggable, collapsible, position remembered. A Compact context button triggers /compact (same effect as typing the command) with a Compacting state while it runs. Custom pricing supports per-route currency (¥/$), timezone offset, peak windows (including windows crossing midnight), and per-model peak/off-peak hit/miss/output rates, hot-reloaded from ~/.dsh/settings.yaml without restart.

Agent Capabilities ★ 10 updated 2026-09-08 ✅ runtime-tested
View on GitHub ↗

Install

npx @deepseek-ai/dsh plugin --profile web add github:GooodWei/context-vista

Install with npx @deepseek-ai/dsh plugin --profile web add github:GooodWei/context-vista then start with npx @deepseek-ai/dsh web. Install pnpm first (dsh plugin add invokes it internally); if dsh is installed globally, npx @deepseek-ai/dsh can be shortened to dsh.

Compatibility

DeepSeek Harness with the web profile (npx @deepseek-ai/dsh web). Built-in DeepSeek official pricing in CNY with peak/off-peak windows; custom pricing/currency/timezone configurable per route in ~/.dsh/settings.yaml with hot reload.

Details

Recent updates

The current README documents the donut chart, occupancy bar, floating mini card, compact button, built-in DeepSeek pricing, the custom pricing schema (currency, timezone, peakWindows, models with peak/off-peak hit/miss/output), and minimal + full example configs.

FAQ

How do I open the context view?
Type /context and press Enter to see the donut card; the mini floating card on the right updates live with no input.
Does the Compact button differ from typing /compact?
No — it triggers /compact, same effect as typing the command, with a Compacting… state while the compaction runs.
Can I use non-DeepSeek pricing?
Yes — edit ~/.dsh/settings.yaml (hot-reloaded): each route (baseURL) can set its own currency, timezone, peak windows, and per-model prices.

Alternatives

bowenliang123/dsh-context · lanlandeli/dsh-usage-stats · xiufengsun/TokenTracker

More plugins in Agent Capabilities

Browse more in Agent Capabilities

Guides for Agent Capabilities plugins