dsh-composer-collapse
Run the following command in DeepSeek Harness:
dsh plugin install 483218131/dsh-composer-collapse
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install 483218131/dsh-composer-collapse in DeepSeek Harness Web, then refresh the page to activate; the full source code is available at https://github.com/483218131/dsh-composer-collapse
About this plugin
The official DeepSeek Harness Web composer auto-grows to 336 px (14 lines) when content gets long, then scrolls internally. There is no collapse control and no setting to change this. When you are reading a long AI reply while simultaneously editing a multi-paragraph draft, that ever-present expanded box steals a large chunk of the chat area, making reading and writing constantly fight for space. dsh-composer-collapse was built for exactly this scenario. It leaves the official content-adaptive mechanism fully intact and simply tightens the max-height ceiling according to the mode you choose, so the input box yields more room when you need it.
The plugin offers a three-mode cycle: Auto (default) collapses to 3 lines when unfocused and expands to 8 lines when you click into the editor, balancing reading and writing; Pinned Open locks the height at the official 336 px, behaving identically to the stock composer; Pinned Collapsed keeps the box at 3 lines even while focused, giving the reading area maximum real estate. Below each ceiling the height still follows content exactly via the official mirror layer; internal scrolling only kicks in once the limit is hit. Toggle the mode with the small arrow button in the top-right corner of the composer card or the Alt+Shift+C shortcut. Your choice persists in localStorage and survives page reloads.
If you regularly read long AI outputs while composing lengthy drafts, or simply want more screen space devoted to context rather than the input box, this lightweight client-side plugin is a practical addition. It requires zero host modification, activates on a simple page refresh after install, and is verified compatible with DSH 0.1.1-rc.2 and 0.1.2-rc.1.
Use Cases
- Collapse the composer to reveal long AI replies while reading
- Auto-expand the input box when you click in to edit a long draft
- Maximize visible context space by pinning the composer at 3 lines
Best For
- DSH Web users who regularly read long outputs while composing drafts
- Users who prefer a minimal UI and want less visual clutter
- DSH users on 0.1.1-rc.2 or later looking for a lightweight UI tweak
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.