zehenk/dsh-tu4-inline-images0

dsh-tu4-inline-images

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

AI 분석

核心用途是在对话流中直接预览本地图片。适合需要频繁让 Agent 处理、生成或引用本地图片,并希望直观看到图文效果的用户。

패키지
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.