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

dsh-hub-agent

v0.4.0

Published

DSH Plugin Hub agent: reports the profile's installed plugin inventory and runtime health to dsh-ai.org, and doubles as the hub's runtime eval probe.

Readme

dsh-hub-agent

DSH Plugin Hub 的运行时 agent 插件:在 DeepSeek Harness profile 内收集已安装插件清单与运行健康状况。本地优先 —— 数据始终落在 profile 自己的 SQLite 里;上报到 dsh-ai.org 是可选的、匿名的、默认关闭。

dsh plugin --profile web add dsh-hub-agent

它做什么

启动(及每 6 小时)时:

  1. 收集 profile 的依赖清单(包名、版本、是否为 dsh 插件);
  2. 追加写入 profiles/<name>/.dsh-hub-agent/history.sqlite(Node ≥22.5 内置 node:sqlite;旧运行时回落 JSONL);
  3. 可选:匿名上报到 hub(POST /api/telemetry/harness),让目录获得"N 个 profile 正在运行此插件"的真实信号。

Web UI 面板

安装后 dsh web 右下角会出现 Hub 胶囊:点击展开插件面板(dsh-ai.org 同款设计), 列出当前 profile 已安装的插件与版本、上报状态,并可一键跳转目录查看每个插件。

隐私

  • 不采集消息内容、路径、用户名;唯一标识是 profile 内一个随机 id。
  • 远端上报默认关闭。开启方式:配置 { enabled: true } 或环境变量 DSH_HUB_AGENT_REPORT=1;DSH_HUB_AGENT_DISABLE=1 永远优先生效。

作为 eval 探针

dsh-ai.org 的插件评测用本插件做运行时验证:boot profile 时设置 DSH_HUB_AGENT_OUT=<path>,agent 会把清单报告写到该路径——报告出现即证明 profile 真实启动、插件真实解析。相关环境变量:

| 变量 | 作用 | |---|---| | DSH_HUB_AGENT_OUT | 把运行时报告写到此路径(eval 模式) | | DSH_HUB_AGENT_PROFILE_DIR | 显式指定 profile 目录(link 安装时需要) | | DSH_HUB_AGENT_REPORT=1 | 强制开启远端上报 | | DSH_HUB_AGENT_DISABLE=1 | 强制关闭远端上报 | | DSH_HUB_URL | 覆盖 hub 地址 |

License

MIT