dsh-upload
Upload local files into the DeepSeek Harness session workspace: a 📎 button in the web composer, raw bytes saved under .uploads/<sessionId>/, the absolute path appended to the draft so the agent can read it (pair with dsh-word-docs for document workflows)
AI Analysis
核心用途是简化本地文件向 DSH 工作区的传输。适合需要让 AI 读取、处理本地任意格式文件(如 PDF、Word、图片)的办公与分析任务。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Ei-Ayw/dsh-uploadREADME
Read the full README ↗使用
- 打开一个会话,点输入框左侧的 📎
- 选择本地任意文件(PDF / Word / Excel / 图片 / 压缩包…)
- 输入框自动追加一行
📎 /绝对路径/…,点发送 - AI 用 fs 工具读取该文件并处理
落盘位置:
/.uploads//。上传的文件属于该会话工作区,随时可以在文件管理器里看到、删除。
配置(可选,cordis.patch.yml 或插件设置)
- id: dsh-upload
config:
maxBytes: 52428800 # 单文件上限,默认 50MB
subDir: '.uploads' # 工作区内落盘目录