Yuuz12/dsh-vision-helper1

dsh-vision-helper

为 DeepSeek Harness 提供的部署级视觉辅助插件,注册由可配置多模态模型支持的 vision_analyze 工具。

AI 分析

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

包名
dsh-vision-helper
版本
0.3.0
许可证
MIT
最近更新
2026年8月13日

安装

此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 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).