dsh-widthkeeper: A Conversation Column Width Keeper for DeepSeek Harness
yulaiz/dsh-widthkeeper
A DSH plugin that gives DeepSeek Harness Web and desktop clients precise control over conversation content column width, with a slider, exact input, auto readout and collapsible controls.
dsh-widthkeeper is a DSH plugin for DeepSeek Harness that takes over the width preference of the main conversation column. It replaces the host's thin 2px drag handle, which is easy to hit by accident, turning a proportionally scaling formula width into a value you can drag with a slider, type as exact pixels, and pin long-term. Once pinned, the control below the input box can be hidden and the native handle disappears, while a settings section manages visibility, input, and reset.
How to Install
dsh plugin --profile web add @yulaiz/dsh-widthkeeper- Category
- UI & Experience
- Platform
- DeepSeek Harness
- Author
- yulaiz
- Distribution
- Plugin
dsh-widthkeeper Key Features
dsh-widthkeeper Repo Summary
What Does It Do?
Widthkeeper is a DSH plugin for DeepSeek Harness that gives the conversation content column a visible, precise, pinnable width preference, replacing the host's hard-to-grab 2px drag handle. It solves the problem of the default width scaling proportionally and being hard to land on an exact value: the plugin writes the width to the column's width axis and hides the native handle in fixed mode. Its core capabilities are a slider, exact pixel input, auto-mode readout, and a collapsible control, scoped to the main conversation only.
Core Features
- Slider control: dragging pins the width to that value, from 640 to 2000px in steps of 10.
- Exact input: clicking the value button opens an inline editor; Enter or blur commits, Esc cancels, out-of-range values clamp to the bounds, and empty or non-numeric input falls back to the previous value.
- Auto readout: in auto mode, hovering the value button shows the effective width and its source (manual adjustment or default formula), refreshed on window and conversation changes.
- Collapsible control: after pinning a width, the control below the input box can be hidden while the width stays active, and the native drag handle is hidden too.
- Settings section: a content-width section toggles the control, enters a width, shows the current auto width, and restores defaults by clearing only this plugin's own preference keys.
How to Use This Plugin?
After enabling it on the DSH plugin page, a width control appears below the input box: drag the slider to pin a width, or click the value button to type an exact pixel value or switch back to auto width. In auto mode, hovering the value button reveals the current effective width and its source; to keep a width long-term, switch to fixed mode and hide the control for a cleaner layout. The content-width section on the settings page manages visibility, input, and reset. Note that the web and desktop profiles install independently, and this plugin should not run alongside other width-control DSH plugins, since they compete for the same width axis.
How to Troubleshoot This Plugin?
If width control stops working, or a fixed width lands on the sidebar and the auto readout follows the sidebar, the host UI has likely renamed the conversation body element, width axis, or handle marker, and the plugin fails silently; disable it on the plugin page and wait for an update. A one-time console warning when using the control in auto mode is also a signal of structural change. If hover tooltips do not appear, the host does not provide the tooltip component, and the control still works.
Sources
- GitHub plugin folderyulaiz/dsh-widthkeeper
- READMEyulaiz/dsh-widthkeeper README
This page is an independent rewrite of the repository README. For authoritative documentation and the latest changes, refer to the GitHub repository. Plugins are third-party code that runs on your machine once installed; inclusion does not imply endorsement — review the source before installing.
DSH Plugin Hub FAQ
