DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Plugin Glm Vision — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
P

dsh-plugin-glm-vision

Plugin Glm Vision

Image translation for non-multimodal models via GLM-4V-Flash: intercepts images, generates descriptions, injects as text.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:baldovinmarques391-design/dsh-plugin-glm-vision#bfa2f967cd40c51122ca01c1e6b7f7045d80cd76
READMECompatibilityVersions

Compatibility and provenance

Plugin Glm Vision is published as dsh-plugin-glm-vision and currently resolves to version 2.1.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
any
Release source
github
Registry updated
8/21/2026

Versions

2.1.0stable
8/21/2026

Related plugins

Loading related plugins…

Latest
2.1.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
any
License
MIT
Source
github
GitHub
★ 0
Weekly downloads
0
Last push
8/21/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in vision-media.

Tool Describe Image@linxin666/dsh-tool-describe-imageModel-facing describe_image tool for the dsh web GUI: gives a text-only model image understanding by asking a vision-language model at an OpenAI-compatible endpoint to describe one image (local path, http(s) URL, or attachment reference). Hot-pluggable — Modlens@liustack/modlensPlug-in vision for text-only LLMs, powered by the free Antigravity CLIDeepseek Ivideodeepseek-ivideoiPolloWork HyperFrames Video Studio and 27 editable video templates as a native DeepSeek Harness conversation view.Codexdsh-codexChatGPT OAuth, Codex models, search, read_image URL support, and gpt-image-2 generation for DeepSeek Harness

README

dsh-plugin-glm-vision

给 DSH (DeepSeek Harness) 加上"看图"能力的插件。

即使你用的模型本身不支持图片(比如纯文本的 DeepSeek),装了这个插件后,用户发送的图片会被自动转发给智谱 GLM-4V-Flash 视觉模型,生成的文字描述会注入对话中,让模型"看到"图片内容。

它能做什么

  • 自动图片翻译:用户上传图片 → 插件拦截 → 调用 GLM-4V-Flash 生成描述 → 作为文本发给模型
  • image_query 工具:模型可以主动调用这个工具来分析任意图片(支持多张)
  • 图片缓存:相同图片不会重复请求 API(SHA-256 去重)
  • 多图支持:一条消息里发多张图片,每张都会被分别描述
  • 旧对话兼容:已在进行中的对话也能识别新发的图片

安装

前提条件

  • DSH 已安装且可正常运行
  • pnpm 已安装
  • 智谱 AI 的 API Key(申请地址)

第一步:安装插件

dsh plugin --profile web add git+https://github.com/baldovinmarques391-design/dsh-plugin-glm-vision.git

安装后需要手动将 dsh-plugin-glm-vision 添加到 bundles 列表。编辑 $DSH_HOME/profiles/web/package.json,在 dsh.profile.bundles 数组中加入 "dsh-plugin-glm-vision":

"dsh": {
  "profile": {
    "bundles": [
      "@deepseek-ai/dsh-base",
      "@deepseek-ai/dsh-web-app",
      "dsh-plugin-glm-vision"
    ]
  }
}

第二步:配置 API Key

在 $DSH_HOME/.credentials.yaml 中添加:

GLM_API_KEY: 你的智谱API密钥

第三步:重启 DSH

重启后,控制台应出现以下日志,表示插件加载成功:

dsh-plugin-glm-vision: loaded (model: GLM-4V-Flash, cache: 0 entries).
dsh-plugin-glm-vision: image translation layer active.
dsh-plugin-glm-vision: all modules active.

配置项

插件安装后会自动在 DSH 设置界面中显示配置项。也可通过 cordis.patch.yml 手动配置:

配置项默认值说明
glmApiKeyEnvGLM_API_KEY存放 API Key 的环境变量名
toolTimeoutMs120000image_query 工具超时时间(毫秒)
modelGLM-4.1V-Thinking-Flash使用的 GLM 模型名
autoTranslatetrue是否自动翻译图片
enableTooltrue是否注册 image_query 工具

工作原理

用户发送图片
    ↓
插件拦截消息,提取图片
    ↓
调用 GLM-4V-Flash API 生成图片描述
    ↓
用文字描述替换原始图片
    ↓
模型收到文字描述,正常回复

同时,插件会注册 image_query 工具,模型可以在任何时候主动调用来分析图片。

测试结果

场景结果
单张图片✅ 正确识别并描述
两张图片同时发送✅ 分别描述每张图片
旧对话中发新图片✅ 描述图片 + 保持上下文
纯文本对话✅ 正常工作,不影响
进程稳定性✅ 无崩溃

已知限制

  • GLM-4V-Flash 的 max_tokens 上限为 1024,图片描述可能不够详细
  • 需要对 DSH 内置的 LLM 适配器进行源码级 patch(插件启动时自动处理,但 DSH 更新后 patch 会丢失)

许可证

MIT