DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Model Fold — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
M

dsh-model-fold

Model Fold

The model selection menu expands categories by source (provider): the default menu lists only sources; clicking a source slides out a subpanel on the right for model selection; double-clicking the source title switches to inline expansion (v0.2.0 behavior, backed up).

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:loyalchiiina/dsh-model-fold#f642e3e93e818611c2e24377dd5b20fc28fb3267
READMECompatibilityVersions

Compatibility and provenance

Model Fold is published as dsh-model-fold and currently resolves to version 0.4.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
github
Registry updated
9/16/2026

Versions

0.4.0stable
9/16/2026
0.3.1stable
9/12/2026
0.3.0stable
9/12/2026

Related plugins

Loading related plugins…

Latest
0.4.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
GitHub
★ 0
Weekly downloads
0
Last push
9/18/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in ui-customization.

Web App@deepseek-ai/dsh-web-appThe dsh browser-surface bundle: the web patch layer over dsh-base plus the runtime glue plugin (frontend dist serving, web-surface prompt, bash runtime variables, URL line)Experimental Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profileExperimental Web profile layer for Agent Teams Remote and UI pluginsRemote Web Ui@linxin666/dsh-remote-web-uiScan-to-pair remote access for the dsh web GUI that shares one official interface: a QR beside the settings button pairs phones and PCs into the same Web GUI (a portrait-touch adaptation layer for phones, full desktop on PCs) through one-time tokens and rClient Ui Task Board@linxin666/dsh-client-ui-task-boardHost-authoritative task board for the DSH Web GUI with real session execution, Host cron scheduling, and optional cross-platform idle-sleep protection; mounted without DSH source changes.

README

dsh-model-fold

模型选择菜单按来源(provider)展开分类 —— 给 DeepSeek Harness 的模型选择菜单加分组导航能力。

English: group the model menu by provider — the menu lists sources first, and each source's models open either in a slide-in side panel (default) or inline below the title. Double-click a source title to switch modes.

功能(v0.4.0,双模式)

  • panel 模式(默认):菜单只列来源(▸ 箭头 + 来源名 + 模型数),点击来源从 右侧滑出子面板列出该来源的全部模型;点面板里的模型即完成选择。
  • 当前选择一眼可见:正在使用的模型所在来源组标注 (当前·N) 模型名 (加粗 + 品牌色徽标),无需打开子面板就知道用的哪个来源、哪个模型; 子面板内选中项保留 ✓。
  • inline 模式:点击来源在下方折叠/展开该组模型(v0.2.0 行为),状态跨菜单记忆。
  • 双击任意来源标题在两种模式间切换,选择即时生效并记住。
  • 子面板样式自适应主题(背景/文字/圆角/选中色均取自原菜单计算样式)。
  • 只做 DOM 增强:面板是插件自建 DOM,选择通过程序化点击原菜单真实按钮完成, 不移动、不删除任何 React 管理的节点,与其他插件兼容。

两种模式的交互细节见 docs/modes.md,版本历史见 CHANGELOG.md。

回滚 / 模式说明

v0.3.0 起为双模式:默认 panel(右侧子面板),双击任意来源标题可切换为 inline (下方列表展开)模式;inline 模式下折叠状态跨菜单记忆。若需要回到 v0.2.0 (单 inline 模式)版本,可从 GitHub Releases 获取历史版本。

安装

在 DSH profile 中安装(依赖 dsh.bundle 自声明,无需手动改 cordis.patch.yml):

dsh plugin --profile desktop add ./dsh-model-fold-<version>.tgz

或把目录复制到 profile 的 node_modules 并在 profile package.json 的 dsh.profile.bundles 中加入 dsh-model-fold。

原理

目标 DOM 是 @deepseek-ai/dsh-client-ui-model-selection 渲染、portal 到 body 的 div[role="menu"]:其中每个来源是一个 section[role="group"],首子 div 为分组标题。 插件用 MutationObserver 捕获菜单出现,在标题元素上追加自定义 data 属性与点击事件 (React 不管理这些内容),用 CSS :has() 依据 data 属性隐藏组内模型项——不移动、 不删除任何 React 管理的节点,因此不破坏原组件的渲染与状态。

FAQ

  • 装完没效果? 需要重启 DSH:客户端 bundle 在宿主启动时加载进浏览器, 改动/新装后必须重启才生效。
  • /model 命令弹窗里有分组折叠吗? 没有。本插件增强的是 composer 的模型 菜单(div[role="menu"] 结构);/model 弹窗是另一套 UI 表面,暂不涉及。
  • 双击切换模式会丢折叠状态吗? 不会。inline 模式的展开/折叠记忆独立保存; panel 模式下所有来源保持收起、由子面板展示。
  • 会上传任何数据吗? 不会。插件没有任何网络请求,全部逻辑在本地 DOM 完成。

License

MIT