dshbase

插件目录 / Developer / dsh-fetch-models-unselect-all

dsh-fetch-models-unselect-all

已验证 · 实测可装 Townrain

✓ 持续维护

查看 GitHub ↗ ← 返回插件目录

1Stars
0Forks
0未关闭 issue
—语言
2026-08-17最近推送
跨平台平台

功能简介

Deselect-all button for the DSH Settings > Models 'fetch available models' dialog (client-only plugin)

✅
我们的评价
可用 — 实测通过,早期项目

Deselect-all button for the DSH Settings > Models 'fetch available models' dialog (client-only plugin) 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

dsh-fetch-models-unselect-all

A "deselect all" button for the DeepSeek Harness Settings → Models → Add
provider → custom provider → Fetch available models
dialog.

The dialog lists every model a provider advertises with one checkbox per row
and only two footer actions — Cancel and Add selected. This plugin adds a
取消全选 / Deselect all button directly left of Cancel, so a large catalog
can be cleared in one click instead of unchecking each row.

[取消全选]  [取消]  [添加所选]

What it does

  • Pure client presentation: watches the DOM for the fetch dialog (anchored on
    its unique "Add selected" action), then clones the Cancel button's classes to
    insert an identically styled "deselect all" button left of it.
  • Clicking it unchecks every model checkbox and dispatches a native change
    event per row, keeping the dialog's React-controlled selection in sync —
    "Add selected" then adopts nothing, exactly as if each box were cleared by
    hand.
  • No host code, no RPC, no settings, no session events. The observer is
    disposed with the plugin fiber; uninstalling leaves nothing behind.
  • Localized: shows 「取消全选」 with a Chinese UI and "Deselect all" with an
    English UI, following the Cancel button's language.

Install

dsh plugin --profile web add github:dsh-fetch-models-unselect-all   # or a local clone:
dsh plugin --profile web add /path/to/dsh-fetch-models-unselect-all

Restart dsh web and hard-refresh the browser after installation.

Build

DSH_CHECKOUT=/path/to/deepseek-harness node build.mjs

build.mjs resolves the checkout's esbuild + typescript and emits
lib/index.js (host, no-op) + lib/client.js (browser bundle,
__ModuleLoader__ format) + lib/types/ declarations.

Notes

The dialog has no official plugin slot, so the button is anchored on the
dialog's DOM structure ("Add selected" action + checkbox list). A future
settings-form redesign may require a small update to the anchor logic.

License

MIT

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-fetch-models-unselect-all」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:Townrain/dsh-fetch-models-unselect-all

Headless(CLI)profile:

dsh plugin --profile headless add github:Townrain/dsh-fetch-models-unselect-all

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7819 个插件 →