hezi2020/dsh-plugin-wiki--plugins-bowenliang123-dsh-context ↗★ 0

dsh-context

DeepSeek Harness 上下文洞察面板插件,展示模型上下文窗口的组成与演变。 核心用途是提供直观的“上下文”标签页,实时监控和分析会话 Token 消耗、压缩及模型切换。适合需要精细化管理和调试模型上下文窗口的开发者或高级用户。一键安装至 web profile 即可使用。

包名
dsh-context
兼容性
待验证
版本
0.4.0
许可证
Apache-2.0
最近更新
2026年8月14日

同名包的其他仓库

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add dsh-context

Usage

Open any session and click 上下文 / Context (to the right of Chat and Trajectory). Data refreshes every 2 seconds while the tab is open; switching sessions switches the view to that session's log — including historical, persisted sessions.

  • Hover a history bar for a quick tooltip; click it to pin the breakdown below the chart.
  • The overview bar is scaled to the model's context window, so ~13% full means ~13% of the window is spoken for.
  • Numbers are estimates using the same fixed-density heuristic as dsh's built-in tokenMeter (~4 chars ≈ 1 token), so they match the harness's own stats. Wherever the provider reported real usage, it's shown alongside as "actual".