uckkk/dsh-context-dashboard0

dsh-context-dashboard

DSH 会话上下文统计面板:统计每个会话的消息数、轮次、工具调用、字符数与预估 token,生成全量/按项目上下文报告,帮你看清上下文消耗大户。Context usage dashboard for DeepSeek Harness — per-session message/token statistics and context reports (zstd + plaintext logs).

AI 분석

统计会话消息数、工具调用及预估 token,生成上下文报告。适合需要监控和优化大模型上下文消耗的用户。

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

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:uckkk/dsh-context-dashboard

使用 Usage(agent 工具)

  • 「哪个会话消耗的上下文最多?」→ session_stats(默认按预估 token 降序)
  • 「给我一份全局上下文报告」→ context_report
  • 「清理前先看看各项目占多少 token」→ context_report byProject=true

预估 token = 字符数 ÷ 1.5(中文为主场景的经验值),仅供参考。