dsh-plugin-shop README

The project's README from github.com/LivXue/dsh-plugin-shop. As one markdown file: README.md.

dsh-plugin-shop

The plugin shop for DeepSeek Harness — browse, install, enable, disable, and update dsh plugins, with every catalog change tracked in Git.

npm plugins filtered license plugin CI catalog

English | 中文


📦 Install the shop

Install the shop manually, or have an agent follow the automated steps below.

🧑 Manual installation

Prerequisite: Node.js. You can run DeepSeek Harness without a global installation using the command in its official documentation: npx -y @deepseek-ai/dsh web. Plugin management uses dsh plugin, which invokes both dsh and pnpm. Install these tools with npm install -g @deepseek-ai/dsh pnpm, then check that both are available with dsh --version and pnpm --version.

# With dsh installed globally, run the following command.
# Specify the version: pnpm 11 restricts newly published releases by default,
# so omitting the version may install an older release. The current version
# is shown below; check for updates with `npm view dsh-plugin-shop version`.
dsh plugin --profile web add [email protected]
# Alternatively, run the installation command through npx:
npx -y @deepseek-ai/dsh plugin --profile web add [email protected]

Replace web with your profile name if you use a different one. Restart dsh after installation to load the new plugin, then open:

Plugin shop in the left sidebar

🤖 Installation with an agent

An agent can run these steps without interaction. The --profile option is required. If it is omitted, dsh plugin exits with this error: error: required option '--profile <name>' not specified.

# 1. List available profiles ($DSH_HOME defaults to ~/.dsh; exclude node_modules).
ls -1 "${DSH_HOME:-$HOME/.dsh}/profiles" | grep -v '^node_modules$'

# 2. Specify the version to bypass pnpm's release cooldown and ensure
#    that the expected version is installed.
dsh plugin --profile <profile> add [email protected]

# 3. Verify the installation; exit code 0 above only means pnpm resolved the package.
dsh plugin --profile <profile> list --depth 0   # The output should include dsh-plugin-shop.

# 4. Restart the profile to load the new plugin.
dsh --profile <profile>

You can also verify step 3 by checking that dsh.profile.bundles in $DSH_HOME/profiles/<profile>/package.json includes the plugin. For troubleshooting, see the package README.

🖼️ Screenshots

The plugin shop's own page in the dsh sidebar
A plugin your dsh would refuse to install says why on its card The plugin shop in dark mode
A plugin your dsh would refuse to install says why on its card The plugin shop in dark mode

✨ Highlights

🗺️ How it works

The catalog is built daily in this repository. The build code lives in registry/.

flowchart TB
  subgraph HARVEST["1 · Discover — collect plugins from public sources daily"]
    direction LR
    NPM(["npm packages<br/>keyword dsh-plugin<br/>keyword deepseek-harness"])
    GH(["GitHub repositories<br/>with the same keywords<br/>as topics"])
  end

  subgraph GATE["2 · Screen — check every candidate on each build"]
    direction LR
    G1["Is it a loadable plugin?<br/><br/>Has a valid<br/>dsh.bundle"]
    G2["Can it be reviewed?<br/><br/>Has a license and<br/>an accessible source repository"]
    G3["Can it be installed?<br/><br/>Not deprecated on npm;<br/>repository listings also require<br/>no build scripts or<br/>workspace: dependencies"]
    G4["Is the package information credible?<br/><br/>Check integrity, publication time,<br/>and potentially misleading names"]
    G5["Is there information to display?<br/><br/>Has a valid dsh.catalog<br/>or an npm description"]
  end

  subgraph SHELVE["3 · List — record plugin details"]
    direction LR
    CAT["One of seven categories"]
    PEER["Required peer dependency names,<br/>without version ranges"]
  end

  NPM --> G1
  GH --> G1
  G1 -.-> REJ
  G2 -.-> REJ
  G3 -.-> REJ
  G4 -.-> REJ
  G5 -.-> REJ
  REJ[["Rejected — record the plugin name and explain why"]]
  G5 ==>|"All five checks pass"| CAT
  PEER ==> PUB[["4 · Publish — name JSON files by content hash, commit to Git, and publish to GitHub Pages and npm"]]

The shop runs locally as an npm package. Its code lives in packages/dsh-plugin-shop/. The catalog build and the local shop share a data schema; their code is independent.

