Crosery/dsh-drop0

@crosery/dsh-drop

支持在 DSH Web 中拖拽和粘贴文件,提供统一的预览栏,并在发送时添加文件引用。

AI 分析

核心用途是优化文件上传体验,支持大文件暂存与自动清理。适合经常需要向智能体发送本地文件或图片的 DSH Web 用户。必要条件是 DSH 版本需在 0.1.1-rc.2 及以上。

包名
@crosery/dsh-drop
版本
0.1.0
许可证
MIT
最近更新
2026年9月5日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Crosery/dsh-drop

Configuration

Namespace crosery-drop in $DSH_HOME/settings.yaml; settings changes apply live.

KeyDefaultMeaning
maxBytes536870912 (512 MiB)Maximum bytes per staged file; must be positive.
keepDays30Retention 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.