bowenliang123/dsh-context

bowenliang123★ 18TypeScriptLast synced: 2026-08-14

Open on GitHub

A DeepSeek Harness plugin for Context insight panel — a Context tab in the web UI showing what the model's context window is made of and how it evolves.

README excerpt

dsh-context A Context insight panel for DeepSeek Harness (dsh): a plugin that adds a Context tab to the web UI — right beside Chat and Trajectory — so you can see what the model's context window is actually made of, and how it evolves across the conversation. Quick install One command, from any DeepSeek Harness installation (the web profile is the one dsh web boots; it is created automatically on first use): then start the web UI and open any session — the 上下文 / Context tab appears right beside Chat and Trajectory : Running dsh from a source checkout instead of the installed CLI? Prefix the commands with pnpm ( pnpm dsh plugin --profile web add dsh-context ). Why Every model request packs the same window from six sources: the system prompt, tool schemas, your messages, injected context (skills, AGENTS.md, runtime snapshots), assistant replies, and tool results. When a conversation degrades or gets compacted, which part ate the budget is usually invisible. dsh-context makes it observable: - Current composition — a stacked bar of the six categories, scaled against the model's context window (the gray track is your remaining headroom), plus the top-5 most expensive tool schemas. - His…

View full README on GitHub →
Skins / UIdsh-externaldsh-plugindsh-pluginsweb ui

Category