zehenk/dsh-tu4-inline-images ↗★ 0
dsh-tu4-inline-images
对话内联图片插件,可将输入框、用户消息及模型回复中的本地图片路径直接渲染为图片,支持多根白名单与尺寸调节。
AI 分析
核心用途是在对话流中直接预览本地图片。适合需要频繁让 Agent 处理、生成或引用本地图片,并希望直观看到图文效果的用户。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zehenk/dsh-tu4-inline-images說明文件
閱讀完整 README ↗Usage / 使用
- Input preview: paste or type an image path in the composer — a preview row appears above the input box. The path text stays in your draft (pure display, no delete button); when you send, the image appears in your message bubble.
- LLM output: ask the assistant to reference an image path (or let it report one) and it renders inline in the reply.
- Settings card: GUI → Settings → plugin settings → 对话内联图片 (inline images):
- 展示尺寸 / size: 小 / 中(默认)/ 大 — applied immediately to all three surfaces
- 追加图片目录 / extra roots: add any number of absolute directory paths whose images should be renderable; remove any time. Default roots (session workspace + DSH paste root) are built-in and not removable.
Smoke test with the bundled sample: docs/test.png — put it under a whitelisted root (or add its directory) and paste the path.