dsh-attach-picker
Manifest validDSH Web composer toolbar picture button: pick images via the OS file dialog - no drag-and-drop needed.
dsh-attach-picker
Adds a picture button to the DeepSeek Harness Web composer toolbar. Click it to open the system file dialog and pick one or more images — no drag-and-drop or paste needed. The chosen images land in the same draft-image rail that drag-and-drop and paste fill, and send with the message like any other attachment.
中文说明见 README.zh.md
Features
- One-click picture icon in the composer tool row (slot
conversation.input.left) - Native OS file picker, multi-select, filtered to the host's supported image types
- Honours the host's
imageLimits: supported formats, max images per message, max bytes per image — with inline error toasts (e.g.单张图片不能超过 X MB) - Uses the same
conversation.createDraftImages/inputActions.addImagespipeline as drag-and-drop, so no special handling anywhere else - Browser-side only; zero dependencies, tiny footprint
Install
From npm (recommended, prebuilt):
dsh plugin --profile web add dsh-attach-picker
From GitHub:
dsh plugin --profile web add github:qwerty-k-de/dsh-attach-picker
Restart dsh web (or just refresh the page — hot reload usually applies it).
Usage
- Open a conversation in DSH Web.
- Click the picture button in the composer tool row — the OS file dialog opens.
- Pick one or more images. They appear in the draft-image rail.
- Send the message; the images are attached like any others.
The button is disabled while a request is in flight.
How it works
- Client plugin registered via
package.json→dsh.client(platform: "web",exports["./client"]). - Injects into the composer slot
conversation.input.leftwithorder: -50. - On selection: limits come from the host projection
imageLimits(mediaTypes,maxImagesPerMessage,maxImageBytes); on success it callsconversation.createDraftImages(files)theninputActions.addImages(...). - The Node side (
lib/index.js) is intentionally empty — all logic is browser-side.
Screenshots
Storefronts (e.g. dsh-market) show App-Store style screenshots. Declare them in this repo:
// screenshots.json
["assets/screenshot-1.png", "assets/screenshot-2.png"]
(1–8 images; paths relative to the file, inside this repo. Without it, storefronts fall back to images found in this README.)
Requirements
- DSH Web (
dsh web) with the standard conversation / slots client services — current 0.1.0-rc+ builds. - No runtime dependencies.
License
MIT
Compatibility
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.1.0 | — | — |
Comments
Loading…
Similar plugins
by Yaya716
Persistent "Add image" button in the composer tool row for DeepSeek Harness Web: opens the system file picker (image/*, multi-select) and routes selected images through the official draft attachment p
★ 0
JavaScript
Aug 23, 2026
dsh plugin --profile web add @local/dsh-add-image-buttonby liujia-io
Paperclip image-picker button for the DeepSeek Harness web composer - pick reference images via the system file dialog and feed them into the official attachment pipeline.
★ 0
MIT
JavaScript
Sep 5, 2026
dsh plugin --profile web add dsh-image-pickerby zmm863-commits
DSH Web GUI paperclip button: a 📎 button in the composer opens a file picker (drag & drop supported) and inserts file contents into the textarea.
★ 4
↓ 382/wk
MIT
TypeScript
Oct 4, 2026
dsh plugin --profile web add dsh-paperclipby RCYD857
Drag or paste files or pictures into the DSH Web composer as one scrolling row of chips, sent as @path references.
★ 0
MIT
JavaScript
Sep 17, 2026
dsh plugin --profile web add dsh-file-attachby WJZ-P
Adds file and folder drag-and-drop attachments to the Web UI, with composer cards, persistent history, and workspace-backed paths.
★ 6
↓ 166/wk
MIT
JavaScript
Aug 19, 2026
dsh plugin --profile web add dsh-attachmentby wszhoho
File attachments for the dsh web GUI: toolbar upload button (multi-select) plus drag-and-paste add files to the chat input; images follow the native draft-image flow, documents are saved into the sess
★ 3
MIT
JavaScript
Oct 26, 2026
dsh plugin --profile web add @wszhoho/dsh-file-attachment