zhangsaizz/dsh-widgets-plugin--packages-dsh-client-ui-token-crit ↗★ 0
@dsh-plugins/client-ui-token-crit
Floating token-usage crit meter (web): transparent, draggable/resizable counter with crit-damage animations and a config panel
安装
此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗
说明文档
阅读完整 README ↗Usage
No configuration is needed after mounting — open any session to see the widget:
- Watch usage — open a session; the transparent widget shows the session's
cumulative token usage (input / cached read / cached write / output) in real
time, with crit animations and
+Ndamage numbers as usage grows. - Reshape it — drag the header to move, drag a corner to resize, click the collapse button to shrink it to a compact pill.
- Open settings — click the ⚙ on the widget to adjust language (zh/en),
number format / font size, label, combo, particle count and color, crit
threshold / ratio, sound, edge glow in real time; all settings (panel
options, position and zoom) are persisted to
localStorageautomatically and survive a page reload. Hit the ⚡ Test FX button to preview the crit effects without touching the real counter. - Hide it — the settings panel can hide the widget; re-enable it later via the host's web plugin table.