anonamerjaxon-dev/dsh-model-grid ↗★ 0

dsh-model-grid

将模型选择器重构为响应式卡片网格的插件 适合模型数量较多、需要按提供商分组直观挑选模型的 DSH 用户。

包名
dsh-model-grid
兼容性
待验证
版本
1.0.0
许可证
MIT
最近更新
2026年10月22日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:anonamerjaxon-dev/dsh-model-grid

Configuration

Options are passed through the plugin entry's config and merged with the defaults.

KeyDefaultDescription
maxWidth900Hard cap on the popup width, in CSS px (clamped 240–4000).
minCardWidth200Minimum width of a model card, in CSS px (clamped 80–1200).
gap6Gap between cards, in CSS px (clamped 0–64).
maxHeightVh76Popup height cap, in vh (clamped 20–100).
hideCountdowntrueHide the long "· 14h 23m" countdown in the price badge.
enabledtrueWhen false, nothing is injected.

Example — in the profile's cordis.patch.yml:

- insert:
    - id: model-grid
      name: 'dsh-model-grid'
      config:
        maxWidth: 1100
        minCardWidth: 180
        hideCountdown: false