victorytianyi-dev/dsh-upload-button

victorytianyi-dev★ 0JavaScript最后同步: 2026-08-19

在 GitHub 打开

Upload-image button plugin for DeepSeek Harness Web UI + DashScope text-to-image helper

README 摘要

dsh-upload-button Upload-image button for the DeepSeek Harness Web GUI. Adds an upload button beside the composer plus button: click it, pick local images, and they enter the composer's draft-image rail as thumbnails. On send, the images ride the standard draft-image path, so describe-image (or any other image consumer) receives them as usual — validation, size limits, and the thumbnail rail all come from the official conversation flow. No harness source changes. Also ships tools/gen-image.js , a text-to-image helper that calls the Alibaba DashScope native image-synthesis API ( wanx2.1-t2i-turbo ). Features - Upload button on the conversation.input.left slot (beside the plus/command button) - Multi-select file picker (images only — the conversation draft rail is image-only today) - Reuses the official draft-image drop path: synthetic DataTransfer + drop event on document - Zero harness changes, pure browser-side plugin Install Requires DeepSeek Harness 0.1.0-rc.6+ . Usage 1. After install and (re)start, open any session. 2. Next to the + button in the composer there is an upload button (⬆). 3. Click it, pick one or more images. 4. Thumbnails appear in the draft rail; type a message…

在 GitHub 查看完整 README →
皮肤/UIdsh-pluginweb ui

分类