dsh-draft-attachments
Manifest valid★ 2Keeps unsent images and files in the composer when you switch sessions.
Draft attachments
DSH stores a per-session composer draft as text, reference chips, quotes and a command token. Images and files you attach before sending are browser-owned draft attachments; they are released when the session scope is disposed. The visible result is that switching to another session and back restores what you typed but drops the attachments.
This plugin keeps unsent attachments with the session:
- Replaces the optional composer attachment rail so it can observe the
browser-owned
Fileobjects. - Stores them in IndexedDB keyed by the current session id, and removes the stored copy when the rail becomes empty (message sent, or every attachment removed).
- Re-adds the stored files through the composer's own intake path when the session is opened again, so limits, uploads and submit behavior stay the shipped code path.
- Keeps the document-level file drop route.
Scope: it restores files that were still in the composer when you left the session. It does not change the Host session log, already-sent messages, or the text-draft behavior. Very large drafts are capped at 24 files per session.
Install
Install this directory as a local bundle from Plugins → Add plugin, or let
an agent run plugin_manager install_bundle with this directory.
Limitations
- Attachments are stored per browser origin in IndexedDB; clearing site data removes them.
- Re-opening a session re-uploads restored files, because the Host upload receipts of the old draft are not reused.
Comments
Loading…
Similar plugins
by XWIDE
DeepSeek Harness plugin: keeps the images you pasted or attached in the composer, per session; they are mirrored locally and put back when you return to that conversation, and forgotten once the messa
★ 2
MIT
JavaScript
Oct 8, 2026
dsh plugin --profile web add dsh-draft-keeperby 2026heshao
DeepSeek Harness 插件:把输入框的草稿图片/文件像文字草稿一样持久化。切换页面、重启应用后回到会话,未发送的附件自动恢复。基于 IndexedDB,走官方 createDrafts/addAttachments 通道。
★ 2
MIT
JavaScript
Oct 19, 2026
dsh plugin --profile web add dsh-draft-attachmentsby wangkohan
DeepSeek Harness plugin: keeps unsent composer text as a per-session draft in local storage, so it comes back after switching sessions or restarting the app.
★ 0
MIT
JavaScript
Nov 14, 2026
dsh plugin --profile web add dsh-composer-draft-keeperby WJZ-P
Adds file and folder drag-and-drop attachments to the Web UI, with composer cards, persistent history, and workspace-backed paths.
★ 6
↓ 149/wk
MIT
JavaScript
Aug 19, 2026
dsh plugin --profile web add dsh-attachmentby 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 zhousun55-byte
Upload files and folders straight into the conversation — images attach as real message blocks, text content is written into the composer draft, folders land by directory structure.
★ 0
MIT
JavaScript
Aug 16, 2026
dsh plugin --profile web add dsh-postman