AI Agent Hub
Back to plugins
🖥️

dsh-chat-width

Client Updated 2026.08.17

Run the following command in DeepSeek Harness:

dsh plugin install AnakinCao/dsh-chat-width

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

Run dsh plugin install AnakinCao/dsh-chat-width in your terminal (source: https://github.com/AnakinCao/dsh-chat-width ) and restart dsh web to activate the plugin.

About this plugin

The DSH Web GUI locks its chat content column at a hard-coded 748px, so even after collapsing both side panels you are left with large blank margins on either side — especially noticeable on 2K and 4K displays. dsh-chat-width is a lightweight client-side plugin built to fix that visual waste.

It injects adaptive CSS so the chat column, historical message bubbles, and the live TPS stats row all scale proportionally with the current viewport, bounded by a configurable floor and ceiling. The layout reacts to window resizes in real time with no page refresh needed: roughly 1382px at 1920×1080, about 1843px at 2560×1440, and capped at 2560px on 4K screens by default.

Three constants at the top of the plugin — viewport ratio (default 0.72), minimum width (default 900px), and maximum cap (default 2560px) — can be tweaked and hot-applied via DSH client HMR in under a second, no restart required. It is ideal for DSH Web users who find the default chat area too narrow, particularly anyone working daily on 2K or higher resolutions.

Use Cases

  • Excessive side margins in the chat area on 2K or 4K displays
  • Collapsed side panels still leave the center column stuck at a fixed width
  • Wanting a custom ratio, floor, and cap for the chat column width

Best For

  • Daily DSH Web users on 2K or higher resolution displays
  • Users who find the default 748px chat column too narrow
  • Developers who want fine-grained control over client layout sizing