dsh-drop-in
Drag & drop anything into the DSH composer: local files upload to <workspace>/.dropped/<sessionId>/ and insert absolute-path references; web images / URLs download host-side then reference; plain text inserts into the composer (oversized text becomes a file).
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zhanghuqqqq/dsh-drop-in说明文档
阅读完整 README ↗使用 Usage
装好重启后,把任何内容拖到对话窗口任意位置,会出现全屏覆盖层「松手,添加到对话」,并实时提示将采取的动作:
| 拖入内容 | 行为 | agent 看到什么 |
|---|---|---|
| 本地文件(任意类型,≤20 个) | 流式上传到 /.dropped// | 消息追加 [附件: 名](https://github.com/zhanghuqqqq/dsh-drop-in/blob/411e5c770bf881ffc654cb25cd8e478ae83e60f0/%E7%BB%9D%E5%AF%B9%E8%B7%AF%E5%BE%84) |
| 纯本地图片 | 放行给原生视觉附件通道(多模态直出) | 原生图片附件 |
| 文件夹 | 放行给原生「收养为工作区」 | 原生行为 |
| 网页图片(从浏览器拖) | host 端流式下载(跟随重定向、自动重试) | [网页图片: 名](https://github.com/zhanghuqqqq/dsh-drop-in/blob/411e5c770bf881ffc654cb25cd8e478ae83e60f0/%E7%BB%9D%E5%AF%B9%E8%B7%AF%E5%BE%84) |
| 链接 / 地址栏 URL | 下载目标资源;失败自动把链接插入输入框兜底 | [网页资源: 名](https://github.com/zhanghuqqqq/dsh-drop-in/blob/411e5c770bf881ffc654cb25cd8e478ae83e60f0/%E7%BB%9D%E5%AF%B9%E8%B7%AF%E5%BE%84) |
| 选中的文字 | ≤5000 字符插入输入框;更长存为 .md 文件 | 插入的文本或 [拖入文字: 名](https://github.com/zhanghuqqqq/dsh-drop-in/blob/411e5c770bf881ffc654cb25cd8e478ae83e60f0/%E7%BB%9D%E5%AF%B9%E8%B7%AF%E5%BE%84) |
上传/下载以 toast 反馈成败。