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

@liguojiang/dsh-plugin-desktop-pet

v0.1.0

Published

A configurable desktop pet overlay for DeepSeek Harness with live task progress.

Readme

DSH Desktop Pet

English | 中文

CI npm License: MIT

DeepSeek Harness Web 的桌面电子宠物插件。宠物显示在工作区悬浮层,可拖动、关闭、替换图片,并根据当前会话状态和任务列表显示工作进度。

桌面电子宠物设置页

功能

  • 在 DSH 工作区显示可拖动电子宠物
  • 从宠物按钮关闭,并在设置页重新打开
  • 上传 PNG、JPEG、WebP 或 GIF 图片,最大 2 MB
  • 编辑宠物名称、尺寸和待机动效
  • 读取当前会话运行状态
  • 在 DSH 发布 todos 投影时显示当前任务和完成数量
  • 在“设置 > 插件 > 电子宠物”集中管理配置
  • 支持深浅色主题和 prefers-reduced-motion

兼容性

  • DeepSeek Harness:0.1.0-rc.6
  • Node.js:>=20
  • 浏览器:DSH Web 当前支持的现代浏览器

安装

从 npm 安装:

dsh plugin --profile web add @liguojiang/dsh-plugin-desktop-pet

重启 dsh web,然后打开“设置 > 插件 > 电子宠物”。

从 GitHub 安装开发版本:

dsh plugin --profile web add github:guojiangli/dsh-plugin-desktop-pet

卸载:

dsh plugin --profile web remove @liguojiang/dsh-plugin-desktop-pet

隐私

插件没有服务器接口,也不会上传图片。配置和自定义图片以 Data URL 形式保存在当前浏览器的 localStorage 中。清除站点数据会同时清除宠物配置。

已知限制

  • 配置只在当前浏览器和当前站点生效,不会跨设备同步。
  • 浏览器存储容量有限,因此单张图片限制为 2 MB。
  • 只有当前会话提供 todos 投影时才显示任务进度条;否则只显示运行或待命状态。
  • 新安装的 DSH 客户端插件需要重启 dsh web 才能进入客户端 roster。

开发

pnpm install
pnpm build
pnpm test
pnpm check

源码位于 src/,生成文件位于 lib/scripts/build.mjs 使用 esbuild 生成 DSH window.__ModuleLoader__ 客户端 bundle,TypeScript 同时生成公开类型声明。

本地安装当前目录:

dsh plugin --profile web add .

贡献

提交代码前请阅读 CONTRIBUTING.mdCODE_OF_CONDUCT.md。安全问题请按 SECURITY.md 私下报告。

许可证

MIT © 2026 guojiangli