dsh-file-upload: Adding Upload Button and Drag-and-Drop File Entry to DSH Sessions

dsh-file-upload is a community-developed plugin for the DSH web client, designed to simplify the upload and referencing of local files, images, and directories. The plugin enhances functionality by adding an upload button and supporting drag-and-drop features, archiving files into the DSH attachment library. For eligible images, it sends them to the official attachment rail and reuses the file_id from the DeepSeek Files API; other files are archived to specified directories, with a prefixed path text inserted into the draft. If the current model does not support images, images fall back to being represented as path text. The plugin supports recursive reading of dragged-in folders while preserving the original directory structure, offering settings options such as attachment directory, path prefix, official attachment routing toggle, and clipboard listener. File processing is limited by the DeepSeek API's 64 MB limit.

Read More
dsh-file-upload: Extending the DSH Web GUI Attachment Channel to Support Arbitrary File Uploads

dsh-file-upload is an MIT-licensed client plugin for the DSH Web GUI, designed to extend the functionality beyond supporting only image attachments to enabling uploads of arbitrary files such as PDFs, code, and archives. The plugin operates in a Node 20+ environment and automatically activates through a persistent profile. It supports file drag-and-drop from any location on the page. Its core advantages include: direct local file path referencing in Chromium browsers for zero-upload scenarios; and for cases where file paths are inaccessible, it uses an intermediary upload with a two-tier deduplication mechanism based on size, modification time, and SHA256 to ensure efficient transfer. The interface features adaptive-width blue file chips that hide the intermediary path and display only the filename, with one-click deletion support. Additionally, the plugin includes an upload directory cleanup overlay that provides redundancy removal and duplicate file cleanup.

Read More