lbl61/dsh-drop-in 预览 preview

lbl61/dsh-drop-in

将文件拖入/粘贴到DeepSeek Harness Web界面中,作为原生引用气泡显示——包含绝对路径,并渲染文件卡片。

Project Overview项目介绍

dsh-drop-in is a native plugin built exclusively for DeepSeek Harness that enables drag-and-drop of local files and folders directly into the DSH chat interface. It can be installed via the DSH CLI with one command, or manually by extracting the bundle into your DSH profile directory, adding it to your bundles array, and restarting the DSH web service. When you drag a file into the chat, it either appears as a chip in the bar above the input or an inline reference bubble if the composer is focused, and sends the absolute file path to the agent so no file upload is required.

The typical workflow is straightforward: you drag files or folders from your system file manager into the DSH web GUI, or paste a file or image directly into the composer. If the composer has your cursor focused, you can insert the file reference directly mid-text at your caret position, which is great for referencing multiple files in a single structured message. If the composer is not focused, dropped files go to a removable chip bar above the input, which is cleared automatically after you send your message. This plugin is useful for any DSH user that regularly references local files in their AI-assisted work.

This plugin is released under the permissive MIT license, so it is free to use, modify, and distribute with no commercial or non-commercial restrictions. For DSH Desktop Electron users, it relies on the preload bridge to get correct absolute file paths, which is required because Electron version 32 and above removed the native File.path property. In a plain browser environment with no preload bridge, it falls back to copying small text files to a .dsh-drops directory in your local workspace. To uninstall the plugin, you just remove the entry from your bundles array, delete the plugin directory, and restart DSH.

这是一个专为DeepSeek Harness开发的原生客户端插件,实现了从系统文件管理器直接向DSH聊天界面拖放文件、粘贴文件的功能。拖入的文件会显示在输入框上方的标签栏,若编辑器处于焦点状态则会嵌入到文本中成为原生参考气泡,发送时会附带文件的绝对路径,代理可直接读取原路径下的文件,不需要上传文件内容,仅在普通浏览器环境下会复制小文件到工作区作为回退。

这款插件面向需要频繁引用本地文件给DSH代理处理的用户,使用流程非常简单:只需要从系统文件浏览器把任意文件或文件夹拖入聊天页面,或是直接在编辑器粘贴图片/文件即可。如果编辑器已经获得焦点,文件会作为原生参考气泡插入到光标所在位置,支持在文本中间插入;如果未获得焦点则会放入输入框上方的标签栏,发送后标签会自动清空。

插件支持命令行一键安装,也支持手动打包安装,命令行安装方式为执行dsh plugin --profile web add https://github.com/lbl61/dsh-drop-in/archive/refs/tags/v1.3.0.tar.gz;手动安装需要解压后修改配置文件并重启DSH。插件采用MIT许可证开源,无使用成本,DSH桌面版(Electron)依赖预加载桥接获取绝对路径,普通浏览器下仅会复制文本文件到工作区回退。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 2 warnings2 项注意
  • Only 5 stars - very few users, little community feedback星标只有 5,几乎没人在用,遇到问题缺少社区反馈
  • Desktop client: installation downloads an executable - verify the publisher and checksums桌面客户端:安装会下载可执行文件,请核对发布者与校验和
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add https://github.com/lbl61/dsh-drop-in/archive/refs/tags/v1.4.0.tar.gz

把 lbl61/dsh-drop-in 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

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).

Chip bar and message cards File cards in the user bubble

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_files tool 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.4.0.tar.gz

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-liquid-glass-balance-card 下一个 Next dsh-adhd-copilot →