dsh-fullscreen-input: A Full-screen Multi-line Input Panel for DeepSeek Harness

Preface

The default input box in DSH is just a narrow strip: when writing long prompts, you are forced to scroll back and forth within a very flat area. Quotes, attachments, and body text are all crowded together, making it nearly impossible to read through what you have written.

This plugin adds a fullscreen input panel to the input box: write multi-line text in a full-screen space, and click a button to send when finished. The panel can be moved and resized by dragging its borders. Quotes and attachments share the same draft as the main input box. By expanding the input area to the full screen, the amount of text visible at one time increases more than tenfold.

Features

The plugin primarily provides the following capabilities:

  • Fullscreen Input: Provides a fullscreen panel for multi-line text input.
  • Drag to Adjust: Move the panel by dragging the title bar; resize it by dragging the borders or corners.
  • Draft Sharing: Shares the same draft as the main input box; content is not lost when closing the panel.
  • Attachment Management: Supports viewing and removing quotes/attachments, as well as adding files via paste or drag-and-drop.
  • Shortcut Support: Toggle with F2, send with Ctrl+Enter/Cmd+Enter, and close with Esc.
  • Appearance Settings: Supports settings such as overlay masks, frosted glass effects, solid color panels, and custom colors.
  • Background Scrolling: Scroll the mouse wheel outside the panel to view the conversation behind it.

Installation

Install the plugin using the following command:

dsh plugin --profile web add dsh-fullscreen-input

After installation, restart dsh web and refresh the page for the changes to take effect.

Typical Usage

  • Open Panel: Use the F2 key by default to quickly open or close the fullscreen input panel.
  • Send Messages: Use Ctrl+Enter or Cmd+Enter to send messages within the panel; the Enter key inserts a line break. Since there is no “Enter to send” pathway within the panel, Shift+Enter during Chinese Input Method (IME) usage will not be mistakenly interpreted as a send command.
  • Reset Position: Double-click the panel title bar to reset its position and size.
  • Add Attachments: Paste images or drag files directly into the panel to add attachments.

Notes

  • Limitations: The @ reference menu cannot be invoked within the panel (as it uses a textarea), and upload progress or retry features are not provided.
  • Permissions: Requires ctx.effect, ctx.inject, and slots.inject/register.
  • Compatibility: DSH >=0.2.0-rc.1 <0.3.0-0, Node >=20.

Conclusion

By expanding the input space, this plugin solves the limited field-of-view issue experienced when writing long text prompts. If you need to handle complex prompt engineering or long conversation inputs, you may wish to try installing and using it.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye