dsh-vision:让文本模型在 DSH 中处理带图请求

dsh-vision 是一个 DSH 插件,旨在解决 DeepSeek V4 Flash/Pro 等文本模型无法直接处理图片的问题。当请求包含图片且目标模型不支持视觉输入时,该插件自动调用视觉模型或系统 OCR 对图片进行描述,并将 provider 调用中的图片块替换为文本描述,确保模型能继续处理上下文。会话日志和 UI 界面仍保留原始图片。 插件提供 Auto 和指定模型两种模式。Auto 模式按顺序尝试已声明视觉能力的模型,失败则回退至系统 OCR(macOS 用 Vision,Windows 用 Media.Ocr,其他平台需 Tesseract)。指定模式仅使用配置模型,失败不重试。

Read More
dsh-image-reader:为 DeepSeek Harness 智能体提供 read_image 图片读取工具

`dsh-image-reader` 是一个 MIT 许可证的 DeepSeek Harness 插件,旨在为仅支持文本的智能体提供图片读取能力。该插件通过暴露 `read_image` 工具,允许智能体利用任意 OpenAI-compatible vision endpoint 解析工作区内的截图、图表或照片,并基于图像内容回答问题。 核心特性包括:支持传入图片路径及可选查询问题;配置灵活,涵盖 `baseUrl`、`model`、超时时间及允许目录等;安全机制完善,API key 从环境变量动态读取,路径经 `realpath` 解析以阻止符号链接绕过,且上传前进行大小与扩展名检查。 使用

Read More
dsh-xiapan-media: Adding Vision, Image Generation, and Video Generation to DeepSeek Harness

`dsh-xiapan-media` is a client plugin for DeepSeek Harness (DSH), designed to integrate visual understanding, image generation, and video generation capabilities into existing text conversations by connecting to the Xiapan cloud service. Maintained by `dongsheng123132` under the MIT license, the plugin requires Node.js >=22.19.0. Its core features include: leveraging the `xiapan-vision` route for image understanding and OCR, supporting direct image paste with backend translation into text; performing image generation and modification via the `gpt-image-2` model; and calling the Seedance service to generate 5-15 second videos. The plugin supports standalone installation via `cordis.patch.yml` or

Read More