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-harness-ui

v0.1.2

Published

Full-page Harness console for the DeepSeek Harness Web GUI: sessions, plugins, market, MCP, skills and usage in one shell.

Readme

dsh-harness-ui

License: MIT

DeepSeek Harness Web 的全页控制台插件:把会话、插件、市场、MCP、技能与用量收进一个外壳。

行为

  • 在侧栏新增一个 Harness 控制台 入口,点开后在主区打开一个整页面板。
  • 面板顶部是视图切换器,含 7 个视图。每个视图读取 DSH 运行时的真实数据源,源不可用时显示明确的空状态,不填充占位数据:

| 视图 | 数据源 | | --- | --- | | 总览 | ctx.sessions.list 快照 + remote.pluginInventory | | 会话管理 | ctx.sessions.list(标题、目录、运行状态、更新时间) | | 插件管理 | remote.pluginInventory.list() + remote.pluginManager.listBundles() / listPlugins();开关调用 setBundleEnabled | | 插件市场 | GitHub 搜索 API topic:dsh-plugin(公开、无需凭据) | | 技能浏览 | remote.skills.list({ sessionId }),按活动会话解析 | | MCP 管理 | 本构建无客户端接口 → 空状态 | | 用量与模型 | 本构建无客户端 Remote → 空状态 |

  • 主题(浅/深)与界面密度(宽松/紧凑)保存在浏览器 localStorage。

关于降级

插件通过 ctx.get(name) 探测服务,未挂载的服务不会让面板崩溃:

  • 缺 sessions → 会话视图显示「sessions 服务不可用」
  • 缺 pluginInventory → 插件视图显示不可用
  • 缺 skills 或没有活动会话 → 技能视图显示对应提示
  • MCP 与用量:DSH 当前只在宿主侧暴露相关能力,浏览器端没有对应 Remote 命名空间,因此这两个视图明确说明无法读取,而不是展示假数据。

开发

npm run build
npm test
npm pack --dry-run

src/client.js 是唯一手写源,npm run build 把它复制为 lib/client.js(build:check 校验二者一致)。 tests/preview.html 是渲染验证挂具:模拟 DSH 的 ModuleLoader 与 ctx 服务,可在浏览器里离线查看各视图与降级路径。

安装

dsh plugin --profile web add dsh-harness-ui

安装后重启 DeepSeek Harness Web。

本地开发版可以直接安装目录:

node D:\deepseek-harness\apps\cli\lib\bin.js plugin --profile web add E:\.weixincodex\dsh-harness-ui

说明

sidebar / rightbar / root 是 DSH 的 single 槽位,由官方 ui-layout 与 ui-sidebar 占用,插件不可替换。本插件因此注册一个 main 整页面板(DSH 允许的做法)并从 sidebar.panellist 提供入口,而不是替换整个应用外壳。