DSH Plugins Marketplace

DSH Plugins

Plugins

/

Models & Providers

/

dsh-provider-switch

z

dsh-provider-switch

Manifest valid

Provider on/off switches, model search, and inline provider renaming for DeepSeek Harness.

UI (client)hasBundlePatch

DSH Provider Switch

DSH 静态插件(web profile)。在官方模型选择器基础上增加供应商启停开关、模型搜索和供应商重命名三个功能。

功能

  1. 供应商启用/禁用 — 设置 → 模型页,每个供应商行前有开关。禁用后该供应商的模型从选择器中隐藏,且会话不会再调用其模型(直接报 PROVIDER_DISABLED,不重试)。
  2. 模型搜索 — 输入框模型选择器顶部有搜索框,按模型名/描述/供应商名关键字过滤。
  3. 供应商重命名 — 设置 → 模型页展开供应商编辑卡片后,点击卡片标题即可内联修改显示名。

效果预览

供应商启停开关模型选择器搜索过滤
供应商开关模型选择器搜索过滤

前置条件

  • dsh web ≥ 0.1.7-rc.1(dsh --version 查看)
  • Node.js ≥ 20

安装

dsh plugin --profile web add github:zuojinxin/dsh-provider-switch

安装后重启 dsh web 即可。

验证

启动日志出现 [provider-switch] settings namespace ready,且设置 → 模型页每个供应商行前出现开关。

卸载

dsh plugin --profile web remove dsh-provider-switch

版本与 DSH 兼容性

插件版本适配 DSH说明
v0.6.50.1.7-rc.1修复模型弹窗变灰+卡顿
v0.6.20.1.7-rc.1修复弹窗背景半透明
v0.5.50.1.2-alpha.3代码精简重构
v0.4.00.1.0-rc初始稳定版

文件

  • lib/index.js — Host:settings 命名空间、llm/stream 拦截、HTTP 端点
  • lib/client.js — Client:模型选择器 fork、设置页开关、重命名、样式
  • cordis.patch.yml — 安装挂载层

已知限制

  • 设置页开关和重命名基于 DOM 注入,DSH 升级改类名时可能消失(优雅降级,不影响其他功能)
  • 禁用供应商只拦模型调用,不隐藏设置页里的供应商行
  • 插件只拦 llm/stream waterfall,绕过该 waterfall 的直连调用不在拦截范围

许可

MIT

Comments

Loading…

Similar plugins

dsh-ccswitch

by upJiang

Adds CC Switch providers and models to DeepSeek Harness, with provider filtering and model-name search.

Models & ProvidersManifest valid

★ 8

TypeScript

Aug 24, 2026

dsh plugin --profile web add dsh-ccswitch

by icrefin

Names the provider beside the model in DeepSeek Harness's composer control (Provider/Model) while keeping the provider-grouped picker.

Manifest valid

★ 0

MIT

TypeScript

Oct 11, 2026

dsh plugin --profile web add dsh-provider-model-picker

by ManoloRemiddi

Search, pin and hide models in DeepSeek Harness; refresh provider catalogues.

UI & ExperienceManifest valid

★ 4

MIT

JavaScript

Oct 3, 2026

dsh plugin --profile web add dsh-model-picker-augmented

by Hudson-Junior-Wang

One-click search-engine switcher beside the DeepSeek Harness model picker; changes the dsh-free-search provider, handy on overseas university networks that block the DeepSeek Official search endpoint.

Tools & CapabilitiesUI & ExperienceManifest valid

★ 1

↓ 171/wk

MIT

JavaScript

Sep 1, 2026

dsh plugin --profile web add dsh-search-switcher

by HeathHe

Adds a search box to the DeepSeek Harness Web GUI model switcher — filter by model name, ID, or provider instantly while preserving every official interaction.

Manifest valid

★ 0

MIT

JavaScript

Aug 20, 2026

dsh plugin --profile web add dsh-model-search

by 2275803244-cpu

One-click provider/model switcher client plugin for the DeepSeek Harness web GUI

Terminal & ClientsManifest valid

★ 0

MIT

JavaScript

Oct 1, 2026

dsh plugin --profile web add dsh-client-ui-model-switcher