qing9835/dsh-eyes 预览 preview

qing9835/dsh-eyes

DSH 视觉模型插件:为无视觉能力的文本模型提供图片识别。粘贴/拖入/导入的图片自动交给 OpenAI 兼容视觉模型识别为文字并发送进对话,支持多轮复核(vision_ask)、多提供商配置。

Project Overview项目介绍

dsh-eyes is a DSH plugin that adds external vision capability to DeepSeek Harness's text-only chat interface. It intercepts pasted, dragged, or imported images, sends them to an OpenAI-compatible vision model (e.g., GLM-4.6V, Qwen-VL) for recognition, and automatically posts the text result into the conversation. When recognition is unsatisfactory, the main model can autonomously ask follow-up questions via the vision_ask tool. Use it when image understanding or local file recognition (e.g., PDF-rendered charts) is needed. Note: you must configure your own API key on first use.

dsh-eyes 为 DeepSeek Harness 纯文本聊天界面添加外置视觉能力。它拦截粘贴、拖入或导入的图片,交由 OpenAI 兼容视觉模型(如 GLM-4.6V、Qwen-VL)识别为文字后自动发送进对话。当识别不理想时,主模型可通过 vision_ask 工具自主追问细节。适用于需要图片理解或本地文件(如 PDF 图表)识别的场景。注意:首次使用需自行配置 API Key。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

npx @deepseek-ai/dsh plugin --profile web add github:qing9835/dsh-eyes#v0.4.0

把 qing9835/dsh-eyes 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-eyes 👁️

给 DeepSeek Harness 的纯文本聊天装上一双外置"眼睛": 粘贴 / 拖入 / 导入的图片被插件拦截,交给 OpenAI 兼容视觉模型识别成文字,自动发送进对话。

dsh-eyes 集成界面
同时上传 6 张图片,回车即可识别并自动发送进对话

功能

  • 图片拦截可开关(默认开启):开启时拦截后显示缩略图、不进输入框,回车识别并自动发送(一次最多 9 张)
  • 关闭拦截后,图片正常进入输入框、随消息直接发送给多模态模型(实时生效,选择会被记住)
  • 输入框写了要求时,把【我的要求 + 识别结果】一起发给主模型
  • 主模型用 vision_ask 工具自行判断是否追问,逐轮修正细节
  • vision_ask 支持 paths 参数直读本地图片文件(PDF 渲染图、网页截图等)
  • 内置 OpenCode / ModelScope 预设,也可添加任意 OpenAI 兼容模型;保存直接生效,「测试连接」为独立按钮,Key 持久化

安装

# npx(本机未装 DSH 也可用)
npx @deepseek-ai/dsh plugin --profile web add github:qing9835/dsh-eyes#v0.4.0

# 或本机已装 DSH
dsh plugin --profile web add github:qing9835/dsh-eyes#v0.4.0

装完重启 DSH,再强制刷新浏览器页面(Ctrl+Shift+R)。首次使用请在「配置」弹窗填写 API Key。

卸载:dsh plugin --profile web remove dsh-vision-bridge(包名,非仓库名)

适配

版本 DSH
v0.4.0 ≥ v0.1.2-alpha.1(新增图片拦截开关)
v0.3.0 ≥ v0.1.2-alpha.1(Lexical 输入框)
v0.1.0 < v0.1.2(textarea)

数据存放于 <DSH 进程目录>/.vision-images/(图片、会话历史、配置/密钥)。

开发

  • index.js:Host 半体(路由、vision_ask 工具、提示词段)
  • client.js:浏览器 bundle(手构建,无构建链;协议见文件头注释)

MIT License

← 上一个 Prev better-crawler4agent 下一个 Next dsh-web-search-ollama →