Zenjibad/dsh-drop-any-file ↗★ 0
dsh-drop-any-file
Extend the DeepSeek Harness (DSH) web chat drag-and-drop to accept every file type: dropping any file in the composer saves it into the current session's workspace so the agent can read and use it.
安装
$
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 |