DSH Plugins Marketplace

DSH Plugins

Plugins

/

Development & Infrastructure

/

dsh-inline-images

3

dsh-inline-images

Manifest valid★ 5

Render local image paths from assistant replies inline in the message body (9 formats, click-to-zoom lightbox, adjustable size).

UI (client)hasBundlePatch

dsh-inline-images 对话内联图片

让 DeepSeek Harness 的对话直接显示本地图片:LLM 回复中输出的本地图片路径(截图、生成图等)会在消息正文里自动渲染成图片 —— 不再只是一串看不到的路径文本。

示例

功能

  • 消息正文内联渲染:扫描助手回复文本中的本地图片路径(C:\... 盘符、UNC、POSIX、![](https://raw.githubusercontent.com/3403473060/dsh-inline-images/HEAD/本地路径)、反引号包裹),把真实存在的图片改写成同源回环 URL,产品 MarkdownText 直接在正文渲染。
  • 支持 9 种格式:png / jpg / jpeg / webp / gif / svg / avif / bmp / ico。
  • 点击放大灯箱:点击正文图片 → 全屏大图;点背景或按 Esc 关闭。
  • 可调尺寸:设置 → 内联图片,调整正文图片最大宽/高(64–2400 px,默认 640×420),持久化到凭证存储(INLINE_IMAGE_MAX_WIDTH / INLINE_IMAGE_MAX_HEIGHT)。
  • 安静降级:不存在的路径、示例/占位路径(路径、xx、... 等)静默跳过,不影响对话;消息内容仍是纯文本 URL,纯文本模型适配器不会拒绝。

构建与安装

pnpm install
pnpm run build
dsh plugin --profile web add ./dsh-inline-images

工作原理

  1. llm/stream 包装器扫描文本块,fs.stat 确认文件存在。
  2. 按原始区间把路径替换为 ![](http://127.0.0.1:<port>/plugins/dsh-inline-images/image?t=<token>&p=<path>)。
  3. webServer 路由实时读取文件字节返回(与页面同源,无 CSP/混合内容问题);token 每次激活随机生成。

许可证

MIT

Compatibility

DSH 0.2.1-rc.4: failedDSH 0.1.7-alpha.1: failedDSH 0.1.7-alpha.2: failed

Versions

Latest versionPublishedSize
1.0.0——

Comments

Loading…

Similar plugins

dsh-inline-images

by Asher-2000

对话内联图片/视频:LLM 回复中输出的本地图片路径在消息正文直接渲染,视频可点击播放。修复增强版(URL自动修正/刷新持久化/反向代理兼容)。

Development & InfrastructureTerminal & ClientsManifest valid

★ 0

MIT

JavaScript

Aug 24, 2026

dsh plugin --profile web add dsh-inline-images

by condaThinker

DSH plugin: show_image tool that renders an image inline into the web chat flow (QQ/WeChat style) — path text in the message, image bytes never enter model context.

Tools & CapabilitiesManifest valid

★ 2

JavaScript

Aug 30, 2026

dsh plugin --profile web add dsh-image-inline

by loyalchiiina

DSH plugin: display images inline in chat with lightbox zoom, download (save-as), and prev/next navigation

Tools & CapabilitiesUI & ExperienceTerminal & ClientsManifest valid

★ 2

↓ 33/wk

MIT

JavaScript

Oct 24, 2026

dsh plugin --profile web add @loyalchiiina/dsh-chat-image-lightbox

by Wisdoverse

Renders image, video, and audio paths and URLs from DSH conversations inline, with workspace-confined local reads and an optional ComfyUI proxy.

Development & InfrastructureSessions & MessagesManifest valid

★ 4

↓ 329/wk

MIT

JavaScript

Oct 5, 2026

dsh plugin --profile web add @wisdoverse/dsh-inline-media-viewer

by justhalfbit

DeepSeek Harness (DSH) 会话内图片渲染插件:全局 show_image 工具 + 点击放大 lightbox。 | Inline image rendering plugin for DSH: global show_image tool + click-to-enlarge lightbox.

Tools & CapabilitiesManifest valid

★ 0

MIT

JavaScript

Sep 1, 2026

dsh plugin --profile web add dsh-plugin-show-image

by fuguier001

Click-to-zoom lightbox with arrow-key paging for DSH conversation images: ← prev / → next / Esc close, edge hints

Manifest valid

★ 0

MIT

JavaScript

Sep 13, 2026

dsh plugin --profile web add dsh-imgnav