Skip to content

Releases: NormanFxxkingRockwell/dsh-auto-vision

dsh-auto-vision v0.2.1

Choose a tag to compare

@NormanFxxkingRockwell NormanFxxkingRockwell released this 18 Aug 08:28

v0.2.1 —— README 与实际功能对齐

修正 v0.2.0 文档中与实际不符的部分:

  • 真相说明:dsh 官方在「消息准入层」硬编码拒绝纯文本模型携带图片(MODEL_DOES_NOT_SUPPORT_IMAGES,在任何插件钩子之前,无扩展点),因此 GUI 直接粘贴图片当前无法自动读
  • README 已如实更新:粘贴图片转述标记为「实验性(受宿主限制)」,代码已实现、待官方开放准入后自动生效;可用路径为「文件路径读图」——全自动。
  • transcribeImages 配置项同样标注实验性。

当前真实可用的能力

  • vision 工具:文件路径读图,自动发现/指定多模态模型,纯文本返回
  • read_image 自动隐藏:纯文本主模型会话藏掉必失败的 read_image,强制走 vision;切多模态模型自动恢复(动态跟随)
  • 启动预检、零 npm 依赖

安装

dsh plugin --profile <profile名> add dsh-auto-vision

完整说明见 README

dsh-auto-vision v0.2.0

Choose a tag to compare

@NormanFxxkingRockwell NormanFxxkingRockwell released this 18 Aug 08:01

v0.2.0 —— 任何来图方式都自动读(闭环版)

在上一个版本(vision 工具 + 自动发现)基础上,打通了最后两个场景:

本版新增

  • 粘贴图片自动转述:图片直接拖进/粘进对话框发送,会在进入模型前被自动转述成文字(【图片转述】开头),主模型只看到文本
  • 自动隐藏 read_image:纯文本主模型会话自动藏掉必然失败的 read_image,模型只能走 vision(不再"先撞一次失败");切到多模态模型时自动恢复原生 read_image,互不干扰
  • 新的可选配置:autoHideReadImage(默认开)、transcribeImages(默认开)

实现要点

  • 全部走宿主官方扩展点(agent/pre-step 消息替换 + agent/created/agent/request 动态路由感知),零 patch、零宿主改动,卸载即还原
  • 转述结果按附件缓存,重复图片不重复调模型
  • 判定失败、转述失败均失败开放(fail-open),不会误伤原生能力

安装

dsh plugin --profile <profile名> add dsh-auto-vision   # npm
dsh plugin --profile <profile名> add github:NormanFxxkingRockwell/dsh-auto-vision  # GitHub 源码
dsh plugin --profile <profile名> add ./dsh-auto-vision-0.2.0.tgz  # 本 Release tarball

完整用法见 README

dsh-auto-vision v0.1.0

Choose a tag to compare

@NormanFxxkingRockwell NormanFxxkingRockwell released this 17 Aug 12:29

v0.1.0 首发

给 DeepSeek Harness 纯文本主模型装上 vision 工具:自动发现你已配置的多模态模型,图片识别结果以纯文本返回,零配置。

功能

  • 自动发现:启动时从已配置模型里自动挑选第一个声明 image 模态的模型(也可手动指定)
  • vision 工具:主模型无法用 read_image 时调用本工具读图,返回纯文本描述
  • 零污染:图片块只存在于插件内部请求,绝不进入主会话上下文
  • 挂载期预检:模型不支持图片 / 自动发现落空时,启动即报错并给出修复指引

安装

# npm(推荐)
dsh plugin --profile <profile名> add dsh-auto-vision

# GitHub 源码
dsh plugin --profile <profile名> add github:NormanFxxkingRockwell/dsh-auto-vision

# 本 Release 的 tarball
dsh plugin --profile <profile名> add ./dsh-auto-vision-0.1.0.tgz

附注

完整用法见 README