dsh-file-drop
拖拽/点击上传任意非图片文件(PDF/Word/Excel/ZIP/文本)到输入框:桌面壳下直取 Finder 原始路径;无壳时上传到工作区并插入路径。
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 and inserts the path.
怎么安装
dsh plugin add dsh-file-drop 简介
dsh-file-drop · 拖拽上传任意文件 DeepSeek Harness 持久插件:支持拖拽 / 点击上传**非图片**文件(PDF / Word / Excel / ZIP / 文本等),把文件路径直接写入输入框草稿,agent 即可读取。 工作方式(三个入口共用一套逻辑) | 入口 | 行为 | |---|---| | **拖拽到窗口任意位置** | 全屏高亮浮层 → 松手 → 获取文件 | | **回形针按钮**(输入框工具行左侧,28px 圆形原生风格) | 点击弹系统文件选择器(多选) | | **hover 气泡** | 「点击选择文件 · 也可把文件拖到窗口任意位置」,1.5s 自动消失,每次 hover 循环 | 处理顺序(按可用性优先): 1. **桌面壳直取原始路径**(Electron 壳 window.dshDesktop,webUtils.getPathForFile)—— 零上传,拿到 Finder 里的真实路径; 2. **拖拽自带路径**(text/uri-list,如 Obsidian 拖笔记); 3. **上传兜底**(浏览器/无壳时)—— POST /api/dsh-file-drop 保存到 <会话工作区>/.dsh-drops/,返回工作区路径。 拖拽监听挂在 **window 捕获阶段**,先于 DSH 自带的 document…
推荐参考
信息
- 协议
- MIT
- 语言
- JavaScript
- GitHub 星标
- 0
- 月下载
- –
- 最近更新
- 2026-08-16
- 创建于
- 2026-08-16
基础安全检查
- 检查结果
- 无
- 收录来源
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- 主题标签
- deepseek-harness, dsh-plugin
同类推荐
dsh-TUI
ccch1mneyyy/dsh-TUI
Claude Code 风格全屏终端 UI:像素鲸鱼顶栏、实时工作状态行、思考流式展开。
deepseek-harness-desktop
anywhere-labs/deepseek-harness-desktop
为 DeepSeek Harness (DSH) 生态打造的现代化桌面端体验