AI Agent Hub
Back to plugins
🖥️

dsh-paste-doc

Client Updated 2026.09.01

Run the following command in DeepSeek Harness:

dsh plugin install dzf-code/dsh-paste-doc

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

Run dsh plugin install dzf-code/dsh-paste-doc in your terminal to install this plugin; the source repository is at https://github.com/dzf-code/dsh-paste-doc . After installation, restart dsh web and confirm paste-doc appears as active in the plugin list.

About this plugin

Pasting a multi-hundred-character document, log, or code snippet into the DSH composer floods the input box, making context hard to read and structure hard for the model to grasp. dsh-paste-doc tackles exactly that: once you paste text of 200+ characters, the content automatically collapses into a document citation chip with a short preview, and an expandable card appears above the composer so you can review the full text at any glance. On send, each citation is serialized into structured text and delivered alongside the message, mirroring the document-collapsing experience in DeepSeek\u2019s official chat.

A few practical touches are built in: type @ to pull up a menu for re-inserting previously pasted documents; deleting a chip instantly removes its card, and sending clears everything so state stays consistent. Under /plan or /goal command modes, long text is inserted as plain text rather than a chip, guaranteeing the full content reaches the command parameter without truncation. A Ctrl+Shift+V (Cmd+Shift+V on macOS) escape hatch lets you paste raw text at any time, and image or short-text pastes are untouched.

If you regularly handle long documents, paste log fragments, or cite spec sheets inside DSH and would rather not wrestle with a wall of text in the input box, this plugin is worth adding. It is tiny, uses a transparent theme-aware style, introduces no external dependencies, and takes effect as soon as you restart dsh web after install.

Use Cases

  • Pasting long documents, logs, or code snippets without flooding the input box, auto-collapsing into expandable citation cards
  • Referencing multiple long passages in chat to keep structure clear while delivering full content to the model
  • Using /plan, /goal, or similar commands where full text must arrive as plain text without truncation

Best For

  • Users who frequently paste long text, log fragments, or spec sheets into DSH
  • Developers who want a tidy input box with clear, at-a-glance document references
  • DSH client users looking for an experience similar to DeepSeek’s native document collapsing