Cheng-cheng9669/dsh-cache-precision
DSH client plugin: render the built-in session cache-hit percentage with three decimal places.
Listed
3
Tools
Bundle verified
What it does
Renders the built-in cache-hit percentage with three decimals and widens the composer stats line to prevent truncation.
Best for
- Users who inspect small changes in DSH's built-in session cache-hit percentage.
- Web UI setups where three-decimal cache precision is useful for comparing cache behavior.
- Users whose composer statistics are currently truncated and need a wider in-place stats line.
Not ideal for
- Users who do not monitor cache-hit percentages or need only whole-number precision.
- Workflows needing cache-policy changes or performance optimization; the plugin only changes display precision and width.
- Interfaces other than the built-in composer stats line, which is the specific surface this plugin modifies.
README
dsh-cache-precision
| English | 中文 |
Two in-place composer-dock refinements:
- Rewrites the built-in cache-hit percentage with three decimals
(
缓存命中 12%->缓存命中 12.345%). - Widens the built-in stats line (
max-widthgrows 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.
Frequently Asked QuestionsFAQ
Use the verified command dsh plugin --profile default add github:Cheng-cheng9669/dsh-cache-precision in a DSH-enabled shell. The command resolves the public package metadata and keeps the plugin attached to the catalog identity shown on this page.
Compatibility follows the bundle and profile status shown above. If a profile is not detected, keep the plugin disabled there and check the repository documentation before enabling it in production.
The GitHub link and activity metadata are the source of truth for releases and maintenance. Revisit this page after a new release to confirm the catalog has observed the latest version.