caipanjin/dsh-image-bridge ↗★ 0

dsh-image-bridge

Read images through a dedicated vision subagent whose model is configured independently of the main agent. · 通过独立的识图子智能体识别图片,子智能体模型可单独配置。

套件
dsh-image-bridge
相容性
待驗證
Harness 依賴範圍
>=0.2.0 <0.3.0-0
Cordis 依賴範圍
^4.0.2
版本
0.2.2
授權
MIT
最近更新
2026年11月7日

同名套件的其他儲存庫

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:caipanjin/dsh-image-bridge

Configuration

Set these in the profile's cordis.patch.yml entry vision-bridge, or edit the *-marked fields live from the Settings UI.

FieldDefaultMeaning
provider(required)Child model provider id, e.g. openai, anthropic, deepseek.
model(required)Child vision model id on that provider, e.g. gpt-4o-mini, qwen-vl-max.
reasoningEffort*''Child-route reasoning effort id; empty uses the model default.
maxTokens*4096Output cap per child call.
subagentProviderspawnBackend on ctx.subagents; spawn ships with dsh base.
subagentLabelvisionLabel shown for each vision child.
toolNamerecognize_imageModel-facing tool name.
maxDepth1Absolute delegation-depth cap; a child of the main agent is depth 1, so 1 admits the vision child but denies it grandchildren.
timeoutMs180000Per-call timeout.
systemPrompt*''Replace the child's built-in analyst instruction.
guideline*trueAdd the "call this tool for images" prompt line.

The bundled cordis.patch.yml leaves provider/model empty on purpose — you must fill them in with a route in your profile that accepts image input. The plugin refuses to run until both are set, and reports a clear error if a call is attempted while they are still empty.