dsh-cache-monitor: View Current Conversation Cache Hit Rate and Token Breakdown in the Sidebar

dsh-cache-monitor is a DSH client plugin published by Vhow123. It displays the cache hit rate, request count, and per-request usage breakdown at the bottom of the left sidebar for the current main-window conversation. It supports automatic refresh every 8 seconds, a bilingual (Chinese/English) interface, and a narrow-sidebar icon mode. The hit rate is calculated from cacheReadTokens and uncachedInputTokens, with data sourced exclusively from local session logs. Installation can be performed via the GUI or by running `dsh plugin --profile desktop add` with the GitHub repository URL. It requires DSH >= 0.2.1-rc.2 and is licensed under the MIT License.

Read More