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

@filepad/a2a-codex-bridge

v0.1.4

Published

Local A2A v1 bridge that lets Filepad delegate tasks to OpenAI Codex.

Downloads

778

Readme

@filepad/a2a-codex-bridge

Local A2A v1 bridge that lets Filepad delegate work to OpenAI Codex.

This is not MCP. MCP lets Codex call Filepad tools. This bridge lets FilepadAI send an A2A task to a local Codex runtime and receive a task result back.

Install

npm install -g @filepad/a2a-codex-bridge

Or run directly:

npx -y @filepad/a2a-codex-bridge@latest serve --code fp_bridge_... --base-url https://api.filepad.ai

Local development

pnpm -C packages/a2a-codex-bridge build
pnpm -C packages/a2a-codex-bridge test
pnpm -C packages/a2a-codex-bridge exec filepad-a2a-codex-bridge serve --port 4218 --cwd /path/to/repo

The bridge exposes:

  • GET /.well-known/agent-card.json
  • GET /health
  • POST /a2a

The Agent Card advertises A2A v1 through supportedInterfaces[]:

{
  "supportedInterfaces": [
    {
      "url": "http://127.0.0.1:4218/a2a",
      "protocolBinding": "JSONRPC",
      "protocolVersion": "1.0.0"
    }
  ]
}

Commands

filepad-a2a-codex-bridge serve \
  --code fp_bridge_... \
  --base-url https://api.filepad.ai \
  --host 127.0.0.1 \
  --port 4218 \
  --public-url http://127.0.0.1:4218 \
  --cwd /path/to/repo \
  --codex-command codex \
  --timeout-ms 600000

--public-url is the URL Filepad should put in the Agent Card and call for /a2a. For pure local development this can be http://127.0.0.1:4218. For cloud Filepad to reach a local bridge, place the bridge behind a deliberate tunnel or relay and use that public URL.

A2A methods

Implemented now:

  • SendMessage
  • GetTask
  • ListTasks
  • CancelTask

SubscribeToTask intentionally returns a JSON-RPC method error until streaming is implemented. The Agent Card advertises streaming: false.

Codex execution

The first implementation uses the official Codex CLI shape:

codex exec "<delegated task text>"

The code is structured around a CodexExecutor interface so a future release can add @openai/codex-sdk execution without changing the A2A server surface.