본문으로 건너뛰기
Z

dsh-plugin-image-picker

zg2017/dsh-plugin-image-picker

DSH 웹 클라이언트는 이미지 첨부에 붙여넣기와 드래그 앤 드롭만 지원하므로 입력창 도구 모음에 “이미지 첨부” 파일 선택 버튼을 추가합니다(v1 범위, 상류 설계 메모 기준). 드래그 앤 드롭이 없는 터치 기기의 기능 공백을 보완합니다.

설치

dsh plugin --profile web add github:zg2017/dsh-plugin-image-picker

README

DSH | dsh-plugin-image-picker | A real "attach image" button for the composer

DSH's own web client only supports adding an image by paste or drag-and-drop (v1 scope, per its own upstream design notes). That's a real gap on touch devices with no drag-and-drop, and on iOS specifically, where there's no clipboard-image paste at all - there was simply no way to attach a photo from a phone. This plugin adds a plain file-picker button to the composer toolbar that does.

What it looks like

Composer toolbar with the image-attach button

Tapping it opens the native file picker; the chosen image is fed through the exact same attachment path DSH's own paste/drop handling already uses (a synthetic DataTransfer/drop event), so there's no separate code path to trust - if paste-and-drop works today, this works the same way.

How it integrates with DSH

A pure client-side patch (src/client.js, no build step): registers a composer toolbar seat and, on file selection, synthesizes the same drop event DSH's own composer already handles. No host-side plugin behavior.

Install

dsh plugin --profile web add @gz2016/dsh-plugin-image-picker

No configuration needed.


Unofficial project, independently developed and maintained by a community member. Not affiliated with or endorsed by DeepSeek.

관련 플러그인