@dsh-extension/dsh-vision-bridge
On-demand vision for text-only DSH sessions: images become markers, and a vision_describe tool sends only image + question to an OpenAI-compatible vision model 适合纯文本会话中偶尔需要看图描述的用户,需配置兼容视觉模型
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:sfyyy/dsh-vision-bridgeREADME
Read the full README ↗Configuration
Configure it in Settings → Vision Bridge (DSH Web), or edit ~/.dsh/vision-bridge.json:
{
"enabled": true,
"baseUrl": "https://api.openai.com/v1",
"apiKey": "sk-xxxx",
"apiKeyEnv": "",
"model": "gpt-5.6-terra"
}
baseUrlaccepts an API root, a.../v1base, or a full.../chat/completionsURL (the plugin normalizes it).apiKeyandapiKeyEnvare mutually exclusive. A directly entered key is synced to the DSH credential store and referenced asDSH_VISION_BRIDGE_API_KEY.- The plugin maintains exactly one
vision-bridgeroute inside DSH'sllm-pi-ai.providersand never touches other providers. enabled: falsedisables the whole chain: no tool registration, no image rewriting, no admission bypass (native behavior restored).
Precedence (highest wins): Settings page (with schema defaults) → environment variables → config file.
Environment overrides: DSH_VISION_BRIDGE_BASE_URL, DSH_VISION_BRIDGE_API_KEY, DSH_VISION_BRIDGE_API_KEY_ENV, DSH_VISION_BRIDGE_MODEL, DSH_VISION_BRIDGE_ENABLED.