DeepSeek Harness Plugin

314857493/dsh-vision#vision-route

Stars ★ 1 Category Vision & Multimodal Added 2026-08-17 npm dsh-vision-proxy-route

Registers a `deepseek-vision` provider route: the Web GUI accepts pasted images and transcribes them to text via the free Zhipu GLM vision API before delegating to the DeepSeek adapter.

Install

# from npm (prebuilt)

dsh plugin --profile web add dsh-vision-proxy-route

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:314857493/dsh-vision#path:/packages/vision-route

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time. Only install sources you trust, and pin a commit (github:owner/repo#sha).

README

给 DeepSeek Harness(DSH)注册一个 deepseek-vision 路由:声明图像输入(inputModalities: ['text','image']), 粘贴到 Web GUI 的图片在请求流里被免费的智谱 GLM 视觉模型(glm-4v-flash 降级链)转译成文字,再委派给真正的 DeepSeek 适配器。完整说明见仓库根目录的 README

安装(发布后)

dsh plugin --profile web add dsh-vision-proxy-route

或在 profile 的 cordis.patch.yml 中追加:

- insert:
    - id: dsh-vision-proxy-route
      name: dsh-vision-proxy-route

前提

  • DSH 0.1.0-rc.5 / rc.6(依赖 ctx.llm.registerAdapter / registration(provider).adapter / resolveModel.inputModalities / ctx.attachments.readImage 这些插件缝)
  • 智谱 GLM 免费 key:环境变量 GLM_API_KEYZHIPU_API_KEY(Windows 也可 setx GLM_API_KEY "id.secret",插件自动读注册表)

使用

模型选择器切到「DeepSeek + 自动识图」,直接粘贴图片/截图并附带问题即可;转译失败会替换为 [图片转译失败: ...] 文本,对话不卡死。

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →