sqs404/dsh-client-ui-cache-hit ↗★ 0
@deepseek-ai/dsh-client-ui-cache-hit
Sidebar cache hit-rate widget: visualizes the current session's DeepSeek context-cache hit ratio (hit / billed prompt tokens) from the tokenUsage session projection — segmented hit/miss/write bar, rate-state coloring, and the latest-request rate
安装
此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗
说明文档
阅读完整 README ↗使用 / Usage
- 选择一个会话(或新建会话并开始对话)。
- 展开左侧边栏,底部出现「缓存命中率」卡片:
- 标题行:左侧
缓存命中率,右侧为累计命中率百分比(按状态着色)。 - 堆叠条:绿 = 命中,灰 = 未命中,蓝 = 写缓存;右侧为
命中 / 未命中 / 写缓存的紧凑 token 计数(如517 / 12.2K / 517K)。 - 本次请求行:最近一次请求自身的命中率。
- 标题行:左侧
- 悬停卡片查看完整明细 tooltip。
- 在设置页的「我的插件」(插件面板)中可随时开关本插件。
未选择会话、暂无数据、或尚未产生计费输入时,卡片显示对应的占位文案。