FraYoshi/dsh-ui-models-invert-selection

A DeepSeek Harness client plugin that adds an "Invert selection" button to the Models → Fetch / Add models dialog.

catalog descriptioncatalog 简介 / catalog description:Invert selection in Deepseek Harness for when we are selecting models

Project Overview项目介绍

This DSH plugin adds an "invert selection" button to the model addition interface, enabling users to check only the models they already own by inverting the current selection. It is useful when quickly filtering an auto-fetched provider list to identify already added models. Note that pnpm install must be run as the dshuser account and the service restarted for changes to take effect.

此 DSH 插件在添加模型列表界面新增"反选"按钮,一键勾选已拥有模型并取消未添加项。适用于从提供商自动抓取模型时需快速筛选已存在模型的场景。需注意安装后必须以 dshuser 身份运行 pnpm install,重启服务后生效。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add @furayoshi/dsh-ui-models-invert-selection

FraYoshi/dsh-ui-models-invert-selection 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

@furayoshi/dsh-ui-models-invert-selection

A DeepSeek Harness client plugin that adds an "Invert selection" button to the Models → Fetch / Add models dialog.

The shipped dialog pre-checks every fetched row that is not already in your model list. On a second "fetch + add" pass you usually want the inverse — keep the rows you already have, drop the rest. This plugin adds a single button that flips every checkbox at once.

Compatibility

DSH version min version
0.1.2-rc.1 1.0.0
0.1.1-rc.2 1.0.0

NOTE: as at the current state, this packages has been heavily vibecoded, including most of this README. I might rewrite it at the later date, but you have been warned :)

preview

Install

DSH's plugin command handles the install and bundle registration automatically.

From npmjs (recommended)

dsh plugin --profile web add @furayoshi/dsh-ui-models-invert-selection

From GitHub (pinned version)

# Specific tag
dsh plugin --profile web add @furayoshi/dsh-ui-models-invert-selection@github:FraYoshi/dsh-ui-models-invert-selection#v1.0.0

# Branch
dsh plugin --profile web add @furayoshi/dsh-ui-models-invert-selection@github:FraYoshi/dsh-ui-models-invert-selection#main

# Specific commit
dsh plugin --profile web add @furayoshi/dsh-ui-models-invert-selection@github:FraYoshi/dsh-ui-models-invert-selection#a1b2c3d4

From local source (for hacking)

dsh plugin --profile web add @furayoshi/dsh-ui-models-invert-selection@file:/home/<you>/work/dsh-ui-models-invert-selection

After editing lib/client.js, re-link inside the profile:

rm -rf node_modules/@furayoshi && pnpm install

Then restart DSH.

Verify

Open the Web UI → Settings → Models → Fetch / Add models. You should see a new "Invert selection" button next to the existing action button. Click it — every checkbox in the candidate list flips once.

To confirm the bundle loaded:

dsh web --dump-config | grep -i "invert-selection\|furayoshi"

Update / Remove

# Update to latest
pnpm update @furayoshi/dsh-ui-models-invert-selection

# Remove
dsh plugin --profile web remove @furayoshi/dsh-ui-models-invert-selection

License

MIT — see LICENSE.


For maintainers and agents: detailed technical documentation lives in AGENTS.md.

上一个 Prev dsh-handoff-wall 下一个 Next dsh-adapter-qq