hezi2020/dsh-plugin-wiki--plugins-bowenliang123-dsh-context0

dsh-context

Context insight panel for DeepSeek Harness: a Context tab (beside Chat/Trajectory) showing what the model's context window is made of and how it evolves — composition, per-request history, compactions, injections, and model switches.

AI 분석

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

패키지
dsh-context
버전
0.4.0
라이선스
MIT
최근 업데이트
2026. 8. 14.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:hezi2020/dsh-plugin-wiki#0f911a1b7aef331b19607a60c884be50e910c0ab&path:plugins/bowenliang123-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".