Foreword

The philosophy of DSH (DeepSeek Harness) is “Everything is a plugin”. Once the number of plugins increases, the problem shifts from “what to install” to “where to find, how to install, and how to manage”: directories are scattered across GitHub topics, the npm registry, and community curated lists; installation requires manually parsing package names, executing pnpm, and converging bundle configurations; updating and uninstalling requires repeating these steps in the command line. These steps aren’t difficult, but they are repeated for every plugin installed.

kidai-plugin-market-hub (Ji Dai Plugin Market) consolidates these three tasks into a single page: a standalone full-screen market accessible via a one-click shortcut in the sidebar; it aggregates multi-source directories, provides one-click installation, unifies management of installed plugins, and includes a built-in security defense during the installation phase. Below is an introduction to its features, installation methods, and usage notes.

What is it

kidai-plugin-market-hub is a DSH plugin maintained by NokorinNishikino, current version 1.5.2, license MIT. It installs itself via DSH’s plugin mechanism. After installation and restart, a “Ji Dai Market” entry appears above the “Settings” button in the sidebar on the homepage. Clicking it opens a standalone full-screen page containing “Plugin Market / Installed” tabs.

Please note: this is a community project, not an official app store for DeepSeek or Shifan.

Core Features

Browsing the Market: Multi-source Directories and Search/Sorting

The directory aggregates three sources: GitHub dsh-plugin topics, the npm registry, and community-maintained awesome-dsh-plugin curated lists, totaling over 1700 plugins. It is searchable, sortable, and categorized. Directory data has a 5-minute cache, falling back to offline cache as a safety net if the network is completely unavailable.

Search matches by name and description; sorting supports Recent Update / Stars / Name. Plugin cards display avatar, description, tags, stars, and update time.

Installing Plugins: One-click Install and Security Defenses

Click to install, and the market will automatically parse the npm package name or GitHub repository, execute pnpm add, and converge bundles. The changes take effect after a restart.

The built-in security defenses during the installation phase include:

  1. Static security audit: high-risk plugins are blocked directly;
  2. Loadability validation: pseudo-plugins missing entry points are rejected during installation;
  3. Runtime compatibility check and automatic patching: known differences in older DSH plugins are handled automatically;
  4. keyed-slot patching and @local linking;
  5. Automatic build of TypeScript source packages when build artifacts are missing; rollback if the build fails.

Through these steps, pseudo-plugins and plugins that are likely to break the installation are intercepted during the installation phase and will not enter your DSH configuration.

Managing Plugins: Installed Management and Orphan Cleanup

The “Installed” tab centrally provides Enable / Disable / Update / Uninstall. Orphan plugin scanning identifies residual plugins where “files still exist but are not mounted,” displayed as grey cards. They can be enabled or deleted directly. Additionally, it provides a one-click open local directory to locate the plugin’s installation location in the file manager.

Immediate Restart

A permanent “Immediate Restart” button is located at the top of the market page. After a two-step confirmation, DSH restarts, allowing changes to take effect immediately after installation, updates, or switching.

Installation and Activation

Execute in DSH command line (use desktop for Desktop configuration, web for Web configuration):

dsh plugin --profile desktop add kidai-plugin-market-hub

After execution, restart DSH. A “Ji Dai Market” entry will appear above the “Settings” button in the sidebar on the homepage. Click to enter the full-screen market page.

Uninstall using the corresponding remove command:

dsh plugin --profile desktop remove kidai-plugin-market-hub

Typical Usage

A complete plugin installation process is as follows:

  1. Restart DSH and click “Ji Dai Market” in the sidebar to enter the market page;
  2. In the “Plugin Market” tab, search or sort by Recent Update / Stars / Name. Decide whether to install based on the avatar, description, tags, stars, and update time on the plugin card;
  3. Click Install and wait for the market to automatically complete parsing, auditing, pnpm add, and bundle convergence;
  4. Click “Immediate Restart” at the top, confirm in two steps, and DSH restarts, making the plugin effective.

When you need a standalone Web deployment, start DSH like this:

dsh --profile web --port 8080

The two deployment forms have consistent functionality; the only difference is that the standalone Web deployment lacks Electron, and the “Immediate Restart” at the top degrades to a manual restart prompt.

Usage Notes

  1. Plugins require Node.js >= 22.0.0;
  2. Requires a locally available pnpm (or the pnpm built into DSH);
  3. Ensure access to api.github.com (to pull directories) and registry.npmjs.org (for installation validation);
  4. If GitHub is unreachable, it automatically uses the tarball download chain; if all fail, it falls back to offline cache;
  5. Security reminder: Plugins run with the permissions of the current dsh process. Although the market audits and intercepts during installation, it is still recommended to check the source code and license of any third-party plugin before installing.

Summary

For DSH users with many installed plugins, kidai-plugin-market-hub puts finding, installing, and managing into one page and blocks common installation accidents at the installation stage, saving the time spent on manual parsing, installation, and configuration every time. Project page:

  • Community directory page: https://www.skillhub.cn/plugins/NokorinNishikino/kidai-plugin-market-hub
  • GitHub repository: https://github.com/NokorinNishikino/kidai-plugin-market-hub