dsh-provider-health
Manifest validdsh-provider-health(Provider 健康面板)
DeepSeek Harness (DSH) 插件:在设置页新增「Provider 健康」页,只读聚合展示所有 llm-pi-ai 渠道的连接状态、健康度、Thinking 能力与最近错误。
Provider health dashboard for DeepSeek Harness: a read-only settings page that aggregates per-provider status, health, thinking capability and recent errors.
功能 / Features
- 设置 → Provider 健康:列出所有 llm-pi-ai 渠道,每张卡片显示:
- 渠道名称、默认标记、baseURL、模型数
- 健康标签(正常 / 异常 / 故障),按最近错误时间衰减判定(<1h 故障 / <7d 警告 / 更早正常)
- healer 是否已把该渠道标记为问题渠道(强制 off thinking)
- thinking 能力(reasoning on/off)、defaultMaxTokens、defaultContextWindow
- 最近错误(时间 + 中文诊断 + 原始消息)
- 采样覆盖值(sampling-sliders 的 maxTokens)
- 只读:不写任何配置,不改任何 provider 数据。
原理 / How it works
- Host(
lib/index.js):仅保持插件身份注册;无额外逻辑。 - Client(
lib/client.js):经settings.describe读取 llm-pi-ai / agent-default-model / sampling-sliders 命名空间;经connection.rpc.call('/dsh-llm-compat-healer', 'state/read' | 'errors/read')读取 healer 的问题渠道标记与错误日志;按错误时间衰减计算健康度并渲染卡片。
依赖 healer(dsh-llm-compat-healer)的错误记录能力;未装 healer 时健康标签回退为按错误时间判定,渠道清单仍可读。
安装 / Install
Out-of-tree bundle(GitHub 直装,无需 npm 账号):
# 1. 装进 profile(本地目录方式,或 pnpm add link:)
dsh plugin --profile web add link:D:/path/to/dsh-provider-health
# 2. 组合挂载(两种任选其一)
# a. 加入 profile package.json 的 dsh.profile.bundles
# b. 在 profile 的 cordis.patch.yml 里手动加:
# - insert:
# - id: dsh-provider-health
# name: 'dsh-provider-health'
# 3. 重启
dsh --profile web
文件结构 / Files
dsh-provider-health/
├── package.json # 包元数据 + dsh.client 声明
└── lib/
├── index.js # Host:插件身份注册
└── client.js # Client:设置页健康面板(window.__ModuleLoader__)
版本记录 / Changelog
0.1.0(2026-08-30)
- 初始发布:设置页 Provider 健康面板。
- 健康度按错误时间衰减判定,避免历史错误误报"故障"。
Comments
Loading…
From the same category
by zouyuxuan122
在 dsh 里装上这个插件即可,无需登录、注册或填 API Key,就能使用包括 Muse Spark 1.3、MiMo V2.6 在内的前沿模型——完全免费,不限量。 All you do is install this plugin in dsh: no login, no sign-up, no API key — the frontier models are just there, Mu
★ 942
MIT
JavaScript
Oct 4, 2026
dsh plugin --profile web add dsh-our-free-modelby V1ki
Use ChatGPT (Codex), Claude, and Grok (X Premium) subscriptions as DeepSeek Harness LLM providers — OAuth login in the web UI, no API keys
★ 420
↓ 2.9k/wk
MIT
TypeScript
Oct 1, 2026
dsh plugin --profile web add dsh-plugin-subscriptionsby Mars-Sea
Command Code provider plugin for DeepSeek Harness (dsh). Adds Command Code model access, live model catalog, plan-aware model selection, reasoning effort, image input, web search, and multi-account su
★ 360
↓ 5k/wk
MIT
TypeScript
Oct 4, 2026
dsh plugin --profile web add @mars-sea/dsh-commandcode-providerby corrinehu
将 WorkBuddy 桌面 App 包含的模型自动接入 DeepSeek Harness,零配置使用。Bring the models in the WorkBuddy desktop app into DeepSeek Harness with zero configuration.
★ 287
↓ 5.2k/wk
MIT
TypeScript
Oct 4, 2026
dsh plugin --profile web add dsh-workbuddy-connectby franksong2702
Use openai-codex models and image generation via ChatGPT OAuth for DeepSeek Harness.
★ 135
Apache-2.0
TypeScript
Oct 4, 2026
dsh plugin --profile web add dsh-codex-connectby WSL043
把 ChatGPT / Codex 订阅接入 DeepSeek Harness:OAuth、模型、额度、搜索和图片生成,无需 API Key 或 Codex CLI。
★ 128
MIT
JavaScript
Oct 3, 2026
dsh plugin --profile web add dsh-codex-subscription