@baitongserver/dsh-plugin-market: Browse and Install Baitong Plugins and Skills in DSH

Introduction

The common way to extend capabilities in DeepSeek Harness (DSH) is to manually run dsh plugin add, check GitHub, or install skill packages by referring to documentation. While the Baitong side already maintains a plugin marketplace and a skill library, these directories are typically accessed via a browser, separate from the Harness session and sidebar interfaces. The @baitongserver/dsh-plugin-market (source repository: imyasonly/dsh-plugin-market) introduced below integrates “browsing the market, searching skills, and one-click installation” directly into DSH. It features a “Baitong Plugin Plaza” panel in the sidebar, and allows you to search and install via direct conversation with the Agent. Classified as a client plugin, it is compatible with both DSH web and desktop clients. It is ready to use upon installation; for private deployments, simply modify the configuration without the need to recompile.

What is this

The npm package name is @baitongserver/dsh-plugin-market (the current README corresponds to version 0.1.17, License MIT). It is maintained by imyasonly (Author: Yansen). It connects to the Baitong plugin marketplace API and Baitong skill library within the Harness, providing a graphical panel and a set of Agent tools for searching, installing, listing, and uninstalling local skills, as well as handling one-click installation and progress display for DSH plugins found in the marketplace.

Note: The installation must include the @baitongserver/ scope. The unprefixed dsh-plugin-market on npm belongs to a different project (veloce-ailab) and is not this plugin.

Core Features

  • Dual tabs for Plugins/Skills, supporting All/Installed toggles, category filtering, and sorting.
  • The panel header displays the current plugin version and a notification icon; a red dot indicates an available update if the local version is lower than the online version.
  • Plugin cards link to GitHub details, support one-click installation, and display progress from Preparing → Downloading → Completed.
  • The Installed view provides a read-only display of local plugins and skills (source spec, version, size, update time) and allows uninstallation.

The entry point at the bottom of the sidebar opens a standalone panel in the chat area (with toggle between Plugins/Skills). Closing it returns you to the conversation.

Agent Tools

Tool Description
baitong_plugin_search Search for DSH plugins in the Baitong plugin marketplace
baitong_plugin_install Install a specified plugin (owner + name)
baitong_skill_search Search the Baitong skill library (public + team)
baitong_skill_install Install a specified skill
baitong_skill_list List locally installed skills
baitong_skill_uninstall Uninstall a specified skill

The Agent is constrained to only invoke the above tools and will not print dsh plugin, npm, or curl commands in the conversation.

Other Capabilities

  • One-click restart of DSH after installation completes (app-level restart for desktop, process restart for web).
  • Icons support site-relative paths and external https links, loaded via a local icon proxy; falls back to a colored block with the first character on failure.
  • The interface language follows the Harness language settings (Chinese/English).

Environment Requirements

  • DeepSeek Harness (web or desktop).
  • Node.js ≥ 22 (provided by DSH).

Dependencies such as @deepseek-ai/cordis, @deepseek-ai/dsh-tools, and react are provided by DSH; manual installation in the plugin directory is not required. The peerDependencies for @deepseek-ai/dsh-tools use a release track range (^0.1.1-rc.2 || ^0.2.0-rc.1). DSH performs a semver match against the current running version before installation and will refuse to install (before executing pnpm) if there is a mismatch.

Installation and Activation

Web (CLI)

dsh plugin --profile web add @baitongserver/dsh-plugin-market
dsh web

It is recommended to bind dsh web to 127.0.0.1; do not listen on 0.0.0.0.

Desktop (GUI)

dsh plugin --profile desktop add @baitongserver/dsh-plugin-market

A DSH restart is required for the installation to take effect: the web client restarts the process and forces a browser refresh; on desktop, click “Restart Now” on the installation completion banner, or completely quit from the system tray and reopen.

npm vs. github: Source

  • npm (Recommended): Installs pre-built artifacts with no extra configuration needed.
  • github: Source: Executes a local prepare build during installation. You need to set dangerouslyAllowAllBuilds: true in the corresponding profile’s pnpm-workspace.yaml and then re-add. If you encounter similar blockages when using this plugin to install other plugins, the plugin will automatically write this entry and retry.

Typical Usage

Simply describe your needs to the Agent, for example:

  • Find a skill that can handle PDFs
  • Search the Baitong plugins for browser automation
  • What skills have I installed?
  • Uninstall the one from just now
  • Install the first plugin

Clickable cards will appear in the conversation after the search is complete. You can also click “Install” directly on the plugin card in the conversation stream; progress is displayed inline, and you can restart via the banner prompt upon completion.

Configuration and Private Deployment

The plugin configuration ID in the settings page is baitong-plugin-market (Path: Settings → Plugins → Plugin Config). After saving, it writes to $DSH_HOME/baitong-market.json and takes effect immediately.

Item Description
apiBase Baitong API root address (excluding /api), used for private deployment
skillsDir Skill installation directory, default $DSH_HOME/skills
timeoutMs Upstream request timeout (milliseconds), default 20000
maxResults Search result limit, default 12
userAgent Request UA

apiBase override priority (High → Low): Environment variable BAITONG_API_BASE → File saved in Settings page → ~/.dsh/profiles/<profile>/cordis.patch.yml (GUI startup, supports hot reload) → cordis.patch.local.yml + --patch in the repository → Default https://s.1100111.cn/baitong_ai.

GUI private deployment example (written at the profile layer):

# ~/.dsh/profiles/desktop/cordis.patch.yml
- id: baitong-plugin-market
  name: "@baitongserver/dsh-plugin-market"
  config:
    apiBase: https://your-private-host/baitong_ai

Temporarily changing the address:

BAITONG_API_BASE=https://your-private-host/baitong_ai dsh web

Confirm the currently active apiBase:

curl -X POST http://127.0.0.1:<port>/baitong-market -d '{"method":"pluginInstallStatus"}'

Use Cases and Notes

This is suitable for developers who are already using DSH and wish to extend capabilities via the Baitong plugin marketplace and skill library while minimizing browser switching. Community directory page: skillhub.cn plugin entry. The philosophy of the DSH plugin ecosystem is “Everything is a plugin.” This directory site is not officially affiliated with DeepSeek/Hunyuan. The Baitong market plugin introduced in this article likewise does not represent an official app store.

Installing third-party plugins is equivalent to installing third-party code into your profile. Plugins run with the permissions of the current dsh process. You should review the source code and license (this repository is MIT) before installation. Custom apiBase values should only point to services you trust. Networking uses the user’s own system configuration; the plugin does not include a built-in proxy. Upstream requests have a default timeout of 20s.

Security-wise, the installation plan rejects --force options, only accepts the web profile, and validates the source. It performs a pre-check for loader ID conflicts. Skill zip extraction prevents path traversal and requires a SKILL.md. The plugin does not execute code inside skill packages.

FAQ: Seeing “Preparing installation…” after clicking install is normal; do not click repeatedly. If the installation doesn’t take effect, it is usually because DSH was not restarted. If “Restart Now” on the desktop client is ineffective, you must completely quit from the system tray and reopen.

Summary

@baitongserver/dsh-plugin-market connects the Baitong plugin marketplace and skill library to the Harness sidebar and Agent toolchain, allowing search, installation, installed list, and uninstallation to be completed within the same interface. For details, configuration, and troubleshooting, please refer to the repository README: GitHub — imyasonly/dsh-plugin-market.

羽毛球分组比赛记分
小程序二维码

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

Xiaoye