The core philosophy of DeepSeek Harness (DSH) is “Everything is a plugin.” When managing multi-device environments or using non-official plugins, the lack of a unified distribution channel increases maintenance costs. As a pure Cordis plugin, dsh-plugin-repo solves this pain point.

What It Is

This is a self-hosted plugin repository that runs on top of the DSH process. Each device can independently provide an HTTP service, supporting listing, uploading, and downloading .tgz packages. The plugin has built-in detection for non-official plugins and supports version-aware installation. It does not modify @deepseek-ai/* core packages and is fully implemented through Cordis extensions.

Core Features

  • Self-Hosted Plugin Repository (HTTP Service): Starts a local HTTP service to provide plugin distribution capabilities.
  • Package Management: Supports listing, uploading, and downloading .tgz packages.
  • Official Plugin Protection: Detects non-official plugins and ensures that official @deepseek-ai/* plugins are never listed or modified in this repository.
  • Cross-Device Sync: Supports pulling and pushing across devices to automate plugin distribution.
  • Version-Aware Installation: Compares versions before installation to prevent accidental downgrades.
  • Settings UI: Provides a tabbed UI (Local/Cross-Device Sync/Advanced).
  • Model Tools: Provides command-line tools such as repo_list and repo_install.
  • HTTP API: Provides a complete RESTful API interface.

Installation and Activation

  1. Install the plugin via npm:
    dsh plugin --profile web add dsh-plugin-repo
Or install from a local tarball:
    dsh plugin --profile web add ./dsh-plugin-repo-1.7.0.tgz
  1. Restart the DSH service.

  2. Open Settings and go to the “Plugin Repository” page. It is recommended to use Ctrl+Shift+R to hard refresh and load the new UI.

Typical Usage

After installation, you can manage the local repository by configuring the directory repoDir. In Settings, you can view installed plugins directly in the “Local” tab, transfer plugins between devices in the “Cross-Device Sync” tab, or configure additional search paths in the “Advanced” tab.

Notes and Architecture

  • Configuration: Uses the schemastery style; fields are optional by default.
  • Credential Management: The plugin does not embed login credentials; cross-device authentication relies on the local DSH server.
  • Request Origin: Cross-device requests are initiated by the local DSH server (not directly by the browser), which ensures security.
  • Permission Requirements: The plugin runs with the permissions of the current DSH process. Review the source code and license before installation.

Short Conclusion

dsh-plugin-repo provides a controllable plugin management solution for DSH. It not only supports self-hosting but also enhances workflows through the HTTP API and cross-device sync. See the directory or GitHub repository for more details.