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

agentvigil

v1.0.9

Published

Fleet watchdog for AI coding agent sessions — monitor Claude Code, Codex and Amp from your phone

Readme

AgentVigil

Never babysit a stuck AI coding session again.

What it does

AgentVigil watches your AI coding agents (Claude Code, Codex, Amp) for permission prompts, idle states, and completions, then pushes an encrypted notification to your phone the moment one needs your attention. Approve or deny right from the lock screen — no need to keep checking your terminal.

How it works

Claude Code  →  hooks  →  AgentVigil companion  →  Cloudflare Tunnel  →  AgentVigil app (Android / iOS)

The companion runs quietly on your Mac, picks up hook events the instant they fire, encrypts them end-to-end, and relays them through a Cloudflare Tunnel to your phone. Replies (approve/deny) make the same trip in reverse.

Requirements

Quick Start

npx agentvigil setup
npx agentvigil start

Enabling Approve/Deny (macOS Accessibility permission)

Tapping Approve/Deny on your phone works by typing 1/3 + Enter into your terminal for you. On macOS, that requires the Accessibility permission — without it, you'll still get the push notification, but you'll see Terminal.app: missing Accessibility permission for keystroke injection in the logs and a fallback Mac notification telling you to type the key yourself.

To enable it:

  1. Open System Settings → Privacy & Security → Accessibility.
  2. Find Terminal in the list (or whichever app your terminal window belongs to — iTerm2, etc.) and toggle it on.
    • If it's not in the list, click + and add it from /System/Applications/Utilities/Terminal.app (or /Applications/iTerm.app).
  3. Restart the AgentVigil daemon (npx agentvigil setup / npx agentvigil start).
  4. Trigger a permission prompt and try Approve/Deny from your phone again.

If you toggle the switch but it still doesn't work, remove the entry (select it, click -) and add it again — macOS sometimes needs the permission re-granted after a new process starts using it.

Commands

| Command | Description | |---|---| | agentvigil setup | First-time setup: register hooks and pair with mobile app | | agentvigil start | Start the AgentVigil daemon | | agentvigil status | Show all active agent sessions | | agentvigil logs | Tail the AgentVigil log file | | agentvigil unpair | Revoke mobile app pairing | | agentvigil uninstall | Remove AgentVigil hooks from Claude Code and Codex | | agentvigil install-autostart | Start AgentVigil automatically on login | | agentvigil uninstall-autostart | Remove autostart |

Supported Agents

| Agent | Session Detection | Push Notifications | Approve/Deny | |---|---|---|---| | Claude Code | ✅ | ✅ | ✅ | | Codex CLI | ✅ | ✅ (coming soon) | ✅ (coming soon) | | Amp | ✅ | 🔜 | 🔜 |

Security

  • End-to-end encrypted — every message between your Mac and phone is encrypted with TweetNaCl (XSalsa20-Poly1305).
  • Zero server storage — there is no AgentVigil backend. Nothing about your sessions is ever stored on a server.
  • Cloudflare Tunnel, no open ports — your Mac is never directly reachable from the internet.
  • Session content stays local — prompts, code, and terminal output never leave your Mac except as encrypted relay traffic to your own paired phone.

Audit this code — it's all here.

Why open source?

AgentVigil runs as a daemon with access to your AI coding sessions and your terminal. That's a lot of trust to ask for, so the code that earns it should be inspectable by anyone. Open source lets you (or anyone) verify exactly what data is read, what gets encrypted, and where it goes before you let it run on your machine.

Contributing

Issues and PRs welcome.

License

MIT