dsh-drop-in
Manifest valid★ 5把文件拖入/粘贴到 DeepSeek Harness Web:输入框原生引用气泡,随消息发送(含绝对路径),气泡渲染文件卡片。Drag/paste files into the DeepSeek Harness web GUI as native reference bubbles — absolute paths, file cards.
dsh-drop-in
🌐 中文版:README.zh.md
Drag files from your system file manager straight into the DeepSeek Harness web GUI. Files appear as a chip bar above the input box, or — with the composer focused — as a native reference bubble (file pill) embedded inline in the text you are typing; they are sent along with your message (including their absolute paths), and render as file cards inside the user bubble. The agent reads the real file paths — no upload, no content copy (plain-browser fallback copies small files into the workspace).

Features
- 📎 Drag in any file/folder (images are treated as files — the official image-drop overlay no longer steals the drag)
- 🫧 Inline file bubble: dropped/pasted files are inserted at the caret as a native reference pill (works mid-text); the pill shows
TYPE name(e.g.LNK 坚果云.lnk— the type survives name clipping, full name on hover) - 📤 Path on send: the pill expands to a reference carrying the absolute path (
@[filename](https://github.com/lbl61/dsh-drop-in/blob/HEAD/absolute-path)); the chat bubble renders it as a file card with a type badge — the agent can read the file straight from the path - 🔀 Messages sent while the agent is running ("interrupt-free") render the same file cards
- 🖼️ Clipboard paste: pasting an image/file into the composer goes through the same pipeline instead of the native image-attachment rail; pasted binaries are persisted (base64) under
.dsh-drops/<sessionId>/ - 🚀 Chip bar above the input: icon + name + size + path status, removable (×), deduplicated by path
- ✔️ Enter / Ctrl+Enter / the send button are all covered; chips clear automatically after sending
- 🔍 A
dropped_filestool lets the agent list still-unsent dropped files - 🖥️ Under DSH Desktop (Electron) absolute paths come from the preload bridge (
webUtils.getPathForFile— the only path source in modern Electron) - 🌐 Fallback: in a plain browser (no preload bridge) text files are copied to the workspace
.dsh-drops/
Install
dsh plugin --profile web add https://github.com/lbl61/dsh-drop-in/archive/refs/tags/v1.3.0.tar.gz
Manual (bundle) install:
- Extract
dsh-drop-ininto~/.dsh/profiles/web/node_modules/dsh-drop-in/ - Add
"dsh-drop-in"to thedsh.profile.bundlesarray in~/.dsh/profiles/web/package.json - Restart
dsh web(DSH Desktop: quit fully and reopen, or runwindow.dshDesktop.restartService()in DevTools)
Usage
- Drag files from Explorer into the chat page (or paste an image/file into the composer)
- Composer focused → files are inserted at the caret as native reference bubbles (file pills), mid-text allowed; otherwise they appear in the chip bar above the input
- Type your message and send (Enter / Ctrl+Enter / the send button all work; "interrupt-free" sending while the agent runs is supported too)
- The bubble shows file cards — the agent receives the absolute path (
@[name](https://github.com/lbl61/dsh-drop-in/blob/HEAD/path)or the📎 拖入文件block) and can read the files
How it works
- The client half intercepts file drags in the capture phase (the official image-upload flow never steals the events), keeps a per-session chip bar (
conversation.input.dock), renders user bubbles with file cards (conversation.chat.nodeuser/steeringkeys), and stitches the📎 拖入文件block into the draft before submit (Enter, Ctrl+Enter, and the send button are all covered); with the composer focused it inserts native reference bubbles via theslash/input-insert-referencescoped event (U+FFFC occurrences rendered by the composer backdrop) and the registeredinputTriggerscodec serializes them to@[filename](https://github.com/lbl61/dsh-drop-in/blob/HEAD/absolute-path)on submit - The host half keeps the per-session file registry behind the
dropped_filestool, writes fallback text copies to.dsh-drops/<sessionId>/, and persists pasted binaries via thefile-copyroute (base64, with an explicit workspace-write sandbox policy rooted at the session cwd) - Absolute paths under DSH Desktop rely on the preload bridge (see preload-bridge.md): Electron ≥ 32 removed
File.path
Configuration
| Setting | Description |
| --- | --- |
| enabled | Master switch (Settings → 文件拖入). When off, drag/paste falls back to built-in behavior. |
Uninstall
- Remove
dsh-drop-infrom thedsh.profile.bundlesarray in~/.dsh/profiles/web/package.json - Delete
~/.dsh/profiles/web/node_modules/dsh-drop-in/ - Restart
dsh web
License
MIT
Versions
| Latest version | Published | Size |
|---|---|---|
| 1.3.0 | — | — |
| 1.1.0 | — | — |
| 1.1.1 | — | — |
Comments
Loading…
From the same category
by tt-a1i
Agent skill for beautiful, verifiable architecture, workflow, sequence, data-flow, and lifecycle diagrams—self-contained HTML with motion and crisp export.
★ 65.9k
↓ 3.5k/wk
MIT
JavaScript
Sep 17, 2026
dsh plugin --profile web add @tt-a1i/archify-dshDeepSeek Harness plugin for Reactive Resume: bridges your resumes and job applications into a Harness session over MCP.
★ 41.7k
↓ 255/wk
MIT
Aug 24, 2026
dsh plugin --profile web add dsh-plugin-reactive-resumeby anywhere-labs
为 DeepSeek Harness (DSH) 插件生态打造的现代化桌面端解决方案。万物皆「插件」,桌面本身也是「插件」。
★ 27.4k
↓ 300/wk
MIT
TypeScript
Sep 18, 2026
dsh plugin --profile web add dsh-plugin-desktopby Tencent
Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.
★ 26.3k
↓ 623/wk
NOASSERTION
Go
Sep 17, 2026
dsh plugin --profile web add @wxg-prc-cpg/dsh-weknoraby titanwings
Distilly — Distill how they think into reusable Skills for any Agent or Bot. Formerly Colleague Skill(原同事 Skill).
★ 24.8k
MIT
TypeScript
Sep 16, 2026
by Nagi-ovo
Enhancement suite for Gemini, AI Studio, Claude & ChatGPT — plus a prompt manager for any websites, DeepSeek Harness included. / 面向 Gemini、AI Studio、Claude 与 ChatGPT 的增强套件;其中的提示词管理器可用于任意网站,如 DeepSeek
★ 20.1k
GPL-3.0
TypeScript
Sep 17, 2026