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

eve-coder

v1.5.2

Published

A fully-local coding agent built on eve. npm i -g eve-coder, run `eve-coder` in any directory, and a TUI opens that reads/writes your files on this machine (no sandbox).

Readme

eve-coder

A fully-local coding agent built on eve. No sandbox, no VM: it operates directly on the directory you run it from, as the current user.

npm i -g eve-coder

Then go to any project and start working:

cd ~/code/my-project
eve-coder                 # opens the TUI; the agent edits THIS directory
eve-coder --input "refactor this module"   # optionally seed the first message

What it does

  • Runs anywhere: eve-coder captures the directory you launch it from and sets it as the agent's workspace (LOCAL_CODER_ROOT). Override with LC_ROOT if you want a fixed workspace.
  • TUI: an interactive terminal UI opens in your shell (the same way pi does).
  • Real host access (no sandbox): the agent has bash, read_file, write_file, edit_file, glob, grep, and ls implemented as local tools that touch the machine's actual filesystem. Treat it with care — every command runs with your privileges. See the agent's instructions for its safety rules (ask before destructive/irreversible actions).

Configuration

The model routes through the Vercel AI Gateway using AI_GATEWAY_API_KEY.

If AI_GATEWAY_API_KEY is not already in your environment, eve-coder loads unset variables from the first existing file of:

  • ~/.config/eve-coder/env
  • ~/.eve-coder.env
mkdir -p ~/.config/eve-coder
echo 'AI_GATEWAY_API_KEY=...' > ~/.config/eve-coder/env

Variables already exported in your shell take precedence.

How it runs

The published package ships a prebuilt server (built with eve build) and a terminal client powered by @earendil-works/pi-tui (the rendering library pi's own shell is built on), so eve-coder needs no compilation at runtime:

  1. it starts the built server on 127.0.0.1 at a fresh random port,
  2. it opens the pi-style TUI, which talks to the server over the typed eve/client SDK (durable sessions, streaming, compaction),
  3. when you quit the TUI, the server shuts down.

Server logs live in ~/.local/state/eve-coder/server.log; remembered sessions live in ~/.local/state/eve-coder/sessions.json.

The TUI uses pi's dark theme (the dark.json palette from the pi-coding-agent) and mirrors pi's shell layout: startup header with keybinding hints, pi-style user messages, background-painted tool-execution blocks, a live status area (spinners/countdowns), and a footer with workspace + token stats + model.

Auto-retry with exponential backoff. Transient model-call failures (gateway 429/rate limits, 5xx, overloads, network drops, truncated streams) are retried automatically up to 3 times with exponential backoff (2s → 4s → 8s, pi's policy), showing a live countdown in the status area (Retrying (2/3) in 8s…). Escape (or Ctrl+C) aborts the backoff wait. Non-transient errors (quota/billing/auth) are not retried — they surface immediately with a hint.

Keybindings (pi-style):

| Key | Action | | --- | --- | | Escape | interrupt the running turn (or abort a retry); clears the editor when idle | | Ctrl+C | interrupt the running turn; clears the editor when idle (twice exits) | | Ctrl+D | exit | | Ctrl+O | expand/truncate tool output | | Tab | complete slash commands (/res + Tab → /resume) |

While a turn is running, submitting a new message shows a warning instead of silently cancelling the running turn — and resuming a session shows a compact history summary rather than replaying every past event — so stray ⏹ cancelled / ✗ turn failed lines no longer appear out of nowhere.

TUI commands

| Command | What it does | | --- | --- | | /new | start a brand-new session | | /resume [id] | resume a saved session (number from /sessions, id prefix, or label) | | /sessions | list saved sessions | | /compact | compact this session's context | | /clear | clear this session's history (keeps its identity) | | /cancel | stop the current turn | | /quit | exit |

The eve HTTP channel accepts anonymous requests on the loopback interface (none() as a final auth fallback). That is safe as long as the server stays bound to 127.0.0.1 — do not point it at a public interface or tunnel it without adding httpBasic()/jwtHmac() to agent/channels/eve.ts first, since the agent can read and write the whole machine.

Model

The root agent uses zai/glm-5.2 via the AI Gateway, routed through the blackbox provider (see agent/agent.ts). Change the model there or with eve set --model ....

Tune the workspace

| Env var | Default | Meaning | | --- | --- | --- | | LC_ROOT | your launch directory | workspace the agent operates on | | LC_AGENT_DIR | n/a | point the bundled CLI at a different eve agent (advanced) |

Security

This is a local agent with no sandbox isolation. It runs bash as your user and can read/write anything you can. Keep agent/instructions.md's safety rules, and consider gating bash with eve/tools/approval's always() if you want a confirmation on every command.

For maintainers

npm pack                 # inspect what ships (no .env*, no .eve)
npm publish              # runs `npm run build` (prepublishOnly), then publishes