dsh-open-eyes
A lightweight DeepSeek Harness vision delegation tool for text-only routes, with native OpenAI Responses, Chat Completions, and Anthropic Messages adapters.
AI 分析
核心用途是让不支持视觉的文本模型通过委派方式处理图片。适合需要多模态能力但主模型仅支持文本的任务。必要条件是 Node.js >=22.19.0。
インストール
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Hyp6666/dsh-open-eyesドキュメント
README 全文を読む ↗Usage
Requirements:
- Node.js
>=22.19.0 - DeepSeek Harness
0.1.0-rc.6
DSH profiles are independent. Install and configure the plugin separately in each profile where it is needed.
Option 1: ask another harness to install it
Any harness with Shell access and permission to manage local DSH profiles can perform the installation. Prefer a harness other than the DSH instance being modified: installing or updating the active DSH profile may require a restart and interrupt the current DSH task. If the harness cannot run local commands or edit the profile, use the manual steps below instead.
Give the other harness this prompt:
Install dsh-open-eyes in my local DeepSeek Harness web profile and configure
vision-bridge.
Use the DeepSeek Harness plugin command:
dsh plugin --profile web add dsh-open-eyes
Use only a Credential Reference in the configuration. Do not put an API key
in YAML or in the conversation. Preserve the existing profile configuration
and do not change unrelated rows.
When finished, run:
dsh --profile web --dump-config
Confirm that vision-bridge and vision-bridge-skill are loaded, then remind me
to restart dsh web and reload the page. If changing the active profile would
interrupt this task, stop after verification and let me restart it myself.
Option 2: install it yourself
Install from npm:
dsh plugin --profile web add dsh-open-eyes
You can also install the tarball attached to a GitHub Release:
dsh plugin --profile web add ./dsh-open-eyes-0.1.0.tgz
Catalog inclusion is not required for either command: DSH installs the published npm package directly into the selected profile. To use the tool in a headless profile, replace web with headless. Profiles remain independent.
Configuration
Configure a vision provider in ~/.dsh/profiles/web/cordis.patch.yml:
- id: vision-bridge
config:
providers:
- id: my-vision
protocol: openai-chat-completions
baseUrl: https://api.example.com/v1
model: your-vision-model
credential: VISION_PROVIDER_API_KEY
maxOutputTokens: 2048
chatMaxTokensField: max_completion_tokens
defaultProvider: my-vision
Store VISION_PROVIDER_API_KEY in the Credential source used by DSH. Keep only this reference name in the configuration file; do not put the real key there.
Available protocols:
protocol | Default authentication | Notes |
|---|---|---|
openai-responses | Bearer | OpenAI Responses API |
openai-chat-completions | Bearer | Chat Completions API |
anthropic-messages | x-api-key | maxOutputTokens is required |
Check the configuration:
dsh --profile web --dump-config
After installing or updating the plugin, restart DSH Web and reload the page.