AI Agent Hub
Back to plugins
🖥️

dsh-wide-stats-footer

Client Updated 2026.08.25

Run the following command in DeepSeek Harness:

dsh plugin install thomasvvugt/dsh-wide-stats-footer

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install thomasvvugt/dsh-wide-stats-footer in your terminal; the full source is at https://github.com/thomasvvugt/dsh-wide-stats-footer. Restart dsh web after installing to apply the plugin.

About this plugin

Under the DSH web composer sits a stats line — token counts, model labels, and other session metadata. The stock stylesheet clamps that line to the chat content column width, so on wide or high-resolution displays the text gets squeezed into an ellipsis and useful information is lost.

dsh-wide-stats-footer does exactly one thing: it un-clamps the footer so it spans the full composer column while staying horizontally centered. At runtime it discovers the current CSS-module hash prefix by scanning document.styleSheets and the DOM through two independent paths, so no class name is ever hardcoded. MutationObservers on style tags and the session container re-trigger discovery during HMR rebuilds, lazy bundle materialization, and theme swaps. The override rule uses a doubled-class selector to reach a specificity of (0,2,0), guaranteeing it wins over the base rule regardless of stylesheet order. If DSH markup or CSS shape ever changes, the plugin degrades silently to a no-op — the UI is never broken.

The plugin has zero npm dependencies, no configuration file, and is purely client-side. A diagnostic object is exposed at window.WIDE_STATS_FOOTER for DevTools inspection. It is aimed at developers who use DSH on wide screens and want the full stats footer visible without truncation, with no setup required beyond installing and restarting.

Use Cases

  • Stats footer text collapses into an ellipsis on a wide monitor in DSH web, and you need the full line visible
  • You want the token counts and model labels under the composer to span the full column width and stay centered instead of being clamped to the chat column
  • On a high-DPI or ultrawide display, you want the stats line to use the available space without compression

Best For

  • Developers running DSH web on wide or ultrawide monitors
  • Users who want the full stats footer visible under the composer without truncation
  • Developers who need a minor layout tweak on DSH web without modifying the source