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

@hyperyond/core

v0.1.7

Published

Hover's local Node service: agent invocation, Playwright CDP preflight, WebSocket bridge.

Readme

@hyperyond/core

The local Node service. Owns:

  • Agent invocation (src/agents/) — Local CLI Agent First. Spawns claude / codex / cursor / ... and normalizes their output into a single InvokeEvent stream.
  • Playwright preflight (src/playwright/) — verifies CDP connection to the user's Chrome.
  • Smoke test (src/smoke.ts) — end-to-end verification of the whole chain.

Architecture (agents/)

"Local CLI Agent First" — Hover bundles no AI runtime. It spawns whichever coding-agent CLI is on the user's PATH and normalizes its output to a single event stream:

| File | Purpose | |---|---| | types.ts | AgentDescriptor, InvokeOptions, InvokeEvent, protocol/format enums, error classes | | registry.ts | AGENTS constant — single source of truth for supported agents | | detect.ts | detectAgents(), resolveBinForAgent(), resolveOnPath() — PATH scanning | | argv.ts | buildArgv() — protocol-aware argv construction, throws UnsupportedAgentProtocolError for acp / pi-rpc | | invoke.ts | invokeAgent() — async-iterable spawning + stdout streaming | | claude.ts | Claude Code descriptor: claude -p, stream-json parser, sandbox flags |

To add an agent: implement an AgentDescriptor, register it in registry.ts. Done.

Smoke test

# Terminal 1: run basic-app — also spawns a debug Chrome (the example sets
# `autoLaunchChrome: true`) navigated to http://localhost:5173
pnpm dev:example:basic-app   # from repo root

# Terminal 2: run the smoke test
pnpm smoke                   # from repo root, defaults to http://localhost:5173

Need the debug Chrome standalone (no example)? pnpm smoke:chrome (or pnpm exec hover-chrome).

Override the target or prompt:

pnpm smoke http://localhost:5173/ "log in then add a todo named 'verify hover'"

Environment variables:

  • HOVER_CDP — CDP URL (default http://localhost:9222)
  • HOVER_AGENT — agent id (default claude)
  • HOVER_MODEL — model for the agent (default sonnet, much cheaper than opus)

Sandboxing (what the smoke test enforces)

The claude -p invocation is locked down so Claude can only drive the browser:

  • --strict-mcp-config — ignore any MCP servers in ~/.claude/ or .mcp.json
  • --allowedTools mcp__playwright — only Playwright MCP is callable
  • --disallowedTools Bash Edit Write Read Grep Glob Task WebFetch WebSearch — every built-in tool explicitly denied
  • --permission-mode dontAsk — anything not whitelisted aborts the run
  • --max-budget-usd 0.50 — hard ceiling per session

Together these enforce the rule that the spawned agent can only reach the browser via Playwright MCP — never the host filesystem, shell, or network. A hijacked prompt or hallucinated destructive action has nowhere to land.