DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Tool Accurate Vision — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
T

dsh-tool-accurate-vision

Tool Accurate Vision

面向模型的 accurate_vision 工具:通过视觉模型进行精确的图像空间推理

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:imkingjh999/dsh-tool-accurate-vision#d6b117506175c210e1774a1a1cb94283e6be3b02
README兼容性版本

兼容性与来源证明

Tool Accurate Vision 以 dsh-tool-accurate-vision 发布,当前版本为 0.1.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
github
Registry 更新时间
2026/9/20

版本

0.1.0stable
2026/8/24

相关插件

正在加载相关插件…

最新版
0.1.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
any
许可证
MIT
发布源
github
GitHub
★ 0
周下载
80
最近提交
2026/8/23
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 vision-media 分类下经过校验的插件。

Tool Describe Image@linxin666/dsh-tool-describe-image面向模型的 describe_image 工具,用于 dsh Web GUI:通过在兼容 OpenAI 的端点调用视觉语言模型,为文本模型提供图像理解能力,以描述一张图像(本地路径、http(s) URL 或附件引用)。可热插拔 —Modlens@liustack/modlens面向仅支持文本的 LLM 的插件视觉能力,由免费的 Antigravity CLI 提供支持Deepseek Ivideodeepseek-ivideoiPolloWork HyperFrames Video Studio,以及 27 个可编辑视频模板,以原生 DeepSeek Harness 对话视图呈现。Image Gendsh-image-gen将类似 ChatGPT 的图像生成功能带到 DeepSeek Harness——支持 Gemini、OpenAI、Seedream、DashScope、本地 ComfyUI 等。

README

dsh-tool-accurate-vision

Model-facing accurate_vision tool for DeepSeek Harness: precise spatial reasoning over an image file via an OpenAI-compatible vision model. Ported from pi-accurate-vision.

A vision model reads the image and returns a structured note plus bounding-box primitives normalised to 0–1000; this tool formats them as a <vision-context> block the next model turn reads — giving a text-only agent exact object positions, layout, and OCR without losing spatial fidelity.

English | 中文

Install

dsh plugin --profile web add dsh-tool-accurate-vision

Or from source:

dsh plugin --profile web add github:your-username/dsh-tool-accurate-vision

Set the vision API key (separate from DEEPSEEK_API_KEY):

export VISION_API_KEY=sk-...

How it works

image file ──► base64 data URL ──► vision chat/completions ──► JSON note + primitives
                                                                      │
                                                          <vision-context> XML ──► next model turn

The pure vision core (src/bridge.ts) is provider-agnostic: any OpenAI-compatible multimodal chat/completions endpoint works. The Cordis host (src/index.ts) owns config, credential resolution, and the registered tool.

Every call also writes a self-contained SVG — the original image with every bounding box and label drawn on it — returned as the annotatedImage path, so the boxes can be eyeballed instead of trusted blind (set annotate: false to skip it).

Case study: rigorous distance computation

Ask an image question with a checkable answer — in this hand-drawn physicists network, which node sits physically closest to 居里夫人 (Marie Curie), ignoring the connecting lines? — and the gap between plain vision and this tool becomes measurable. The test image is the aged network diagram below:

The test image: a hand-drawn physicists network

  1. Asking a multimodal model directly yields a visual impression, not a measurement: "郎之万, at the lower left, looks closest" — nothing to verify, and as it turns out, wrong.

    A plain VLM answers by intuition

  2. Vision text without structured primitives can be worse than no numbers at all: the model invents plausible-looking coordinates in prose, then contradicts itself — a claimed ~15-unit gap while its own two boxes imply 59 — and returns the same wrong answer.

    Unstructured output hallucinates coordinates

  3. With this tool's normalised primitives, every node carries a checkable 0–1000 bounding box, so the agent computes real edge-to-edge distances in code: 皮卡尔德 25.96 vs 郎之万 58.00. The correct answer — 皮卡尔德 (Piccard) — arrives with the numbers that prove it.

    Structured primitives enable exact distances

That is the core advantage: bounding-box primitives turn visual impressions into geometry. Positions, distances, and layout become facts a text-only agent can compute and verify, not guesses it has to trust. For distance questions the canonical edge-to-edge computation pairs the facing edges per axis (dx = max(a.x1 - b.x2, b.x1 - a.x2, 0), same for y, then hypot); the tested helper bboxEdgeDistance(a, b) ships with this package so downstream agents never pair the wrong edges.

Configuration

Override in your profile's cordis.patch.yml:

- id: tool-accurate-vision
  config:
    model: gpt-4o              # any OpenAI-compatible multimodal model
    baseURL: https://api.openai.com/v1
    apiKeyEnv: VISION_API_KEY  # credential reference
    primitives: true           # request bounding-box primitives
    annotate: true             # also write an SVG with boxes drawn on the image
    maxTokens: 8192
    timeoutSecs: 120
    temperature: 0
    disableThinking: true     # skip the reasoning phase (MiniMax): faster & steadier

Origin

Faithful port of pi-accurate-vision (which itself extracted DeepSeek-TUI's crates/tui/src/vision/bridge.rs). The parsing, prompt, and formatting logic is preserved verbatim; only the host integration targets the Cordis ctx.tools registry with schemastery config and the credentials seam.

License

MIT