hezi2020/dsh-plugin-wiki--plugins-bowenliang123-dsh-context ↗★ 0
dsh-context
DeepSeek Harness 上下文洞察面板插件,展示模型上下文窗口的组成与演变。
AI 分析
核心用途是提供直观的“上下文”标签页,实时监控和分析会话 Token 消耗、压缩及模型切换。适合需要精细化管理和调试模型上下文窗口的开发者或高级用户。一键安装至 web profile 即可使用。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:hezi2020/dsh-plugin-wiki#0f911a1b7aef331b19607a60c884be50e910c0ab&path:plugins/bowenliang123-dsh-context说明文档
阅读完整 README ↗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".