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

@lucascouts/claude-agent-tui

v0.3.1

Published

Run the official Claude Code TUI in Zed's agent panel on your Claude Pro/Max subscription — an ACP-over-PTY bridge created for Anthropic's June 2026 billing split (paused June 15; see README).

Readme

claude-agent-tui

npm

An ACP-compatible agent that drives the Claude Code subscription TUI over a PTY, so your Claude Code threads render natively in Zed and other ACP clients.

Fork of @agentclientprotocol/claude-agent-acp v0.39.0. Where the upstream adapter calls the Claude Agent SDK, this fork spawns the claude subscription CLI in a pseudo-terminal and translates its JSONL transcript into ACP session/update notifications. See .fork-provenance.json for the exact fork point.

Why this exists

On June 15, 2026, Anthropic split Claude subscription billing into two pools: Anthropic's first-party tools (chat and the official Claude Code CLI) keep using your Pro/Max subscription, while third-party agents and SDK usage are billed separately at API rates — roughly 15–30× more expensive (separate monthly credits: $20 Pro / $100 Max 5x / $200 Max 20x).

In practice, Zed's built-in Claude integration now draws from those expensive third-party credits instead of your subscription. The official claude CLI/TUI, however, still runs on your subscription.

This project bridges the two: it drives the official Claude Code TUI over a PTY and exposes it through the ACP protocol, so Zed renders it as a native agent panel — giving you the full Claude Code experience inside Zed on your existing subscription, not API credits.

Update notice

"Update June 15: We're pausing the changes to Claude Agent SDK usage described below. For now, nothing has changed: Claude Agent SDK, claude -p, and third-party app usage still draw from your subscription's usage limits. The previously announced monthly credit, which would have been available to eligible claimants in connection with these changes, isn't available. We’re working to update the plan to better support how users build with Claude subscriptions. When we have an update, we'll share it before anything takes effect."

https://support.claude.com/en/articles/15036540-use-the-claude-agent-sdk-with-your-claude-plan

Not affiliated with or endorsed by Anthropic or Zed Industries. Use of the claude CLI remains subject to Anthropic's terms.

Requirements

  • The claude CLI (Claude Code subscription) available on your PATH.
  • Node.js ≥ 23 — the runtime and test suite use native TypeScript type-stripping.

Register in Zed

Build the agent, then point Zed's agent_servers at the built entrypoint:

// ~/.config/zed/settings.json
{
  "agent_servers": {
    "Claude Agent TUI": {
      "type": "custom",
      "command": "node",
      "args": ["/absolute/path/to/claude-agent-tui/dist/index.js"],
      "env": {},
    },
  },
}

Open the Agent Panel in Zed and select Claude Agent TUI.

Build & test

npm install
npm run build
npm test

Capabilities

  • Renders Claude Code threads: text, thinking, tool calls, structured diffs, TODO plans, and nested sub-agents
  • Token-usage updates
  • Prompt input, cancellation, and session load/replay

Supply-chain notes

Socket flags some dependency alerts (Native code, Install scripts, Shell access, plus heuristic flags on the Anthropic SDK tree). None are CVEs or malware — they are expected capability flags:

  • node-pty (the same PTY that powers VS Code) needs Native code / Install scripts / Shell access — driving the claude TUI in a real PTY is the whole point of this bridge.
  • The remaining flags come from the minified bundles inside @anthropic-ai/claude-agent-sdk, of which this fork uses only two pure, billing-free functions (getSessionMessages, resolveSettings).

All direct dependencies are first-party publishers (Microsoft, Anthropic, Zed).

License

Apache-2.0. This is a derivative work; original copyright belongs to Zed Industries and the Agent Client Protocol authors.