Pular para o conteúdo principal
L

dsh-plugin-doc-upload

luoxou/dsh-plugin-doc-upload

DeepSeek Harness 文档上传插件:拖放本地文档到工作区并自动在输入框生成路径引用,与文字一起发送。

Instalar

dsh plugin --profile web add github:luoxou/dsh-plugin-doc-upload

README

dsh-plugin-doc-upload

DeepSeek Harness 文档上传插件:拖放本地文档到工作区,自动在输入框生成路径引用,与文字一起发送给智能体读取。

A DeepSeek Harness plugin that lets you drag local documents into the workspace and auto-insert a @path reference into the composer, so the document travels with your text in one message.

功能 / Features

  • 📄 输入框工具栏「上传文档」按钮(可选)
  • 🖱 页面级拖放上传,无文件选择器弹窗(drag & drop anywhere, no file-picker popup)
  • 💾 文档保存到当前会话工作区(workspace root)
  • 📝 上传后自动在输入框生成 @D:\...\file.docx 引用,与文字一起发送
  • 🔕 成功提示随消息发送自动消除(auto-clear success hint after send)
  • 🔒 安全承诺:绝不删除、绝不移动任何文件,仅写入目标文件(never deletes or moves files)

安装 / Install

dsh plugin --profile web add dsh-plugin-doc-upload

安装后重启 DSH Desktop 生效。

源码 / Source

使用 / Usage

  1. 把文档文件(.docx / .xlsx / .pptx / .pdf / .txt 等)直接拖进页面;
  2. 松开鼠标,文件保存到工作区;
  3. 输入框出现 @<工作区路径>/<文件名>
  4. 在引用后输入你的要求,一起发送;
  5. 智能体收到消息后即可读取文档内容。

兼容性 / Compatibility

  • DeepSeek Harness Desktop (Web profile) 0.1.1-rc.2
  • Node.js runtime bundled with DSH Desktop

许可证 / License

MIT

Plugins relacionados