Preface¶
After installing multiple Web plugins with settings pages in DeepSeek Harness (DSH), the left sidebar “Settings” navigation often adds rows of independent entries: Whale Farming, QQ Bot, Our Free Model, Plugin Market, etc. Each entry corresponds to a settings page contributed by the plugin itself. The functionality is fine, but the navigation gets longer and longer, requiring one to click back and forth between “Built-in Plugins” and several plugin items when changing configurations.
Plugin Settings Hub (dsh-plugin-settings-hub) takes a different path: it does not modify the settings interface of individual plugins, but only adds a default tab “Plugin Settings” in “Settings → Built-in Plugins”. It lists mapped plugins as cards; clicking a card switches to the plugin’s native settings page while hiding the original row in the navigation, keeping only the unified “Built-in Plugins” entry. Below is an introduction to what it does, how to install it, how to use it, and where to modify it when extending.
What is it¶
- Name: dsh-plugin-settings-hub (Plugin Settings Hub / 插件设置中心)
- Maintainer: peter9130
- Category: Client (Web UI injection)
- Repository: github.com/peter9130/dsh-plugin-settings-hub
- Directory Page: skillhub.cn plugin entry
This plugin is a DSH Web plugin bundle, attached to settings-related UI via cordis.patch.yml and client.js. It does not copy or rewrite the content of other plugins’ settings pages; it only organizes entries and navigation.
Community plugin directories (like SkillHub) have no official affiliation with DeepSeek or HF; please check the source code and MIT license yourself before installing; the plugin runs under DSH process permissions.
Core Functions¶
Centralized Entry¶
- Adds a Plugin Settings tab in the “Built-in Plugins” page, and defaults to this tab when opening the page (sorted before “All”).
- Lists cards of currently installed plugins that have settings pages and are in the mapping table (README example: Whale Farming
dsh-bili-whale, QQ Bot@tencent-connect/dsh-qqbot, Our Free Modeldsh-our-free-model). - Clicking a card switches to that plugin’s own settings page; the content is still provided by the corresponding plugin.
Collapse Left Navigation¶
These plugins previously occupied a separate row in the settings navigation; after installing this plugin, the corresponding rows are hidden, and entry is unified via “Built-in Plugins → Plugin Settings”. When staying on a specific plugin settings page, “Built-in Plugins” in the navigation retains the selected style.
Plugin Market does not occupy the settings navigation separately: independent entries will be hidden, and the page remains in the “Plugin Market” tab under “Built-in Plugins”.
Return to List¶
After entering a plugin settings page, a ← Back to Plugin Settings appears in the top-right corner of the settings panel, allowing return to the plugin card list.
Implementation Boundaries (Stated in README)¶
DSH does not have an API to “logout/unmount other plugins’ settings pages”. This plugin handles navigation based on platform slot conventions: identifies <button> with text in div[data-shortcut-modal="settings"] > nav, tracks the current page using aria-current, hides specified rows, and dispatches clicks on the corresponding button when a card is clicked. It only reads and writes navigation text and clicks; it does not read or modify other plugin page content.
Therefore:
- Only effective for plugins configured in
CARD_PAGESinclient.js. After installing a new third-party plugin with settings pages, you need to add “Navigation Text + Card Text” to the mapping inclient.jsfor it to appear in “Plugin Settings” and be collapsed; otherwise, it will still display in the left navigation. - If a plugin changes the navigation text, the mapping needs to be updated synchronously.
- When the settings panel closes, the “Plugin Settings” list is empty, which is expected.
- If the “Plugin Settings” page rendering fails, protection logic will restore the hidden navigation rows and pause collapsing to avoid the entries disappearing together.
Changes on the host side (index.js / cordis.patch.yml) require restarting DSH or disabling and re-enabling the plugin; changes in client.js are hot-applied by client-hmr (approx. 10 seconds).
Installation and Enablement¶
README states the npm package name is dsh-plugin-settings-hub, current version in materials is 1.0.1; if the registry is not yet searchable, use the Release package.
Method 1: npm (Recommended)¶
Use the plugin manager in DSH to install by package name:
Use plugin_manager to install dsh-plugin-settings-hub@1.0.1
You can run npm view dsh-plugin-settings-hub version first to confirm the online version.
Method 2: Release Package (Offline)¶
- Open Releases, download
dsh-plugin-settings-hub-1.0.1.tgz. - Hand it to the plugin manager:
Use plugin_manager install_bundle to install /absolute/path/dsh-plugin-settings-hub-1.0.1.tgz
Method 3: Source Directory (Development)¶
Point the repository directory via plugin_manager install_bundle, or put it in ~/.dsh/profiles/<profile>/vendor/ and then install; you can also link: to the directory. See the repository README for details.
Upgrade and Uninstall¶
Upgrade:
Use plugin_manager to upgrade dsh-plugin-settings-hub to the latest version
Or reinstall with a specific new version number (e.g., dsh-plugin-settings-hub@1.0.2).
Uninstall: Disable and delete the bundle in “Settings → Plugins”, or remove dsh-plugin-settings-hub from package.json (dependencies and dsh.profile.bundles) in the profile and reinstall dependencies.
Typical Usage¶
- Open Settings → Built-in Plugins (defaulting to the “Plugin Settings” tab).
- Click the plugin card to configure, and modify settings on the plugin’s native page.
- Click “Back to Plugin Settings” in the top right to return to the list, or click “Built-in Plugins” in the navigation again.
After the above steps, daily configuration changes only require remembering one “Built-in Plugins” entry, without searching through a long list of plugin names on the left.
Applicable Scenarios and Notes¶
Suitable for: Developers or self-deployments who frequently use multiple DSH Web plugins with settings pages simultaneously and want to keep the settings navigation concise without modifying the source code of each plugin.
Notes:
- Plugins not written to
CARD_PAGESwill not enter the card list, and the navigation will not be collapsed. - Relies on DOM structure and navigation text; after major UI changes to DSH or plugins, this plugin may need updating.
- Use the
plugin_managercommand in the README for installation and upgrades; do not fabricate CLI commands based on the repository name.
Conclusion¶
dsh-plugin-settings-hub consolidates scattered plugin settings entries via “Built-in Plugins → Plugin Settings”. The interface is still provided by individual plugins, while the hub itself only performs navigation organization and mapping maintenance. When needing to extend support for plugins, just modify CARD_PAGES in client.js.
- Directory Page: https://www.skillhub.cn/plugins/peter9130/dsh-plugin-settings-hub
- GitHub: https://github.com/peter9130/dsh-plugin-settings-hub