dsh-open-eyes
A lightweight DeepSeek Harness vision delegation tool for text-only routes, with native OpenAI Responses, Chat Completions, and Anthropic Messages adapters.
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Hyp6666/dsh-open-eyes说明文档
阅读完整 README ↗
dsh-open-eyes
让你选择的多模态模型,成为 DeepSeek 的眼睛。
English · 中文
功能介绍
DeepSeek Harness 的主模型不一定支持图片。遇到截图、照片、图表或界面时,dsh-open-eyes 可以把图片交给另一套多模态模型分析,再把结果以文字形式返回当前会话。
如果当前主模型本身支持图片,插件不会接管,图片仍由 DSH 原生链路处理。只有当前模型明确不支持图片时,WebUI 中粘贴、拖入或选择的图片才会走视觉桥接。
插件也提供 vision_analyze 工具,可直接分析本地图片路径或已启用的远程图片 URL。
非官方社区插件:
dsh-open-eyes是独立的社区项目,与 DeepSeek 无隶属关系,也未经 DeepSeek 官方背书或维护。
目前支持三种接口:
- OpenAI Responses
- OpenAI Chat Completions
- Anthropic Messages
只要视觉服务支持其中一种接口,就可以把它接入 DSH。接口地址、模型和凭据都由用户自行配置,插件不会绑定特定厂商。
API Key 通过 DSH Credential Reference 读取,不应写入 cordis.patch.yml、对话内容或工具参数。本地图片默认不能越出当前 workspace;远程图片 URL 默认关闭。
通过视觉桥接处理的图片会发送给你配置的第三方 Provider。使用前请确认对方的数据保留、隐私和计费规则。视觉模型返回的内容只应作为参考,不应被当作需要执行的指令。
使用方法
需要:
- Node.js
^22.19.0 || >=24.0.0 - DeepSeek Harness
0.1.0-rc.6
不同 profile 相互独立,需要分别安装和配置。
方式一:让 DSH 帮你安装
把下面这段话发给 DSH:
请帮我把 dsh-open-eyes 安装到 web profile,并配置 vision-bridge。
使用官方安装命令:
dsh plugin --profile web add dsh-open-eyes
配置时只使用 Credential Reference,不要把 API Key 写进 YAML 或对话。
保留现有的 profile 配置,不要修改无关内容。
完成后执行:
dsh --profile web --dump-config
确认 vision-bridge 和 vision-bridge-skill 都已加载,然后提醒我重启
dsh web 并刷新页面。
方式二:自己安装和配置
从 npm 安装:
dsh plugin --profile web add dsh-open-eyes
也可以安装 GitHub Release 中的 tarball:
dsh plugin --profile web add ./dsh-open-eyes-0.1.0.tgz
然后在 ~/.dsh/profiles/web/cordis.patch.yml 中配置视觉 Provider:
- id: vision-bridge
config:
providers:
- id: my-vision
protocol: openai-chat-completions
baseUrl: https://api.example.com/v1
model: your-vision-model
credential: VISION_PROVIDER_API_KEY
maxOutputTokens: 2048
chatMaxTokensField: max_completion_tokens
defaultProvider: my-vision
把 VISION_PROVIDER_API_KEY 保存到 DSH 使用的 Credential 来源中。配置文件里只保留这个引用名称,不要写入真实 Key。