DSH Plugins
返回列表
🖥️

dsh-drop-any-file

客户端 更新于 2026.08.26

在终端中运行以下命令:

dsh plugin install Zenjibad/dsh-drop-any-file

将以下提示词粘贴到 DeepSeek Harness 对话框中:

在 DeepSeek Harness 中执行 dsh plugin install Zenjibad/dsh-drop-any-file 即可安装,源码地址为 https://github.com/Zenjibad/dsh-drop-any-file ,安装后重启 DSH 并硬刷新浏览器页面(Ctrl+F5)使客户端插件生效。

插件介绍

The DeepSeek Harness web chat only lets you drag in PNG, JPG, WebP, or GIF images for inline attachment; any other file type is met with a hard rejection toast. dsh-drop-any-file removes that wall: PDFs, CSVs, archives, binaries, source code — drop them and they are caught. Non-image files are written into the active session's workspace directory, where the agent can read, grep, and glob them with its standard file tools. Pure image drops still follow the original inline-attach path, so nothing you already relied on changes.

The plugin intercepts drop events at the capture phase, ahead of the composer's image-only handler, so the old "only images supported" toast never fires. A themed full-window overlay appears while you drag, and a toast after release lists every saved filename or explains failures. File names are sanitised to a basename with illegal path characters stripped; request body and per-file sizes are capped at 80 MB and 60 MB respectively. Writes are strictly scoped to the session workspace, with no network calls, no shell execution, and no disk scanning.

If you regularly use the DSH web interface to hand documents, spreadsheets, code, or archives to your agent and wish it could treat them like local files, this plugin is the lightest bridge: install once, restart, and it persists across every boot without per-session setup.

使用场景

  • 拖拽 PDF、CSV 或压缩包到聊天窗口供 Agent 直接分析
  • 上传源代码文件或二进制文件到会话工作区供 Agent 读取
  • 混合拖拽图片与文档,图片内联展示、文档自动存入工作区

适合人员

  • 用 DSH 网页端频繁向 Agent 提供非图片材料的用户
  • 希望聊天窗口支持任意文件拖入的开发或数据工作流用户
  • 依赖会话工作区进行文件操作的 AI 助手使用者