DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Model Health — DSH Plugin for DeepSeek Harness
← Plugins
M

dsh-model-health

Model Health

DSH plugin that lists all configured models with availability/latency testing, by reading $DSH_HOME/settings.yaml.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:oxlyn/dsh-model-health#eb288d7255f66a343d90da326b166232d939cdd5
READMECompatibilityVersions

Compatibility and provenance

Model Health is published as dsh-model-health and currently resolves to version 0.2.9. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
github
Registry updated
9/2/2026

Versions

0.2.9stable
9/2/2026
0.2.8stable
8/27/2026
0.2.5stable
8/26/2026
Show 3 more versionsCollapse versions
0.2.3stable
8/26/2026
0.2.1stable
8/25/2026
0.2.0stable
8/22/2026

Related plugins

Loading related plugins…

Latest
0.2.9
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
GitHub
★ 1
Weekly downloads
0
Last push
9/2/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in

Related plugins

More verified plugins in models-usage.

Usage@linxin666/dsh-usageUsage statistics plugin for the dsh web GUI: per-provider balance and coding-plan quota detection plus a live token usage ledger, with the current session provider's today usage on the sidebar entryWhale Widgetdsh-whale-widgetDeepSeek balance whale widget in the bottom-right corner of the DSH Web interface: balance/today’s usage/peak-off-peak pricing, customizable bubble click sequence (text/balance/today/peak-off-peak/image/random phrases and parallel weighted selection), per-line styles and fonts, floating quick editinUsage Stats@ychris12138/dsh-usage-statsToken usage heatmap, provider balances, and subscription quotas for the dsh web GUICodex Connectdsh-codex-connectChatGPT OAuth and Codex models for DeepSeek Harness.

README

dsh-model-health

DeepSeek Harness (DSH) 插件:在设置页提供「模型健康」面板——列出所有已配置模型,并一键批量测试可用性与延迟。

中文 | EN

模型健康面板

安装 / Install

npm 安装(推荐)

dsh plugin --profile web add dsh-model-health

源码安装

git clone https://github.com/oxlyn/dsh-model-health.git
cd dsh-model-health
pnpm install
pnpm run build        # tsdown → dist/index.js (ESM) + dist/client.js (IIFE)

# 在插件的父目录执行(dsh plugin add 的相对路径锚定调用目录):
cd ..
dsh plugin --profile web add ./dsh-model-health
dsh web
# 启动日志应出现:[dsh-model-health] ready — tool "list_models" + routes GET /api/model-health/json, POST /api/model-health/test

验证 / Verify

安装后打开 dsh web → 设置 → 模型健康,应能看到已配置模型表格。无 API key 也可验证插件加载:

dsh --profile web --dump-config | grep dsh-model-health   # 配置层含本行

功能 / Features

读取 $DSH_HOME/settings.yaml(默认 ~/.dsh/settings.yaml),提供三种使用方式:

#形式入口说明
1「模型健康」面板Web UI → 设置 → 模型健康React 表格:Provider / 模型 ID / 名称 / 上下文窗口 / 最大输出 / 输入模态 / API 协议 / BaseURL,可选列可切换显示
2测试全部面板内「测试全部」按钮并发(上限 6)对每个模型发一次 max_tokens=1 的最小 chat completions 请求,10s 超时;逐行显示 可用 / 不可用 / 跳过 / 延迟,失败原因悬停查看,结果持久化到 localStorage。已出结果的徽章可点击,单独重测该模型(悬停显示下划线)
3Tool 插件 list_models对话中调用返回 Markdown 表格,供模型在对话中查看模型清单

特性一览:

  • 支持 llm-pi-ai(多协议自定义提供商)与 llm-deepseek(官方)两类配置来源
  • 可用性测试支持 openai-completions 与 deepseek 协议,其余协议自动标记「跳过」;对 200 响应校验 body 确实是成功应答(部分网关 200 但 body 是错误对象)
  • API Key 通过 DSH credential service(ctx.credentials.resolve)解析,密钥不会输出到浏览器
  • 测试结果(状态/延迟/错误)持久化到 localStorage,刷新页面后仍可见
  • 状态列的 可用 / 不可用 / 跳过 徽章随时可点击,对单个模型重新测试,原地刷新状态与延迟
  • 设置导航使用脉搏线(Activity)图标——宿主图标表没有「健康」类目,参考 dsh-better-sidebar 的方案,JS 精准打 marker(rAF 合帧防抖),CSS 用 ::before + mask 把齿轮 svg 原地替换;颜色随主题走

实现方式 / How it works

插件分为 host 侧与 client 侧两部分(package.json 的 dsh.client 字段声明 client 入口):

┌─ host 侧  src/index.ts → dist/index.js ─────────────────────────┐
│  - ctx.tools.register:注册 list_models 工具(Markdown 表格输出) │
│  - ctx.webServer.register:                                        │
│      GET  /api/model-health/json  读取并解析 settings.yaml → JSON  │
│      POST /api/model-health/test  对单模型发最小请求测可用性/延迟  │
│      (Origin 限本机;200 响应校验 body 为成功应答)               │
│  - 解析 DSH credential service 获取 API Key                        │
└──────────────────────────────────────────────────────────────────┘
                          │ fetch
┌─ client 侧 src/client.tsx(TSX,浏览器端模块)────────────────────┐
│  - 通过 settings.section slot 注入「模型健康」面板                  │
│  - React(宿主提供)渲染表格 + 状态徽章 + hover 错误提示            │
│  - 「测试全部」:worker pool 限并发 6,逐个更新行状态               │
└──────────────────────────────────────────────────────────────────┘

技术要点:纯 ESM("type": "module")、cordis 作为 peerDependency 由宿主提供(仅编译期 import type)、服务依赖通过 export const inject = ['tools', 'webServer', 'credentials'] 声明。

环境要求 / Requirements

  • Node ^22.19.0 || >=24.0.0(DSH 宿主要求)
  • pnpm(源码构建用)

开发 / Development

pnpm install
pnpm run typecheck   # 类型检查
pnpm run build       # 构建 dist/

项目结构:

dsh-model-health/
├── src/index.ts            # host 入口:tool + HTTP 路由接线
├── src/host/               # host 实现:config / models / markdown / http / model-test
├── src/client.tsx          # client 入口壳:注入 React,装配插件导出
├── src/client/             # client 实现:types / runtime / i18n / storage / api /
│                           #   styles / columns / use-test-results / nav-icon / apply
│   └── components/         # ModelListSection / StatusCell / ErrorTooltip
├── cordis.patch.yml        # bundle 层声明(id/name 走包名解析)
└── dist/                   # 构建产物(发布包含在 files 字段中)

依赖锁定 / Dependencies

  • @deepseek-ai/dsh-tools: 0.1.0-rc.8 (exact — the next-tag line; npm latest is stale).
  • @deepseek-ai/cordis: ^4.0.1 (peerDependency — host provides it; types-only in code).

友情链接 / Links

  • LinuxDo

License

MIT