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

@luban-code/luban-acp

v1.127.0

Published

Luban as an ACP (Agent Client Protocol) agent — stdio JSON-RPC entry point for Zed / JetBrains / any ACP client

Readme

@luban-code/luban-acp

Luban 的 ACP(Agent Client Protocol) 入口 —— 让 Zed / JetBrains / ACP Pro / 任何 ACP 客户端 把 Luban 当成自己的编码 agent 驱动。

正文、思考、工具卡片、todo 计划都按 ACP 原生协议流给客户端;每次写文件都会先发 session/request_permission,把 diff 交给客户端的权限弹窗。

安装(npx)

npx -y @luban-code/luban-acp@latest

这就是全部 —— 客户端在「启动命令 + 参数」里填上面这条即可。

ACP Pro / 客户端表单里这样填:

| 字段 | 值 | |---|---| | Name | Luban | | Command | npx | | Args | -y @luban-code/luban-acp@latest |

Zed(settings.json):

{
  "agent_servers": {
    "Luban": {
      "type": "custom",
      "command": "npx",
      "args": ["-y", "@luban-code/luban-acp@latest"]
    }
  }
}

不想每次都走 npx,也可以全局装一次,然后用 command: "luban-acp"。

参数

| 参数 | 作用 | |---|---| | --root <dir> | 启动时的工作目录(session/new 的 cwd 会覆盖它) | | --model <key> | 默认模型(key 见 luban --list-models) | | --read-only | plan 模式:写工具与写命令都被闸门拦下 | | --plugins | 加载本机插件(默认不加载;未信任的静默跳过) | | --log <file> | 日志同时追加到文件(默认只走 stderr) |

配置从哪来

模型与 API key 走 ~/.luban/providers.json(或其中的 apiKeyEnv)。 ACP 进程是独立子进程,不继承编辑器里的登录态 —— 客户端配置里的 env 是给环境变量用的。

能力边界(M1)

  • 没有历史会话:不 advertise loadSession,session/load / session/list 不实现。
  • 不接客户端文件系统:直接读写磁盘,编辑器里未保存的改动看不到。
  • 没有 LSP 诊断:进程里没有语言服务器。
  • 不接客户端 MCP:session/new 带的 mcpServers 会被忽略;Luban 自己的 MCP 走 ~/.luban/mcp.json。
  • 图片 / 内联资源:promptCapabilities 全 false。
  • run_command 不拦:内核只在写文件处有执行前确认钩子;只想让它读代码请用 --read-only。

完整说明见 docs/acp.md。

许可

Apache-2.0