dsh-plugin-cards: DSH Settings Cards, Dialog Nodes, and Plugin Marketplace

Foreword

DeepSeek Harness (dsh) breaks down capabilities into composable plugins. In daily development, beyond installing plugins, users need to clearly see what each plugin offers in the settings, mount node UIs in the conversation interface, and discover similar plugins from the community directory. The host’s built-in interface may not cover the full experience of “Settings Cards + Conversation Nodes + Community Market.” Below, we introduce the community plugin dsh-plugin-cards (maintainer: yuanzukun), which provides settings cards, conversation node rendering, and a built-in plugin market based on the official topic taxonomy within the dsh desktop client / Web panel.

What is this

dsh-plugin-cards is a client-side plugin for dsh: the package name on npm is dsh-plugin-cards, with the current version 0.9.29 (see the package.json in the repository) and licensed under MIT. The repository is at GitHub, and the SkillHub directory page is skillhub.cn/plugins/yuanzukun/dsh-plugin-cards.

The plugin declares dsh.engine as >=0.1.7-rc.2 in its manifest; the README explains that full capabilities regarding settings cards, conversation nodes, and locales require a host ≥ 0.2.0. On older hosts, it will fail-fast or perform capability checks with Chinese fallbacks.

Core Features

Settings Cards & Conversation Nodes

After installation and activation, settings cards appear within the plugin’s details page in settings; conversation nodes are rendered on the chat target. The client injects @deepseek-ai/dsh-client-ui-conversation and @deepseek-ai/dsh-client-ui-renderer via dsh.client.inject, targeting the web platform.

Built-in Plugin Market

The single source for the market catalog is the official GitHub community topic: github.com/topics/dsh-plugin. Discovery rules include: topic:dsh-plugin, activity within the last 12 months, and name/description/tags containing dsh, etc.; installation requires passing the host’s L1 gate (declaring dsh.bundle). The interface provides six major categories and secondary category filters, prioritizes Chinese descriptions (snapshot description_zh → runtime translation → original text), and persists search and Tab states (localStorage key dcards.mktview.v1).

When network installation fails, the client implements a degradation ladder as documented (e.g., npm name probing, hub tarballs, codeload tarballs, retries on the original channel, etc.) and provides Chinese explanations and self-help tips for errors such as pnpm 11 git dependency build authorization and GitHub connection timeouts.

Factory Snapshot & Online Fetching

The release artifact inlines a Top 1500 entry snapshot trimmed by star count (the full directory contains approx. 13,000+ entries, fetched online upon opening the market). The snapshot comes from scheduled hub tasks and silent panel checks; Stale guards and jsDelivr mirror strategies are detailed in the repository README section “Data Channels and Caching.”

Installation & Activation

Regular users are recommended to complete the process entirely within the desktop UI, without needing the command line:

  1. Open the DSH desktop client (or dsh web panel)
  2. Navigate to Settings → Plugins → Plugin Market
  3. Search for dsh-plugin-cards and click Install (this plugin is already indexed in the aforementioned topic community; new plugins are indexed in the snapshot by the next day at the latest)
  4. It is automatically enabled after installation; a host restart is required to load the plugin after desktop installation (if the host has no HMR, the UI will prompt “Load after next DeepSeek Harness startup”).

Updates are also handled within the market: if a new version is available for an installed plugin, the card displays “Update available,” allowing for one-click upgrades.

Command-line alternatives (for CI / headless environments) are shown below; the profile must match the usage scenario:

dsh plugin --profile desktop add dsh-plugin-cards
dsh plugin --profile <name> add dsh-plugin-cards

For dsh 0.2.0+, the desktop client can manage plugins via the built-in dsh command in “Manage dsh command”; if dsh is already in the PATH, the CLI and desktop client share ~/.dsh by default.

Note: The README records that CLI local path link installation may only write to dependencies without writing dsh.profile.bundles, causing the plugin UI to silently disappear after a restart; market UI installation is not affected. Users of older 0.1.x versions without a global dsh must execute pnpm dsh plugin ... using the same pnpm as the desktop client within the deepseek-harness source code root directory.

Typical Usage (Local Debugging)

When maintainers are integrating and debugging dsh source code locally, build the plugin repository first, then apply a dev patch to the host:

pnpm install
pnpm build

Execute in the deepseek-harness source checkout root directory (modify paths according to your machine):

pnpm dsh web --patch D:/Navigate/dsh-plugin/cordis.dev.patch.yml
pnpm dsh --profile web --dump-config

After startup, the terminal should print [dsh-plugin-cards] plugin loaded!, and the UI will be at http://127.0.0.1:3080; the dump-config output should contain a # == dsh-plugin-cards configuration layer.

Applicable Scenarios & Notes

Target Audience: Users and plugin authors already using the dsh desktop client or Web panel who wish to manage plugin configurations via cards in settings, use node UIs in conversations, and need to browse and install community plugins based on official topic taxonomy.

Permissions & Security: The plugin runs with the permissions of the current dsh process; before installation, you should read the repository source code and the MIT license, and independently assess supply chain and network installation behaviors (including git / npm fetching and build authorization).

Ecosystem Notes: The DSH community plugin directory (e.g., SkillHub) is an independent community site with no official affiliation with DeepSeek / High-Flyer; the data taxonomy for this plugin market aligns with the GitHub dsh-plugin topic, rather than a self-proclaimed third-party “official app store.”

Conclusion

dsh-plugin-cards consolidates settings cards, conversation nodes, and a community plugin market into a single client plugin. The installation path prioritizes the desktop market, with the CLI as a supplement. For further details on implementation and release pipelines, please refer to the repository README and docs/dsh-plugin-development-proposal.md.

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

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

Xiaoye