DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Context — DeepSeek Harness 插件(DSH Plugin)
← Plugins

dsh-context

Context

用于上下文洞察和管理的 DeepSeek Harness 插件,提供上下文仪表板和上下文命令,帮助了解上下文的构成及其演变过程。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:bowenliang123/dsh-context#f90d398eb7f6926cb0a4c2b326bfdec08b65bc36
README兼容性版本

兼容性与来源证明

Context 以 dsh-context 发布,当前版本为 0.54.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/9/20

版本

0.54.0stable
2026/9/20
0.53.4stable
2026/9/19
0.53.3stable
2026/9/17
查看其余 100 个版本
收起版本
0.53.2stable
2026/9/17
0.53.1stable
2026/9/16
0.53.0stable
2026/9/16
0.52.2stable
2026/9/15
0.52.1stable
2026/9/14
0.52.0stable
2026/9/13
0.51.1stable
2026/9/13
0.51.0stable
2026/9/13
0.50.0stable
2026/9/12
0.49.4stable
2026/9/11
0.49.3stable
2026/9/11
0.49.2stable
2026/9/11
0.49.1stable
2026/9/10
0.49.0stable
2026/9/10
0.48.0stable
2026/9/9
0.47.0stable
2026/9/8
0.46.1stable
2026/9/8
0.46.0stable
2026/9/7
0.45.0stable
2026/9/7
0.44.0stable
2026/9/6
0.43.0stable
2026/9/5
0.42.0stable
2026/9/4
0.41.3stable
2026/9/3
0.41.2stable
2026/9/3
0.41.1stable
2026/9/3
0.41.0stable
2026/9/2
0.40.1stable
2026/9/1
0.40.0stable
2026/9/1
0.39.0stable
2026/9/1
0.38.5stable
2026/8/30
0.38.4stable
2026/8/30
0.38.3stable
2026/8/30
0.38.2stable
2026/8/29
0.38.1stable
2026/8/29
0.38.0stable
2026/8/29
0.37.0stable
2026/8/28
0.36.0stable
2026/8/28
0.35.0stable
2026/8/27
0.34.1stable
2026/8/27
0.34.0stable
2026/8/26
0.33.1stable
2026/8/26
0.33.0stable
2026/8/26
0.32.0stable
2026/8/25
0.31.1stable
2026/8/25
0.31.0stable
2026/8/24
0.30.3stable
2026/8/24
0.30.2stable
2026/8/24
0.30.1stable
2026/8/24
0.30.0stable
2026/8/24
0.29.1stable
2026/8/24
0.29.0stable
2026/8/23
0.28.0stable
2026/8/23
0.27.0stable
2026/8/23
0.26.1stable
2026/8/23
0.26.0stable
2026/8/23
0.25.3stable
2026/8/22
0.25.2stable
2026/8/22
0.24.1stable
2026/8/22
0.24.0stable
2026/8/22
0.23.0stable
2026/8/21
0.22.2stable
2026/8/21
0.22.1stable
2026/8/21
0.22.0stable
2026/8/21
0.21.1stable
2026/8/21
0.21.0stable
2026/8/21
0.20.1stable
2026/8/21
0.20.0stable
2026/8/21
0.19.2stable
2026/8/20
0.19.1stable
2026/8/20
0.19.0stable
2026/8/20
0.18.0stable
2026/8/20
0.17.0stable
2026/8/19
0.16.0stable
2026/8/19
0.15.0stable
2026/8/19
0.14.0stable
2026/8/19
0.13.0stable
2026/8/18
0.12.2stable
2026/8/18
0.12.1stable
2026/8/18
0.12.0stable
2026/8/17
0.11.2stable
2026/8/17
0.11.1stable
2026/8/17
0.11.0stable
2026/8/17
0.10.3stable
2026/8/17
0.10.2stable
2026/8/16
0.10.1stable
2026/8/16
0.10.0stable
2026/8/16
0.9.0stable
2026/8/16
0.8.0stable
2026/8/15
0.7.3stable
2026/8/14
0.7.2stable
2026/8/14
0.7.1stable
2026/8/14
0.7.0stable
2026/8/14
0.6.2stable
2026/8/14
0.6.1stable
2026/8/14
0.6.0stable
2026/8/14
0.5.0stable
2026/8/14
0.4.0stable
2026/8/14
0.3.1stable
2026/8/14
0.3.0stable
2026/8/14
0.2.3stable
2026/8/14

相关插件

正在加载相关插件…

最新版
0.54.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
Apache-2.0
发布源
github
GitHub
★ 1.4k
周下载
23,327
最近提交
2026/9/20
查看源码 ↗项目主页 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录

相关插件

继续浏览 memory-context 分类下经过校验的插件。

