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

iperuranio

v0.1.3

Published

Project-local decision memory for coding agents and their teams.

Readme

“The ticket says we raised the cache lifetime to ten minutes. Why does the code say five?”

Search the old ticket and iperuranio brings back the original decision: repeat requests were hitting the origin. Its supersededBy field points to the follow-up: product updates were staying stale. Both reasons are Markdown files in the repository. A teammate who pulls the branch can follow the same trail from another agent or a terminal.

Terminal demo showing a search for ABC-1234 and the later decision that replaced it.

Quickstart

From a Git checkout with Node.js 24+ and a POSIX shell, install the CLI and enroll the checkout. Press Enter at both prompts to keep the defaults on a fresh setup.

npm install --save-dev iperuranio
npx --no-install iperuranio init

Save the first decision from the demo. The command prints a candidate ID.

npx --no-install iperuranio save "Increase max-age from 2 to 10 minutes." \
  --reason "Reduce repeat requests to the origin." --ticket ABC-1234

Replace CANDIDATE_ID below with that ID. Review the English text in your terminal, then type PUBLISH to write the Markdown file. Here, publishing writes to your checkout. You choose when to commit and push it.

npx --no-install iperuranio review CANDIDATE_ID
npx --no-install iperuranio search ABC-1234

Commit the record under .iperuranio/decisions/ with the change it explains. Each teammate runs init in their checkout to use the CLI. Anyone can open the Markdown directly on GitHub.

Connect your agent

| Your setup | How to connect | | --- | --- | | Codex, Claude Code, Copilot CLI, Cursor or Gemini CLI | Run npx --no-install iperuranio init AGENT. Use codex, claude-code, copilot-cli, cursor or gemini-cli. Inspect the generated settings, restart the client and enable project trust. This installs the skill, MCP configuration and capture hooks. | | An agent with shell access | Plain init adds instructions to AGENTS.md. Point the agent there if it reads a different instructions file. | | A client with stdio MCP support | Register the command and args from the mcp object printed by init as a local server named iperuranio. The paths are specific to your checkout. | | A file-only agent | Point it at .iperuranio/decisions/ to read the records included in the branch. |

Install just the skill

If the repository already contains reviewed decisions, an agent can use the skill to read them and pass record IDs between sessions.

npx skills add lollegp/iperuranio --skill iperuranio

With the npm package installed, npx --no-install iperuranio skill install writes the project skill to .agents/skills/iperuranio/SKILL.md. Append a native agent ID to select its skill directory. Reload the agent’s skill list if needed. Skill on skills.sh

Try asking your agent:

Find the cache decision for ABC-1234. Follow any replacement record, then give the reviewer its ID and the reason the team changed the timeout.

Enroll a name with npx --no-install iperuranio init team-agent. From the checkout, have the host run node .iperuranio/runtime/cli.ts hook team-agent message once per delivered message. Write a JSON object to stdin:

{"cwd":"/absolute/path/to/the/checkout","role":"user","text":"We decided to require an idempotency key for retries."}

Use user for a submitted prompt and assistant for the final response. The bridge checks enrollment, applies capture filters and ignores transcript paths. Shell and MCP integrations without host events capture only what the agent explicitly submits.

Cursor uses beforeSubmitPrompt and afterAgentResponse in single-root workspaces. Gemini CLI uses BeforeAgent and AfterAgent. Codex, Claude Code and Copilot CLI can also replay eligible unread entries when the host retains a supported transcript.

Privacy and sharing

| Where | What goes there | Who can read it | | --- | --- | --- | | ~/.local/state/iperuranio/<checkout-hash>/ | Private drafts and local review evidence | The local user. Drafts can contain sensitive text. | | .iperuranio/decisions/ | Markdown records written after review under the default settings | Repository readers once you commit and share them. | | .iperuranio/pending/ | Structured candidate summaries when shared pending is enabled | Repository readers once shared, before human review. |

Hooks look for decision-related text in delivered messages up to 12,000 characters. The host controls transcript retention. Filters catch common credential formats and email addresses. During review, check names, confidential details and whether the English record preserves the original meaning.

Hand off unfinished work

