
bill9109/dsh-drag-and-drop
101最近提交 2026年8月14日
dsh-drag-and-drop DSH 插件
该插件允许从文件管理器拖拽本地文件或文件夹到 DSH Web UI 的任意位置,自动解析并插入其原始绝对路径到当前对话输入中,不进行上传、移动或复制。支持 macOS、Linux 和 Windows,处理多种路径格式和系统索引。
如何安装 dsh-drag-and-drop DSH 插件
dsh plugin --profile web add github:omdsh-dev/dsh-drag-and-drop复制不会执行命令。安装 dsh-drag-and-drop DSH 插件前请核对仓库和版本。
dsh-drag-and-drop DSH 插件数据来源
dsh-drag-and-drop DSH 插件快照日期:2026年8月16日
discovered
dsh-drag-and-drop DSH 插件能做什么
- 拖拽文件或文件夹到 DSH Web UI 任意位置,插入真实绝对路径
- 支持同时拖拽多个项目,每个路径独立一行
- 不进行文件上传、移动、复制、修改或删除
- 通过当前工作区、已注册工作区、常用目录、操作系统文件索引和有限目录搜索解析路径
- 支持 macOS、Linux 和 Windows 的原生路径,包括 POSIX、驱动器盘符和 UNC 路径
- 当多个候选文件存在时,比较内容指纹并让用户选择正确路径
- 拖拽时全屏变暗模糊提示,查找失败时显示可关闭的插件通知
dsh-drag-and-drop DSH 插件适合哪些场景
- 快速插入文件路径到 DSH 对话,避免手动输入长路径
- 为 DSH 工具引用本地文件,这些工具需要读取、运行或修补真实文件系统路径
- 一次拖拽多个相关文件,批量处理路径到对话中
- 避免因文件复制而破坏与相邻依赖的关系
- 在带有大文件系统的机器上使用,防止手动输入路径出错
dsh-drag-and-drop DSH 插件适合谁
- 经常使用本地文件并需要准确路径的 DSH 用户
- 在 macOS、Linux 或 Windows 上使用 DSH 与文件系统交互的开发者
dsh-drag-and-drop DSH 插件的限制
- 需要 DSH Web UI 并将插件安装到 'web' 配置文件中
- 路径解析速度取决于磁盘大小和系统索引可用性;建议安装 plocate(Linux)或 Everything CLI(Windows)以加快搜索
- 当浏览器隐藏原始路径时,插件可能需要搜索多个位置,在大磁盘上且无索引时可能较慢
- 如果浏览器隐藏路径且未安装操作系统索引,工作区和常用目录之外的文件夹可能无法定位
- 插件处于早期版本(v0.1.5),路径解析可能存在边缘情况
dsh-drag-and-drop DSH 插件的仓库 README 摘录
以下文字摘自 dsh-drag-and-drop DSH 插件的上游仓库 bill9109/dsh-drag-and-drop 的 README,版权归原作者,仅作引用。
**Install:** `dsh plugin --profile web add github:omdsh-dev/dsh-drag-and-drop` **A DeepSeek Harness Web UI plugin: drag local files or folders onto any part of the page and their original absolute filesystem paths are inserted into the current conversation input — without uploading, moving, or copying anything.** [English](README.md) | [中文](README.zh.md) ## Why this exists A browser never hands a web page the real filesystem path of a dropped file — it exposes only a local file URI when it feels like it, and often nothing at all, for security. DSH, though, operates on real files: its tools read, run, and patch actual paths on the machine. Drop a file into an ordinary web input and you get either an upload (a copy that silently breaks the file's relationship with its neighboring dependencies) or a hand-typed path that is easy to get wrong. This plugin closes that gap on the machine running DSH. It converts the browser's local file URI into the native absolute path, and when the browser hides the path entirely it resolves the file back to its real location — through the current Workspace, registered Workspaces, the OS file index, and a bounded directory search — then writes that
阅读完整 README仓库许可: BSD-3-Clause
dsh-drag-and-drop DSH 插件常见问题
如何安装这个拖拽插件?
在终端中运行 `dsh plugin --profile web add github:omdsh-dev/dsh-drag-and-drop`,将插件安装到 'web' 配置文件。安装后重启 DSH Web UI 并硬刷新浏览器页面(Ctrl+Shift+R),插件才会加载。
为什么拖拽文件后没有任何反应?
首先确认拖拽时是否出现全屏变暗提示。如果没有,插件可能未加载。用 `dsh --profile web --dump-config | grep drag-and-drop` 检查 bundle 是否在配置中。确保安装后重启了 Web UI 并进行了硬刷新。
这个插件会上传我的文件吗?
不会。插件从不进行上传、复制、移动、修改或删除文件。它只解析拖拽项目的本地文件系统路径并以文本形式插入。所有处理都在你的机器上本地完成。
为什么有时插入的路径不对?
当多个文件同名且大小相同时,插件会比较内容指纹。如果存在字节相同的副本,插件会显示一个选择器让你选择正确路径。如果仍然不对,可能是从不同工作区或索引解析的结果。你可以重新拖拽并选择正确候选。
这个插件可以在 Windows 上使用吗?
可以。插件支持 Windows 驱动器盘符路径和 UNC 网络路径。为了获得最佳性能,建议安装 Everything 命令行工具以加速路径解析。如果没有 Everything,插件会使用 PowerShell 搜索用户目录和固定磁盘。