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



统计 DeepSeek Harness(DSH)本地会话的上下文消耗:每个会话的消息数、轮次、工具调用、字符数与预估 token,并生成全量/按项目的上下文报告。
Context usage dashboard for DeepSeek Harness — per-session token/message statistics and context reports, so you know exactly where your context budget goes.
支持 zstd 压缩(.jsonl.zstd,DSH 默认存储格式)与明文(.jsonl)会话日志。纯 Node 实现,零第三方运行时依赖。
功能 Features
| 工具 | 说明 |
|---|---|
| session_stats |
版本兼容矩阵
| DSH 版本 | 状态 | 说明 |
|---|---|---|
dsh@0.1.0-rc.6 | ✅ 兼容 | cordis patch ✅ |
dsh@0.1.0 | ✅ 兼容 | 标准 patch ✅ |
dsh@0.2.0 | ⚠️ 待验证 | 待实测(API 可能在变) |
dsh@0.3.0+ | ❓ 未知 | 尚未发布 |
💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正
元数据
- License
- MIT
- npm
- dsh-context-dashboard
- Repo
- —
- Engines
{}- Weekly DL
- 0
- Monthly DL
- 0
- dsh.bundle
{"bundle":{"patch":"./cordis.patch.yml"}}