Introduction

DeepSeek Harness (DSH) adopts the “everything is a plugin” philosophy. When developing local plugins, developers usually need to manually execute the dsh plugin add command in the terminal, and manually run pnpm build after modifying source code. This command-line workflow is disjointed from the DSH Web interface, resulting in higher context-switching costs. dsh-local-plugin-installer solves this problem by adding a “Settings → Plugins → Install Plugin” page to DSH Web, integrating the build and installation process into the Web interface.

What It Is

This is a DSH Web plugin maintained by JMweitao. It provides a unified Web interface entry point for local plugin development and Git plugin source installation, allowing developers to directly complete build and installation operations in the browser.

Core Features

  • Installation entry point: Select a local DSH plugin directory in the Web settings page, or paste a Git/GitHub URL.
  • Installation execution: Install a local directory or Git source into the current web profile.
  • Build and debugging: Run pnpm build in the selected directory, and display in real time the executed command, working directory, exit code, standard output, and standard error in the interface.
  • Validation: Check before installation whether the target directory contains package.json and dsh.bundle.patch declarations.

Installation and Activation

Use the DSH CLI to install this plugin:

dsh plugin --profile web add github:JMweitao/dsh-local-plugin-installer#v0.1.0

After installation, you need to restart DSH Web to load the newly installed plugin.

Typical Usage

  1. Open DSH Web.
  2. Go to Settings → Plugins → Install Local Plugin.
  3. Select a local plugin directory, or paste the Git installation URL.
  4. If the local plugin has no build artifacts or the source code has been modified, click pnpm build to build it.
  5. Click the install button. The plugin will execute dsh plugin --profile web add <local directory or Git URL>.
  6. Restart DSH Web so that the Host and Client bundles are recombined and loaded.

Use Cases and Notes

This plugin issues local commands, including dsh plugin add and pnpm build, to the current DSH process via the Web UI. Please only select plugin directories you trust, because pnpm build executes scripts defined in the target package and may run arbitrary code on your local machine.

Git installation sources are downloaded by the package manager, so pnpm build cannot be executed directly on this plugin page; pnpm build applies only to local directories.

Conclusion

For developers who need to frequently iterate local plugins, this plugin integrates the command-line workflow into the Web interface, reducing the disjointed feel of the toolchain.