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

@eya46/dsh-plugin-info

v0.0.3

Published

List profile-added DSH plugins, mark available updates, and show recent version notes

Readme

@eya46/dsh-plugin-info

面向 DeepSeek Harness 的插件信息页。包名 @eya46/dsh-plugin-info,挂到当前 Profile 后,设置里会出现「插件信息」分区。

它只看 Profile 用户自己加的插件profiles/<name>/package.jsondependencies),不把 @deepseek-ai/dsh-base 这类随发行版带的 bundle 算进去。默认展示全部用户插件;如需只看特定命名空间,可配置 allowScopes

  • 列出已安装插件、当前版本、来源(npm / 本地 / git)
  • 对 registry 安装的包对照 dist-tags.latest,标出可更新
  • 展开后默认看最近 10 条版本
  • 点某个版本读更新说明:优先 GitHub Release,没有就回落到相邻版本的 compare / commit

实现方式对齐 dsh-model-meta-autofill:Host 注册本机 HTTP API,Client half 通过 dsh.client 挂到 settings.section

可选:dsh-better-sidebar 标签页

若 Profile 同时安装了 dsh-better-sidebar (≥0.4.0),本插件会自动在侧边栏 + 菜单里多注册一个插件信息标签页(id @eya46/dsh-plugin-info,order 90,单实例),内容与设置页完全一致——侧边栏较窄,内部已做滚动/宽度适配。

实现是软依赖:不写 peerDependencies,不 import 'dsh-better-sidebar',只用 Cordis 的 ctx.inject(['betterSidebar'], ...) 开一个子 fiber——未安装时回调永不触发,其他功能不受影响;禁用 / HMR 任一插件时 disposer 随各自 fiber 清理,不会残留 "already registered"

安装

在仓库根目录构建后,把它加进当前 Profile:

pnpm install
pnpm --filter @eya46/dsh-plugin-info build
dsh plugin --profile web add "file:./packages/dsh-plugin-info"

dsh.bundle 会把 @eya46/dsh-plugin-info 写进该 Profile 的 bundle 列表。重启 dsh web 后,打开设置 → 插件信息

HTTP

本机回环可用:

| 端点 | 说明 | | --- | --- | | GET /plugin-info/api/plugins | 当前 Profile 用户插件 + 是否有更新 | | GET /plugin-info/api/versions?name=<pkg>&limit=10 | 最近版本,默认 10 条 | | GET /plugin-info/api/notes?name=<pkg>&version=<ver> | 该版本的更新说明 |

配置

| 键 | 默认 | 说明 | | --- | --- | --- | | registryUrl | https://registry.npmjs.org | npm 源 | | defaultVersionLimit | 10 | 默认版本条数 | | timeoutMs | 15000 | 注册表 / GitHub 超时 | | cacheTtlMs | 300000 | packument 与说明缓存 | | allowScopes | 无(展示全部) | 名称前缀白名单;省略或为空数组时展示全部用户插件 |

覆盖写在 Profile 的 cordis.patch.yml

- id: dsh-plugin-info
  config:
    defaultVersionLimit: 10

本地 / file: / link: 安装没有 registry latest,不会标「可更新」。GitHub 说明在有 repository 字段时才会去拉;若遇到 API 限流,可在环境里设 GITHUB_TOKEN

开发

pnpm install
pnpm --filter @eya46/dsh-plugin-info test
pnpm --filter @eya46/dsh-plugin-info build