FraYoshi/dsh-ui-models-invert-selection2

dsh-ui-models-invert-selection

Adds an 'Invert selection' button to the fetch-models dialog of the Models settings section

包名
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