插件目录 / Developer / dsh-plugin-vision-toolkit
dsh-plugin-vision-toolkit
已验证 · 实测可装 YYTbit
功能简介
dsh-plugin-vision-toolkit — DSH 插件(模型)
可用 — 实测通过,早期项目
dsh-plugin-vision-toolkit — DSH 插件(模型) 实测能干净安装、正常启动。早期项目,但功能可用。
「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
dsh-plugin-vision-toolkit
Vision toolkit for DeepSeek Harness -- give text-only agents the ability to see images.
What it does
Provides CLI tools that call a vision API (DeepSeek VL, GPT-4V, or any OpenAI-compatible endpoint) to describe, locate, detect, and crop elements from images. Registered as a dsh skill so agents know when and how to use them.
Tools
glance-- describe, ask about, or OCR an imageground-- locate a specific element (returns bounding box)detect-- find all instances of an element kindcrop-- cut a region from an image
Install
dsh plugin --profile your-profile add dsh-plugin-vision-toolkit
Configuration
Set environment variables:
export VISION_API_KEY=sk-xxx # Vision API key (falls back to DEEPSEEK_API_KEY)
export VISION_BASE_URL=https://... # API endpoint (falls back to DEEPSEEK_BASE_URL)
export VISION_MODEL=deepseek-vl2 # Vision model name
Usage examples
# Describe an image
glance screenshot.png
# Ask a question
glance screenshot.png -q "What error is shown?"
# OCR
glance screenshot.png --ocr
# Find a button
ground screenshot.png "the login button"
# Output: 450,820,620,870
# Find all buttons
detect screenshot.png "buttons"
# Crop a region
crop screenshot.png 450,820,620,870 button.png
How it works
The plugin registers a skill in the system prompt that teaches the agent about the vision tools. When the agent encounters an image (user pastes one, references a screenshot, etc.), it calls the appropriate CLI tool which:
- Reads the image file
- Encodes it as base64
- Sends it to the vision API with a prompt
- Returns the text response
The agent never sees raw pixels -- it gets text descriptions it can reason about.
Supported vision providers
- DeepSeek VL (deepseek-vl2, deepseek-vl2.5)
- OpenAI GPT-4V / GPT-4o
- Any OpenAI-compatible multimodal endpoint
License
MIT -- YYTbit
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh-plugin-vision-toolkit」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
Web profile:
dsh plugin --profile web add dsh-plugin-vision-toolkit Headless(CLI)profile:
dsh plugin --profile headless add dsh-plugin-vision-toolkit 包信息
npm:dsh-plugin-vision-toolkit · 版本 0.1.0 · 实测环境 dsh 0.1.0-rc.6
实测报告
端到端验证通过:dsh 0.1.0-rc.6 上 L1 安装 + L2 加载 + L3 运行问答。
使用场景
扩展 agent 的编码能力面——给它一个新工具、工作流或集成,让它接手以前做不了的开发任务。
适合谁
想让 dsh 在真实代码库上像队友一样干活的开发者——能改、能跑、能验证,而不只是回答问题。
二次开发建议
工具/命令面就是缝:暴露更多 SDK 能力、加更聪明的上下文接线,或收紧改代码与验证之间的循环。