666emmm/dsh-file-upload ↗★ 0

dsh-file-upload

Upload button + drag-and-drop files into DSH conversation as local paths; uploaded-file management (list/info/delete/@path) and clipboard path reading (zero-copy, no size limit) 核心用途是简化文件和图片向 DSH 对话中的导入流程。适合需要频繁让 AI 处理本地文件、代码或图片,追求零拷贝和无大小限制的用户。

パッケージ
dsh-file-upload
互換性
未検証
Harness ピア範囲
^0.1.0-rc.7 || ^0.1.1-rc.1 || ^0.1.2-alpha.1
Cordis ピア範囲
^4.0.1-rc.1
バージョン
0.2.0
ライセンス
MIT
最終更新
2026/08/31

同名パッケージの別リポジトリ

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:666emmm/dsh-file-upload

ドキュメント

README 全文を読む ↗

Usage

  1. Click the upload icon and pick files (multi-select), or drag files/folders anywhere into the window.
  2. Images (when the current model accepts images): archived to the attachment directory and shown in the official attachment rail — send, and the model sees the image (DeepSeek Files API file_id, auto-reused).
  3. Images when the model does not accept images (or you turned the official path off): archived to images/, then lines go into the draft — e.g. [上传文件] /path/to/Attachments/images/xxx.png — and your existing draft text is kept.
  4. Other files: archived to files/, path text goes into the draft. Press send; the model reads the file by path.
  5. Folders: drag one in and it is rebuilt under the attachment library with its original layout; only the folder path (one line) goes into the draft.