FraYoshi/dsh-ui-models-invert-selection2

dsh-ui-models-invert-selection

在模型设置部分的自动获取模型对话框中添加一个“反选”按钮。

AI 分析

核心用途是在 DSH 导入模型时提供一键反选功能,方便快速勾选未拥有的模型。适合拥有较多模型、需要频繁调整和导入模型列表的用户。

套件
dsh-ui-models-invert-selection
版本
1.0.0
授權
MIT
最近更新
2026年8月29日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:FraYoshi/dsh-ui-models-invert-selection

This plugin adds a "invert selection" button when adding models from the auto-fetched list of the providers, so only the ones we already have are checked.

thumbnail

INSTALLATION

  1. clone this repo, then copy its content into /home/dshuser/.dsh/profiles/ /plugins/models-invert-selection
  2. add the plugin to the /package.json by appending it to the dependencies and bundle like in this example:
{
  "name": "dsh-profile-web",
  "private": true,
  "dependencies": {
    "dsh-ui-models-invert": "file:./plugins/models-invert-selection"
  },
  "dsh": {
    "profile": {
      "bundles": [
        "dsh-ui-models-invert-selection"
      ]
    }
  }
}
  1. from the profile's directory i.e. /home/dshuser/.dsh/profiles/web, we run pnpm install, be aware that you need to be the correct user, root might fail.
  2. restart the container/service

REMOVAL

  1. delete the /home/dshuser/.dsh/profiles/ /plugins/models-invert-selection
  2. remove the relative lines from the /package.json
  3. rerun the pnpm install as we did in the installation
  4. restart the container/service