@crosery/dsh-drop
支持在 DSH Web 中拖拽和粘贴文件,提供统一的预览栏,并在发送时添加文件引用。
AI 分析
核心用途是优化文件上传体验,支持大文件暂存与自动清理。适合经常需要向智能体发送本地文件或图片的 DSH Web 用户。必要条件是 DSH 版本需在 0.1.1-rc.2 及以上。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Crosery/dsh-drop说明文档
阅读完整 README ↗Configuration
Namespace crosery-drop in $DSH_HOME/settings.yaml; settings changes apply live.
| Key | Default | Meaning |
|---|---|---|
| maxBytes | 536870912 (512 MiB) | Maximum bytes per staged file; must be positive. |
| keepDays | 30 | Retention by date directory; 0 disables pruning. |
Cleanup runs at activation and when retention changes. It deletes expired date-named directories, including manually added contents inside them; other names and loose files are untouched. Removing a card does not delete the staged copy.