Introduction

DSH’s philosophy is “everything is a plugin.” As the number of plugins grows, common operations become scattered: finding a specific plugin, checking its category, temporarily enabling/disabling a group of plugins, finding new plugins on GitHub, and importing/exporting plugin sets.

dsh-plugin-manager consolidates these operations into the web settings of DeepSeek Harness: categorized lists, tags, one-click preset switching, a plugin marketplace, and import/export, along with balance access and working hour reminders.

The “plugin marketplace” here refers to browsing the GitHub dsh-plugin theme repository, not the official DeepSeek/Huixuan app store.

What is it

dsh-plugin-manager is a DSH plugin maintained by kkkkkkklze under the MIT license.

It targets web-based plugin management, solving the problem of “having installed quite a few plugins, but with scattered management entry points, cumbersome combination switching, and unintuitive source identification.”

Core Features

Categorized List

Built-in pre-categorization for 128 plugins, 23 tag families, and Chinese descriptions are provided.

Supports search, filtering, enabling/disabling, and tag editing.

Plugin Packages (Presets)

You can select plugins to form a bundle and switch to it with one click, with rollback support.

Presets support import and export, facilitating the sharing or reuse of a set of plugin combinations.

Plugin Marketplace

Browse the GitHub dsh-plugin theme repository.

It attempts to automatically identify real plugins; once identified, they can be installed with one click. For repositories not recognized as plugins, it provides a copyable installation prompt.

Permissions and Security

Change operations follow two paths:

  • agent tools: require approval.
  • web interface: require a confirmation dialog.

When the policy is never, changes are naturally rejected.

Marketplace installation parameters undergo whitelist validation, checking the owner/repo format to prevent command injection.

Preset names undergo reserved key and length validation; imported content has a 256KB limit.

Balance and Shortcuts

The sidebar displays the DeepSeek balance; clicking it jumps to the usage page.

The sidebar also has a Chat button.

When the page is visible, the balance is polled every 60 seconds; it refreshes immediately when switching back to the tab.

Working Hour Reminder

During local time 9:00-12:00 / 14:00-18:00, the chat dialog box automatically turns red to distinguish whether it is within working hours.

Agent Tools

dsh-plugin-manager provides the following agent tools:

plugin_list
plugin_enable
plugin_disable
plugin_add
plugin_remove
plugin_tag
plugin_preset_list
plugin_preset_switch
plugin_rollback
plugin_stop_self
plugin_market_inspect
plugin_market_install

Installation and Enablement

  1. Select the target profile and execute the installation command:
dsh plugin --profile <name> add github:kkkkkklze/dsh-plugin-manager
  1. After restarting dsh web, enter the plugin management entry:
Settings → Plugins

You will see three sub-tabs: “Categories / Plugin Packages / Marketplace”.

Typical Usage

View and Manage All Plugins

Enter “Categories” to view, filter, enable/disable all plugins, and view tags and descriptions.

Assemble a Set of Plugins

Enter “Plugin Packages” and select plugins to form a bundle.

After switching, manage this combination using one-click switching and rollback, or import/export presets.

Find Plugins from GitHub

Enter “Marketplace”, which defaults to “Plugin Only” scanning mode.

Once recognized as a plugin, you can click install directly; for repositories not recognized as plugins, you can copy the installation prompt.

Operate in Conversation

You can also speak directly to the agent:

Switch to Daily Preset

Or:

Use plugin_list to see

Applicable Scenarios and Notes

Suitable for this usage style:

  • Need to centrally view DSH plugin categories, tags, and descriptions.
  • Frequently switching between sets of plugin combinations.
  • Wish to import/export presets to reduce repeated configuration.
  • Will look for plugins from the GitHub dsh-plugin theme repository.
  • Wish to conveniently check DeepSeek balance in the web interface.

Note the following before use:

  • Plugins will run with the permissions of the current dsh process; you should check the source code and license before installation. This plugin is licensed under MIT.
  • state.json is globally shared and used by all profiles. When testing or modifying, be careful not to write in the state of other profiles.
  • If switching fails, it will wait for the loader to reload and automatically restore the state before switching; if startup fails and attempts ≥ 2, it will restore the default bundle.
  • Marketplace browsing is affected by GitHub rate limits: Unauthenticated GitHub Search API is limited to 10 requests/min, results are cached in sessionStorage for 10 minutes; GitHub raw rate limiting may return fake 404s; plugin identification concurrency limit is 6, results cached for 1 hour.
  • The first git installation might require adding allowBuilds to pnpm-workspace.yaml.

Links

GitHub:

https://github.com/kkkkkklze/dsh-plugin-manager

Community Directory Link:

https://www.skillhub.cn/plugins/kkkkkklze/dsh-plugin-manager

This directory page comes from the plugin link; visit status is subject to the directory site’s actual indexing.