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

@felan-ai/ext-web-access

v0.2.0

Published

Secure native web search and content access for Felan

Downloads

972

Readme

@felan-ai/ext-web-access

Native Felan web search and secure remote content access.

The extension registers exactly four tools:

  • web_search searches with configured SearXNG, Pi OpenAI/OpenAI-Codex auth, Exa, or Brave.
  • source_check builds a bounded research artifact with exact passages.
  • fetch_content reads HTTP(S), HTML, text, JSON, PDF, images, and GitHub repositories.
  • get_search_content retrieves stored full content with paging and bounded text matching.

All remote material is marked as untrusted external data before it reaches a model. Private-network destinations are blocked by default. Connections are pinned to validated DNS answers, redirects are revalidated, and model-facing text is bounded; full extracted text remains available through paging.

Full search, research, and fetched results are cached for one hour under a dedicated directory in AgentRuntime.storage('session'). Session entries keep only versioned metadata references, and tool result details contain compact response IDs, counts, and image trust metadata rather than remote page bodies. The cache is limited to 32 MiB per result, 64 MiB total, and 128 entries, with oldest-first eviction; get_search_content continues to retrieve the full stored result while it is available.

The latest reviewed upstream release is pi-web-access 0.23.0 at commit c77b28221d527f298d409d7e61ade661e548f50c. This package selectively adapts its externalized cache behavior without adding its providers, hosted extractors, browser-cookie authentication, or feature gates.

Configuration

Create web-search.json in Pi's agent directory. Every field is optional.

{
  "provider": "auto",
  "openaiApiKey": "$OPENAI_API_KEY",
  "openaiSearchModel": "gpt-5.6-terra",
  "exaApiKey": "$EXA_API_KEY",
  "braveApiKey": "$BRAVE_API_KEY",
  "searxngBaseUrl": "https://search.example.com",
  "searxngHeaders": {},
  "pdf": { "maxSizeMB": 20, "maxPages": 100 },
  "githubClone": {
    "enabled": true,
    "maxRepoSizeMB": 350,
    "cloneTimeoutSeconds": 30
  },
  "fetchContent": {
    "domainPolicy": {
      "allow": [],
      "deny": []
    }
  },
  "ssrf": {
    "allowRanges": []
  }
}

Provider credentials accept literal values, $NAME / ${NAME} environment references, or a trusted local command prefixed with !. Escape $$ and $! for literal leading characters. Trusted command sources run through Felan's AgentRuntime with a five-second timeout and bounded, validated output.

auto tries SearXNG, OpenAI, Exa, then Brave. A named provider is strict. all searches every available provider, and a non-empty provider array searches exactly the named providers concurrently. Exa MCP works without an API key.

ssrf.allowRanges is a trusted host override for narrow CIDRs used by local services. Private-network access remains prohibited when it is omitted.