helloxkk/dsh-context-lens

helloxkk★ 1JavaScriptLast synced: 2026-08-16

Open on GitHub

Context visibility + GitHub-style usage heatmap for DeepSeek Harness (dsh) — Codex-style /context lens + 53-week contribution graph

README excerpt

dsh-scope English · 简体中文 Context visibility for DeepSeek Harness ( dsh ) — a Codex-style /context lens for every session, plus a GitHub-style usage heatmap for your whole history. Two UI contributions, one plugin: 1. Context Lens (session header) — live context-window occupancy with a segmented system / tools / messages composition bar, per-bucket session totals, and KV-cache hit rate. All data flows through the official token-meter session projections via useProjection — no RPC, no custom wire protocol. 2. Usage Heatmap (sidebar footer) — a GitHub-contribution-graph-style rolling 53-week token-usage grid. Click any day for the four token buckets, cache hit rate, session count, and per-model ranking. Fed by this plugin's own loopback-only aggregation endpoint. Screenshots Why DeepSeek Harness treats wording and context as first-class engineering concerns, yet the stock Web UI shows no context occupancy and no usage history. dsh-scope fills both gaps the harness-native way: reading the projections the platform already computes, styling with the platform's design tokens ( --dsw-alias- ), and mounting through the platform's slot registry — light/dark themes both correct with zero medi…

View full README on GitHub →
Tools / Devcontext-windowdeepseekdeepseek-harnessdshdsh-pluginheatmaptoken-usage

Category