dsh-dragndrop-attachments
Manifest validLocal drag-and-drop attachments for DeepSeek Harness, delivered as an external plugin
DSH DragNDrop Attachments
dsh plugin --profile web add github:aa2246740/dsh-dragndrop-attachments
需要官方 DeepSeek Harness 0.1.5-rc.2(dsh 或 npx @deepseek-ai/dsh)。dsh plugin 在 $DSH_HOME/profiles/web 里跑 pnpm,所以 pnpm 必须在 PATH 上。装完后重启这个 Host,再刷新页面。这条命令只写 profile,不会热挂正在跑的进程。
仓库已提交编好的 lib/,package.json 声明了 dsh.bundle.patch。github: 安装因此不跑 prepare,也不需要给 pnpm ≥10 开 allowBuilds。
dsh 不在 PATH 时:
npx @deepseek-ai/dsh plugin --profile web add github:aa2246740/dsh-dragndrop-attachments
DSH.app 的 desktop profile 不能吃 github:;请用 dsh web 装进 web profile。
把文件、Finder 文件夹、Office 文档和 ZIP 拖进会话,在本机建索引,再给模型工具去读指定行、区间、幻灯片、备注或压缩包条目。

图片预处理改编自 OpenAI Codex 的 prompt-image 逻辑,Rust 译成 TypeScript 后接到 DSH 原生图片附件。
可拖 PNG、JPEG、WebP、GIF、DOCX、XLSX、PPTX、CSV、常见文本和代码、ZIP、Finder 文件夹。模型用 list_attachments / read_attachment 按 attachment_id 读,不要用 bash 去磁盘猜附件位置。
详细使用见 USER_GUIDE.zh-CN.md。
本机已有 clone 时:
git clone https://github.com/aa2246740/dsh-dragndrop-attachments.git
dsh plugin --profile web add ./dsh-dragndrop-attachments
然后同样重启这个 Host,再刷新页面。
dsh plugin --profile web remove dsh-dragndrop-attachments
本机数据
非图片附件在 ~/.dsh/dragndrop-attachments/v1。浏览器拖放不会把 Finder 原始绝对路径暴露给网页。模型只看到 attachment_id。附件正文标成不可信用户数据。若本机还有早期预览版 ~/.dsh/codex-attachments/v1,会继续用它。
Office 随包固定 OfficeCLI 1.0.144(macOS arm64),校验见 vendor/officecli/manifest.json。
开发
pnpm install --ignore-workspace --frozen-lockfile
pnpm check
第三方许可见 THIRD_PARTY_NOTICES.md。
Compatibility
Versions
| Latest version | Published | Size |
|---|---|---|
| 1.3.1 | — | — |
Comments
Loading…
Similar plugins
by djt889
dsh-plugin for DeepSeek Harness (DSH) web UI: drop or paste any local file/folder anywhere on the page as attachments (images, any files, whole folders) or locate real filesystem paths — one toggle, two modes.
★ 0
BSD-3-Clause
JavaScript
Aug 17, 2026
dsh plugin --profile web add @dsh-external/dsh-drag-to-attachmentby WJZ-P
Adds file and folder drag-and-drop attachments to the Web UI, with composer cards, persistent history, and workspace-backed paths.
★ 6
↓ 167/wk
MIT
JavaScript
Aug 19, 2026
dsh plugin --profile web add dsh-attachmentby dsh-plugins
DeepSeek Harness Web plugin: native image previews plus persistent non-image file-drop attachment cards
★ 0
GPL-3.0
JavaScript
Sep 11, 2026
dsh plugin --profile web add dsh-file-drop-attachments-persistedby dannyvan
Drag & drop or click to attach any non-image file (PDF/Word/Excel/ZIP/text) into the composer: in the desktop shell it resolves the real Finder path instantly; otherwise it uploads to the workspace an
★ 4
↓ 67/wk
MIT
JavaScript
Aug 16, 2026
dsh plugin --profile web add dsh-file-dropby zhanghuqqqq
DSH plugin: drag & drop anything into the composer - local files upload with absolute-path references, web images/links download host-side, plain text inserts. Per-session .dropped/<sessionId>/ landin
★ 0
↓ 45/wk
MIT
JavaScript
Sep 8, 2026
dsh plugin --profile web add dsh-drop-inby GLFzr
DSH 拖拽文件转路径插件:Codex 式拖拽,路径自动插入输入框(Drop File to Path for DeepSeek Harness)
★ 9
↓ 1.3k/wk
MIT
JavaScript
Aug 28, 2026
dsh plugin --profile web add dsh-file-upload