dsh-desktop-drop-path
Manifest validDrag a file into the composer to auto-fill its absolute path. Desktop app only (relies on the Electron preload path bridge).
dsh-desktop-drop-path
English | 中文
Drag a file into the DSH composer to auto-fill its absolute path.
Desktop only. This plugin resolves a file's real absolute path through the DSH Desktop Electron preload bridge (
window.__DSH_DESKTOP_FILE_PATH__). In the plain web UI (dsh web in a browser) that bridge does not exist, so the plugin installs nothing and stays inert.
What it does
Drop a non-image file (.pdf, .md, .txt, .json, code, …) onto the
composer input box. Instead of uploading it, the plugin inserts the file's
full absolute path into the input, so you can send it to the agent and it
can read the file straight from disk.
- Single file → one line with the path.
- Multiple files → one path per line.
- Image drops are untouched and keep using the built-in image attachment rail.
Install (from GitHub)
pnpm dsh plugin --profile <profile-name> add git+https://github.com/duanzongyuan/dsh-desktop-drop-path.git
Replace <profile-name> with your DSH profile (e.g. desktop, web), and
duanzongyuan with your GitHub username.
After installing, restart DSH Desktop.
Why a path instead of an upload?
DeepSeek Harness reads files from your disk (the workspace / any absolute path). Its message-attachment protocol is image-only, so there is no "upload a non-image file" channel. This plugin bridges that gap the natural way: it hands the agent the file's real path so the agent can read it itself.
Notes / caveats
- Desktop only. Requires the DSH Desktop app. In a plain browser it does nothing (it deliberately does not insert a misleading filename).
- Coupling. Clearing the built-in drop hint overlay relies on the
@deepseek-ai/dsh-client-ui-attachmentplugin'swindow-leveldragendreset. If that internal plugin changes, overlay dismissal may need a tweak. - Non-image drops are consumed in the capture phase; the built-in image handler does not reject them.
License
Comments
Loading…
From the same category
by nexu-io
🎨 Best DeepSeek Harness Design Plugin. The open-source Claude Design alternative. 🖥️ Local-first desktop app. 🖼️ Your coding agent becomes the design engine: prototypes, landing pages, dashboards,
★ 98.4k
Apache-2.0
TypeScript
Sep 28, 2026
by Molunerfinn
:rocket: The Ultimate Image Uploader for Efficient Creators. Supports Obsidian, Typora, VS Code etc. and 60+ image hosting services (S3, GitHub, Cloudflare R2, Imgur, Aliyun OSS...). Paste, upload, d
★ 27.3k
MIT
TypeScript
Sep 24, 2026
by zhu1090093659
DeepSeek Harness (DSH) Web Plugin Aggregation Ecosystem · Everything is a plugin, distributed via the Creative Workshop
★ 8.1k
Apache-2.0
TypeScript
Sep 28, 2026
dsh plugin --profile web add dsh-webby YaoApp
✨ All your agents and workspaces in one place, on every device you own. Track tasks on a board, accessible from desktop, mobile, browser, or API. Self-hosted.
★ 8k
Go
Sep 28, 2026
by omdsh-dev
开放的侧边栏底座,支持三方拓展注册新侧边栏页面。内置文件渲染编辑/终端/侧边对话/Git/子代理页面 | Open sidebar foundation, supports third-party extensions to register new sidebar pages. Built-in file rendering/editing, terminal, side chat, Git,
★ 3.8k
↓ 51.6k/wk
MIT
TypeScript
Sep 28, 2026
dsh plugin --profile web add dsh-better-sidebarby ccch1mneyyy
DSH 官方公众号收录的 TUI 补位插件:Claude Code 风,鲸鱼顶栏/实时状态/流式思考/双击 Esc 回滚/上下文进度+TPS。npm 一键装。 DSH official WeChat featured TUI plugin — Claude Code style: whale bar, live status, streaming thoughts, double-Esc rol
★ 3.7k
↓ 8.2k/wk
MIT
TypeScript
Sep 28, 2026
dsh plugin --profile terminal add @deepseek-harness-tui/dsh-tui