DeepSeek Harness Plugin Finder: dsh-plugin-finder

In the DSH ecosystem, plugins are the primary method for extending capabilities. However, community plugins are scattered across various GitHub repositories, making discovery and verification time-consuming. dsh-plugin-finder is a networked tool designed to automatically search for community plugins on GitHub and npm, providing a unified discovery entry point.

Plugin Identification

  • Name: dsh-plugin-finder
  • Maintainer: HarrisXiu
  • Core Feature: Discovers all public repositories with the dsh-plugin topic, supporting resumable scanning and domestic mirror acceleration.

Core Features

  1. Sidebar Discovery Page: Provides a “Plugin Discovery” page displaying the list of retrieved plugins.
  2. Agent Tool: Provides the dsh_plugin_finder tool, supporting command-line interaction.
  3. Smart Retrieval: Automatically searches on GitHub (via topic:dsh-plugin fork:true) and npm.
  4. Domestic Mirror Acceleration: Supports domestic mirror acceleration and fallback mechanisms; automatically switches when direct connection fails.
  5. Resumable Scanning: Supports saving scan progress, allowing continuation after interruption.
  6. Category Inference: Infers categories based on repository name, description, and topics.
  7. Built-in Manifest: Provides a built-in recommendation list.

Installation and Activation

Install the plugin to the Web profile via the official command:

dsh plugin --profile web add "https://github.com/HarrisXiu/dsh-plugin-finder"

Restarting DSH is required after installation to load the new plugin configuration and sidebar pages.

Configuration Description

The plugin is configured via cordis.patch.yml. Configuration items include:

- id: plugin-finder
  name: dsh-plugin-finder
  config:
    enabled: true
    cacheTtlMinutes: 720
    githubMirrors:
      - https://gh-proxy.com/
      - https://gh-proxy.org/
    repoLimit: 25
    manifestLimit: 25
  • githubMirrors: Configures acceleration mirrors only; if not configured, connects directly to GitHub.
  • GITHUB_TOKEN: Tokens are read only from environment variables and are not written to the configuration file.

Typical Usage

1. Scan and Refresh

Trigger scanning or refresh the list via the Agent tool:

{ "action": "refresh" }

2. Plugin Suggestions

Get plugin suggestions based on keywords:

{ "action": "suggest", "query": "memory", "limit": 15 }

3. Search and Diagnose

{ "action": "search", "query": "task board" }
{ "action": "stats" }
{ "action": "diagnose" }

4. Offline Mode

Query cache in a network-free environment:

{ "action": "suggest", "offline": true }

Notes

  • Data Source: The sole repository source is GitHub REST search topic:dsh-plugin fork:true; awesome-dsh-plugin is not used.
  • Classification Note: Categories are inferred only from repository names, descriptions, and topics, which does not equal installation verification.
  • Installation Indicator: Displaying as installable: true requires the root manifest to declare dsh.bundle.patch, but does not guarantee successful execution.
  • npm Verification: An npm package is only displayed as verified if the repository of the published package matches the current repository.
  • Offline Mode: The list is empty on the first offline run; only caches saved by the new engine are displayed.
  • Cache Location: The default cache path is $DSH_HOME/plugin-finder/cache.json.
  • Scan Limits: GitHub search returns a maximum of 1,000 results per request; sharding is required for more. A full scan may take several minutes to tens of minutes.

Use Cases

Suitable for developers who need to quickly discover and integrate DSH community plugins. The plugin runs with the permissions of the current DSH process; it is recommended to review the source code and license before installation.

References

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

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

Xiaoye