dsh-context-dashboard
Manifest valid★ 1DSH Session Context Statistics Panel: per-session messages/turns/tool calls/estimated tokens + global and per-project reports. Context usage dashboard for DeepSeek Harness.
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 | 每个会话:消息数、用户/助手消息、工具调用、轮次、字符数、预估 token;可按 token/消息数/时间排序 |
context_report | 全局报告:总消息、总预估 token、Top 消耗会话、按项目(工作目录)分组汇总 |
安装 Install
dsh plugin --profile web add dsh-context-dashboard
# 或任意 profile:dsh plugin --profile <name> add dsh-context-dashboard
使用 Usage(agent 工具)
- 「哪个会话消耗的上下文最多?」→
session_stats(默认按预估 token 降序) - 「给我一份全局上下文报告」→
context_report - English: "Which session uses the most context?" →
session_stats
预估 token = 字符数 ÷ 1.5(中文为主场景的经验值),仅供参考。
为什么选它 Why
- 上下文预算管理:agent 会话越长越贵,先看清再决策(清理/导出/压缩)
- 成本可见:Token 消耗一目了然
配套插件 Companion plugins
- dsh-session-export — 会话导出/备份
- dsh-session-search — 跨会话全文搜索
License
MIT © istone
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.1.0 | — | — |
Comments
Loading…
From the same category
by ranxianglei
基本稳定可用 100K tokens is enough. Universal context-compression proxy for ALL AI coding agents,10w上下文足矣
★ 804
↓ 423.4k/wk
MIT
TypeScript
Oct 11, 2026
dsh plugin --profile web add billion-contextby Han-1413141
DeepSeek Harness session cost meter plugin: session/daily cost, budget, history, OpenCode Go quota, official & custom-provider balance, Codex-like token heatmap, peak/off-peak pricing with pre-switch
★ 388
↓ 23k/wk
MIT
JavaScript
Oct 10, 2026
dsh plugin --profile web add dsh-cost-meterby Nwflower
Import 14+ external agent chat histories (Claude Code, Codex, ChatGPT, Cursor, Gemini, Reasonix, opencode, ZCode, Grok Build, OpenClaw, Pi, Hermes, Kimi CLI, DSH) into DeepSeek Harness as resumable se
★ 224
MIT
JavaScript
Oct 7, 2026
dsh plugin --profile web add dsh-chat-importby Totoro-qaq
DeepSeek Harness plugin for previewable cross-preset session migration. Fixed-schema handoffs preserve state, source-model intent, and unresolved images; the original session stays untouched.
★ 165
MIT
JavaScript
Oct 11, 2026
dsh plugin --profile web add dsh-plugin-bridgeby Anionex
deepseek harness对话和代码状态回退插件 | DSH — rewind conversation and workspace state, powered by a persistent Change Ledger
★ 131
BSD-3-Clause
JavaScript
Oct 1, 2026
dsh plugin --profile web add @anionex/dsh-turn-rewindby SiriLee
DSH 插件:真正便捷无感的同窗口内对话回退,从不新建分支;自带轻量工作区备份,可一并还原文件(完整 Claude Code /rewind 语义)。 · DSH plugin: genuinely effortless in-window conversation rewind — never forking a new session; ships a lightweight workspac
★ 123
↓ 5.5k/wk
MIT
TypeScript
Oct 9, 2026
dsh plugin --profile web add dsh-rewind-plugin