sqs404/dsh-client-ui-cache-hit
sqs404★ 0JavaScriptLast synced: 2026-08-16
DeepSeek Harness sidebar cache hit-rate widget (dsh-plugin): live context-cache hit ratio, segmented hit/miss/write bar, rate-state coloring, last-call rate. 侧边栏缓存命中率显示插件
README excerpt
dsh-client-ui-cache-hit DeepSeek Harness 侧边栏缓存命中率显示插件 / Sidebar cache hit-rate widget for DeepSeek Harness 一个纯浏览器端的 DeepSeek Harness 客户端插件:在侧边栏底部实时显示 当前会话 的 DeepSeek 上下文缓存命中率(命中 token ÷ 计费输入 token),包括分段堆叠条、命中率状态着色、以及最近一次请求的命中率。 A browser-only DeepSeek Harness client plugin: a sidebar-footer card that visualizes the current session's DeepSeek context-cache hit ratio (cache-read tokens ÷ billed prompt tokens) in real time — segmented stacked bar, rate-state coloring, and the latest-request hit rate. 功能特性 / Features - 📊 侧边栏卡片 :注册到 sidebar.footer.action 槽位,侧边栏展开时显示在底部。 - 🟢 分段堆叠条 :命中(绿)/ 未命中(灰)/ 写缓存(蓝)三段宽度按 token 占比动态过渡。 - 🎨 命中率着色 :≥ 70% 绿色、40%–70% 琥珀色、 需要:DeepSeek Harness(Web profile,即浏览器 GUI http://127.0.0.1:3080 所在服务)。 以下以便携版目录 (含 data/profiles/web 与 data/profiles/node modules )为例。 方式 A:让 AI 助手帮你装(推荐) 本插件就是为 DeepSeek Harness 设计的,最简单的方式是 直接请 DSH 的 AI 助手安装 : 1. 在 DSH 的会话里粘贴本仓库地址,例如: 请帮我安装这个插件:https://github.com/sqs404/dsh-client-ui-cache-hit 2. AI 会替你完成全部安装步骤:把 lib/ 与 package.json 放进 profile 的 node modules、在 cordis.patch.yml 的 insert 列表注册 ui-cache-hit 、重启服务并验证加载。 3. 刷新浏览器页面,侧边栏底部就会出现「缓存命中率」卡片。 无需手动复制文件、改配置或重启。 方式 B:手动本地安装(备用) 1. 将本仓库的 lib/ 目录与 package.json 放入 profile 的 node modules …
View full README on GitHub →Category
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
★ 40,503
zhu1090093659/dsh-web-uiPlugin and skin collection for DeepSeek Harness (DSH) Web UI - task board, git graph, right-side panel, remote mobile UI, pet, live token stats, and skin center.
★ 3,171
omdsh-dev/DSH-better-sidebar开放的侧边栏底座,支持三方拓展注册新侧边栏页面。内置文件渲染编辑/终端/Git/子代理页面
★ 1,496