DSH Plugins Marketplace

DSH Plugins

Plugins

/

UI & Experience

/

dsh-inline-attachments

d

dsh-inline-attachments

Manifest valid

Composer enhancement: put images or files where you mean them and the model reads each one at that exact position.

UI (client)hasBundlePatch

dsh-inline-attachments(输入框增强)

输入框增强:把图片或文件放在你想要的位置,模型就在该位置读到它。

行内附件:输入框里 4 张图片的小标签;鼠标停在 image.png (2) 时,上方第二个缩略图有淡蓝色描边

怎么用

在输入框里粘贴、拖入或点 + 选择图片/文件,它会自动变成一个带文件名的小标签(不是链接);发送时模型就在这个位置读它。

删掉正文小标签会一起删附件;点图片标签看大图,点文件标签打开/下载。鼠标放在标签上,上方对应缩略图会描边。重开 DSH 后,草稿里的图需要重新贴一次。

安装

在 DSH Desktop 打开「插件 → 添加插件」,输入 dsh-inline-attachments;或:

dsh plugin --profile desktop add dsh-inline-attachments

市场收录后也可以搜「行内附件」。

从源码开发/安装:git clone 后 dsh plugin --profile desktop add <本地仓库路径>;发布与市场材料见 PUBLISHING.md。

卸载

在 DSH 的插件页卸载(或禁用)dsh-inline-attachments,重启 DSH 即恢复原样。

验证

# Node 22+
node --test test/host.test.mjs test/client-load.test.mjs test/host-wiring.test.mjs test/client-flow.test.mjs
# 或 npm test

31 个自动测试 + 多轮人工测试(粘贴/拖入、删图/撤销、焦点、悬浮描边、文件标签、亮/暗主题)。

状态

0.1.4。早期版本,依赖 DSH 输入框的内部接口,DSH 以后升级可能需要跟着改。

亮/暗主题跟随 DSH;Windows 没有平台相关代码,但没有在 Windows 真机实测。

English

Composer enhancement: put images or files where you mean them and the model reads each one at that exact position.

Paste, drop, or upload an image/file; it becomes a small label in the composer. On send, the model reads each file where you put it. Version 0.1.4 relies on composer internals. Light/dark themes follow DSH; Windows is untested.

MIT · repo Panther-w/dsh-inline-attachments · 31 automated tests + manual testing.

Comments

Loading…

Similar plugins

dsh-composer-layout

by lavapapa

A DSH Web plugin that keeps long answers and detailed prompts side by side with a dockable Composer.

UI & ExperienceManifest valid

★ 3

↓ 319/wk

MIT

JavaScript

Oct 10, 2026

dsh plugin --profile web add dsh-composer-layout

by CatLollipop

Composer enhancements: caches unsent drafts per workspace for new sessions and per Session id for existing ones, restoring them after switching away and dropping them once sent or cleared; adds an @pl

UI & ExperienceManifest valid

★ 0

MIT

JavaScript

Oct 23, 2026

dsh plugin --profile web add dsh-composer-draft-cache

Expand button for the DSH Web UI composer — appears at 3+ lines, stretches to near-fullscreen height, auto-collapses on send, and Enter inserts newlines in expanded mode.

UI & ExperienceManifest valid

★ 0

dsh plugin --profile web add dsh-composer-stretch

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

UI & ExperienceDevelopment & InfrastructureManifest valid

★ 2

MIT

JavaScript

Oct 8, 2026

dsh plugin --profile web add dsh-draft-keeper

by zhanghuqqqq

DSH plugin: drag & drop anything into the composer - local files upload with absolute-path references, web images/links download host-side, plain text inserts. Per-session .dropped/<sessionId>/ landin

Tools & CapabilitiesManifest valid

★ 0

↓ 45/wk

MIT

JavaScript

Sep 8, 2026

dsh plugin --profile web add dsh-drop-in

Composer code-quote collapse for the DSH Web UI: pasting a `path:line` header followed by code folds the input into one compact inline quote token (Ctrl+Z reverses it), and at send time the `agent/pre

UI & ExperienceTerminal & ClientsManifest valid

★ 0

↓ 87/wk

dsh plugin --profile web add dsh-code-quote