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

shepaw-acp-proxy-gateway

v0.1.2

Published

Unified Shepaw gateway that connects to industry-standard ACP agents (Claude Code, Codex, CodeBuddy, etc.)

Readme

Shepaw ACP Proxy Gateway

Unified gateway that connects the Shepaw mobile app to any Agent Client Protocol (ACP) compatible coding agent.

Phase 2 capabilities

  • Session resume — after gateway restart, restores upstream ACP sessions via session/resume (preferred) or session/load, using sessions.json mappings
  • Model picker — maps ACP configOptions (category model) to Shepaw agent.models.list / agent.models.setCurrent via session/set_config_option
  • Terminal proxy — runs shell commands on the gateway host when agents request terminal/* client methods
  • Hub defaultshepaw-hub spawns this gateway for all engine types

Phase 3 capabilities

  • Per-project session store — Agent Hub passes --session-store-path so each project keeps isolated sessions.json mappings
  • Hub session UI — Web UI lists persisted sessions and supports copy/remove
  • Sessions CLIsessions list (local mappings) and sessions acp-list (upstream session/list)
  • Smarter load replay — idle-based drain after session/load instead of a fixed 2s timeout

Custom local engines

Built-in engines cannot cover every ACP CLI. Register your own:

# Agent Hub CLI
shepaw-hub engine add my-agent --display "My Local Agent" --command "my-cli acp"

# Gateway CLI (without Hub)
node dist/cli.js serve --engine my-agent --engine-display-name "My Agent" \
  --acp-command "my-cli acp" --cwd ~/project --port 8090

Custom engines are stored in hub.json under customEngines and appear in the Hub UI Custom Engines dialog and project engine picker.

Supported upstream agents

| --engine | Upstream command | |-------------|------------------| | claude-code | npx -y @agentclientprotocol/claude-agent-acp@latest | | codebuddy | codebuddy --acp | | codex | npx -y @zed-industries/codex-acp@latest | | opencode | npx opencode-ai@latest acp | | openclaw | npx openclaw acp | | cursor | agent acp | | hermes | hermes acp |

Quick start

cd implementations/acp-proxy-ts
npm install && npm run build

# Claude Code via ACP adapter
node dist/cli.js serve --engine claude-code --cwd ~/your-project --port 8090

# CodeBuddy (native ACP)
node dist/cli.js serve --engine codebuddy --cwd ~/your-project --port 8090

node dist/cli.js peers add <base64-pubkey> --label "My iPhone"

List engines:

node dist/cli.js engines

Architecture

Shepaw App ── Shepaw ACP v2.1 ──► AcpProxyAgent (shepaw-acp-sdk)
                                      │
                                      │ @agentclientprotocol/sdk
                                      ▼
                               ACP subprocess (stdio JSON-RPC)
                               claude-agent-acp / codebuddy --acp / …

File operations and permission prompts from the upstream agent are handled on the gateway host (the machine running the CLI), then surfaced to the phone via Shepaw UI.

Agent Hub

When used with shepaw-hub, the hub spawns this gateway with --engine matching the project's configured engine. Per-project identity, peers, and tunnel credentials are injected via SHEPAW_* and PAW_ACP_TUNNEL_* environment variables.