flowchart LR
  CAT[["Plugin catalog<br/>index.json + plugins.sha256.json"]]
  CAT ==> HOST["5 · Host<br/>Request multiple sources concurrently<br/>Verify sha256 and cache the result"]
  HOST ==> DEP{"6 · Check dependencies<br/>Look for each peer dependency<br/>in your profile or web client"}
  DEP -->|"Missing dependencies"| BAD["Incompatible<br/>The card lists<br/>missing dependencies"]
  DEP -->|"All dependencies found"| GOOD["Ready to install"]
  BAD --> CLIENT["Client — the plugin shop page<br/>Calls nine shop/* methods on the host<br/>No network or filesystem access"]
  GOOD --> CLIENT
  CLIENT ==>|"dsh plugin add"| PROF[("your dsh profile")]

Two details are useful to understand:

✅ Project principles

Open to the community Publish to npm with the dsh-plugin or deepseek-harness keyword to make your plugin discoverable. No separate submission to this project is needed.
Traceable changes Catalog updates are committed to Git daily, so you can inspect each change and its history.
Explicit trust levels A human review applies only to the exact version reviewed. Other versions cannot inherit that status, preventing an author from using an earlier review to endorse a malicious release. Currently, registry/verified.yml is empty: no catalog entries have been reviewed by a human, and all plugins are in the community tier. Automated screening cannot replace a review of the plugin's code.
Restricted UI permissions The browser interface has no network or filesystem access. Compromising it does not grant runtime privileges.

🚫 Permissions and limitations

The shop does not provide sandbox isolation. Once loaded, a dsh plugin has access to the full ctx, including your filesystem, shell, and requests sent to the model. Installing a plugin means trusting it with these permissions. The shop does not restrict what a running plugin can do.

The shop does not display download counts, ratings, or reviews, and it will not offer installation from arbitrary URLs. For that, use dsh plugin add and decide whether to allow build scripts or pin a specific commit.

📚 Plugin catalog

The catalog is built daily and published as static JSON through the dsh-plugin-shop-catalog npm package and GitHub Pages. The shop requests it from multiple sources: your configured npm registry, npmmirror, npmjs, and GitHub Pages. It uses the first valid response to avoid delays from a slow connection to any one source. Each source serves identical data, which is checked against the sha256 hash in the index before use. Set DSH_SHOP_CATALOG_URL to use only a specific source.

File Purpose
/v1/index.json The index: schemaVersion, builtAt, the count of listed plugins, the rejected total, and content hashes. The badges above read these totals live. The file is small enough for regular polling.
/v1/plugins.<sha256>.json Plugin data, named by its content hash and safe to cache indefinitely.
/v1/stars.<sha256>.json GitHub star counts for each plugin, keyed by package name, when the daily build can retrieve them.
/v1/icons.<sha256>.json Plugin icons, each stored once as a data URL under the sha256 of its bytes. A plugin's icon field in the plugin data is its key here. Only icons that passed the daily build's checks are included, and the file is absent when there are none.

Each workflow run includes a rejection report listing every rejected plugin and the reason it was excluded, with details to help authors troubleshoot.

When catalog content changes, the data filenames change with their content hashes, and the old files are removed. However, index.json is cached for ten minutes, so it may temporarily reference files that no longer exist. If you fetch data directly from /v1/ and a data URL returns 404, fetch index.json again. Alternatively, read the same data from the dsh-plugin-shop-catalog npm package, which always bundles the index with its matching data files.

🏷️ Listing a plugin

Add dsh-plugin or deepseek-harness to the keywords in your package.json and publish to npm. The daily build will discover your plugin and list it once it passes the checks. If you do not publish to npm, your plugin can be listed from its GitHub repository: add either keyword as a repository topic and include name and dsh.bundle in the root package.json. The catalog pins a specific commit from the default branch as the plugin's version.

The optional dsh.catalog section lets you specify the category, summary, and capabilities. Without it, the catalog generates a listing from your npm description.

{
  "name": "dsh-hello-plugin",
  "keywords": ["dsh-plugin"],
  "dsh": {
    "bundle":  { "patch": "./cordis.patch.yml" },
    "catalog": {
      "category": "tool",
      "summary": { "en": "...", "zh": "..." },
      "capabilities": ["fs", "shell"]
    }
  }
}

