DeepSeek Harness plugin

auto-vision

DSH(DeepSeek Harness)图片一体化插件:粘贴图片只进对话不进模型请求(llm/stream 清洗),并注册 see_image 工具让文本模型通过任意 OpenAI 兼容视觉 API 按需看图

Jump to install

Source facts

Repository
h-k-c/auto-vision
Latest update
Aug 15, 2026
Category
Tools & Capabilities
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/h-k-c/auto-vision
Plugin: auto-vision
Author: h-k-c

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer3 files
README.mdSource · read only

<p align="center"> <img src="assets/hero.svg" width="100%" alt="auto-vision" /> </p>

<h1 align="center">auto-vision</h1>

<p align="center"> 贴图不会让对话报错,图片在<b>聊天窗口里正常显示</b>; <br/> 模型<b>自动判断</b>是否需要看图,需要时自己调用视觉模型读取内容 —— <b>免费</b>,支持智谱 / 魔搭社区的免费视觉模型,也支持你自己的任意 OpenAI 兼容平台。 </p>

<p align="center"> <img src="https://img.shields.io/badge/license-MIT-34D399?style=flat" alt="MIT"/> <img src="https://img.shields.io/badge/node-%3E%3D18-9CA3AF?style=flat" alt="Node >= 18"/> </p>

---

演示

录制于 DeepSeek Harness Web 界面:粘贴图片 → 对话正常继续 → 模型自动调用视觉模型读取图片内容。

![使用演示](assets/demo.gif)

安装

1. 把本目录拷到 DSH profile 的 node_modules 下(如 ~/.dsh/profiles/web/node_modules/auto-vision/)。 2. 在 profile 的 cordis.patch.yml 中插入:

``yaml - insert: - id: auto-vision name: auto-vision ``

3. 配置 Token(见下),重启 DSH 进程。

配置 Token

视觉平台环境变量免费模型
智谱 BigModelZHIPU_API_KEYGLM-4V-Flash(免费)
魔搭 ModelScopeMODELSCOPE_API_KEYQwen3-VL(免费额度)
其他任意 OpenAI 兼容平台VISION_API_KEY + VISION_ENDPOINT + VISION_MODEL你平台的模型

也可以把 Token 写进 ~/.dsh/.credentials.yaml(同名键),效果一样。

export ZHIPU_API_KEY=xxx          # 用智谱
export MODELSCOPE_API_KEY=xxx     # 用魔搭

切换视觉源

默认魔搭;想用智谱免费档,二选一:

export VISION_PROVIDER=zhipu      # 环境变量方式
# 或写在插件 config 里
- id: auto-vision
  name: auto-vision
  config:
    provider: zhipu

自己的平台(例如本地 Ollama)直接指定端点:

  config:
    endpoint: http://127.0.0.1:11434/v1/chat/completions
    models: [qwen2.5-vl:7b]

License

[MIT](LICENSE) · [Changelog](CHANGELOG.md)