
huashenglian/dsh-her-eyes
41最近提交 2026年8月13日
dsh-her-eyes DSH 插件
dsh-her-eyes 是一个双面插件,为 DeepSeek Harness 注册 analyze_image 工具,支持主备 OpenAI 兼容的视觉端点并自动故障切换。同时添加一个自动保存的设置页面(设置 → 视觉模型 VLM),界面语言跟随 DSH 界面。
如何安装 dsh-her-eyes DSH 插件
dsh plugin --profile web add ./dsh-her-eyes复制不会执行命令。安装 dsh-her-eyes DSH 插件前请核对仓库和版本。
dsh-her-eyes DSH 插件数据来源
dsh-her-eyes DSH 插件快照日期:2026年8月16日
discovered
dsh-her-eyes DSH 插件能做什么
- 通过全局工具注册表提供 analyze_image 工具,可在每个会话中使用。
- 支持主备两个 OpenAI 兼容的 VLM 端点,连续失败后自动切换。
- 添加自动保存的 VLM 设置页面,支持从端点获取模型列表。
- 注册 web 路由 /vlm/config、/vlm/models、/vlm/reset,由宿主端提供服务。
- 支持国际化:设置页面语言跟随 DSH 界面(英文或中文)。
dsh-her-eyes DSH 插件适合哪些场景
- 在对话中使用视觉语言模型分析图像。
- 配置多个 VLM 后端(主备)以实现可靠性并自动故障切换。
- 直接从 DSH 界面管理 VLM 设置,无需手动编辑配置文件。
- 通过设置页面从 VLM 端点获取可用模型列表。
dsh-her-eyes DSH 插件适合谁
- 使用 DeepSeek Harness 并希望集成图像分析能力的开发者。
- 需要带故障切换的可靠 VLM 工具的用户。
dsh-her-eyes DSH 插件的限制
- 需要已安装 dsh CLI 并配置了 web profile,且 pnpm 在 PATH 中(或使用 npx 执行 pnpm)。
- 需要自行提供 OpenAI 兼容的 API 端点和 API 密钥。
- 仅支持兼容 OpenAI chat completions API 格式的视觉模型。
- 设置页面立即自动保存,没有手动保存按钮。
dsh-her-eyes DSH 插件的仓库 README 摘录
以下文字摘自 dsh-her-eyes DSH 插件的上游仓库 huashenglian/dsh-her-eyes 的 README,版权归原作者,仅作引用。
English | [中文](README.zh.md) A Vision-Language-Model (VLM) analyzer plugin for **DeepSeek Harness** (`dsh`). It gives the AI an `analyze_image` tool backed by primary/backup OpenAI-compatible vision endpoints with automatic failover, and adds an auto-saving **Settings → Vision Models (VLM)** page (English/中文). ## Features - **`analyze_image` tool** registered on the global tools registry — available in every session. - **Primary / backup VLM APIs** — OpenAI-compatible `endpoint` + `apiKey` + `model`; if the primary fails consecutively beyond the retry count, the AI automatically falls back to the backup. - **Auto-saving settings page** — every edit saves and takes effect immediately; no Save button. Also lets you fetch the model list from the endpoint. - **Web routes** `/vlm/config`, `/vlm/models`, `/vlm/reset` served by the host half. - **i18n** — the settings page follows the harness UI language (English / 中文). ## Requirements - `dsh` CLI (DeepSeek Harness) with a `web` profile installed. Requires `pnpm` on `PATH` (or use `npx --yes pnpm@<version>`). ## Install The plugin is a **bundle**: it carries its own `cordis.patch.yml` and self-activates. Installing it is a single c
阅读完整 README仓库许可: MIT
dsh-her-eyes DSH 插件常见问题
如何安装 dsh-her-eyes?
使用 dsh CLI 安装:运行 `dsh plugin --profile web add github:huashenglian/dsh-her-eyes`。确保已配置 web profile 且 pnpm 在 PATH 中。如果 pnpm 不在 PATH,可以改用 `npx --yes pnpm@11.7.0`。
需要配置哪些 API 密钥?
你需要一个 OpenAI 兼容的视觉语言模型 API 密钥。可以在设置页面或 `vlm-vision.json` 文件中配置主用和可选的备用端点。通过设置页面保存时,API 密钥会被掩码处理。
插件支持多个视觉模型吗?
支持,你可以设置任何与你的 OpenAI 兼容端点兼容的模型。插件还允许通过设置页面从端点获取模型列表。如果主用模型连续失败,会自动切换到备用模型。
自动故障切换如何工作?
插件会跟踪连续失败次数。如果当前活动的 API(主用或备用)连续失败达到 `retryCount` 次,就会切换到另一个 API。你可以在设置或 `vlm-vision.json` 中配置 `retryCount`。
能不用 web profile 使用 dsh-her-eyes 吗?
不能,该插件需要 web profile,因为它注册了 web 路由和设置页面,这些依赖于 DSH 的 web 服务器。安装命令 `dsh plugin --profile web add` 已经假设使用了 web profile。