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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@edlsh/amp-acp

v0.3.0

Published

ACP adapter that bridges Amp CLI to Agent Client Protocol (Zed external agent)

Readme

ACP adapter for AmpCode

Screenshot

Use Amp from ACP-compatible clients such as Zed.

Prerequisites

  • Amp CLI installed and authenticated (amp login)
  • Node.js (for running the adapter)

Installation

  1. Find your Amp CLI path:

    which amp
    # Example output: /usr/local/bin/amp
  2. Add to your Zed settings.json (open with cmd+, or ctrl+,):

    {
      "agent_servers": {
        "Amp": {
          "command": "npx",
          "args": ["-y", "@edlsh/amp-acp@latest"],
          "env": {
            "AMP_EXECUTABLE": "/usr/local/bin/amp"
          }
        }
      }
    }

    Replace /usr/local/bin/amp with the path from step 1.

How it Works

  • Streams Amp's JSON output over ACP protocol
  • Renders Amp messages, tool calls, and interactions in Zed's agent panel
  • Tool permissions are handled by Amp (no additional configuration needed)
  • Subagent/Oracle tool calls are displayed inline under the parent task
  • Slash commands (/plan, /code, /yolo) for mode switching

Environment Variables

| Variable | Description | Default | | --------------------- | ----------------------------------------------------------------------------------------------- | ----------------- | | AMP_EXECUTABLE | Path to Amp CLI binary | amp | | AMP_ACP_TIMEOUT_MS | Prompt timeout in milliseconds | 600000 (10 min) | | AMP_ACP_NESTED_MODE | How to display subagent tool calls: inline (embed in parent) or separate (individual cards) | inline |

| Variable | Description | | ------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | AMP_PREFER_SYSTEM_PATH | Set to 1 to strip npx-injected paths from $PATH before spawning Amp. Only needed when debugging version conflicts between npx and a locally installed Amp. Most users should ignore this. |

Troubleshooting

Connection fails: Ensure amp login was successful and the CLI is in your AMP_EXECUTABLE.

Slash commands not appearing: If typing / doesn't show commands like /plan, /code, /yolo:

  1. Open Zed's ACP logs: dev: open acp logs from command palette
  2. Verify available_commands_update notification appears after session/new response
  3. Ensure you're using amp-acp v0.2.1+ which fixes the notification ordering issue

Known Limitations

  • No thread history/continuation: Zed's ACP client does not support the loadSession capability for external agents, so each session starts fresh. Thread history is only available in Amp's native TUI.
  • Oracle & Librarian: These tools are experimental in Amp and may not render perfectly in ACP clients. Their output is displayed inline, but interactive features or deep linking might be limited compared to the native Amp TUI.

Credits

Forked from tao12345666333/amp-acp.