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.
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 |