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

@odradekk/vera-web-tools

v0.2.0

Published

Web search, web read, docs search, academic search, and document parsing tools for Vera agent

Readme

vera-web-tools

Purpose

Provide network-backed information retrieval tools for Pi: web search, page extraction, documentation lookup, academic search, and document parsing.

Non-goals

  • local workspace search (rg / fd)
  • owning session UI, banners, or thinking shortcuts; search/read/parse logic stays non-UI, while tool-frame chrome is currently borrowed from vera-theme
  • compaction, prompt rules, or system prompt mutation
  • provider compatibility shims

Registered tools

  • web_search — aggregated multi-engine web search
  • web_read — readable page extraction
  • docs_search — library documentation lookup via Context7
  • academic_search — scholarly search via OpenAlex
  • document_parse — document parsing via MinerU (remote URL or local file path); writes Markdown to a required output_path, optionally one file per page (paginate)

Config / auth

This package reads credentials from agent/auth.json and matching environment variables.

Supported keys:

  • exa / EXA_API_KEY
  • brave / BRAVE_API_KEY
  • metaso / METASO_API_KEY
  • jina / JINA_API_KEY
  • tavily / TAVILY_API_KEY
  • context7 / CONTEXT7_API_KEY
  • openalex / OPENALEX_API_KEY
  • mineru / MINERU_API_KEY

External dependencies

  • outbound network access
  • upstream service availability and rate limits
  • a valid URL for web_read; a URL or readable local file path for document_parse

Internal structure

  • src/index.ts — Pi extension entrypoint
  • src/tools/ — tool definitions and renderers; renderers currently use vera-theme's kylinFrameForCall / kylinFrameForResult tool-frame chrome helpers from the sibling package
  • src/clients/ — upstream client wrappers; search deduplication uses src/shared/render.ts URL normalization
  • src/shared/ — package-local auth, error, http, render, and helper utilities
  • src/types.ts — shared detail/result types

Boundary notes

  • The package owns network search/read/docs/academic/parse behavior, not session UI; tool-frame chrome is a cross-package borrow from vera-theme rather than a local UI framework.
  • src/shared/render.ts is also part of client-side normalization: clients/search.ts uses normalizeUrl when de-duplicating provider results.

Smoke

  • npm run smoke
  • npm run smoke:offline
  • npm run smoke:strict-network
  • from project root: node scripts/smoke-all.mjs

Debugging

  1. Run the package smoke in offline mode first to verify registration and renderer stability.
  2. Re-run without --offline to test live upstream calls.
  3. If a tool fails, separate missing-key paths from upstream/network failures before changing code.
  4. For renderer regressions, inspect document_parse first; it has explicit regression coverage.

Loaded through agent/settings.json as ./packages/vera-web-tools.