npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@vithrive/dsh-plugin-market

v0.1.1

Published

DSH web plugin: a plugin marketplace tab in Settings → Plugins, listing installable dsh plugins from the deepseek-harness-plugin.com directory with one-click install.

Readme

@vithrive/dsh-plugin-market

A plugin-marketplace tab for the DeepSeek Harness Web UI, placed in Settings → Plugins, right of the plugin list.

Published as @vithrive/dsh-plugin-market on npm (the bare dsh-plugin-market name is taken by an unrelated package).

What it does

  • Adds a Plugin market tab to the Plugins settings section (settings.plugins.tab, id market, order 20 — after the plugin list).
  • Data source: the DeepSeek Harness Plugin Directory — a curated directory of ~287 plugins across 11 categories, updated daily. The browser reads its list pages directly (the site serves access-control-allow-origin: *, so no proxy is needed).
  • Pins the directory's ★ Featured picks on top, then the full catalog, with live search, a category filter, and an installed-only toggle.
  • Marks packages already installed in this deployment (matched by normalized package name against the pluginInventory Remote; a directory slug and the npm/package name sometimes differ, so a miss there is possible).
  • One-click install: every card has an Install button that runs pnpm add <spec> in the web profile through a same-origin host endpoint (POST /plugin-market/api/install, origin-checked and spec-whitelisted) and reconciles dsh.profile.bundles — success shows 已安装, failure shows 安装失败 with the pnpm error. A restart of dsh web is still required for the newly installed plugin to activate.
  • Every card expands to fetch the plugin's install command from the directory detail page, with copy-to-clipboard, the GitHub source link, and the plugin facts (stars / license / language / last push / maintainer). The directory prints dsh plugin add github:owner/repo; since the CLI requires --profile, the copied command is adapted to dsh plugin --profile web add github:owner/repo.

Install

From npm (published as @vithrive/dsh-plugin-market):

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

From the source directory (this repo lives at ~/.dsh/plugins/dsh-plugin-market):

cd ~/.dsh/plugins/dsh-plugin-market
pnpm pack
dsh plugin --profile web add .\dsh-plugin-market-0.1.0.tgz

Then restart the web app:

# stop the running `dsh web` (Ctrl+C or kill the process), then
dsh web

The browser roster (dsh.client scanning) picks the new client bundle up on boot — no web-app rebuild is needed.

Structure

lib/index.js    node half — marker row (the marketplace is browser-side)
lib/client.js   browser half — the Plugin market tab (registered into
                settings.plugins.tab, id "market", order 20)
cordis.patch.yml  dsh.bundle.patch — inserts the plugin-market row
package.json    declares dsh.bundle.patch + dsh.client (platform web)
smoke.mjs       Node smoke test (exports contract, tab registration, pure
                helpers, SSR render) — run `node smoke.mjs`

Development

The client bundle is a plain window.__ModuleLoader__.load({ id, factory }) handoff (the format client-modules serves under /plugins/<id>/client.js); it requires only modules that are already in the web roster (react, @deepseek-ai/dsh-client-ui-primitives).

The HTML parsers (parseListHtml / parseDetailHtml) run in the browser (DOMParser); make-probe.mjs emits a self-contained probe that exercises the data layer against the live directory inside a browser page (CDP), used to verify parser changes against the real site.

On Windows, pnpm cannot symlink local folders without Developer Mode, so the profile installs the package from a tarball. The dev loop is:

# after editing lib/*, re-pack, re-add, then restart dsh web
cd C:\Users\admin\.dsh\plugins\dsh-plugin-market
pnpm pack
dsh plugin --profile web add .\dsh-plugin-market-0.1.0.tgz

To point the install command at a different profile, edit PROFILE in lib/client.js.

Notes

  • The directory is fetched directly from the browser; if the machine is offline the tab shows a retryable error, and one-click install reports the failure on the card.
  • One-click install runs pnpm add in the profile directory (ctx.baseUrl); installing a plugin that is already present fails with pnpm's message, and a newly installed plugin only activates after dsh web restarts.