Anionex/dsh-vision-toolkit ↗★ 550
@anionex/dsh-vision-toolkit
DeepSeek Harness-native integration for agent-vision-toolkit: image Q&A, OCR, grounding, UI restoration, pixel diff, Artifacts, and Web UI.
AI 分析
核心用途是为非多模态主模型提供外置的视觉理解能力。适合需要处理图片、识别文字或进行 UI 验收的任务。内置免费共享服务,开箱即用。
インストール
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Anionex/dsh-vision-toolkitドキュメント
README 全文を読む ↗Configuration and limits
Built-in free service
The default setup uses:
Base URL: https://vision.anionex.me/v1
Model: gemini-3.7-flash
API Key: https://agent-vision.anionex.me (filled automatically)
Requests that still use the previous qwen/qwen3.6-27b model name remain compatible and are routed to the Qwen backend.
This is a shared zero-configuration entry point, not an unlimited private endpoint. Request safeguards include:
| Limit | Current value |
|---|---|
| Images per request | Up to 5 |
| Image size | 4 MiB per image |
| Decoded pixels | 20,000,000 per image |
| Output | Up to 4,096 tokens per request |
These safeguards prevent unusually large requests from monopolizing memory or request time. When shared capacity is reached, the service returns a readable 429 response with Retry-After instead of collapsing into an unexplained model failure.
Existing clients that still send api_key="free" remain compatible.
Bring your own vision model
For higher quotas, private endpoints, or another model, change the provider in Settings → Vision Toolkit and store the API key as a DSH Credential. Settings stores the Credential reference and never reads the saved secret back into the browser.
Step-by-step Groq tutorial: Get a free Groq API key and use Qwen3.6-27B for image understanding. It includes screenshots for account/API-key setup, the exact Vision Toolkit settings, and working cURL and Python examples.
You can also configure a Profile patch:
- id: vision-toolkit
config:
provider:
baseUrl: https://api.example.com/v1
credential: MY_VISION_KEY
model: your-vision-model
protocol: openai
OpenAI Chat Completions-compatible endpoints and Anthropic Messages are supported. The Web Settings panel exposes the full provider, runtime, timeout, image-limit, and image-input-variant configuration.
Requirements
- A DeepSeek Harness Web or Headless Profile.
- Node.js
^22.19.0or>=24.0.0. - Python 3.11+; the plugin prepares an isolated environment by default.
- Only
vision_html_screenshotrequires Chrome, Chromium, or Edge. - Inputs must be PNG, JPEG, GIF, or WebP files in the session workspace or an explicitly allowed directory.
Install, upgrade, disable, and uninstall
dsh plugin --profile web update @anionex/dsh-vision-toolkit
dsh plugin --profile web remove @anionex/dsh-vision-toolkit
If you are migrating from the retired @dsh-external/dsh-vision-toolkit, remove the old package first and install @anionex/dsh-vision-toolkit.
To disable the bundle temporarily, set this in the Profile patch:
- id: vision-toolkit
disabled: true
Restart the Web Profile and refresh the page after enabling or upgrading the Web plugin.
Plugin updates
In Settings → Vision Toolkit, Check for updates queries the Profile's npm registry. For a direct registry installation, Update and restart installs only the exact version you confirmed, verifies it, and restarts an explicitly opted-in POSIX Web process on a fixed --port. Local/workspace/file/git/URL installs, Windows, dynamic ports, read-only Profiles, and manager-owned processes remain check-only.
The updater revalidates the Profile before mutation, snapshots the original manifest and lockfile, and holds a token-owned cross-process lock. The current Web process exits only after the restart helper confirms that the backup is readable and the lock handoff succeeded. When the Profile was already operational, the replacement must report both the target plugin version and a ready runtime; failed replacements restore the original manifest/lockfile and rebuild dependencies with a frozen lockfile before retrying the previous exact version. If automatic recovery itself fails, the backup and lock are preserved and their paths are written to $DSH_HOME/logs/vision-toolkit-restart.log. Detached restart requires DSH_VISION_TOOLKIT_ALLOW_DETACHED_RESTART=1; unsaved Settings or API-key input blocks installation.