DeepSeek Harness Plugin Management Tool

Introduction

Manage downloaded plugins in DeepSeek Harness (DSH): view the list, enable, disable, and delete them. The installation process is exactly the same as plugins from the plugin marketplace (npm package + dsh.profile.bundles mounting + dsh.client browser-side). Once installed, the plugin will appear in DSH’s “Plugins” page, add a plugin management page under “Settings”, and make management tools directly callable in conversations.

Plugin Overview

  • Name: dsh-plugin-manager
  • Maintainer: zcx-zg
  • Category: admin-security
  • Stars: 0
  • Description: Manage installed DSH (DeepSeek Harness) plugins: list, enable, disable, delete - from model tools or a web Settings page.
  • License: MIT

The plugin reads package.json dependencies and dsh.profile.bundles activation states from the DSH profile, sharing the same data source as DSH’s “Plugins” page.

Core Features

Plugin List & Status

  • List installed plugins with keyword and enabled-status filtering
  • Distinguish between “has UI” and “Host-only” plugin types
  • Status indicators: Enabled / Disabled

Enable & Disable

  • Enable: writes to dsh.profile.bundles
  • Disable: removes from bundles, preserves files, can be re-enabled at any time

Delete

  • Permanently remove a plugin: dependency declaration + node_modules directory
  • Requires DSH approval before deletion; the operation is irreversible

Web Interface

  • Adds a “Plugin Manager” page to DSH’s “Settings”
  • Layout consistent with the “Skills” page: title + description, top-right statistics (profile / total / enabled / disabled)
  • Segmented tabs: All / Enabled / Disabled
  • Search box + Refresh button
  • Plugin row: letter icon, package name, version, status, tags, description, toggle switch, delete button
  • Confirmation dialog before deletion; operation results shown via toast notifications

Model Tools

  • list_dsh_plugins: List installed plugins with keyword and enabled-status filtering
  • enable_dsh_plugin: Enable a plugin (writes to dsh.profile.bundles)
  • disable_dsh_plugin: Disable a plugin (removes from bundles, preserves files)
  • delete_dsh_plugin: Permanently delete a plugin (dependencies + bundles + node_modules); requires DSH approval before invocation

Web API

The plugin registers three routes for reuse by future panels or scripts (reading from the same profile data):

  • GET /api/dsh-plugin-manager/state
  • POST /api/dsh-plugin-manager/toggle, request body: { "name": "...", "enabled": false }
  • POST /api/dsh-plugin-manager/delete, request body: { "name": "..." }

Write operations require the header x-dsh-plugin-manager: 1 and content-type: application/json.

Installation & Activation

Install directly from GitHub into the profile (the browser UI is typically web):

dsh plugin --profile web add github:zcx-zg/dsh-plugin-manager

Restart DSH after installation; the plugin will auto-mount (cordis.patch.yml handles this layer).

For development or offline environments, you can also use a local directory / tgz:

# Local directory — no repackaging needed after edits
dsh plugin --profile web add .\dsh-plugin-manager

# Or pack first, then install
npm pack
dsh plugin --profile web add .\dsh-plugin-manager-0.2.0.tgz

Uninstall:

dsh plugin --profile web remove dsh-plugin-manager

Configuration

Open this plugin’s details on DSH’s “Plugins” page to edit settings (host plugins.bundle.config slot):

Setting Default Description
profile web Which profile to manage
dshHome ~/.dsh DSH data directory
allowDelete true Set to false to disable plugin deletion

Typical Usage

Via Conversation

  • “What plugins do I currently have installed?”
  • “Disable dsh-better-sidebar”
  • “Delete dsh-plugin-wallpaper-engine”

Via Web Interface

  • Open DSH “Settings” → “Plugin Manager”
  • Filter plugins using tabs or the search box
  • Click the toggle switch to enable / disable
  • Click the delete button, then confirm to delete

Via Script (API Calls)

# Query status
curl http://localhost:port/api/dsh-plugin-manager/state

# Enable a plugin
curl -X POST http://localhost:port/api/dsh-plugin-manager/toggle \
  -H "x-dsh-plugin-manager: 1" \
  -H "content-type: application/json" \
  -d '{"name": "plugin-name", "enabled": true}'

# Delete a plugin
curl -X POST http://localhost:port/api/dsh-plugin-manager/delete \
  -H "x-dsh-plugin-manager: 1" \
  -H "content-type: application/json" \
  -d '{"name": "plugin-name"}'

Use Cases & Notes

  • Ideal for developers and operators who need unified lifecycle management of DSH plugins (enable/disable/delete)
  • The plugin runs with the current DSH process permissions; review source code and license before installation
  • Deleting a plugin removes the dependency declaration and the node_modules directory; this action is irreversible

Summary

dsh-plugin-manager provides a unified plugin management entry point in DSH, spanning model conversations to the web interface, covering the full workflow of listing, enabling, disabling, and deleting. It shares the same data source as DSH’s native “Plugins” page, making it well-suited for scenarios requiring fine-grained management of the plugin ecosystem.

  • Plugin directory: https://www.skillhub.cn/plugins/zcx-zg/dsh-plugin-manager
  • GitHub: https://github.com/zcx-zg/dsh-plugin-manager
羽毛球分组比赛记分
小程序二维码

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

Xiaoye