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 尚未安装过该插件。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

你是插件作者? 想拿到「已验证」标签——提交你自己的验证证据(截图、日志或短视频),我们审核通过后即改为「已验证」。

提交验证证据 ↗

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

实测报告

尚未 L3 验证——若已跑过,见下方失败备注。

状态:pending · 最近测试 2026-08-26
备注:验证: runtime-fail 浏览全部待验证失败 →
安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7795 个插件 →