DeepSeek Harness plugin

dsh-image-zoom

DeepSeek Harness plugin: click-to-zoom lightbox for markdown/chat images

Jump to install

Source facts

Repository
sijidoubi/dsh-image-zoom
Latest update
Aug 15, 2026
Category
Vision & Multimodal
GitHub stars
1
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/sijidoubi/dsh-image-zoom
Plugin: dsh-image-zoom
Author: sijidoubi

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer3 files
README.mdSource · read only

dsh-image-zoom

> 仓库名 dsh-image-zoom,npm 包名 @dsh-external/dsh-image-zoom

DeepSeek Harness (dsh) Web 客户端插件:给聊天里的 markdown 图片加一个点击放大/缩小的 灯箱(lightbox)查看器。

dsh 的 Web 前端把 markdown 图片固定成 max-width: 100% 的缩略图,没有缩放交互—— 大图、架构图、流程图上的小字看不清。装上这个插件后,点击任意一张 markdown 图片, 就会在页面上弹出全屏查看器,支持:

  • 鼠标滚轮 / 按钮连续缩放(100% ~ 1200%)
  • 放大后拖拽平移
  • 适应 一键回到窗口适配
  • 新标签页打开原图
  • Esc / 点击背景 / × 关闭

它和 mermaid 插件的配合

dsh-tool-mermaid 渲染出的图会内嵌成 ![标题](同URL) 的可点击缩略图。装上本插件后,点击这张图不再跳转新标签页,而是就地弹出缩放查看器; 工具栏里的 仍可打开原图。

工作原理

  • 在文档上挂一个捕获阶段的点击委托:命中最近的 <img> 且其 src 是绝对

http(s) 地址时,打开灯箱。

  • 跳过附件缩略图(它们是 <button> 包裹、自带 lightbox)和任何 [role="dialog"]

内的图片,避免和内置的附件预览重复弹窗。

  • 纯 DOM 实现,不依赖 React 或额外服务;所有监听、DOM、样式都在插件卸载时回收。

安装

dsh plugin --profile web add github:sijidoubi/dsh-image-zoom
dsh web

> pnpm ≥10 首次 add 会因 prepare 构建脚本被拒;把提示的包 key 加入 profile 的 > pnpm-workspace.yamlallowBuilds 后重试。

卸载

dsh plugin --profile web remove @dsh-external/dsh-image-zoom

> 🔍 配套推荐:搭配 dsh-tool-mermaid 使用,让模型渲染的架构图 / 流程图也能点击放大。

License

MIT