精选
为什么选中它
待人工精选——以下事实来自源码仓库。
它能做什么
DSH plugin: image_describe (识图) tool over the DashScope OpenAI-compatible vision API (qwen3.7-flash). Bring your own DASHSCOPE_API_KEY.
适合谁
想用 DSH 获得这项能力的用户;装前建议先看源码和文档。
风险提示
- 未发现明显风险信号;安装前仍建议查看源码。
DSH plugin: image_describe (识图) tool over the DashScope OpenAI-compatible vision API (qwen3.7-flash). Bring your own DASHSCOPE_API_KEY.
待人工精选——以下事实来自源码仓库。
DSH plugin: image_describe (识图) tool over the DashScope OpenAI-compatible vision API (qwen3.7-flash). Bring your own DASHSCOPE_API_KEY.
想用 DSH 获得这项能力的用户;装前建议先看源码和文档。
dsh plugin --profile web add github:wanshichenguang/dsh-tool-vision 作者没有声明支持的平台。
image_describe(识图) tool. It reads a local image file and asks the DashScope OpenAI-compatible API (qwen3.7-flash) to describe it or answer a focused question. Works in every agent preset: the bundle patch inserts the tool at the host plane, so every session sees it in the tool catalog. ## Install sh dsh plugin --profile web add dsh-tool-vision Restart dsh web (or install it from the Plugin Market with one click). The tool appears as image_describe in the model's tool catalog. ## Paste bridge On the web surface, pasting or dropping an image into the composer while the session's model is text-only (positively confirmed from provider metadata) uploads each draft image to the plugin's host route, releases the draft, and appends [image: <path>] text to the prompt before sending — so the request never trips the host's image admission, and the model can read the file with image_describe. Vision-capable or unknown models keep the native intake (the image attaches inline, unchanged). The uploaded copies live in the harness data home ($DSH_HOME/media, default ~/.dsh/media) under the same naming convention as the harness's own image-to-path conversion. The sent message also renders the images back inside its user row in the transcript: a conversation node matches the [image: <path>] markers in the user message and displays the copies served by the host route while hiding those transport markers from the visual bubble. The stored path text remains unchanged for the text-only model. ## API key The plugin ships no key. Set the key in the environment that starts DSH: DASHSCOPE_API_KEY=sk-xxxx You can also pass it per-row in cordis.patch.yml: yaml - id: tool-vision name: 'dsh-tool-vision' config: apiKey: sk-xxxx Without a key the tool registers normally and fails with VISION_NO_API_KEY on use, naming the fix. ## Tool | Tool | Args | Behavior | |---|---|---| | image_describe | path (string), prompt (string, optional) | Resolves the image (absolute path, or relative to the workspace), sends it as a base64 data URL plus the prompt to POST {baseUrl}/chat/completions, and returns the assistant text. Omitting prompt uses defaultPrompt (a complete content description). | ## Config | Key | Default | Meaning | |---|---|---| | baseUrl | https://dashscope.aliyuncs.com/compatible-mode/v1 | DashScope OpenAI-compatible endpoint. | | apiKey | DASHSCOPE_API_KEY environment variable | DashScope API key; an explicit config value wins over the environment. | | model | qwen3.7-flash | Vision model id. | | defaultPrompt | 请详细描述这张图片的内容:画面主体、关键细节、文字信息(如有)、布局与结构。 | Instruction used when a call omits prompt. | | timeoutMs | 120000 | Cooperative tool-call timeout budget (ms). | | maxImageBytes | 20971520 | Cap on one image's byte size. | | maxOutputChars | 65536 | Cap on the returned description text. | ## Security - No credentials ship with the package; the key stays in your environment or profile config. - The HTTP client sets redirect: 'error': the configured endpoint receives the credential, and a redirect fails the call instead of forwarding the key or the image to another origin. - The image bytes go only to the configured endpoint. ## Known Limitations and Deferred Work - Single provider, single request shape — the tool targets the DashScope OpenAI-compatible endpoint only; a provider-selection seam is deferred until a second vision backend needs the same schema. - No vision-specific permission policy — the tool executes without requesting ctx.approval; a deployment that needs confirmation must add a tools/pre-execute policy. ## License MIT不看 Star,人工一条条挑的。
把 DSH 的 settings.yaml 做成可视化看板:所有已注册的 settings namespace——包括官方界面从未覆盖的第三方插件配置——都渲染成可编辑表单。项目还早,但方向很对:告别手改 YAML。
给 DSH 的 DIY 轨迹可视化:把 agent 的计划与执行画成图,不用翻原始日志也能看清它在干嘛。项目还早,但补上了「一眼看懂 agent 在做什么」这个真实缺口。
从 Claude Code / Codex 把活派给 DSH:在宿主内拉起带分级预设的 DSH agent 会话,看原生子代理进度,还能借它的多模态桥给纯文本的 DSH 补上视觉和生图。编排型插件,把 DSH 变成其他编码 agent 的后端。