DeepSeek Harness 插件

dsh-eye-vision

dsh-eye-vision: give text-only DeepSeek Harness models eyes — image understanding via any OpenAI-compatible multimodal API. Fork of dsh-free-vision with custom-provider fixes and an(英文原文)

跳到安装方式

来源信息

GitHub 仓库
AlloyPlane/dsh-eye-vision
最近更新
2026年8月17日
分类
模型与服务商
GitHub stars
1
载体类型
plugin
目录证据
上游声明已找到 dsh.bundle
证据路径
package.json#dsh.bundle
核对版本
0.1.0-rc.8
上游核对日期
2026-08-20

该证据由上游目录提供。本站没有安装、运行或安全审核这个插件。

安装

默认先复制一段 Prompt,让 Agent 读 GitHub 仓库和源码;需要自己装时再切到命令。

复制这段 Prompt,发给 DSH、Codex 或其他 Agent,让它先读 GitHub 仓库和源码。

请先不要安装或执行任何命令。阅读这个插件的 GitHub 仓库、README 和关键源码,然后用清楚、直接的方式回答以下问题,帮助我判断它是否适合我的需求:

1. 这个插件是什么,解决什么问题;
2. 适合哪些用户和典型使用场景;
3. 安装后如何使用,并给出一个最小使用示例;
4. 有哪些已知限制,以及隐私、安全、兼容性或维护风险;
5. 给出“推荐 / 有条件推荐 / 不推荐”的明确建议和理由。

请区分仓库明确说明、根据源码推断和未知信息。证据不足时请明确说明,不要猜测或照抄 README。

GitHub:https://github.com/AlloyPlane/dsh-eye-vision
插件名:dsh-eye-vision
作者:AlloyPlane

检查来源文件

安装前先看这个插件目录里的 README 和其他文件。

文件资源管理器3 个文件
README.md来源说明 · 只读预览

dsh-eye-vision

Give text-only DeepSeek Harness models eyes — image understanding, OCR, and UI analysis through any OpenAI-compatible multimodal API.

Fork of dsh-free-vision (MIT) v1.0.1, with:

  • custom-provider fixCUSTOM_MODEL_NAME is now forwarded, so arbitrary OpenAI-compatible endpoints (GPT-4o, Qwen-VL, GLM-4V, youtu-vita, vLLM, Ollama…) actually start
  • allowed-directories whitelist — the vision engine can read images from your configured workspace roots, not just the engine CWD and home directory

How it works

You send an image path
  → agent calls the image_understand tool
    → plugin spawns the luma-mcp vision engine (child process)
      → engine calls your multimodal API
        → text description comes back to the text-only model

The main model never needs image input support. Paste the image path, get answers.

Features

  • image_understand tool registered on ctx.tools, visible to every session in the profile
  • Any OpenAI-compatible endpoint via custom provider — bring your own multimodal API
  • Free-tier providers built in: qwen (Qwen3-VL-Flash), volcengine (Doubao), siliconflow (DeepSeek-OCR)
  • Multi-crop for large images (detail preservation)
  • Allowed-directories whitelist (LUMA_ALLOWED_DIRS) — read images from your workspace
  • Proxy vars stripped for direct mainland-China API access
  • Live settings — save via the settings route, no restart needed

Installation

# from a local checkout
dsh plugin --profile web add D:/xd/dsh-eye-vision

# once published
dsh plugin --profile web add dsh-eye-vision

Restart dsh web. The tool appears as image_understand.

Configuration

Settings file: ~/.dsh/free-vision.json (same path as upstream for drop-in compatibility):

{
  "modelProvider": "custom",
  "baseURLs": { "custom": "https://your-api.example.com/v1" },
  "modelName": "your-vision-model",
  "apiKey": "sk-...",
  "allowedDirs": "D:/workspace",
  "toolName": "image_understand"
}

Or use environment variables (fallback chain: settings file > env):

ProviderKey envBase URL env
customCUSTOM_API_KEYCUSTOM_BASE_URL + CUSTOM_MODEL_NAME
qwenDASHSCOPE_API_KEYQWEN_BASE_URL
volcengineVOLCENGINE_API_KEYVOLCENGINE_BASE_URL
siliconflowSILICONFLOW_API_KEYSILICONFLOW_BASE_URL
zhipuZHIPU_API_KEYZHIPU_BASE_URL
hunyuanHUNYUAN_API_KEYHUNYUAN_BASE_URL

allowedDirs: semicolon/comma-separated extra roots the engine may read images from (default: engine CWD + home directory).

Usage

看图:D:/path/to/screenshot.png
OCR:D:/path/to/document.png
UI 分析:D:/path/to/design.png (task_type: ui)

Tool arguments: image_source (local path / http(s) URL / data URI), prompt, task_type (auto|general|ocr|ui|debug|describe). PNG/JPG/WebP/GIF up to ~10 MB.

Security

  • API keys live only in the settings file or environment variables — never in this repo
  • Images are sent only to the endpoint you configured
  • Proxy environment variables are deliberately stripped from the engine child process
  • A gitguard-style pre-push scan is recommended before publishing forks

Development

cd dsh-eye-vision
pnpm install   # installs luma-mcp engine + MCP SDK
pnpm test

The engine patches in scripts/patch-luma.mjs re-apply automatically on install (idempotent, pinned to luma-mcp 1.7.1).

License

MIT — see [LICENSE](LICENSE). Upstream: dsh-free-vision (MIT) by FuzzySoul.