DeepSeek Harness (DSH) adopts a plugin-based architecture. However, when using the standard input box for long-form editing or inserting attachments, its height is often limited, which can obscure content or lead to a poor scrolling experience. dsh-composer-stretch is designed to address this issue by expanding the input box height to improve the editing experience.
This plugin is maintained by developer Pudge1996. It is an input box expansion tool designed for DeepSeek Harness, with the core value of allowing the input box to occupy more space when needed, thereby improving the smoothness of long-form input and attachment handling.
Core Features¶
- Conditional trigger: When the input box content reaches ≥ 3 lines, an expand button appears in the upper-right corner of the input box.
- Shortcut operation: Press
Shift+Enterthree times consecutively in the input box to automatically enter expanded mode. - Full-screen experience: After clicking expand, the input box height is nearly full-screen, and it has been adapted to the conversation title and attachment components so that they are not obscured.
- Attachment accommodation: While expanded, if you paste an image or file, the input area automatically yields space, keeping the total card height unchanged.
- Automatic reset: After sending a message, the input box automatically collapses back to its default height.
- Keyboard logic: In expanded mode,
EnterandShift+Enterinsert a new line, whileCmd/Ctrl+Entersends the message; when collapsed,Enterstill sends the message. - Scrolling fix: Resolves the issue where, after expansion, scrolling the input box to the bottom also causes the background conversation area to scroll.
Installation and Enablement¶
Install in a Web environment:
dsh plugin --profile web add dsh-composer-stretch
Install in a Desktop application:
# Desktop 应用:先完全退出 App
dsh plugin --profile desktop add dsh-composer-stretch
Typical Usage¶
- Manual expansion: Enter multi-line text in the input box. Once the line count reaches three or more, click the expand button that appears in the upper-right corner.
- Quick expansion: Press
Shift+Enterthree times consecutively in the input box to directly enter expanded mode. - Send a message: In expanded mode, use
Cmd/Ctrl+Enterto send the message.
Notes and Applicable Scenarios¶
- Version compatibility: Adapted to DSH v0.2.0-rc.2. It relies on the
data-slotidentifier and has good compatibility. - Operation mechanism: This is a pure front-end plugin with no custom protocols, no host commands, and no LLM calls, and it does not appear in session logs.
- State management: Refreshing the page restores the default state; the expanded state is not persisted.
- Security note: The plugin uses the MIT license. It is recommended to review the source code and license before installation.
This plugin extends the functionality of the DSH input box through simple interactions, significantly improving the smoothness of long-form editing and attachment handling. You can find more information on SkillHub or GitHub.