DSH Plugins
返回列表
🖥️

dsh-file-upload

客户端 更新于 2026.08.31

在终端中运行以下命令:

dsh plugin install 666emmm/dsh-file-upload

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

在终端运行 dsh plugin install 666emmm/dsh-file-upload 即可安装,插件源码地址为 https://github.com/666emmm/dsh-file-upload

插件介绍

DSH Web's native drag-and-drop experience is limited: images are outright rejected when the current model lacks vision support, there is no unified archive for uploaded files, and tracing back to previously sent attachments is a hassle. dsh-file-upload drops an upload button—styled with official DSH design tokens, theme-aware—into the composer toolbar and takes over window-level drag events, giving you the most natural way to bring local files into a conversation. Images travel through the DeepSeek Files API official attachment rail with automatic file_id reuse and 7-day expiry re-upload; documents, code, and any other file type are archived into the attachment library while a path line lands in the draft; dragging a folder recursively reads the tree, rebuilds it under the library with its original layout, and inserts only a single folder path into the draft. Even when the model cannot see images, the plugin gracefully degrades to path text so you never hit a 400 error. Starting with v0.2.0, the plugin also ships an uploaded-file management panel (paged browsing, one-click @path copy or delete) and zero-copy clipboard path reading: copy a file or folder in your OS file manager, click the clipboard button beside the upload icon, and the real path appears as an @ reference in the draft—no disk copy, no size cap.

This plugin is a great fit for two kinds of users. First, developers who frequently reference local docs, screenshots, or code snippets inside DSH Web loops and want to skip the repetitive open-manager-copy-paste dance. Second, anyone who values a tidy archive: every upload lands under ~/Documents/DSH/Attachments organized by date, and the settings-card panel lets you browse, copy references, or clean up at any time—the plugin itself never auto-deletes your files. The implementation is pure Node (only clipboard reading shells out to a platform tool), cross-platform (fully tested on macOS, expected on Linux and Windows), released under MIT, and maintained independently by the community with no dependency on official DeepSeek teams.

使用场景

  • 将本地截图或图片快速插入对话让模型分析
  • 拖拽整个项目文件夹作为上下文供模型读取
  • 在设置面板中浏览、复制或删除历史上传文件

适合人员

  • 频繁引用本地文件构建 Prompt 的 DSH Web 用户
  • 需要整理和回溯历史附件的开发者
  • 追求文件管理器到对话零摩擦工作流的效率型用户