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

entire-query

v0.1.4

Published

Entire Query — fetch Entire AI session history as JSON/JSONL

Readme

entire-query

eq — fetch Entire AI session history from a Git repo as stable JSON / JSONL. Like jq for Entire checkpoints.

eq complements the official entire CLI. Use entire for human-facing workflows such as setup, semantic search, quick explanations, summaries, rewind, and resume. Use eq when agents, skills, or scripts need reproducible structured output for citations, token aggregation, transcript audits, or other deterministic workflows.

The npm package is entire-query; the binary is eq.

Agent and skill use

eq is designed primarily as an agent-facing tool, especially when paired with skills, prompts, or other reusable agent instructions. Humans can run it directly, but its main job is to give agents stable, scriptable access to Entire checkpoint data without relying on human-oriented terminal views.

To install the companion skill for an agent environment:

npx skills add morinokami/entire-query

A typical skill should call eq to retrieve primary session data, then do any summarization, comparison, citation, or filtering in the agent layer. Prefer eq over entire explain when the agent needs deterministic JSON/JSONL, exact prompts, transcript events, token usage, or checkpoint metadata.

Run

npx -y entire-query <subcommand> [...args]

No install required. Optional global install: npm i -g entire-query.

Commands

eq checkpoint <id-or-ref>                   # one Checkpoint JSON; git refs resolve via Entire-Checkpoint trailer
eq checkpoint list [--file <path>]          # NDJSON stream
eq session list <id> [--file <path>]        # NDJSON of SessionSummary (with prompt_preview)
eq session get <id> --index <n>             # one Session JSON
eq prompt <id> --session <n>                # session's prompt.txt as JSON
eq transcript <id> --session <n> [--role <user|assistant|tool|unknown>]   # NDJSON of TranscriptEvent

All commands accept --repo <path> (default: cwd). JSON commands auto-emit compact JSON under AI agents; pass --json explicitly otherwise. Errors are {"error":{"kind":"...","message":"..."}} on stderr with non-zero exit.

Why

entire explain is useful for getting oriented and finding likely checkpoints. It is a human-readable CLI view: it can show a stored AI summary, entire explain --generate creates one, and the default view also renders metadata, prompts, and parsed transcript excerpts directly. eq is for the next step: reading the underlying checkpoint data as raw structured output so callers can quote, aggregate, audit, and cross-reference primary sources. Aggregation is delegated to jq.

eq currently reads the entire/checkpoints/v1 branch. For checkpoints v2-only repositories or workflows that need remote fetch, generated summaries, rewind, or resume, use the official entire CLI.