DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

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

@try-works/dsh-vision-worker

Vision Worker

DeepSeek Harness 插件:基于 Cloudflare Workers AI(@cf/moonshotai/kimi-k2.6)的视觉 worker,为仅支持文本的调用方路由图像请求,返回版本化的 righthand.vision.v1 信封,并支持后续问题。

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

npx -y @deepseek-ai/dsh plugin --profile web add @try-works/dsh-vision-worker@0.1.1
README兼容性版本

兼容性与来源证明

Vision Worker 以 @try-works/dsh-vision-worker 发布,当前版本为 0.1.1。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

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

版本

0.1.1stable
2026/8/21
0.1.0stable
2026/8/21

相关插件

正在加载相关插件…

最新版
0.1.1
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
165.1 kB
文件数
43
Surface
any
许可证
Apache-2.0
发布源
npm
周下载
33
查看源码 ↗项目主页 ↗
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

@try-works/dsh-vision-worker

A DeepSeek Harness plugin that gives text-only models real vision.

When a caller cannot see images, dsh-vision-worker routes the image to Cloudflare Workers AI @cf/moonshotai/kimi-k2.6 (vision-capable) and returns a deterministic, versioned envelope — so the text-only caller can act on structured facts instead of guessing from prose.

The problem

  • Text-only models reject image content, so they cannot read a website screenshot, a photo, a chart, or a scanned table.
  • Handing them raw vision prose forces re-parsing and loses structure.

The fix

One call returns a righthand.vision.v1 envelope:

{
  "schema": "righthand.vision.v1",
  "model": "@cf/moonshotai/kimi-k2.6",
  "status": "ok",
  "summary": "...",
  "answer": "...",
  "content": {
    "text": [{"value": "...", "confidence": 0.97, "bbox": [x,y,w,h]}],
    "measurements": [{"name": "...", "value": 12, "unit": "%"}],
    "tables": [{"name": "...", "columns": [...], "rows": [[...]]}],
    "code": [{"language": "...", "text": "..."}],
    "entities": [{"type": "...", "value": "..."}]
  },
  "actions": ["verify the Q3 total against the source table"],
  "confidence": 0.9,
  "warnings": [],
  "images": []
}

Install

dsh plugin --profile <profile> add @try-works/dsh-vision-worker

Or apply the overlay directly:

dsh --profile <profile> --patch ./cordis.patch.yml

Configure

Set one of these transports (the plugin tries workerUrl first, then accountId + apiTokenRef):

# cordis.patch.yml
- insert:
    - id: dsh-vision-worker
      name: '@try-works/dsh-vision-worker'
      config:
        # Deployed worker (see cloud/):
        workerUrl: 'https://vision-worker.<you>.workers.dev'
        # …or Workers AI REST directly:
        # accountId: '<your Cloudflare account id>'
        # apiTokenRef: 'CLOUDFLARE_API_TOKEN'
        # model: '@cf/moonshotai/kimi-k2.6'
        # locale: 'en'

Store the token with the harness credential provider (never inline):

rh_credential_set ref=CLOUDFLARE_API_TOKEN value=<token>

Tools

ToolPurpose
vw_analyzeAnalyze image(s) with a prompt → envelope + callerText
vw_askFollow-up question about the same image(s)
vw_statusReport active transport/model without exposing the token
vw_localeGet/set UI language (en or zh-CN)

Tool names are stable identifiers; descriptions and rendered status text localize live via the locale setting.

Deploy the worker

cd cloud
npx wrangler deploy

cloud/index.js is a zero-build Worker exposing POST /analyze (plus GET /health). It takes { prompt, images, system? } and returns the same righthand.vision.v1 envelope.

Test

pnpm install
pnpm test          # 20 tests: core, schema, transport, tools, fixtures
pnpm typecheck
node --experimental-strip-types test.ts   # inside cloud/ — worker handler test

Routing architecture

The observable Workers AI routing protocol (name→effective-model aliasing, task-family dispatch, result-envelope shapes, gating) is documented in docs/workers-ai-routing-protocol.md, derived from live probes of every cataloged model.

Layout

  • src/core/vision.ts — capability routing, multimodal input, normalization, multi-step (transport injected; zero deps).
  • src/core/schema.ts — the envelope format, prompt template, tolerant parser, and callerText renderer.
  • src/transport.ts — Workers AI REST client + deployed-worker client.
  • src/vision-tools.ts — the DSH-native tool surface (ctx.tools/ ctx.settings/ctx.credentials).
  • src/i18n.ts — EN + zh-CN string tables.
  • src/fixture.ts — deterministic PNG fixtures (real bytes, no deps).
  • cloud/ — deployable Worker.