MC5lan/dsh-multimodal 预览 preview

MC5lan/dsh-multimodal

给 DeepSeek 安装一双眼睛和一支画笔:会话里直接贴截图/图片,GLM 视觉模型先精确转写图片内容(报错信息、代码、界面逐字保留),然后 DeepSeek 继续处理你的问题——同一轮完成,全程无感;需要配图时,DeepSeek 自动调用文生图后端出图并显示在会话中。

Project Overview项目介绍

This is a native multimodal plugin built exclusively for DeepSeek Harness version 0.1.0-rc.6 and above, adding native vision analysis and AI image generation functionality to the core DeepSeek Harness agent. It allows users to paste images or screenshots directly into an active conversation, where your configured vision provider transcribes all text from the image (including UI elements, error messages, and code) before passing the content to DeepSeek to solve your problem. This entire workflow happens in a single turn, eliminating the need for extra manual steps from the end user.

The plugin does not ship with any preloaded models, providers, or backends, so you are fully responsible for connecting the APIs you already own and trust. Supported providers include DeepSeek, Zhipu, Aliyun, SiliconFlow, ModelScope, Xfyun, Qianfan, and local Ollama instances, with one-click preset configurations for most major platforms. You can also add custom non-OpenAI compatible providers via a small adapter file, which requires no changes to the core plugin code to activate and use.

Since version 0.2.1, the plugin includes multiple security hardening features to prevent exploitation from malicious or hand-edited user configurations. It restricts API key access to an explicit user-defined allow list, blocks unapproved base URLs for custom providers, redacts sensitive data like phone numbers and emails from transcriptions, and never forwards internal session IDs to third-party APIs. To develop or build the plugin from source code, you can first run npm install to install dependencies, followed by npm run build to compile the TypeScript source into working code.

这是专为DeepSeek Harness开发的原生多模态插件,为其增加视觉图像分析和AI图像生成能力。它支持用户直接将截图或图片粘贴到对话中,由用户自行配置的视觉模型先提取图片文本,再由DeepSeek基于转写内容继续解决问题,全程无需额外步骤。插件本身不内置模型或后端,用户可自由接入自己已有的任意API。

插件支持错误截图转写修复、图表转SQL、设计稿转代码等预设场景,支持API密钥自动识别添加、故障自动切换后端、转录配额缓存优化、成本路由调度、本地Ollama模型离线处理敏感图片等功能,还支持自定义非兼容API通过小型适配器接入,无需修改插件核心源码。

插件采用MIT许可开源,内置多层安全机制防护恶意配置,限制API密钥读取范围、限制可信域名访问、防止敏感数据泄露,支持用户配置的导出导入,可通过npm install和npm run build完成开发构建,适配DeepSeek Harness 0.1.0-rc.6及以上版本,支持网页端和无头模式。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add https://github.com/MC5lan/dsh-multimodal

把 MC5lan/dsh-multimodal 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-multimodal — multimodal eyes and hands for DeepSeek Harness

English | 简体中文

Give DeepSeek a pair of eyes and a paintbrush: paste a screenshot or image into the conversation and the vision provider you configured first transcribes it verbatim (error messages, code, UI text preserved), then DeepSeek keeps solving your problem — all in the same turn, no extra steps. When an illustration is needed, DeepSeek automatically calls the image backend and the generated pictures appear right in the conversation.

Blank slate by design: this plugin ships no built-in models, providers, or backends. Vision endpoints, image backends, and models are all declared by you — plug in whatever API you already have (DeepSeek, Zhipu, Aliyun, SiliconFlow, ModelScope, Xfyun, Qianfan, local Ollama, …). Nothing is preloaded, nothing is assumed.

Compatibility: built for DeepSeek Harness 0.1.0-rc.6 (Web and headless). See CHANGELOG.

Features

Scenario Behavior
Plain-text chat Straight to the DeepSeek API (unchanged)
Image + question (e.g. error screenshot) Your configured vision provider "looks" first → transcribes to text → DeepSeek continues from the transcription (fix code, explain, propose); hitting "stop" aborts the vision call immediately
Attaching an image No more "current model does not support images"
User asks for an image DeepSeek calls generate_image → the configured image backend produces pictures shown in the conversation; backend failover tries the next backend if the active one fails (AUTH/aborted skips failover — no wasted quota)
Any image API A custom backend plugs any non-OpenAI/DashScope API in via a small adapter file — no plugin code changes
Image card Dedicated generate_image card: thumbnail grid, click-to-zoom lightbox, one-click download, prompt & model metadata, crop-to-ask (drag a region + ask), copy params (reproducible JSON), retry button on failure (refine-aware)
Extracting text from an image DeepSeek can call extract_text (OCR) → Markdown / plain text / JSON; decoupled from the watch route, usable in any session
Paste-key auto-connect (0.7+) Paste any API key into the quick-add box → platform auto-detected (key fingerprint → /models probing) → endpoint + allow-list + credential + model list + feature enablement in one step
Vision platforms extraProviders accepts any OpenAI-compatible vision endpoint + one-click preset cards (Zhipu, Bailian, Xfyun, ModelScope, SiliconFlow, Qianfan, local Ollama)
Transcription cache Same image + same context reuses the previous transcription — no wasted vision quota (LRU, per-session)
Vision fallback chain Primary vision provider rate-limited/failing → automatic switch to fallbackProviders
Parallel transcription parallelImages transcribes each image in its own concurrent call (fast multi-image turns)
Scene modes Built-in transcribeMode presets: error-fix (error-screenshot diagnosis), chart-sql (chart → SQL + Pandas), design-code (design mockup → HTML+CSS)
Cost routing Small images (≤ costMaxPixels) automatically go to a cheap provider
Local vision One-click Ollama preset keeps sensitive images off the network (see Local vision models)
Config migration Settings page exports/imports the whole config as JSON (allow-listed fields only)

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-homepage-skin 下一个 Next qiushi-dsh-evidence-audit →