Yuuz12/dsh-vision-helper1

dsh-vision-helper

Deployment-level vision plugin for DeepSeek Harness: registers the vision_analyze tool backed by a configurable multimodal model, with a settings-page UI. Zero dependencies.

AI Analysis

核心用途是为纯文本主模型补充视觉分析能力。适合需要处理图像分析任务的用户。支持在设置页面配置服务商、模型、温度及最大图片尺寸,零外部依赖,开箱即用。

Package
dsh-vision-helper
Version
0.3.0
License
MIT
Last updated
Aug 13, 2026

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗

Configuration

Via the settings page (设置 → 视觉助手): provider, model, temperature, max output tokens, max image edge. Equivalent config document at $DSH_HOME/dsh-vision-helper.json (beside settings.yaml):

{
  "provider": "opencode-go",
  "model": "mimo-v2.5",
  "temperature": 0.2,
  "maxTokens": 1024,
  "maxEdge": 4096,
  "mode": "auto"
}

provider/model empty = auto-select; maxEdge limits the longest image edge in px. mode controls the automatic-invocation guidance injected into the agent's system prompt:

  • auto (default) — smart guidance: if the main model is multimodal (image delivered in conversation, or readable directly via read_image), analyze it natively with no extra cost; call vision_analyze only when the main model cannot view images (text-only model); ask for the path when missing.
  • force — mandatory: image tasks MUST use the tool, no direct answering or refusal. Use this only when you explicitly want the dedicated vision model (e.g. a text-only main model, or a specialized vision model) — with a multimodal main model it incurs extra API calls.
  • off — no guidance injected; the tool stays registered but the agent decides on its own.

Changes are read per use — no restart needed (the guidance section re-registers on save).