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

@universe-agent/acp-client

v1.0.7

Published

CLI client for ACP servers

Readme

ACP Client

用于调试与学习 ACP(Agent Client Protocol) 的命令行客户端。

功能

  • 协议观测-P):以语法高亮展示所有 JSON-RPC 消息
  • 交互式 REPL:发送 prompt、切换模式、管理会话
  • 权限模拟:interactive / auto-approve / deny-all 三种模式
  • 文件系统代理:响应 Agent 的文件读写请求
  • 终端管理:响应 Agent 的终端创建/执行请求

快速开始

# 交互模式 + 协议观测
pnpm start:dev -- -P

# 详细输出
pnpm start:dev -- -P -V

# 单次执行
pnpm start:dev -- "你好"

# 自动批准所有权限
pnpm start:dev -- -P --permission auto-approve

CLI 选项

用法: universe-agent-acp-client [options] [prompt...]

选项:
  --command <cmd>        服务端启动命令 (默认: tsx packages/acp/src/cli.ts)
  --args <args>          服务端额外参数,逗号分隔
  -w, --workspace <dir>  工作区目录 (默认: cwd)
  -P, --protocol         启用协议观测模式
  -V, --verbose          显示详细内容
  --permission <mode>    权限模式: interactive | auto-approve | deny-all
  --mode <mode>          初始会话模式: agent | plan | ask
  --session <id>         加载已有会话
  -v, --version          显示版本信息
  -h, --help             显示帮助信息

REPL 命令

| 命令 | 功能 | | -------------------- | ------------ | | /help | 显示帮助 | | /quit /exit | 退出 | | /session new | 新建会话 | | /session load <id> | 加载会话 | | /session info | 查看会话信息 | | /mode <mode> | 切换模式 | | /protocol | 开关协议观测 | | /verbose | 开关详细输出 | | /cancel | 取消当前请求 | | /clear | 清屏 |