dsh-file-upload
支持通过上传按钮或拖拽将文件作为本地路径导入 DSH 对话的插件,提供已上传文件管理与剪贴板路径读取。
AI 分析
核心用途是简化文件和图片向 DSH 对话中的导入流程。适合需要频繁让 AI 处理本地文件、代码或图片,追求零拷贝和无大小限制的用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:666emmm/dsh-file-upload说明文档
阅读完整 README ↗Usage
- Click the upload icon and pick files (multi-select), or drag files/folders anywhere into the window.
- Images (when the current model accepts images): archived to the attachment directory and shown in the official attachment rail — send, and the model sees the image (DeepSeek Files API
file_id, auto-reused). - Images when the model does not accept images (or you turned the official path off): archived to
images/, thenlines go into the draft — e.g.[上传文件] /path/to/Attachments/images/xxx.png— and your existing draft text is kept. - Other files: archived to
files/, path text goes into the draft. Press send; the model reads the file by path. - Folders: drag one in and it is rebuilt under the attachment library with its original layout; only the folder path (one line) goes into the draft.