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

@manalisatghar/sessionlens

v0.1.1

Published

See what your AI coding agent actually did. A local, private viewer and scorecard for Claude Code session logs.

Readme

sessionlens

See what your AI coding agent actually did.

sessionlens turns Claude Code session logs into a readable timeline: every prompt, reply, tool call, command, file edit and error, in order. A scorecard then checks how the agent worked: did it test its changes, keep you informed, own its mistakes and wrap up clearly?

It runs entirely on your machine. Your logs are never uploaded.

npx @manalisatghar/sessionlens

sessionlens timeline and scorecard

Try the live demo (made-up sample sessions, nothing real).

Why

Coding agents now run for minutes at a time and make dozens of tool calls. When something goes wrong, or goes surprisingly right, the only record is a large log file that nobody reads. sessionlens makes that record easy to review, so you can:

  • Find the exact command or edit where a session went off track
  • See which files changed and which commands ran, in one place
  • Spot sessions where the agent changed code without running tests
  • Compare how an agent handles errors across sessions

The scorecard

Four checks, each answered from the log with evidence you can click through to:

| Check | What it asks | | --- | --- | | Checked its own work | After the last code change, did it run tests, a build or a type check? | | Kept you in the loop | Did it explain what it was doing, or make long silent runs of tool calls? | | Owned its errors | When a tool failed, did it say so instead of quietly moving on? | | Wrapped up clearly | Did it end with a summary, or stop mid task? |

Checks that don't apply (for example, no code was changed) are marked as such and left out of the grade. These are deliberately simple, transparent heuristics: a starting point for review, not a verdict on code quality.

Privacy

  • The server listens on 127.0.0.1 only and rejects requests addressed to any other host.
  • It makes no outbound network requests and has no analytics.
  • File paths stay on the server; the browser only sees opaque ids.
  • Logs are read from disk when you open them, and nothing is written anywhere.

Usage

npx @manalisatghar/sessionlens                 # reads ~/.claude/projects and opens your browser
npx @manalisatghar/sessionlens --dir ./logs    # use a different folder
npx @manalisatghar/sessionlens --port 5000 --no-open

Requires Node 18 or newer. To install it globally instead: npm i -g @manalisatghar/sessionlens, then run sessionlens.

Development

npm install
npm run dev        # UI with sample sessions at http://localhost:5173
npm test           # parser, scorecard and server tests
npm run build && npm start

The parser (src/lib/parse.ts) is tolerant by design: unknown entry types are ignored and half-written lines are skipped and counted, so it keeps working as the log format evolves.

Roadmap

  • Compare two sessions side by side
  • Export a session as a shareable, redacted report
  • Cost estimates per session
  • Custom scorecard rules

How it was built

Built with Claude Code, which felt fitting for a tool that reviews Claude Code sessions.

License

MIT