
lhh010/dsh-paste-input
80Last commit Aug 13, 2026
dsh-paste-input DSH plugin
This plugin adds Ctrl+V paste support for images and files, full-page drag-and-drop of files/folders, and a file/folder picker button to the DSH WebUI input area. Attachments are copied to the session workspace temporary directory, and the attachment text block in the message bubble is folded into a file chip for cleaner display.
How to install the dsh-paste-input DSH plugin
dsh plugin --profile web add link:E:\deepseek-harness\dsh-paste-inputCopying does not run this command. Review the repository and version before installing the dsh-paste-input DSH plugin.
dsh-paste-input DSH plugin data source
dsh-paste-input DSH plugin snapshot date: Aug 16, 2026
discovered
What the dsh-paste-input DSH plugin can do
- Ctrl+V paste: paste screenshots, copied images, or files (Chrome/Edge: images only; Firefox: files but no absolute path) as attachments
- Full-page drag-and-drop: drag files or folders from anywhere on the page to add as attachments
- File/folder selection via the paperclip button in the input bar
- Bubble folding: auto-folds attachment text blocks (marked with `==== DSH_PASTE_INPUT_V1 ====`) into a file chip, preserving user text order
- Settings panel: attachment usage statistics, per-session/workspace cleanup with ownership markers and confirmation
- Zero-coupling collaboration with dsh-vision plugin: pasted screenshots can be recognized by a VLM via the `view_image` tool
Where the dsh-paste-input DSH plugin fits
- Quickly paste a screenshot (Win+Shift+S) into the chat for analysis
- Drag and drop multiple files from file manager to attach them all at once
- Select a folder to upload its contents as attachments
- Clean up temporary attachment files from the settings panel to save disk space
- Combine with dsh-vision to let the model read OCR text from screenshots
Who the dsh-paste-input DSH plugin is for
- DSH users who frequently paste images or files into conversations
- Users who need to drag files from their desktop into the web UI
dsh-paste-input DSH plugin limitations
- Paste support varies by browser: Chrome/Edge only provide images (no files from file manager), Firefox supports files but no absolute path; drag-and-drop or file picker is recommended for original paths
- Single file ≤1 GiB, total per send ≤2 GiB, ≤10000 files, ≤64 directory depth
dsh-paste-input DSH plugin: from the repository README
Quoted from the lhh010/dsh-paste-input README, the upstream source of the dsh-paste-input DSH plugin. Copyright remains with the original authors.
**简体中文** | [English](./README.en.md) DSH WebUI 文件输入增强插件:**Ctrl+V 粘贴** + **全页面拖拽** + **选择文件/文件夹**,发送时复制进会话工作区临时附件目录,并把对话气泡里的附件文本块**折叠为文件 chip**。 派生自 [dsh-external/dsh-multimedia-webui-input](https://github.com/dsh-external/dsh-multimedia-webui-input)(MIT),在其基础上新增剪贴板粘贴输入、首次告知弹窗与气泡附件折叠。 ## 版本兼容 / Version compatibility 兼容 DSH snapshot0808(`snapshots/20260808T121140Z`)、snapshot0809(`snapshots/20260809T140917Z`)、snapshot0810(`snapshots/20260810T155924Z`)、snapshot0811(`snapshots/20260811T152241Z`)与最终快照 snapshot0812(`snapshots/20260812T172954Z-final`):注册的槽位(`conversation.input.left` / `conversation.input.dock` / `settings.section`)在 0808~0812 上均保持声明;依赖服务在 0812 经历官方更名——`slash` → `inputTriggers`(client 侧,随包名 `@deepseek-ai/dsh-client-ui-slash` → `@deepseek-ai/dsh-client-ui-input-trigger` 一并迁移)、host 侧 `httpServer` → `webServer`,本插件 v0.1.3 已同步迁移(lib 两半 + `dsh.client` 元数据,见下)。0809 实机验证——粘贴 → 复制进工作区附件目录 → 气泡折叠 chip 全链路可用;0811 与 0812 最终快照实机 boot 验证通过(见下)。 **npm 发版兼容**:兼容 DSH npm 发版 `@deepseek-ai/dsh@0.0.1-rc.5`(dist-tag `next`,即最终快照 snapshot0812 的 npm 发版;`npm exec -p @deepseek-ai/dsh@0.0.1-rc.5 -- dsh --profile web --port <port>` 可访问指定版本并启动,lib 生产模式),同时保持兼容 `@deepseek-ai/dsh@0.0.1-rc.2`(snaps
Read the full READMERepository license: NOASSERTION
dsh-paste-input DSH plugin questions
Why can't I paste files from File Explorer in Chrome/Edge?
Chrome and Edge do not expose file items from the clipboard when pasting from File Explorer due to security restrictions. They only provide images (screenshots, copied images). For file paste, use Firefox (which supports file paste but still no absolute path), or use drag-and-drop or the file picker button for full path support.
How do I clean up temporary attachment files?
Go to the DSH WebUI settings panel (added by this plugin). You'll see attachment usage statistics and buttons to clean up per-session or per-workspace. The cleanup is protected by ownership markers and requires a confirmation dialog to prevent accidental deletion.
Can I use this plugin with dsh-vision for image recognition?
Yes, the two plugins work together zero-coupling. DSH Paste Input handles getting the image into the conversation (as a file path in the workspace). When you send the message, the model sees the path and can call the `view_image` tool registered by dsh-vision to analyze the image. You need to install both plugins for this workflow.
What are the file size limits?
Single file must be ≤1 GiB. Total size per send must be ≤2 GiB. The number of files per send is limited to ≤10,000, and directory depth is limited to ≤64 levels. These limits are enforced by the plugin.
Does the plugin require any external services or API keys?
No, this plugin itself does not require any external services or API keys. It only copies files to the workspace temp directory and manages attachment text. The dsh-vision integration requires a VLM API key (e.g., GLM free API), but that's a separate plugin.