Repository navigation
v0.2.3 — DSH 0.2.1 锚点适配
首个针对 DSH 0.2.1 的适配版本 / First release adapted to DSH 0.2.1.
修复 / Fixed
-
适配 DSH 0.2.1 的 pill 级锚点 / Adapted to DSH 0.2.1's per-pill anchor
DSH 0.2.1 起
StatsPills把 composer 统计行拆成每个 pill 一个 dock entry,锚点由整行容器
data-composer-stats改为单个 pill 的data-composer-stat。插件原先只认旧容器,在新宿主上
querySelectorAll恒为空,底部统计行的缓存命中率回落到内置精度。从 0.2.1 起,
StatsPillsregisters one dock entry per pill and marks each with
data-composer-statinstead of the former whole-rowdata-composer-statscontainer. The
plugin knew only the old container, so the composer reading fell back to the built-in
precision.「Token 用量」弹窗不受影响:
data-session-stats-usage未变,那条精化路径一直有效 /
The token-usage dialog was unaffected becausedata-session-stats-usagedid not change.
变更 / Changed
- 选择器并列新旧两套锚点,只认
usagepill(activitypill 只放轮次与速度,无缓存命中读数)/
The selector lists both anchors and names only theusagevalue; theactivityentry
carries turns and speed, never a cache-hit reading - 新增 3 条回归测试,覆盖两代锚点 / Three regression tests covering both shipped markups
- 新增 CHANGELOG.md
兼容性 / Compatibility
- 已验证 / Verified on DSH
0.2.0-rc.2与 / and0.2.1-rc.2
安装 / Install
dsh plugin --profile web add dsh-cache-hit-precision桌面端「设置 → 插件 → 添加插件」直接填包名即可。详见 README。