dsh-plugin-finder: Adding a Search Box to the DeepSeek Harness Plugin Page

Introduction

After installing dozens of plugins on DeepSeek Harness’s Plugins page, the content turns into a wall: three lists — Installed, Official, and Experimental — scroll together, and the page offers only “Refresh” and “Add Plugin” as entry points. There’s no search and no sorting. You usually remember a plugin by a feature keyword, yet you have to manually scan through titles, descriptions, and package names to find it.

dsh-plugin-finder adds a search box to this page header. Press Ctrl+F to focus it, type to filter in real time, and hit Enter to open the first match. It only changes display state — it never touches the plugins themselves.

What It Is

dsh-plugin-finder is a DSH client plugin maintained by liuyuxuan6666. It injects a search bar into the Plugins page, supporting filtering by title, description, and package name (or registered id). It hides empty groups entirely and follows the UI language and light/dark theme. Zero dependencies, zero build step — the code lives directly in lib/client.js.

Core Features

  • Ctrl+F / ⌘F focus: Press the shortcut on the Plugins page to focus the search box; it’s inactive when you leave the page.
  • Three-field matching: Filters on title + description + package name / registered id simultaneously. Case-insensitive; multiple terms are joined with AND logic.
  • Group-level hiding: When a group has no matching cards, the entire group (including its heading) is collapsed, avoiding empty shells like “Official 0”.
  • Count & empty state: The search bar displays matches / total. When nothing matches, it shows “No matches” in a warning color.
  • Enter to open / Shift+Enter to locate: Enter opens the first match; Shift+Enter scrolls to the first match and flashes a highlight twice.
  • One-click reset: Esc or the × button on the right clears the search. When the search term is empty, the page DOM is identical to the state without the plugin installed.
  • Theme & language awareness: Colors use --dsw-alias-* theme tokens; UI text switches with the interface language.
  • Zero dependencies, zero build: No React, no bundler, no network requests, no file writes — it runs directly in the browser.

Installation & Enabling

Option 1: GUI

  1. Open Plugins in the left sidebar;
  2. Click Add Plugin in the top-right corner;
  3. Enter github:liuyuxuan6666/dsh-plugin-finder in the install field and confirm;
  4. Refresh the page — the search box will appear in the toolbar.

Option 2: Command line

dsh plugin --profile <your profile name> add github:liuyuxuan6666/dsh-plugin-finder

Pinning to a specific commit is safer:

dsh plugin --profile <your profile name> add github:liuyuxuan6666/dsh-plugin-finder#<commit-sha>

Option 3: Local development

git clone https://github.com/liuyuxuan6666/dsh-plugin-finder.git
dsh plugin --profile <your profile name> add ./dsh-plugin-finder

The backend half (lib/index.js) is empty. Frontend plugin changes take effect with a page refresh — no DSH restart needed.

To uninstall:

dsh plugin --profile <your profile name> remove dsh-plugin-finder

Typical Usage

  • On the Plugins page, press Ctrl+F — the cursor moves into the search box.
  • Type star (or any keyword) — cards are filtered across title, description, and package name simultaneously; only entries containing that term remain.
  • Press Enter to open the detail page of the first match.
  • Press Shift+Enter to scroll to the first match — the card flashes with a highlight.
  • Press Esc to clear the search — the page returns to its original state.

Use Cases & Caveats

Ideal for developers who frequently need to locate specific functionality among a large number of installed and official plugins. The plugin runs with the permissions of the current DSH process — review the source code and license before installing.

Known limitations:
- Substring matching only; no fuzzy or pinyin search;
- “More” is a sub-view — cards collapsed inside it must be expanded before they can be found by search;
- The search term is not persisted across page refreshes;
- No sorting; does not toggle plugins on/off or modify any configuration.

In Short

dsh-plugin-finder turns the Plugins page from a wall into a searchable list — focus-to-search, instant filtering, group-level hiding. It’s a great fit for DSH users who need to quickly locate plugins as their collection grows. See the directory page and repository link below for more details and source code.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye