← 返回列表
D

dsh-vision-free-eyes

v0.1.0 · 1 天前发布

DeepSeek Harness plugin: a model-facing `vision` tool that describes and OCRs image files by calling the free Zhipu GLM vision API directly (no external CLI required).

dshdeepseekdeepseek-harnessplugindsh-pluginvisionimageglmzhipuocr

README

dsh-vision-free-eyes — 免费识图 vision 工具(vision-tool 包)

给 DeepSeek Harness(DSH)的纯文本模型补上免费「眼睛」:一个模型可调用的 vision(image, question) 工具,
直连智谱 GLM 免费视觉 API(glm-4v-flash → glm-4.6v-flash → glm-4.1v-thinking-flash 自动降级链),
不依赖任何外部 CLI。完整说明见仓库根目录的 README

安装(发布后)

sh
dsh plugin --profile web add dsh-vision-free-eyes

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

yaml
  • insert:

  • - id: dsh-vision-free-eyes
    name: dsh-vision-free-eyes

    前提

  • 必须:智谱 GLM 免费 key,环境变量 GLM_API_KEYZHIPU_API_KEY

  • open.bigmodel.cn 注册即得,格式 id.secret;Windows 也可 setx,插件自动读注册表)。
  • 出站 HTTPS 到 open.bigmodel.cn
  • 使用

    告诉模型图片路径即可,例如:"看一下 D:\xxx\screenshot.png"。
    可选参数:mode="ocr"(只提取图中文字)、no_cache=true(跳过进程内结果缓存)。
    输出为图片内容的文字描述,末尾带 `[glm | 耗时

    查看完整 README →

    版本兼容矩阵

    DSH 版本状态说明
    dsh@0.1.0-rc.6 ✅ 兼容 cordis patch ✅
    dsh@0.1.0 ✅ 兼容 标准 patch ✅
    dsh@0.2.0 ⚠️ 待验证 待实测(API 可能在变)
    dsh@0.3.0+ ❓ 未知 尚未发布

    💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正

    元数据

    License
    MIT
    npm
    dsh-vision-free-eyes
    Repo
    git+https://github.com/314857493/dsh-vision.git
    Engines
    {"node":">=22"}
    Weekly DL
    0
    Monthly DL
    0
    dsh.bundle
    {"bundle":{"patch":"./cordis.patch.yml"}}