Back to home

woyeshishen

dsh-vision-plugin

No description

Stars
1
Language
TypeScript
Created
Aug 14, 2026
Updated
Aug 15, 2026

Introduction

dsh-vision-plugin

npm version license

中文 | English

Adds image understanding to DeepSeek Harness (DSH): wire up an OpenAI-compatible external vision model, and a text-only main model (e.g. deepseek) can call the describe_image tool to hand an image to it and get a plain-text description — understanding screenshots, photos, charts, OCR, UIs, and more.

Design: images go only to the secondary model (external vision model); the main model always deals with text.

Features

🖼️ Image understandingThe main model calls describe_image and gets a plain-text description
⚙️ GUI configurationFill in URL / API key / model on a settings page — no config files to edit
🔒 Secure credentialsAPI key stored in the credential store, never echoed
📦 Install once, keep workingAuto-loads at DSH startup, survives restarts

Install

One-liner (recommended)

Windows (PowerShell)

irm https://raw.githubusercontent.com/woyeshishen/dsh-vision-plugin/main/scripts/install.ps1 | iex

macOS / Linux

bash <(curl -fsSL https://raw.githubusercontent.com/woyeshishen/dsh-vision-plugin/main/scripts/install.sh)

dsh plugin command

From npm

dsh plugin --profile web add @woyeshishen/dsh-vision-plugin

From GitHub

dsh plugin --profile web add github:woyeshishen/dsh-vision-plugin

After install, the plugin auto-mounts into the profile; restart DSH (or hot-reload) to activate.

Usage

Step 1: Configure the external vision model

Open Settings → Multimodal Vision:

FieldDescription
URL (Base URL)OpenAI-compatible endpoint, e.g. https://api.example.com/v1
API keySecret for the external model (stored encrypted, never echoed)
ModelClick "Load models" to fetch and pick from the endpoint

Click Save.

Step 2: Ask the main model to look at an image

In a conversation, say:

Take a look at D:\path\to\image.png and describe what's in it.

The main model calls describe_image, sends the image to the external vision model, and continues reasoning from the returned description.

Tool

describe_image

ParameterRequiredDescription
pathImage file path; supports png / jpg / jpeg / webp / gif
promptSpecific question about the image; defaults to "describe the image in detail"

Requirements

  • DeepSeek Harness
  • An OpenAI-compatible (/chat/completions), image-capable external vision model

License

Apache-2.0