← 返回列表
D

dsh-scope

v0.1.0 · 0 天前发布

Codex-style context visibility for DeepSeek Harness: live context-window occupancy, composition breakdown, KV-cache hit rate, and a GitHub-style 53-week usage heatmap

deepseekdeepseek-harnessdshdsh-plugincontext-windowtoken-usageusage-heatmap

README

dsh-scope

![dsh.so security](https://www.dsh.so/artifact/dsh-scope/)
![License: MIT](LICENSE)

English · 简体中文

DeepSeek Harness(dsh)的上下文可视化插件 —— 每个会话的 Codex 式 /context 透镜 + 全历史的 GitHub 式用量热力图。

一个插件,两处 UI:

1. Context Lens(会话头部)—— 实时 context 窗口占用率(system / tools / messages 分段构成条)、四桶会话累计、KV 缓存命中率。数据全部来自官方 token-meter 会话投影(useProjection)—— 无 RPC、无自定义协议。
2. 用量热力图(侧边栏底部)—— GitHub 贡献图风格的滚动 53 周 token 用量网格。点击任意日期查看四桶明细、缓存命中率、会话数、模型排行。数据来自本插件自己的回环聚合端点。

截图

!用量热力图

为什么做

DeepSeek Harness 把措辞和上下文当一等工程对象,但自带 Web UI 既不显示 context 占用也没有用量历史。dsh-scope 按 harness 原生方式补上这两个缺口:读平台已经算好的投影、用平台的设计

查看完整 README →

版本兼容矩阵

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-scope
Repo
git+https://github.com/helloxkk/dsh-scope.git
Engines
{}
Weekly DL
0
Monthly DL
0
dsh.bundle
{"bundle":{"patch":"./cordis.patch.yml"},"client":{"platform":"web","inject":["@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-client-runtime","@deepseek-ai/dsh-client-ui-conversation"]}}