deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
PROJECT README
A DeepSeek Harness client plugin that makes the model-provider groups in the composer model picker collapsible.
Click any provider row in the model dropdown to fold or unfold its models — a small triangle next to the provider name rotates to show the state. Useful when you have many providers configured and want a short, focused model list.
conversation.input.model,
occupied by the shipped client-ui-model-selection plugin (priority 0).priority: -1. Slot entries are
ordered by ascending priority and the lowest renders, so the collapsible
variant takes over the seat while the shipped UI stays registered underneath.modelDirectories cordis service, so selections, reasoning-effort handling,
loading states, failures, and toasts behave exactly like the stock picker.client-ui-model-selection), the plugin loads but registers nothing — the
default UI stays as-is.dsh plugin add dsh-collapsible-models
or in DSH Desktop, through the Community Market (the package carries the bundle patch the managed installer verifies). Restart the harness after installing; the new seat takes effect in the next client generation.
Remove it the same way:
dsh plugin remove dsh-collapsible-models
aria-expanded state and per-group accessible labels follow the active
locale (zh/en).<button>, so it is focusable and toggleable with the keyboard.The plugin is hand-written in the lazy-CJS client bundle protocol
(window.__ModuleLoader__.load) — no build step. The two halves:
dsh/index.js — host half (no-op; makes the package appear in the host
Cordis graph via cordis.patch.yml).dsh/client.js — browser half (the collapsible ModelSelect shadow).To try it locally without publishing:
dsh plugin add <path-or-url-to-this-repo>
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。