Two independent settings control how a team can share decisions. Both default to off.

| Option | Scope | Effect | | --- | --- | --- | | --shared-pending yes | Project | Writes new structured English summaries to the archive’s pending/ directory. Commit one with the work in progress. A teammate can pull it, find it with search or pending, and inspect it with show ID. Existing private drafts stay local. | | --agent-publish yes | This checkout | Lets an agent publish a staged decision for work authorized before implementation, after verifying the change. Use publish ID or MCP memory_publish. |

For example, to share pending summaries while keeping publication under human review:

npx --no-install iperuranio init codex --shared-pending yes --agent-publish no

After review, commit the published Markdown and the removal of its shared pending file together. Run init again with either option set to no to disable it for future work.

CLI reference

Run these commands after npx --no-install iperuranio or node .iperuranio/runtime/cli.ts.

| Task | Command | | --- | --- | | Find decisions about a file | search "render" --file src/List.tsx | | Inspect a record or follow its history | show RECORD_ID · history RECORD_ID | | Stage a replacement | save "Reduce max-age to 5 minutes." --supersedes RECORD_ID | | Preserve a rejected alternative | forget "Use a 30-minute cache" --reason "Updates stayed stale too long." | | Resume a review | pending, then review CANDIDATE_ID | | Inspect checkout settings | doctor |

Scripts can pipe a JSON object to save --stdin with fields such as text, reason, source and ticket. The local MCP server also supports handoffs and challenges.

  • Archive location. Pass --history-dir docs/memory on first initialization to store the archive elsewhere in the repository.
  • Automatic cache records. The opt-in --auto-cache rule can write a record for an explicit user sentence such as “Decision: change max-age from 2 to 10 minutes” or its Italian equivalent with integer values. Enable it only for information suitable for repository readers.
  • Multilingual teams. The agent skill asks for English drafts. Local search includes a small multilingual vocabulary. For broader extraction and query translation, pass --model-port 8080 to init. This authorizes eligible private segments for a trusted local OpenAI-compatible chat completions server with model alias local. Disable logging and remote forwarding there. A second inference call checks extracted claims against the source. Failed extractions stay queued for drain.

Search benchmark

In the recorded benchmark, a ticket lookup across 1,000 synthetic decisions returned the original rationale and its replacement ID in 74 tokens. Lexical search ranked the target first for five of seven queries with a known answer. The broad term cache returned other records, and the paraphrase freshness window found none.

| Records | Archive tokens | Median tokens per successful response | Median CLI time | p95 | | ---: | ---: | ---: | ---: | ---: | | 50 | 1,880 | 57 | 198 ms | 374 ms | | 250 | 9,440 | 57 | 208 ms | 223 ms | | 1,000 | 37,790 | 57 | 411 ms | 434 ms |

Measured on an Apple M4 with Node 24.20.0 and local inference disabled. Each size used 40 timed CLI calls after warm-up, including process startup. Token counts use o200k_base on the JSON response and exclude follow-up reads and agent messages. Benchmark source · Recorded results

Development and releases

From a source checkout:

npm ci
npm run check       # Lint and test against temporary Git repositories
npm run benchmark   # Reproduce the search measurements

Cut a release

Keep user-facing changes under ## Unreleased in the changelog. When a release is ready, rename that heading to the exact next version (for example, ## 0.1.3), add an empty ## Unreleased above it and commit the changelog on main.

From the clean checkout, bump the version and push the commit with its tag:

npm version patch
git push --follow-tags origin main

Use minor or major for larger releases. Pushing the stable tag starts the workflow. It checks the package version, extracts that version’s changelog section, runs lint and tests, then creates the GitHub Release using those notes. The next job stages the same commit on npm. Approve the staged package with 2FA on npm to make it public.

For the initial setup, configure the npm trusted publisher for lollegp/iperuranio with workflow filename publish.yml and leave direct publishing unchecked. If staging fails, use Re-run failed jobs on the original Actions run.

License

iperuranio is available under the MIT License.

The project website bundles DM Sans and Instrument Serif under the SIL Open Font License 1.1. DM Sans license · Instrument Serif license