In DeepSeek Harness (DSH) development practice, extending capabilities through plugins is the standard approach. Managing these plugins usually involves manual configuration or command-line operations, lacking a visual interactive interface. The dsh-plugin-installer-ui plugin introduces a graphical entry point, making plugin installation and removal intuitive.
Position¶
This is a DSH plugin manager maintained by chuyue-yue and open-sourced under the MIT license. It primarily addresses the hassle of manually adding or removing plugins in configuration files by adding an “Install Plugin” tab under “Settings → Plugins”, allowing users to complete operations by entering a command or package name directly in the interface.
Core Features¶
- New Management Tab: Adds an “Install Plugin” tab under “Settings → Plugins”.
- Online Operations: Supports online installation and removal of plugins by entering a package name or a full command.
- Host-side Proxy: The Host side registers HTTP routes to proxy
dsh plugincommands, including command parsing, package name security validation, and timeout protection. - Client-side Injection: The Client side injects a UI interface, including an input box, add/remove buttons, and an execution output area.
- Environment Diagnostics: The footer displays environment diagnostic information, including the Node version, target profile, and
DSH_HOMEpath.
Installation and Enablement¶
Installing this plugin requires the current environment to have pnpm installed and access to the network. Run the following command:
dsh plugin --profile web add dsh-plugin-installer-ui
After installation, you must restart the dsh web service and refresh the browser page before the new “Install Plugin” tab appears under “Settings → Plugins”.
Typical Usage¶
In the input box on the “Install Plugin” tab, three input formats are supported:
| Input Content | Effect |
|---|---|
dsh plugin --profile web add <package> |
Install the specified plugin (full command) |
<package> |
Install the specified plugin (defaults to add) |
remove <package> |
Remove the specified plugin |
Applicable Scenarios and Notes¶
- Prerequisites:
pnpmand a network connection are required. - Permissions and Security: This plugin runs with the permissions of the current
dshprocess. It is recommended to review the source code and license before installation.
Conclusion¶
Managing DSH plugins through a visual interface can reduce configuration errors and improve development efficiency. For more details and source code, please refer to the project repository.