dsh-vision-guard
Run the following command in DeepSeek Harness:
dsh plugin install good-boy4069/dsh-vision-guard
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install good-boy4069/dsh-vision-guard in your DeepSeek Harness terminal to install; the source code is hosted at https://github.com/good-boy4069/dsh-vision-guard .
About this plugin
Workhorse models like deepseek-v4-pro on DeepSeek Harness are text-only. Paste a screenshot and the model simply cannot see it; worse, once an image block enters the session log every subsequent turn replays that image to an upstream gateway that only accepts text, producing a 400 unknown-variant error that bricks the conversation permanently. dsh-vision-guard is a transparent guardrail plugin designed to eliminate both failure modes at the root.
Its core design is a two-stage pre-log rewrite: image content is converted into model-readable text at the agent/pre-step stage, so it never touches the session log and the deadlock path is severed at the source. Sessions already deadlocked before installation recover on the next turn because replayed history images are rewritten at request time. The bundled vision_analyze tool lets the model pick an engine per task - local character OCR or a configured vision model - covering image reading, PDF text layers with embedded images, docx/pptx parsing, and video frame OCR. Anti-deadlock is a hard invariant: even if the entire vision pipeline is unavailable, output degrades to placeholder text and never falls back into the 400 loop.
It is built for users whose primary model is a text-only workhorse who still need to drop screenshots, PDFs, and office documents into the workflow daily. The plugin carries zero external dependencies, runs on pure Node builtins, and holds no API keys of its own - it reuses the vision-model route and credentials already configured in your dsh profile. All you need is one image-capable model on your subscription to act as the eyes while your reasoner keeps doing the thinking.
Use Cases
- A text-only model needs to read screenshots, PDFs, or office documents
- A session is stuck on a 400 error caused by image blocks in history
- Adding vision capability to a text-only model without extra API keys
Best For
- Developers whose primary model is text-only (e.g. deepseek-v4-pro)
- Users who frequently paste screenshots or documents into conversations
- Toolchain operators who prioritize session stability over image-induced deadlocks
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.