
loudMore/dsh-drop-to-path
101最近提交 2026年8月14日
dsh-drop-to-path DSH 插件
该插件拦截 DSH Web profile 中的拖放和粘贴事件。图片保持原生附件界面(预览/移除);其他文件显示为方形芯片。发送时,所有文件被上传到工作区,路径自动追加到消息中,从而绕过纯文本模型的图片预检检查。
如何安装 dsh-drop-to-path DSH 插件
dsh plugin --profile web add /path/to/dsh-drop-to-path复制不会执行命令。安装 dsh-drop-to-path DSH 插件前请核对仓库和版本。
dsh-drop-to-path DSH 插件数据来源
dsh-drop-to-path DSH 插件快照日期:2026年8月16日
discovered
dsh-drop-to-path DSH 插件能做什么
- 拦截图片、文档、压缩包、视频和音频的拖放和粘贴操作
- 图片使用 DSH 原生附件卡片(预览、移除)
- 非图片文件在附件栏显示为带格式图标的可移除方形芯片
- 发送时自动将文件上传到 workspace/.drops/ 并转换为路径
- 绕过 DSH 的图片准入预检,使纯文本模型能接收图片路径
- 支持混合批次(图片+其他文件),按顺序上传并作为一条文本块发送
dsh-drop-to-path DSH 插件适合哪些场景
- 直接粘贴截图给纯文本模型(如 deepseek),无需手动保存和输入路径
- 拖入 PDF 文件,让模型通过文档工具处理
- 附加多张图片,通过 dsh-vision-toolkit 进行像素差异分析
- 拖入视频文件,由纯文本模型通过工作区路径进行摘要
- 快速粘贴电子表格或 Office 文档到对话中
dsh-drop-to-path DSH 插件适合谁
- 使用纯文本模型(如 deepseek)且需要发送图片或文件的 DSH 用户
- 配合 dsh-vision-toolkit 使用,为纯文本模型赋予视觉能力的用户
dsh-drop-to-path DSH 插件的限制
- 依赖 DSH 未公开的内部接口,DSH 升级后可能失效(参见 ADAPTING.md)
- 仅支持 DSH Web profile,需要 Node.js 和 dsh CLI
- 文件大小限制:图片 ≤30MB,其他文件 ≤100MB
- 主要针对纯文本模型设计;多模态模型本身已支持直接发送图片附件
dsh-drop-to-path DSH 插件的仓库 README 摘录
以下文字摘自 dsh-drop-to-path DSH 插件的上游仓库 loudMore/dsh-drop-to-path 的 README,版权归原作者,仅作引用。
> Drop or paste images, PDFs, office docs, zips, videos and audio into DeepSeek Harness — they reach your text-only model as **workspace file paths**. Images keep the native attachment UI (preview / remove), everything else shows as square chips in the attachment rail, and paths are appended automatically when you hit send. [English](README.md) | [中文](README.zh.md) [](https://github.com/topics/dsh-plugin) ## Demo  *Drag images / PPT / TXT / ZIP into the composer → square file chips appear next to image thumbnails → hit send → the model receives workspace file paths.*  *The effect: images and files arrive at the text-only model as workspace paths, ready for vision / document tools.* ## Why this plugin I use a text-only model (deepseek) in DeepSeek Harness and frequently need to send screenshots to the agent. But DSH image attachments go through the model's native attachment channel, and text-only models are rejected by a preflight check before the message is even sent — the composer shows a system toast: > **The cu
阅读完整 README仓库许可: MIT
dsh-drop-to-path DSH 插件常见问题
如何安装 dsh-drop-to-path?
在终端执行 `dsh plugin --profile web add /path/to/dsh-drop-to-path`。确保已安装 Node.js 和 dsh CLI。安装后重启 DSH Web profile(重新启动启动器或重启 `dsh web`)。无需额外配置。
这个插件能在多模态模型上使用吗?
可以,但在多模态模型上没有必要,因为它们可以直接发送图片附件。该插件设计用于绕过纯文本模型的图片预检。如果你使用多模态模型,插件仍会将文件转为路径,但你可能不需要这个功能。
为什么我的文件发送后没有变成路径?
请确认插件已正确安装且 Web profile 已重启。检查你是否在使用纯文本模型(如 deepseek)——如果模型原生支持图片,插件可能不会拦截。还要验证文件类型和大小是否在支持范围内(图片≤30MB,其他文件≤100MB)。若上传失败,会有可见通知,消息会回退到原生发送方式而不包含路径。
能从剪贴板粘贴或拖放文件吗?
支持。该插件支持所有支持的文件类型(图片、PDF、Office文档、压缩包、视频、音频)的拖放和粘贴操作。粘贴或拖入后,非图片文件会显示为附件栏中的方形芯片,图片显示为原生附件卡片。
如何清理上传的文件?
文件存储在 DSH 工作区目录下的 `<workspace>/.drops/` 中。你可以随时手动删除它们。插件不会自动清理旧文件,建议定期清理以释放空间。