Repository navigation
v0.2.1 — DSH 0.2 适配版
首个以 dsh-cache-hit-precision 名义发布的版本 / First release under the dsh-cache-hit-precision name.
- 适配 DSH
0.2.0-rc.*(已在0.2.0-rc.2验证)/ Adapted to DSH0.2.0-rc.*(verified on0.2.0-rc.2) - 缓存命中率原位精化到三位小数:composer 统计行、「Token 用量」弹窗、底部状态行 / In-place three-decimal cache-hit readout in the composer stats pills, the token-usage dialog, and the status line
- 精确整数半进位舍入,分母与 DSH 计费口径完全一致 / Half-up rounding in exact integer arithmetic; denominator identical to DSH's own billing buckets
安装 / Install:
git clone https://github.com/vrvtvy/dsh-cache-hit-precision.git然后在 DSH 桌面端「设置 → 插件 → 添加插件」填入克隆目录的绝对路径。详见 README。
延续自 Cheng-cheng9669 的 dsh-cache-precision(MIT)。/ Continued from Cheng-cheng9669's dsh-cache-precision (MIT).