DSH Plugin Management Enhancement: One-Group-at-a-Time Plugin Page Redesign

Introduction

In DeepSeek Harness (DSH), the “Installed” tab on the official Plugins page displays three groups simultaneously: built-in plugin configurations, experimental plugins, and installed plugins. When there are many plugins, the page becomes lengthy, and switching between groups requires manual scrolling or searching. Additionally, the cards only contain English descriptions, making it difficult for Chinese-speaking users to quickly understand each plugin’s purpose without cross-referencing documentation. This plugin modifies the rendering output of the official page to solve both issues: it shows only one group at a time and appends a Chinese usage summary and Chinese name to each installed plugin card.

Plugin Scope and Problem Statement

This is an additive DOM decoration plugin that directly modifies the rendered output of the “Installed” tab on the DSH Web official Plugins page. It does not add new tabs or replace the official page logic; it simply injects controls and decorative nodes to improve readability and Chinese-language friendliness.

Maintainer: DeepSlacking.

Core Features

Show One Group at a Time

The three groups that were previously displayed simultaneously on the official page are now shown one at a time. Segmented toggle buttons are injected at the top of the list, with “Installed Plugins” shown by default. The selection is persisted in localStorage. After switching, the item count for the active group is displayed to the right of the group title. When returning from a plugin detail page or the “More” page, the toggle controls automatically reappear.

Chinese Usage Summary

Each installed plugin card gets a Chinese summary appended below the original description. The summary features a colored category tag on the left, with a matching light-background color wash and a left color bar.

Name Translation and Original Name Badge

The English name at the card title position is replaced with the Chinese name. The original DOM text node is not moved; the original text is simply hidden and a Chinese <span> is appended. The original English name / package name is displayed as a pill badge to the right of the name. Clicking the title still opens the official plugin detail page.

Installation and Activation

In DSH, have the Agent invoke plugin_manager’s install_bundle with the target pointing to this directory or the packed tarball:

target: D:\DSH-workspace\dsh-plugin-manager-plus
target: D:\DSH-workspace\dsh-plugin-manager-plus\dist\dsh-plugin-manager-plus-0.2.0.tgz

After installation or update, if the page is already open, refresh once so the browser loads the new client bundle.

Packaging

npm run build                 # regenerate client.js
npm pack --pack-destination dist
# produces dist/dsh-plugin-manager-plus-0.2.0.tgz, which can be used directly as the target for install_bundle

npm pack runs prepack first to automatically rebuild client.js. The tarball contains only the runtime-essential files: package.json, index.js, client.js, cordis.patch.yml, locale/*.json, icon.svg, README.md, and LICENSE. If you need to ship source code as well, you can additionally create a zip (including src/, scripts/, tests/, content.zh.json, and docs/; see the *-source.zip files under dist/).

Use Cases and Notes

  • Best suited for Chinese-speaking users who frequently browse the installed plugin list on the DSH official plugins page.
  • The plugin runs with the current DSH process permissions. Review the source code and license before installation.

Closing

Without altering the official data or logic, this plugin transforms the plugin management page from “see everything at once” to “view one group at a time,” and adds Chinese usage summaries and name translations. For more details, see the plugin directory page and the GitHub repository.

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

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

Xiaoye