DeepSeek Harness Plugin

balue8246-maker/dseyesopen

Category Vision & Multimodal Added 2026-08-19

Vision bridge for text-only DeepSeek: send images (alone or mixed with text) and a fast tiny vision model describes them behind the scenes — the chat keeps the picture, DeepSeek sees only text. Pure plugin: uninstall restores everything.

Install

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:balue8246-maker/dseyesopen

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

This plugin publishes its README in Chinese only.

无感、自动、快速、真插件——仿佛 DeepSeek 真能看图了。

  • 挂 DeepSeek(无识图能力)照样发图:单独发、图文混发都行
  • 图片自动交给快速小识图模型(glm-4.6v-flashx,识一张约 0.001 元)后台描述
  • 描述不进对话框:对话框里你发的图原样还在,后台 DeepSeek 处理的是转成的文字描述
  • 真插件:拔掉即恢复原样,不留痕迹

安装

dsh plugin --profile web add file:/path/to/dseyesopen

重启 dsh web

配置 API Key(3 步,2 分钟)

  1. 打开 open.bigmodel.cn,手机号/微信注册
  2. 控制台 → API 密钥 → 创建新密钥 → 复制
  3. dsh → 模型设置页Zhipu GLM Vision → 粘贴密钥

glm-4.6v-flashx 是极低价付费档,账号里充几块钱就够用很久(如遇高峰限流,免费档 glm-4.6v-flash 可作备选)。密钥也可以放进环境变量 ZHIPU_API_KEY

粘贴截图:Cmd+V 直接成图

dsh 原生 composer 本身支持图片粘贴成真附件(无需 modlens / 无需 patch 配置)。 与 dsDragPasteALL 同时安装时,需使用其 1.0.1+ 版本: 1.0.0 会在 document 捕获阶段劫持所有"带文件"的粘贴(包括截图), 导致 Cmd+V 只插入路径文本、不再成为图片附件。 1.0.1 起纯图片粘贴(截图/复制的图片)一律放行给 dsh 原生流程成图, 本插件据此自动识别;只有非图片文件粘贴才走 dragpasteall 路径反查。

工作原理

用户发图(单独/混发)
  → 服务端图片预检:dseyesopen 运行时包装 deepseek adapter 的 resolveModel,
    声明 image 输入模态 → 放行(纯内存包装,不写任何 dsh 文件)
  → llm/stream 瀑布:拦下发往 deepseek-official 且含图片的调用
  → image 块交给 glm-4.6v-flash 识别 → 原地替换为文字描述
  → DeepSeek 收到纯文字,会话历史与 UI 保持"用户发了图片"原样

识别结果按 attachmentId+上下文缓存;识别失败注入降级文字,回合不崩溃。

卸载

dsh plugin --profile web remove dseyesopen

拔掉即恢复原样:

  • adapter 包装随插件 fiber 消失(内存态,无文件残留)
  • 自动写入的 zhipu-vision settings 条目由 disposer 清理

诊断

对话中可调用工具:

  • dseyesopen_status — 查看凭证配置、路由、输入模态、缓存状态
  • dseyesopen_selfcheck — 端到端自检:给一个本地图片路径,真实跑一次识别

注意

  • 识图模型默认 zhipu-vision / glm-4.6v-flashx(极低价付费档,OCR/截图/图表强;免费档 glm-4.6v-flash 作备选)
  • 付费档稳定性好;若临时换回免费档,高峰时段偶有 429 限流,失败会降级为文字提示,不影响对话
  • dsh 升级后图片预检包装会自动重建(监听 adapter 更新事件),无需手动维护

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.