Preface¶
The plugin capabilities of DeepSeek Harness (DSH) are typically accessed from the sidebar under “Plugins” (插件): browsing bundles, installing, toggling, and uninstalling are all done on that page. If you prefer to centralize environment changes in “Settings”, you have to switch back and forth between the sidebar and settings. The community plugin dsh-plugins-in-settings (maintainer Alail691) adds a “Plugin Management” tab to the official Settings → Plugins page, bringing the same management capabilities into settings; the original sidebar “Plugins” entry remains unchanged, and the two do not affect each other.
What is this¶
dsh-plugins-in-settings is a client-side DSH plugin: it registers a new tab (id manage) titled “Plugin Management” within the officially occupied Settings → Plugins (sidebar label “Built-in Plugins”). Listing, installation, toggling bundles and individual plugin rows, and uninstallation are all performed via the host’s public remote.pluginManager. It uses the same remote interface as the official panel rather than writing a separate installer.
The package version in the repository’s package.json is 1.0.0, the license is MIT, and the runtime requirement is Node >= 22. DeepSeek Harness community plugin directory page: entry on skillhub.cn; source code and documentation: GitHub Repository.
Core Features¶
Below is an introduction to what you can do in the interface after installation, as well as its relationship to the official panel.
“Plugin Management” Tab within Settings¶
In the top tab bar of Settings → Plugins, this plugin adds “Plugin Management” (positioned before official tabs like “Plugin List”). The capabilities within the page include:
- Add Plugin: Enter a package name (e.g.,
dsh-xxx),github:author/repo, or an absolute path to a local directory; optionally select an install source to execute the installation. - Browse Official and Installed Bundles: Distinguishes between official and installed sections, displaying enabled status.
- Toggle: Can enable/disable entire bundles, or toggle individual plugin rows within a bundle.
- Uninstall: Requires secondary confirmation (the first click changes to “Confirm Uninstall”, reverting on blur) to reduce accidental deletions.
- Refresh: Changes take effect immediately while running; if a restart is required for certain plugins, the interface will handle it according to the host’s reported instructions.
The sidebar “Plugins” entry is not removed; this plugin is an additional entry point. An error on one side should not drag down the other.
Alignment with remote.pluginManager¶
This plugin does not rewrite installation logic; all data paths go through the same official remote namespace. Examples:
| Purpose | Interface |
|---|---|
| List bundles | listBundles() |
| Pre-install inspection | inspect(spec, { registry }, signal) |
| Install | installBundle(spec, { enabled, requestId, registry, approvedBuilds? }) |
| Retrieve install result | waitForInstall(requestId) |
| Cancel installation | cancelInstall(requestId) |
| Toggle bundle / single plugin row | setBundleEnabled / setPluginEnabled |
| Uninstall | removeBundle(name) |
The installation flow is a four-step chain: Fill in spec → inspect pre-check → installBundle actual install (enabled by default, refresh list upon completion) → Interpret outcome based on application (Installed, Installed but needs restart, Failed, Cancelled). The installation process is cancellable; if the response is lost midway, waitForInstall is called with the same requestId to inquire about the result. If the result cannot be determined, it displays “Result Unknown” rather than falsely reporting success.
The remote service is obtained via soft detection (ctx.get("remote")); if the host is too old or methods are incomplete, the page will display a readable explanation or disable “Install”, while other lists and toggles are kept as usable as possible (fail-open).
Implementation Details (for troubleshooting)¶
- Host-side
lib/index.js: Mainly for getting the package into the cordis tree and performing static verification of client artifacts. - Client-side
lib/client.js: Registered tosettings.plugins.tab, handwritten React artifacts, no third-party dependencies, no separate build step. - This plugin does not register host hooks, inject session messages, or listen to agent events; structurally, it only occupies one UI slot and several remote management methods.
- After installing the DSH Desktop client bundle, you must fully exit the process and restart for it to take effect; closing the window is not enough.
Installation and Activation¶
Choose one of the following paths; commands and paths are subject to the repository README. Do not use CLI installation methods that will be rejected for the desktop profile.
1. Settings Panel Installation (Recommended)¶
In Settings → Plugins → Add Plugin, fill in one of the following three:
- The absolute path to the local directory after extracting this repository
github:Alail691/dsh-plugins-in-settings- npm package name (available after publishing to the registry)
Please confirm the source is trustworthy before installing: plugins run locally with the current DSH process permissions. You should review the source code and license yourself.
2. Command Line (Non-desktop profiles only)¶
desktop is the profile reserved for Electron; the command line will throw an error: profile "desktop" is managed exclusively by the Electron application. For non-desktop profiles, you can execute:
dsh plugin --profile tui add link:"<absolute path to this plugin>"
dsh plugin --profile tui add github:Alail691/dsh-plugins-in-settings
3. Script (For desktop or when the “Plugins” panel is missing in settings)¶
Execute in the repository root directory (the 30-second quick start in the README also relies on this script):
.\install.cmd
After fully exiting and reopening DSH Desktop, open Settings → Plugins → Top “Plugin Management”.
The script also supports:
.\install.cmd -Profile tui # Install into another profile
.\install.cmd -WhatIf # Preview, do not write to disk
.\install.cmd -Uninstall # Uninstall
The script backs up the profile’s package.json, adds link: dependencies, updates dsh.profile.bundles, and creates links (junctions on Windows) under node_modules. Uninstallation can be done via the panel or install.cmd -Uninstall; if junctions were manually created, it is recommended to use cmd /c rmdir <junction> on Windows to avoid Remove-Item -Recurse accidentally deleting the plugin source directory.
Typical Usage¶
- Follow the previous section to complete the installation and fully restart DSH Desktop.
- Open Settings → Plugins and switch to the “Plugin Management” tab.
- Enter the spec in “Add Plugin” (package name,
github:…, or local path), select the install source from the dropdown if necessary, and click install; if the pre-check fails, modify the spec according to the prompt below the input field. - Enable/disable bundles or plugin rows in the “Official” and “Installed” lists; to remove, use uninstall and confirm the second click.
- If the installation stalls at steps like build scripts, follow the interface prompts (e.g., if pnpm blocks build scripts in the failure type, you can “Agree and Retry” according to the host process).
Compared to the official panel, the README notes: this plugin does not implement behaviors such as parallel detection of npm sources, mirror prompts, and localStorage memory used by the official panel; the install source follows pnpm configuration by default, and changing the source requires manual selection in the dropdown. It also does not display real-time pnpm installation output.
Applicable Scenarios and Notes¶
Who it is for
- DSH Desktop users who want to browse, install, toggle, and uninstall plugins in one place under Settings → Plugins.
- Users who need to use the same
remote.pluginManagerpath as the official panel but do not want to maintain two sets of operational habits.
Important Notes
- Plugins run locally with DSH process permissions; check the repository source code and MIT license to ensure they meet your compliance requirements before installing.
- It relies on official semantic contracts (slot
settings.plugins.tab,remote.pluginManagermethod names); if official upgrades change the contract, this plugin may silently display “Currently Unavailable”. The repository providesnpm run preflightfor comparing against official artifacts in real installations. - The return shape of
listBundles()is determined by the host; unrecognized structures will display an empty list rather than guessing. - The community directory skillhub.cn has no official affiliation with DeepSeek / High-Flyer and is not an official app store.
Conclusion¶
dsh-plugins-in-settings consolidates sidebar plugin management capabilities into the “Plugin Management” tab within Settings → Plugins, sharing remote.pluginManager with the official panel, while the sidebar entry remains. Installation can be done via the settings panel, github:Alail691/dsh-plugins-in-settings, dsh plugin add for non-desktop, or install.cmd for desktop; a full client restart is required after activation.
- Directory Page: https://www.skillhub.cn/plugins/Alail691/dsh-plugins-in-settings
- GitHub: https://github.com/Alail691/dsh-plugins-in-settings