See docs/schema.md for the full field reference.

Common reasons for exclusion:

🌾 Which packages are discovered?

Discovery matches dsh-plugin and deepseek-harness in npm keywords or GitHub repository topics, regardless of the package name. The cordis-plugin keyword identifies the underlying framework, but does not establish that a package can be installed as a DSH plugin. Built-in plugins distributed with dsh declare no npm keywords, so this discovery process does not find them.

If your community plugin uses Cordis and integrates with DSH, add either keyword and declare dsh.bundle in the appropriate manifest:

A general-purpose Cordis library without dsh.bundle cannot be installed as a DSH plugin.

🗂️ Repository layout

Path Contents
registry/ The catalog pipeline. Core logic (gate, tier, emit, pipeline) uses pure functions; surrounding modules (npm-client, build) handle network requests, file access, and other side effects.
registry/verified.yml Human review records tied to specific versions.
registry/denied.yml The denylist, with a reason for each entry.
registry/snapshots/ Daily manifest.lock snapshots.
packages/dsh-plugin-shop/ The shop's npm package, containing the host and client components.
docs/design/ Design specifications that guide the implementation.

🛠️ Development

pnpm install
pnpm test        # vitest
pnpm typecheck

pnpm build:catalog collects live data from npm and GitHub, making thousands of network requests and taking several minutes. All policy decisions are covered by offline tests. Run the full build when you change data fetching or file output and need to verify the complete workflow.

Project status and remaining work: docs/plans/2026-08-18-remaining-work.md. Design specification: docs/design/2026-08-18-dsh-plugin-shop-design.md.

🤝 Contributing

Contributions are welcome. Here are three ways to help, starting with a small correction:

See the contribution guide for detailed instructions, and follow the Code of Conduct when taking part in discussions. Report vulnerabilities or malicious plugins privately through the security reporting process, not in a public issue.

📄 License

Apache-2.0 © LivXue

dsh-plugin-shop (LivXue/dsh-plugin-shop)

Searching Database…

What is this?It's a browsable, git-auditable plugin marketplace for DeepSeek Harness (dsh) — a catalog you use to discover, install, enable and update dsh plugins.
Is this a sandbox that isolates plugins, or just a catalog UI?It's just a catalog and install UI, not a sandbox. A plugin you install gets the full runtime context — your filesystem, your shell, and the model requests — this project only tells you that fact before you click install.
How do I browse and install plugins from the shop?Install dsh and pnpm globally, run dsh once, then open Settings → Plugins → Plugin shop in the dsh UI; restart dsh after adding a bundle since it isn't applied to a running process. Agents instead run dsh plugin non-interactively, where --profile is mandatory.
Do I need Node.js and pnpm before trying it?Yes — Node.js is required, and plugin management spawns both the dsh CLI and pnpm, so both need to be installed globally beforehand.
Has anyone actually reviewed these plugins before they're listed?Not yet — the human-review file is currently empty, so every listed plugin is community-tier, and installing one always requires an explicit risk acknowledgement rather than implying it's been vetted.
Do I need to already have DeepSeek Harness (dsh) installed to use this shop?Yes — this is a plugin manager layered on top of an existing dsh install; running the harness itself is a separate step, documented upstream as npx -y @deepseek-ai/dsh web.
How often is the catalog refreshed?It rebuilds daily and commits the result to git, so every new plugin, every change, and every removal shows up as a reviewable diff rather than a silent database update.
How does the compatibility check decide a plugin is 'Incompatible'?The catalog records only each plugin's peer dependency names, never version ranges; your own installation resolves those names against your actual profile, so a card only shows Incompatible when a module is genuinely missing on your machine.
How do I get my own plugin listed in the shop?Tag your npm package with the dsh-plugin or deepseek-harness keyword and publish it, or tag a GitHub repo the same way with a package.json containing dsh.bundle at the root — the next daily build picks it up automatically, no submission needed.
Why doesn't it show download counts, ratings, or an install-from-URL button?The project deliberately omits them: it tracks GitHub stars but not install popularity, and it will never offer an arbitrary-URL install, keeping that riskier capability confined to the explicit dsh plugin add command.
Creator
LivXue
Size
93.9 MB
Stars
666
Age
3mo
Commits · 90 Days