dsh-image-preview
Run the following command in DeepSeek Harness:
dsh plugin install leonardoxr/dsh-image-preview
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install leonardoxr/dsh-image-preview in the DeepSeek Harness terminal; the source lives at https://github.com/leonardoxr/dsh-image-preview, then refresh the Web page to load the new bundle.
About this plugin
When you call the built-in read_image tool in DeepSeek Harness, image results are usually rendered as an abstract tool row with little visual context. dsh-image-preview plugs into DSH's public tool.call.toolview slot to inject an inline renderer, so you see the actual image right inside the tool tree. A single renderer covers both direct read_image calls and tools.read_image(...) subcalls nested inside run_code Code Mode, with no extra wiring required.
On the security side, every byte is fetched exclusively through the authenticated session attachment API via ctx.sessions.binding. The model-supplied file path is treated as display metadata only and is never re-read by the browser plugin. Rendering is limited to authenticated PNG, JPEG, WebP, and GIF attachments. Clipboard copies reuse the same attachment Blob, and formats that lack direct clipboard support are converted to PNG in-browser with no network fallback. Malformed or expired attachments degrade to a bounded inline message rather than failing silently.
If your daily workflow involves DeepSeek Harness vision capabilities—OCR, image description, side-by-side comparison, or multi-step image pipelines orchestrated in Code Mode—this plugin makes every intermediate image result visible at a glance. From the DSH Settings plugin card you can toggle the inline-preview renderer on or off and choose whether previews expand automatically or stay collapsed until you click Show preview.
Use Cases
- Call the read_image tool and see the rendered image inline in the tool tree instead of an abstract result row.
- Orchestrate multi-step image pipelines in Code Mode and get automatic inline previews for every nested tools.read_image subcall.
- Copy an image to the clipboard with one click—PNG goes directly, other formats convert to PNG in-browser—with visible success or failure feedback.
Best For
- Developers who rely on DeepSeek Harness vision features such as OCR, image description, or side-by-side comparison in daily work.
- Engineers orchestrating multi-step image pipelines in Code Mode who need to glance at intermediate results quickly.
- Users who prefer manual control—images stay collapsed by default and load only after clicking Show preview.
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.