Weknora@wxg-prc-cpg/dsh-weknora适用于 DeepSeek Harness (dsh) 的 WeKnora 知识检索工具:通过自有知识库进行语义搜索、文档阅读以及 RAG/代理回答。Mnemondsh-mnemon面向 DeepSeek Harness 的可组合三层记忆控制平面:持久化运行时上下文、可搜索的项目文档、可插拔的长期记忆、受保护的策略、WebUI 和无头工具。Memsearch Dsh@zilliz/memsearch-dsh适用于 DeepSeek Harness 的 MemSearch 插件:在多个代理之间共享 Markdown 记忆,支持捕获、步骤前上下文注入、记忆召回技能和技能候选审核面板。Chat Importdsh-chat-import将 25+ 个 AI 编程 Agent 的对话历史导入 DeepSeek Harness,作为可恢复会话继续使用,完整保留工具调用、推理和结果,并支持反向导出与同步。

README

Social preview

dsh-context

The best DeepSeek Harness plugin for Agent's context insights and management.

dsh-context provides full context lifecycle management features.

  • Context Dashboard — the cross-session overview above Settings on the sidebar foot: KPI band, activity heatmap, aggregate composition ring, and filterable session cards that jump straight into any session.
  • Context tab — an UI context dashboard for DeepSeek Harness's context stats, composition, trend, events, and messages.
  • Context panel — the same dashboard as a right-sidebar tab (dsh 0.1.5-rc.1+): pick Context on the sidebar's guide page and the panel opens beside the chat.
  • /context command — the slash command shows the context model for current context composition and recent context evolution.

Install / Update

Install dsh-context plugin from DeepSeek Harness:

dsh plugin --profile web add dsh-context

Or update the dsh-context plugin:

dsh plugin --profile web update dsh-context@latest

Then start the web UI with dsh web. No build step, no restart.

Use it

Four surfaces, one story — what your agent is carrying, how it got there, and what it did with it:

WhereWhat you get
Context DashboardEvery session at a glance: usage, cost, cache hit, daily activity, and per-session context profiles — filtered by range, day, group, or search, one click to jump in.
Context tabThe full dashboard: stats, composition, per-request trend, events, file activity, and the agent network — in every session.
/context commandA centered modal with the same composition and context browser, without leaving the chat.
Settings → Plugin configurationPer-user defaults: trend granularity & mode, File Activity sort.

🗂️ The Context Dashboard

Click Context Dashboard / 上下文仪表盘 at the bottom-left of the sidebar, right above Settings:

Context Dashboard

SectionThe question it answers
KPI bandHow much am I using — sessions, billed tokens, estimated cost, and cache-hit rate over the picked range (7d / 30d / all).
Activity heatmapWhen do I actually work — the last 8 weeks of daily billed tokens; click a day to filter the sessions that were active on it.
Context CompositionWhere the context windows went, summed over the range's sessions.
Session cardsEach session's profile: composition ring, billed tokens, turns, cost, and its workspace-group / project breadcrumb — sorted by recency, tokens, or context size, searchable, grouped by workspace. A card click opens the session.

📊 The Context tab

Open any session and click the Context / 上下文 tab:

Context panel overview

CardThe question it answers
Context StatsTurns, steps, human inputs, live tool calls, the session's cache-hit rate — plus a cost estimated from the models.dev list prices (hover the ? for per-1M rates; DeepSeek peak/off-peak aware).
Token StatsWhere the billed tokens went — the same total as the chat stats line under the composer, split by composition (system, tools, messages…) with the provider-exact output closing the ring.
Timing StatsHow active time split across model calls, tool runs, and overhead.
Current ContextWhat's in the window right now.
Context TrendEvery request's size — and its story.
Context BrowserWhat any request was actually assembled from.
Context EventsWhen and why the window changed.
File ActivityWhat the agent did to your files.
Agent NetworkThe whole agent family, live.

The headline occupancy and composition read the same official token-meter projections as the chat composer's context ring (contextPressure / contextBreakdown), so the figures always match what the ring tells you.

Context Stats

Token Stats and Timing Stats

Token_Stats_and_Timing_Stats

Context Stats

Context_Stats

🧱 Current Context — what's in the context window now

Current Context card

A six-color stacked bar against the model's full window (hatching = free headroom): system prompt, tool schemas, user messages, injected context, assistant replies, tool results — each with its ≈token figure and share. When a conversation starts degrading, this is where you see which part is responsible.

📈 Context Trend — how the context grew and evolved by turn or steps

Context Trend with the step brief

