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

@storyio/cli

v0.1.0

Published

> Git tells you what changed. Story tells you why.

Readme

Story CLI

Git tells you what changed. Story tells you why.

Story is an independent TypeScript rewrite of the MIT-licensed Entire CLI. It captures AI coding-agent sessions through git and agent hooks, stores them as checkpoints, and lets you inspect or rewind the history behind a commit.

This project is built with respect for Entireio and the original Entire CLI. It uses the Go implementation in entireio-cli/ as a behavioral reference, but it is a personal open-source project and is not an official Entireio project unless that is stated elsewhere.

Features

  • Record agent sessions as git-backed checkpoints.
  • Link checkpoints to commits with Story-Checkpoint: trailers.
  • Support rewind, explain, resume, attach, clean, doctor, trace, and shell completion workflows.
  • Read transcripts from Claude Code, Cursor, Codex, OpenCode, Vogon, and external story-agent-* plugins.
  • Store metadata under .story/ and checkpoint refs under story/....
  • Redact common secrets and high-entropy values before committed checkpoint metadata is written.

Installation

npm install -g @snowingfox/story
story --help

When working from source:

bun install
bun run build
node dist/cli.js --help

The package publishes a story binary from dist/cli.js, so a build is required before using a linked checkout as a global CLI.

Quick Start

Enable Story in a git repository:

story enable

Check current state:

story status
story sessions list

Inspect or recover work:

story explain HEAD
story rewind --list
story resume <branch>

Run story help <command> for command-specific flags, or story help --tree for the full command tree.

Development

This repository uses Bun for development scripts and builds a Node-compatible ESM CLI with tsup.

bun install
bun run dev             # tsup --watch
bun run build           # dist/cli.js and the Vogon E2E binary
bun run test            # unit tests
bun run test:integration
bun run type-check

E2E tests use real git hooks and a deterministic Vogon test agent:

bun run test:e2e
bun run test:e2e:keep   # keep temporary repos and artifacts for debugging

Do not run E2E tests casually in unrelated repositories. They are designed to run inside isolated temporary git repos.

Repository Layout

| Path | Purpose | | --- | --- | | src/ | TypeScript CLI implementation | | tests/ | Unit, integration, and E2E tests | | docs/ | Design notes, rewrite plan, and reference documentation | | entireio-cli/ | Go reference implementation used for behavior parity | | AGENTS.md | Development rules for AI agents and contributors |

Documentation

  • docs/ts-rewrite/main.md explains the TypeScript rewrite plan and module map.
  • docs/ts-rewrite/impl/README.md tracks phase-by-phase implementation status.
  • docs/ts-rewrite/wiki/wiki.md is the business-logic wiki for checkpoints, hooks, sessions, attribution, and rewind.
  • docs/references/go-source-map.md maps Go source areas to TypeScript modules.
  • docs/security-and-privacy.md explains what Story stores and how redaction works.

Security and Privacy

Story stores prompts, transcripts, metadata, and checkpoint summaries in git objects and checkpoint refs. Treat those refs as repository data: if you push them to a public remote, collaborators and readers of that remote may be able to inspect the stored session history.

Redaction is a safety net, not a guarantee. Review sensitive sessions before pushing checkpoint refs to a remote.

License

Story is released under the MIT License. See LICENSE.

The reference Entire CLI under entireio-cli/ is also MIT-licensed by Entire Inc.; see entireio-cli/LICENSE.