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

@normahq/acp-repl

v1.1.0

Published

Meta package for acp-repl

Readme

acp-repl

test lint security release npm License Version

Talk to ACP agents interactively from your terminal.

acp-repl starts any stdio Agent Client Protocol (ACP) server command and gives you a focused terminal REPL for sending prompts, testing sessions, and handling permission requests.

Use it when you want to try an ACP provider directly before embedding it in an agent runtime, app, or automation workflow.

What You Get

| Capability | Behavior | | --- | --- | | Interactive ACP chat | Opens a prompt loop against a stdio ACP server command. | | Session setup | Creates an ACP session before the first user turn. | | Model selection | Requests a provider model with --model when supported. | | Mode selection | Requests a provider mode with --mode when supported. | | Permission handling | Lets you choose from numbered permission options in the terminal. | | Quiet lifecycle logs | Keeps REPL output focused unless --debug is enabled. | | Provider agnostic | Works with OpenCode, Codex, Claude Code, Pi, and any executable that speaks ACP over stdio. |

Try It

Install globally:

npm install -g @normahq/acp-repl@latest

Run once with npx:

npx @normahq/acp-repl@latest -- <acp-server-cmd> [args...]

Start a REPL:

acp-repl -- opencode acp
acp-repl --model openai/gpt-5.4 --mode coding -- opencode acp
acp-repl --reasoning-effort high -- npx -y @normahq/codex-acp-bridge@latest
acp-repl -- npx -y @normahq/codex-acp-bridge@latest
acp-repl -- npx -y @zed-industries/claude-code-acp@latest
acp-repl --debug -- npx -y pi-acp

Provider Commands

| Provider | Command | | --- | --- | | OpenCode | acp-repl -- opencode acp | | OpenCode with model/mode | acp-repl --model openai/gpt-5.4 --mode coding -- opencode acp | | Codex | acp-repl -- npx -y @normahq/codex-acp-bridge@latest | | Codex with reasoning effort | acp-repl --reasoning-effort high -- npx -y @normahq/codex-acp-bridge@latest | | Claude Code | acp-repl -- npx -y @zed-industries/claude-code-acp@latest | | Pi | acp-repl -- npx -y pi-acp | | Generic ACP | acp-repl -- <acp-server-cmd> [args...] |

The -- separator is required. Arguments before -- are treated as acp-repl flags; arguments after it are passed to the ACP server command.

Interaction

  • Type a prompt and press Enter to run a turn.
  • Type exit or quit to close the REPL.
  • If ACP permission requests arrive, choose from the numbered options.
  • Use --debug when you need REPL lifecycle and inspector diagnostics.

Use Cases

  • Smoke-test an ACP provider before wiring it into an ADK or custom runtime.
  • Compare model and mode behavior without writing integration code.
  • Reproduce provider permission flows from a terminal.
  • Debug whether a local ACP command can start, initialize, and complete turns.

Flags

| Flag | Purpose | | --- | --- | | --model <id> | Request a session model via ACP session/set_config_option config id model. | | --mode <id> | Request a session mode via ACP session/set_config_option config id mode, with legacy session/set_mode fallback. | | --reasoning-effort <effort> | Request a session reasoning effort via ACP session/set_config_option config id reasoning_effort. | | --debug | Enable debug logs. | | -h, --help | Show command help. |

Unsupported config option requests fail session setup. Legacy session/set_mode fallback failures are ignored only when the server reports the method as unsupported.

Repository

Contact

License

MIT. See the repository LICENSE.