Zenjibad/dsh-drop-any-file ↗★ 0
dsh-drop-any-file
扩展DeepSeek Harness Web聊天的拖放功能以接受所有文件类型:将任何文件拖入输入框即可将其保存到当前会话的工作区中,供智能体读取和使用
AI 分析
核心用途是简化文件向工作区的传输流程。适合需要通过简单的拖拽操作,快速将各类本地文件提供给智能体进行分析与处理的用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Zenjibad/dsh-drop-any-file说明文档
阅读完整 README ↗⚙️ Configuration
No config file, no persisted settings. Behaviour is fixed by constants in the source:
| Knob | Location | Default |
|---|---|---|
| Max POST body (base64) | MAX_BODY_BYTES in src/index.ts | 80 MB (≈ 60 MB file) |
| Max saved file | MAX_FILE_BYTES in src/index.ts | 60 MB |
| Save target | resolved per drop | sessions.get(sessionId).header.cwd (the session's workspace) |
| Drop interception | src/client/index.tsx | capture-phase dragenter/dragover/dragleave/drop on window |
| Toast duration | src/client/index.tsx | 6 s |