GoldenZqqq/dsh-model-collapse0

dsh-model-collapse

DSH web plugin: collapse the model picker by provider, with a pinned quick bar for expand-all / collapse-all / focus-current / filter / reset.

AI Analysis

核心用途是优化 DSH Web 界面的模型选择体验。适合配置了大量模型、需要按服务商折叠分类、快速筛选和聚焦当前选中模型的用户。

Package
dsh-model-collapse
Version
1.1.0
License
MIT
Last updated
Aug 27, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:GoldenZqqq/dsh-model-collapse

配置

cordis.patch.yml 的对应行改 config

- insert:
    - id: model-collapse
      name: dsh-model-collapse
      config:
        enabled: true              # 总开关;false 即整体停用
        expandSelectedGroup: true  # 首跑时是否默认展开"当前选中模型"所在分组
        quickBar: true             # 菜单顶部常驻快捷条(展开/收起/聚焦/重置/筛选)
        accordion: false           # true=手风琴模式:展开某分组时自动收起其他组

想清空记忆回到初始状态:点快捷条上的「↺」,或在 DevTools 控制台执行 localStorage.removeItem('dsh-model-collapse:expanded-v1') 后刷新。