dsh-context: A Context Insight and Management Plugin for DeepSeek Harness
bowenliang123/dsh-context
A DeepSeek Harness plugin for context insight and management, offering a Context dashboard and /context command to visualize composition, evolution, and compression events.
dsh-context is a context insight and management plugin built for DeepSeek Harness, helping developers intuitively understand the composition, evolution, and compression of Agent context. It provides a full context dashboard with stats, trends, events, file activity, and agent network, and supports opening the browser quickly via the /context command in chat. No build or restart needed; it works right after enabling in the Web UI, ideal for DSH users who want deep visibility into context dynamics.
How to Install
dsh plugin --profile web add dsh-context- Category
- Sessions & Messages
- Platform
- DSH Plugin
- Author
- bowenliang123
- Distribution
- Plugin
dsh-context Key Features
dsh-context Repo Summary
What Does It Do?
dsh-context is a DSH plugin for DeepSeek Harness that provides full context lifecycle management for Agent's context insights. It solves the problem of developers not being able to intuitively understand the composition, evolution, and compression of conversation context, letting you directly view context statistics, composition, trends, events, and messages inside the harness without manually analyzing logs. Core capabilities include a context dashboard, context browser, and /context command to see through context composition, evolution, compaction, and pruning events.
Core Features
- Context tab: a full dashboard with stats, composition, per-request trend, events, file activity, and agent network in every session.
- /context command: opens a centered modal with the same composition and context browser without leaving the chat.
- Context Stats: turns, steps, live tool calls & images, context-event tallies, plus a list-price cost estimate.
- Context Trend: one stacked bar per model request, with Step/Turn granularity, Total/Delta modes, and compaction/prune marks.
- Context Browser: browse what any request was actually assembled from, with Live (next request) or retained steps.
- File Activity: shows what the agent did to your files.
How to Use This Plugin?
After enabling it in DSH, open any session and click the Context / 上下文 tab to see the full dashboard. You can also type /context directly in the chat to open a centered modal with the same composition and context browser. In Settings → Plugin configuration, adjust per-user defaults like trend granularity and mode, and file activity sort. No build step or restart needed; just start the web UI.
This page is an independent rewrite of the plugin's official README — for authoritative documentation and the latest changes, refer to the source: bowenliang123/dsh-context. The plugin is third-party code that runs on your machine once installed; inclusion does not imply endorsement — please review the source before installing.
