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

0rrery

v0.1.2

Published

Trace-first, local-first observability for AI agent workflows

Readme

0rrery

Trace-first, local-first observability for AI agent workflows. Watch what your Claude Code sessions actually did (every tool call, subagent, LLM call, and permission decision) as live traces in a local dashboard. One process, one SQLite file, no cloud. Ingests Claude Code and OpenAI Codex CLI sessions.

Quickstart

npm install -g 0rrery    # or: bun install -g 0rrery
0rrery init

init does three things (each skippable): installs Claude Code hooks (--no-hooks), sets up a user service so 0rrery runs persistently (--no-service), and imports your existing session history (--no-import). Then open http://localhost:7317.

Requires Bun ≥ 1.1 at runtime: the CLI runs on Bun even when installed via npm, so npm install succeeds without Bun, but the 0rrery command exits with an install-Bun message until Bun is on your PATH. Claude Code hooks require the global install (the hook command is 0rrery hook); bunx 0rrery serve works for a look around without installing.

Commands

| Command | What it does | |---|---| | 0rrery init | hooks + agent skill + service + history import, idempotently | | 0rrery serve | run the server + dashboard in the foreground | | 0rrery install | (re)install Claude Code hooks into ~/.claude/settings.json; replaces stale 0rrery entries | | 0rrery import <file.jsonl> | import one transcript | | 0rrery import --all | import everything under ~/.claude/projects | | 0rrery service install\|uninstall\|status | manage the systemd user unit (Linux) / launchd agent (macOS) |

What gets written where

  • ~/.claude/settings.json — hook entries (command 0rrery hook)
  • ~/.0rrery/ — SQLite DB + tailer offsets
  • ~/.config/systemd/user/0rrery.service or ~/Library/LaunchAgents/com.0pon.0rrery.plist

Configuration

| Env var | Default | | |---|---|---| | ORRERY_PORT | 7317 | dashboard/API port | | ORRERY_HOST | 127.0.0.1 | bind address (localhost-only by design) | | ORRERY_DATA_DIR | ~/.0rrery | data directory | | ORRERY_DB | <data dir>/0rrery.db | database path | | ORRERY_URL | http://localhost:7317 | where hooks/import post to | | ORRERY_CLAUDE_DIR | ~/.claude | Claude Code config/transcripts root |

Agent skill

init installs a skill at ~/.claude/skills/0rrery/ that teaches Claude to answer questions like "what did I spend this week", "what keeps failing in this repo", or "what did my last session do" by querying the local API. Skip with --no-skill; remove with rm -rf ~/.claude/skills/0rrery.

Releases

Versions are published by CI via npm Trusted Publishing: bump the version in scripts/build-pkg.ts, tag vX.Y.Z, push the tag — the workflow tests, stages, and publishes with provenance. No tokens.

Upgrade

npm install -g 0rrery@latest    # or: bun install -g 0rrery@latest
0rrery service uninstall && 0rrery service install   # regenerate if the bin path changed

After upgrading (or when developing from the repo), rebuild and force a reinstall so the dashboard picks up the new bundle: bun run build:pkg, then bun install -g 0rrery@latest for registry installs, or cd ~ && bun install --force for file:-pinned dev installs — an unchanged file: dep may skip re-copying otherwise.

Uninstall

0rrery service uninstall
npm uninstall -g 0rrery    # or: bun remove -g 0rrery
rm -rf ~/.0rrery

Hook entries: re-run a Claude session or remove entries whose command is 0rrery hook from ~/.claude/settings.json.

Development

bun install
bun run build        # dashboard
bun test
bun packages/cli/src/index.ts serve
bun run build:pkg    # stage the npm package in dist-pkg/

Specs live in docs/superpowers/specs/.

Want 0rrery to ingest another agent CLI? See ADAPTERS.md.