插件目录 / Developer / dsh-model-accordion
dsh-model-accordion
已验证 · 实测可装 lakabuji-arch
功能简介
Developer 类别的 DeepSeek Harness 插件。
可用 — 实测通过,早期项目
Developer 类别的 DeepSeek Harness 插件。 实测能干净安装、正常启动。早期项目,但功能可用。
「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
dsh-model-accordion
Provider-folded model selector for the DeepSeek Harness Web composer.
What it does
- Replaces the single composer model seat with a provider-folded selector.
- Keeps provider groups collapsed by default and opens models on demand.
- Reads reasoning-effort choices from each model's resolved catalog metadata instead of maintaining a hard-coded effort list.
- Sends model and reasoning-effort selections through DSH's shared model-directory service.
- Wraps vision-router mirror providers in one collapsed
识图镜像(带图会话)section when those providers are present. - Keeps the popup height-bounded with an internal scroll area and wraps effort controls below the model name.
- Uses DSH semantic theme tokens for colors and supports light/dark theme changes.
Requirements
- DeepSeek Harness Web
0.1.0-rc.8or newer. - A Web profile with the official model-selection package and model-directory service.
- React 18 supplied by the DSH Web runtime.
This is a Web UI plugin. It does not add a Host service, model provider, vision backend, or model catalog. Provider availability and image-session admission remain controlled by DSH and any installed provider/vision plugins.
Install from a package or repository
dsh plugin --profile web add dsh-model-accordion
For a local checkout during development:
dsh plugin --profile web add file:/absolute/path/to/dsh-model-accordion
Refresh the Web UI after installation. The package declares a dsh.bundle patch and a Web client entry, so it is installed and loaded as a persistent profile bundle rather than a temporary runtime extension.
Behavior and limitations
- The selector submits the exact provider, model, and catalog-declared reasoning effort returned by the DSH model directory.
- A selection can still be rejected by the DSH host when the session contains images and the selected model does not declare image input. That is a host/model-capability rule, not a UI override.
- The optional
识图镜像(带图会话)section is shown when provider names identify vision-router mirror routes. It is kept collapsed to avoid duplicating every provider in the main list. - The plugin currently uses English fallback status text and a Chinese label for the vision-mirror section; full locale integration is planned for a later release.
Development checks
node --check lib/client.js
node --check lib/index.js
npm pack --dry-run --ignore-scripts
License
MIT
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh-model-accordion」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
Web profile:
dsh plugin --profile web add github:lakabuji-arch/dsh-model-accordion Headless(CLI)profile:
dsh plugin --profile headless add github:lakabuji-arch/dsh-model-accordion 实测报告
验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。