Introduction

DeepSeek Harness (DSH) adopts a plugin-based architecture, but when developing extension features, developers often have to modify layouts in the core code to accommodate sidebars or bottom panels. The relay-dsh-plugin-workbench plugin provides a general-purpose Workbench container, allowing other plugins to register and manage right-side and bottom panel views without touching DSH core code.

Plugin Positioning

Maintained by yangbobo2021, this plugin is an extensible Workbench Shell plugin. It provides generic panel areas and a registration mechanism for the DSH Web UI, ensuring layout consistency across different feature plugins.

Core Capabilities

  1. Generic Panel Areas: Provides a generic container for right-side and bottom panels.
  2. Public Registry: Provides registration interfaces via ctx.workbench for view plugins to use.
  3. Public Contracts: Exports public contracts from relay-dsh-plugin-workbench/contracts.
  4. Idempotency: Supports multiple activations, allowing multiple feature plugins to safely import the same Workbench layout.

Installation and Activation

Before installation, make sure DeepSeek Harness version 0.1.2-rc.1 is installed and that any running DSH Web process is stopped.

Use the following command to install the Workbench plugin:

npx @deepseek-ai/dsh@0.1.2-rc.1 plugin --profile web add relay-dsh-plugin-workbench@0.2.2

After installation is complete, restart DSH Web:

npx @deepseek-ai/dsh@0.1.2-rc.1 web

Typical Usage

The plugin itself does not directly provide visible features; it acts as a “shell” for other plugins to use. The following are several typical usage scenarios:

  1. Standalone Shell Testing: During development, install this plugin on its own to verify that the container structure for side and bottom panels works correctly.
  2. Developing View Plugins: When developing a new DSH plugin, use ctx.workbench and key DSH slots to register views.
  3. Development Environment Dependencies: When using GitHub development builds of relay-dsh-plugin-files or relay-dsh-plugin-terminal, Workbench must be installed manually because DSH’s pnpm Profile prevents GitHub packages from being propagated as dependencies.
  4. Feature Plugin Integration: After installing the Files or Terminal plugin, Workbench automatically hosts the side or bottom views registered by those plugins.

Notes

  • Permissions and Source Code: DSH is in the developer preview stage and may introduce breaking changes.
  • Plugin Boundaries: Feature plugins should use ctx.workbench, key DSH slots, and public contract entry points, and should not directly import Workbench source files.
  • Interaction Logic: After installing Workbench, if no other feature plugins (such as Files or Terminal) are installed, the UI layout will not change.
  • Stop Before Modifying: Before modifying the Profile plugin list, the running DSH Web process must be stopped.

Conclusion

This plugin addresses the pain point of shared panel layouts in the DSH ecosystem. By providing a standardized registration mechanism, it reduces development complexity. For more details and source code, refer to the links below.

  • GitHub repository: https://github.com/yangbobo2021/relay-dsh-plugin-workbench
  • Plugin catalog: https://www.skillhub.cn/plugins/yangbobo2021/relay-dsh-plugin-workbench