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-plugins-dream

v1.0.1

Published

Dream — 4-phase memory consolidation for dsh (port of Claude Code's auto-dream skill): Orient → Gather → Consolidate → Prune&Index over session logs, auto-triggered every 24h.

Readme

dsh-dream — 记忆整合插件(Claude auto-dream 移植)

把 Claude Code 社区著名的 auto-dream skill(grandamenium/dream-skill,模拟 Anthropic 未发布的 auto-dream)移植到 dsh。

4-phase 流程

  1. Orient — 读取现有 ~/.dsh/dreams/MEMORY.md
  2. Gather — 扫描最近 20 个会话(多帧 zstd 解码),提取用户消息、注入消息、工具失败
  3. Consolidate — 派子代理把新信号合并进记忆:相对日期→绝对、消矛盾、去重、用户纠正优先
  4. Prune & Index — 重建为 ≤200 行精简索引

自动触发

后台每小时检查一次:距上次整合 ≥24h 即自动执行整合 pass(fork 子代理,无需用户在场)。

工具

| 工具 | 作用 | |---|---| | dream_run | 手动执行一次整合 | | dream_status | 上次整合时间、到期倒计时、MEMORY.md 行数、历史记录 | | dream_now | 跳过间隔检查强制整合 |

数据位置

  • ~/.dsh/dreams/MEMORY.md — 整合后的记忆(纯 markdown,可手动编辑)
  • ~/.dsh/dreams/signals/ — 每次 pass 的原始信号
  • ~/.dsh/dreams/state.json — 状态