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-myrules

v0.1.1

Published

My Rules for DeepSeek Harness (DSH): edit your host-wide global instructions (~/.dsh/AGENTS.md) from the DSH Web settings page — the custom instructions apply to every chat on this machine. 在 DSH Web 设置页编辑此主机全局指令(~/.dsh/AGENTS.md)的插件——自定义指令适用于此主机上所有聊天。

Readme

dsh-myrules

在 DeepSeek Harness(DSH)Web 设置页编辑此主机的全局指令。设置页新增「个性化」页:一个多行编辑器,对应 $DSH_HOME/AGENTS.md——这个文件会被 dsh-agent-instructions 注入此机器上的每一个会话,作为持久指令块生效。

编辑保存后:新会话立即生效;当前会话在下次文件操作后感知。无需重启。

安装

dsh plugin --profile web add dsh-myrules

重启 dsh web,然后打开 设置 → 个性化

使用

  1. 打开 设置 → 个性化
  2. 编辑你的自定义指令(Markdown 格式,可多条,换行分隔)
  3. 点击 保存

保存很简单:

  • 清空内容保存会删除指令文件(清除全局指令),需要确认
  • 超过 64 KB 指令预算时仍会保存,但提示警告(渲染器会先省略较宽泛的文件、再截断最具体的文件)

工作原理

  • 宿主侧lib/host.js):TypertRemoteService 网关,wire 命名空间 myRules——readGlobalRules / writeGlobalRules 两个方法。文件路径经 $DSH_HOME 解析(配置 → 环境变量 → ~/.dsh)。
  • 浏览器侧lib/client.js):标准 client-modules bundle,注册 settings.section 页面;完整中英双语。
  • 生效机制:无需热重载——DSH 内置的 dsh-agent-instructions 监听 user-global scope,文件变化后自动重新注入。

许可证

MIT