DeepSeek Harness plugin

dsh-model-cascade

Model selection as a three-level cascading menu (Provider -> Series -> Full model) for the composer model seat.

Jump to install

Source facts

Repository
jcleener/dsh-model-cascade
Latest update
Aug 19, 2026
Category
Models & Providers
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/jcleener/dsh-model-cascade
Plugin: dsh-model-cascade
Author: jcleener

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer3 files
README.mdSource · read only

dsh-model-cascade

> DSH(DeepSeek Harness)插件:把会话框(已有会话与新建会话共用)的模型选择从「按供应商分组的列表」变成三级级联菜单: > 供应商 → 系列 → 完整模型名

功能

  • 三级级联

- 第一级 供应商 —— harness 实际配置的 API 路由组(如 DeepSeek / opencode-go / siliconflow / 火山引擎,取 group.name) - 第二级 系列 —— 模型 ID 最后一个 / 与之后第一个 - 之间的文本(如 deepseek-ai/DeepSeek-V4-ProDeepSeek) - 第三级 完整模型名 —— 完整模型 ID(如 deepseek-ai/DeepSeek-V4-Pro

  • 原生融合:注册在 conversation.input.model 单座(priority: -1),覆盖自带的二级列表;数据与提交复用 ui-model-selectionmodelDirectories 服务(session.models / session.selectModel),选择状态、连接重置处理、composer 阻塞行为与自带保持一致
  • 菜单底部固定显示当前使用中的模型(路由组 + 模型名)
  • 菜单样式复用 DSH 原生主题 token(--dsw-alias-* / --dsw-specific-menu),明暗主题下观感一致

安装

dsh plugin --profile web add "github:jcleener/dsh-model-cascade"
# 或固定版本
dsh plugin --profile web add "github:jcleener/dsh-model-cascade#v0.1.0"

安装后重启 dsh web 生效。

使用

点击会话输入框的模型选择位,弹出三级级联菜单:先选供应商,再选系列,最后选完整模型名提交。菜单底部显示当前使用中的模型(路由组 + 模型名)。

关闭

~/.dsh/profiles/<profile>/cordis.patch.yml 中把该插件的 insert 段改为 disabled: true(或删除 insert 段),重启 dsh web 即回到自带的二级列表。

开发 / 结构

lib/index.js      Host 半段(空 apply,仅作为 Loader 条目存在)
lib/client.js     Client 半段(级联菜单 UI,纯 React + DSH 主题 token)
cordis.patch.yml  加载器补丁层(insert 声明)

许可证

MIT © 2025 jcleener