DSH Plugins Marketplace

DSH Plugins

Plugins

/

Tools & Capabilities

/

dsh-vision-bridge

x

dsh-vision-bridge

Manifest valid★ 2

Composer-attached images are auto-described by an OpenAI-compatible vision model and handed to text-only models (DeepSeek) as text. ???????????

hasBundlePatch

dsh-vision-bridge

让纯文本模型(DeepSeek V4 / V4-Flash)在对话里"看见"图片:在输入框直接粘贴图片并发送,插件自动调用一个 OpenAI 兼容的视觉模型(VLM)把图片识别成文字描述,再把描述喂给 DeepSeek 继续处理。

会话中图片照常显示;只有发给模型的内容变成文字。

原理

DSH 对纯文本模型会在提交时拒绝图片(MODEL_DOES_NOT_SUPPORT_IMAGES)。本插件打通两个官方扩展点:

  1. 准入放行:给 ctx.llm.resolveModelInfo 打补丁,声明当前模型支持 image 输入,让图片附件能进入会话。
  2. 发模型前转换:包装 llm.streamWithRegistration,每次请求发往模型前扫描所有消息中的图片块,调用配置的 VLM 生成文字描述,替换成:
[用户附上的图片已由视觉模型自动识别(qwen-vl-max)]
<描述内容>

如果路由到的模型原生支持图片,则放行原图、不做转换。

安装

# 前置:dsh CLI 与 pnpm
dsh plugin --profile web add dsh-vision-bridge
# 或从 git 安装:
dsh plugin --profile web add https://github.com/<your-name>/dsh-vision-bridge

安装后重启 profile(dsh web)。

配置

唯一需要的是一个 OpenAI 兼容多模态模型(/chat/completions + image_url),例如阿里云百炼 qwen-vl-max、智谱 GLM-4V 等。

环境变量:

$env:VISION_API_KEY  = "sk-..."
$env:VISION_BASE_URL = "https://dashscope.aliyuncs.com/compatible-mode/v1"
$env:VISION_MODEL    = "qwen-vl-max"
$env:VISION_LANG     = "zh"   # zh | en

或在 profile 的 cordis.patch.yml 中配置(优先于环境变量):

- id: dsh-vision-bridge
  config:
    apiKey: 'sk-...'
    baseURL: 'https://dashscope.aliyuncs.com/compatible-mode/v1'
    model: 'qwen-vl-max'
    lang: zh
    timeoutMs: 180000
    enabled: true

使用

重启后直接在输入框粘贴图片并发送即可。DeepSeek 会基于视觉模型的描述继续处理。

说明

  • 同一张图片(按 attachmentId)在同一进程内缓存描述,重复发送不重复计费。
  • VLM 调用失败时降级为 [图片识别失败: 原因],对话不会中断。
  • 子智能体会话(subagent)仍受 DSH 内核限制,不支持贴图。

License

MIT

Compatibility

DSH 0.1.7-rc.1: failedDSH 0.1.5-rc.2: failedDSH 0.1.6-alpha.1: failed

Versions

Latest versionPublishedSize
0.1.0——

Comments

Loading…

Similar plugins

dsh-vision-bridge

by sfyyy

On-demand vision for text-only DeepSeek Harness (DSH) sessions: images become markers, and a vision_describe tool sends only image + question to an OpenAI-compatible vision model

Tools & CapabilitiesManifest valid

★ 6

MIT

JavaScript

Aug 16, 2026

dsh plugin --profile web add @dsh-extension/dsh-vision-bridge

Auto-discovery vision bridge for text-only DeepSeek Harness agents: automatically finds an image-capable model from your configured providers and returns picture descriptions as plain text via a visio

Tools & CapabilitiesVision & MultimodalManifest valid

★ 0

↓ 101/wk

dsh plugin --profile web add dsh-auto-vision

by kaixinbaba

Vision provider route that transcribes attached images to text through a configurable model (15+ OpenAI-compatible and Anthropic vendors) while DeepSeek keeps answering.

Tools & CapabilitiesVision & MultimodalManifest valid

★ 2

↓ 281/wk

MIT

JavaScript

Aug 21, 2026

dsh plugin --profile web add dsh-vision-recognizer

by LightingHa

Use your own OpenAI-compatible vision model in DeepSeek Harness: images are described before the main model sees the request, plus an image_understand tool for charts, screenshots, UI and OCR.

Manifest valid

★ 0

MIT

JavaScript

Oct 16, 2026

dsh plugin --profile web add dsh-custom-vision

Configurable image recognition for text-only DSH models: image messages are first transcribed by an OpenAI-compatible vision model (Base URL, model ID and API key set in a Settings section) and then p

Tools & CapabilitiesVision & MultimodalManifest valid

★ 0

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

by Zh-U-hB

DeepSeek Harness plugin: route image-bearing messages to a user-configured OpenAI-compatible vision endpoint when the active text model cannot see images

Manifest valid

★ 0

MIT

TypeScript

Aug 16, 2026

dsh plugin --profile web add @deepseek-ai/dsh-vision-bridge