One stacked bar per model request — finer than per-message — so you watch the window grow turn by turn:

  • ✨ Step brief — three plain-language rows under the chart: User recalls the message that opened the turn, In lists what newly entered (usually the previous tool results), Response shows the reply and/or tools called. Click a row to open that exact message in the Context browser.
  • ✂ marks the events — compactions and prunes are pinned to the bar where they happened, so the drops explain themselves.
  • Read it your way — Step / Turn granularity, Total (cumulative makeup) or Delta (each request's signed change), and sideways scrolling through the whole session. In Delta mode, growth piles up above the baseline and a compaction dives below it:

Context Trend in Delta mode

  • Hover & pin — scrub for an instant tooltip; click to pin the full breakdown, with provider-reported Actual Prompt / Output / Cache next to the estimates.
  • Live linkage — hovering a bar previews that step's assembled context in the Context browser beside the chart; leaving the chart returns to your own pick.

🧭 Context Browser — open the box of any request

Pick Live (next request) or any retained step, and browse what that request was assembled from: seven collapsible categories expand into one row per element with its token price, and every element expands again into its actual content — the system prompt, each tool's JSON schema, message text, reasoning, tool arguments, and tool outputs. Skill content (the available-skills catalog, /skill invocations, and skill-tool loads) has its own Skill Injections category, so a stealthy skill's context footprint can't hide inside the injected-context and tool-result buckets.

  • Who provides each tool — every tool-schema row carries a best-effort source chip: tool-* first-party packages, dsh-* capability packages, mcp:<server> proxies, or the exact plugin watched live from tools.register(). Sort by size / name, and filter every category by its own searchable fields:

Tool schemas with source chips, filter, and sort

  • Tool results open into the full call — the tool name and arguments with its OK/error status, the result body with line count and a Raw / Markdown toggle:

A tool result expanded with Raw/Markdown toggle

  • Image payloads render as cards — thumbnails with name, dimensions, stored size, and the official DeepSeek image-token estimate (the dsh multimodal pipeline, e.g. read_image results and image attachments):

An image payload rendered as a thumbnail card

  • Diff against the previous turn — signed delta badges per category (+N items, ±Nk tokens) tell you what a turn added or reclaimed at one glance. Steps older than a compaction are reconstructed from the removed-message archive — and the card says so when a step's makeup is only approximate.

⚡ Context Events — when and why the window changed

Context Events with a compaction

Every injection, compaction, prune, model switch, and plan-mode toggle — labeled with its producer (instruction file, plugin id, skill name), its net token delta (compactions show what they reclaimed), turn/step, and time. The Inject / Compact / Prune / Switch / Mode chips filter the log by kind, each carrying its whole-session event tally.

📁 File Activity — what the agent did to your files

File Activity

One row per touched file — read, written, or searched — aggregated up to whichever step you pick on the trend chart:

  • Per-purpose counts with header chips doubling as filters (Read / Written / Searched / Images) and a path search box.
  • Line deltas — every edit/write contributes its estimated +added / −removed footprint, per file and summed.
  • Every mode counts — native tools, the Minimal preset's str_replace_editor, and the nested calls inside PTC run_code programs are all folded into per-tool rows.
  • Searches land on real files — matched files get their own ops rows with hit counts.
  • Click a row to expand its full operation log — every op jumps straight to the exact tool result in the Context browser.
  • Click a file name to open its preview in the right Sidebar (dsh 0.1.5-rc.1+), exactly as the built-in Files sidebar does — the same viewer, the same tab-per-file behavior. On a harness without that column the name opens on your system as before.

🕸 Agent Network — the family portrait

Agent Network with two subagents

The current agent, its parents, and every subagent — one node per agent, colored edges for the lineage, multi-level delegation on one map. Each ring is that session's composition scaled to its window occupancy; hover for tokens, requests, billing, and active time; click to jump into that session's own Context tab. Running agents breathe with a green pulse.

⌨️ /context command

Type /context (or pick it from the / menu) and press Enter:

Slash menu with the context command

A centered dialog opens with the Current Composition card and the Context browser — the same composition bar, per-step picker, and vs previous turn diff badges as the tab:

The /context modal

⚙️ Settings

In Settings → Plugins → Plugin configuration, the Context card holds this plugin's per-user preferences — default trend granularity (Step/Turn), default trend mode (Total/Delta), and the File Activity default sort. In-chart and in-card toggles stay per-view and never overwrite the stored preference.

The Context settings card

Good to know

  • Estimates vs actuals — category figures use dsh's own fixed-density heuristic (the same one as its built-in token meter); the pinned trend details show provider-reported actuals next to them, and the Token card pairs its ≈-estimated composition shares with the provider-exact billed total.
  • Compatibility — works on @deepseek-ai/dsh 0.1.2-rc1+, across the V0 (0.1.2-rc.x), V2 (0.1.3-alpha.x), and V3 (0.1.5-alpha.x+) session-log generations. The per-release matrix and how it is verified: docs/compatibility.md.
  • I18n — UI in English and 简体中文.

Like it?

If dsh-context helped you understand what your agent is carrying around, a ⭐ on GitHub is much appreciated — and issues/PRs are welcome!

License

Apache-2.0