DjangoAILab/dsh-plugins--plugins-manual-dsh-file-upload ↗★ 1

dsh-file-upload-local

本地手搓的 DSH 文件上传插件:流式上传(突破 base64 大小限制)、文件卡片、chat history 内预览/下载、图片内联预览 适合需上传大文件或图片并让模型读取路径的用户,需重启加载。

Package
dsh-file-upload-local
Compatibility
Unverified
Cordis peer range
^4.0.1-rc.1
Version
0.1.0
License
MIT
Last updated
Sep 1, 2026

Other repositories with this package name

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:DjangoAILab/dsh-plugins#18ae7e5df085d28e7a573d1e3ef0286bda1ea793&path:plugins/manual/dsh-file-upload

使用

  1. 输入框工具行出现「📎 文件」按钮,点击选文件/图片(可多选,不限制类型)。
  2. 上传后草稿里插入四行标记([附件]/[路径]/[大小]/[类型]),发送即可。
  3. 模型拿到路径,自行调用 read / bash / modlens_read_image 处理。
  4. 历史消息里该条渲染成文件卡片:图片内联缩略图 + 预览/下载,非图片图标 + 预览/下载。