DeepSeek Harness Plugin

Scorp1o117/dsh-tool-vision

Stars ★ 10 Downloads (30d) 4,354 Category Vision & Multimodal Added 2026-09-05 npm dsh-tool-vision

Send local images or HTTP(S) image URLs to a configured OpenAI-compatible vision endpoint with the inspect_image tool and return its text response to the conversation.

Install

# from npm (prebuilt)

dsh plugin --profile web add dsh-tool-vision

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:Scorp1o117/dsh-tool-vision

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

简体中文 | English

Connect a separate OpenAI-compatible vision model to DeepSeek Harness, with an image bridge and image tools. A text-only conversation model can ask the vision model to inspect an image and use its description.

Features

  • Vision calls: inspect_image sends a local or HTTP(S) image to the configured endpoint, optionally with a question. The model must support compatible image input.
  • Image bridge: for models that do not receive images directly, converts images into durable text instructions so the Agent can call a vision tool as needed; conversation thumbnails and previews are supported.
  • Detection and overrides: combines route declarations, probe results and user lists to choose between direct image input and bridging; allowlists and blocklists can correct inaccurate declarations.
  • Image tools: includes image Q&A, grounding, OCR, crops, pixel differences, colors, vectorization, HTML screenshots and attachment materialization. Some operations require optional dependencies; desktop screenshots are disabled until explicitly enabled.

Bridging gives a text model the vision model's description. The result depends on that model and does not turn the text model into a native multimodal model.

Compatibility and installation

DSH Web / Desktop accepts host versions from 0.2.0-rc.2 onward at startup, including future prereleases. See package.json for the compatibility declaration. Node.js >=20.18 is required.

For Desktop, install its dsh command through Application → Manage dsh Command first:

dsh plugin --profile desktop add dsh-tool-vision

Replace desktop with web for Web. Restart DSH and open Plugins → Installed → dsh-tool-vision. You can also install it through the Enhancement Suite.

Quick setup

  1. Enter the vision service's API address, key and model ID in the plugin page. A compatible local service can also be used; supply a key if the service requires one.
  2. Choose Automatic images and previews for bridging and previews, or Vision tools only for explicit calls. Existing custom combinations are preserved.
  3. If image capability detection is inaccurate, adjust the model list, list mode or automatic detection under Advanced. Save to apply.
  4. Send DSH an image and a question, or ask the Agent to inspect a workspace image with inspect_image.

The form writes edited fields only and retains an unchanged key. The interface follows the DSH language setting.

Usage and limits

  • Models with image support can receive images directly. Bridged images enter the conversation as instructions and are not automatically restored to image blocks when switching models later.
  • vision_probe_model can test image capability. An explicit user list takes precedence over probe results, which in turn take precedence over route declarations.
  • vision_screenshot requires enabling desktopScreenshot. sharp, potrace and puppeteer-core are optional dependencies; affected tools report missing dependencies without disabling other tools.
  • Vision requests send images to the configured service. Choose a trusted local or remote endpoint for the content. Input-size and provider limits apply.

Development, attribution and feedback

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.