dsh-cache-precision
部署运维 活跃维护

dsh-cache-precision

Cheng-cheng9669/dsh-cache-precision

作为客户端插件,扩展内置会话缓存命中率的显示精度,将命中率渲染为三位小数,呈现更精细的数值变化,帮助判断缓存策略的实际效果。

3
Stars 标星
0
Forks 分支
3
Watchers 关注
0
Open Issues
JavaScript
主要语言
MIT
开源协议
8 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:Cheng-cheng9669/dsh-cache-precision
git clone https://github.com/Cheng-cheng9669/dsh-cache-precision.git
git clone git@github.com:Cheng-cheng9669/dsh-cache-precision.git
README.md main

dsh-cache-precision

English | 中文

Two in-place composer-dock refinements:

  1. Rewrites the built-in cache-hit percentage with three decimals
    (缓存命中 12% -> 缓存命中 12.345%).
  2. Widens the built-in stats line (max-width grows beyond the chat content
    width) so the extra precision and other dock items no longer truncate with
    ....

Both read the same tokenUsage projection and re-apply automatically after
React re-renders.

Install

dsh plugin --profile web add D:\Dsh\tools\dsh-cache-precision

Restart dsh web.