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-standing-rules

v1.3.1

Published

Appends the rules from AGENTS.md to every incoming user message as a reminder.

Readme

dsh-standing-rules

一个 DeepSeek Harness 插件:把 AGENTS.md 的规则附加到用户消息上,作为提醒。

  • 通常每收到一条用户消息,就在这条消息后面附加一条规则提醒,模型读到的最新消息旁边就有规则。
  • 提醒消息保留在会话历史里,随着对话增加不断累积。
  • 组装提醒时读取规则文件,修改后下一条消息直接生效。
  • 不添加工具或命令;插件页面提供配置表单。

安装

在插件页搜索 dsh-standing-rules 安装,或者使用命令行:

dsh plugin --profile <profile> add dsh-standing-rules

默认读取 $DSH_HOME/AGENTS.md(通常是 ~/.dsh/AGENTS.md)。

配置

| 字段 | 默认值 | 含义 | | --- | --- | --- | | file | '' | 规则文件的绝对路径,或者以 ~ 开头的路径。留空表示 $DSH_HOME/AGENTS.md。 | | remindOnSteer | false | 插话进入运行中的轮次时,是否也追加提醒。 |

- id: standing-rules
  name: dsh-standing-rules
  config:
    file: '~/notes/rules.md'

插件页面里也有这两个字段的表单;保存会写入当前 profile 的 patch,并在下一条消息生效,插件不重启。

行为

  • 本步里 DSH 本体已经通过 agent-instructions 注入同一份规则内容时,不再追加提醒。
  • 在运行中的轮次里插话发送的消息,默认不追加提醒;打开 remindOnSteer 后与普通消息一样追加。
  • 其余情形下,每条进入会话的用户消息,包括委派给子智能体的任务消息,后面都会附加一条规则提醒消息。
  • 提醒消息是 user 角色,带 <system-reminder> 框架,规则文件原样放入;文件里字面的 </system-reminder> 会被转义。
  • 每条消息附加时读取一次规则文件。默认文件不存在时不附加提醒;显式配置的文件读取失败时请求直接失败。
  • 每条提醒都保留在会话历史里,后续每次请求都要支付它的输入 token。长会话按设计累积多份副本。

兼容性

在 DeepSeek Harness 0.2.1-rc.3 与 Node 24.21.0 上测试。要求 dsh >=0.2.0-rc.2 || >=0.2.1-rc.2,Node ^22.19.0 || >=24.0.0。

卸载

在插件页移除这个组合包,或者使用命令行:

dsh plugin --profile <profile> remove dsh-standing-rules

许可证

MIT