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

@weibaohui/hermes-loop

v0.1.7

Published

dsh 插件 · 自动复盘:对话收尾后自动复盘,把有价值的经验蒸馏成可复用的技能(skill)存入技能库,模型可直接调用;支持信号加速触发、手动立即复盘、审批模式与技能库治理(归档/恢复,永不直接删除)。

Readme

@weibaohui/hermes-loop

DSH plugin npm version

自动复盘插件:对话收尾后自动复盘,把有价值的经验蒸馏成可复用的技能(skill),把值得长期记住的事实与偏好写入跨会话记忆。

Hermes Loop:会话内复盘面板与技能治理

核心功能

  • 自动复盘:对话达到阈值(默认 10 轮或 10 次工具调用)且过了冷却期,自动触发一次复盘;结论回显到来源会话
  • 经验 → 技能:复盘产出的经验自动写成 skill 存入技能库,模型之后可以直接调用
  • 信号加速触发:用户中断、工具连续失败、纠正词命中时跳过阈值提前复盘;纠正词可在面板自定义,命中率有统计
  • 手动「立即复盘」:面板一键触发,运行过程实时可见
  • 三种模式:自动写入 / 写入前需审批 / 仅记录不写入,设置面板即时切换
  • 技能治理:技能使用统计、僵尸技能识别;Curator 自动维护技能库(活跃 → 归档 → 可恢复,永不直接删除)
  • 跨会话记忆:复盘按需把环境/项目事实、约定教训写入 ~/.dsh/memory/MEMORY.md,把用户画像与偏好写入 USER.md(对齐 Hermes 的记忆分层);记忆全文以会话首冻结方式注入每个对话,写入或手改后下个会话生效。按需产出——多数复盘不产生记忆,不为写而写

安装

dsh plugin --profile web add @weibaohui/hermes-loop -w

装完重启 dsh web 即生效。

使用

  1. 打开 Web UI → 设置页 → hermes-loop 面板
  2. 默认自动模式即可工作;想更稳妥可切换为「审批」模式(复盘写入前需你确认)
  3. 触发阈值、冷却时间、纠正词表均可在面板调整
  4. 复盘产出的技能进入技能库后,模型通过 skill 工具直接使用;使用统计与归档管理也在面板里
  5. 记忆条目在面板查看用量与内容;增删改直接编辑 ~/.dsh/memory/MEMORY.md / USER.md(一行一条、§ 开头),下个会话生效

联系我 :飞书群

link