zehenk/dsh-tu4-inline-images0

dsh-tu4-inline-images

对话内联图片 DSH 插件 — 输入框/用户消息/LLM 回复中的本地图片路径直接渲染为图片(回环路由 + 强 token + 多根白名单 + 尺寸三档)。Inline local images in DSH web conversations.

包名
dsh-tu4-inline-images
版本
1.1.0
许可证
MIT
最近更新
2026年8月28日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zehenk/dsh-tu4-inline-images

Usage / 使用

  1. 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.
  2. LLM output: ask the assistant to reference an image path (or let it report one) and it renders inline in the reply.
  3. 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.