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

@adrive/cli

v1.0.0

Published

AgentDrive CLI — cross-agent artifact workspace with provenance and portable storage across Claude Code, Codex, Cursor, and LangGraph.

Readme

@adrive/cli

The adrive binary — a thin CLI for AgentDrive, the cross-agent artifact workspace with provenance and portable storage across Claude Code, Codex, Cursor, and LangGraph.

Install

npm i -g @adrive/cli
adrive init

Or use the one-line installer:

curl -fsSL agentdrive.sh/install | sh

adrive init opens a browser to log you in (no localhost server, polling-style), then auto-detects installed agent tools (Claude Code, Cursor, Codex CLI, Cline, Continue, Zed) and wires the AgentDrive MCP server into each.

Configuration

Stored at $XDG_CONFIG_HOME/agentdrive/config.json, falling back to ~/.config/agentdrive/config.json. The file is chmod 600. Schema:

{
  "api_url": "https://app.agentdrive.sh",
  "api_key": "agentdrive_live_...",
  "agent_id": "ag_...",
  "org_id": "org_...",
  "agent_platform": "cli",
  "default_workspace": "ws_..."
}

Commands

| Command | Purpose | |---|---| | adrive init | First-run wizard: log in + wire MCP into every installed agent tool | | adrive auth login | Open browser, log in, store API key | | adrive auth logout | Wipe local credentials | | adrive auth status | Show whether you're logged in + masked key | | adrive whoami | Print principal info from the API | | adrive ls | List workspaces | | adrive push <file> [--workspace ws] [--remote-path p] | Upload a local file | | adrive pull <ws-id>/<path> [-o out] | Download a file (stdout by default) | | adrive search <query> [--top-k N] [--platform claude-code] [--workspace ws] | Semantic search across artifacts | | adrive context <task> [--limit N] [--workspace ws] | Auto-pull artifacts relevant to a task | | adrive run-log <task> [--status success|failure|partial] [--ref f] [--produced f] | Log an agent run | | adrive billing | Open the Stripe billing portal in your browser | | adrive plan | Show current plan, usage, and quotas |

-v / --version and --help work at every level.

Authentication

adrive uses Cursor-style polling auth — no localhost server:

  1. adrive auth login calls POST /v1/auth/cli/start to get a short-lived auth URL.
  2. The CLI opens the URL in your default browser. You complete the login in the dashboard (Google, GitHub, or email magic link).
  3. The CLI polls GET /v1/auth/cli/poll?id=<id> every 1.5s for up to 10 minutes.
  4. On success, the returned api_key is stored at chmod 600.

If the browser does not auto-launch (e.g. headless server, SSH session), the URL is printed prominently so you can open it manually.

Auto-detect + wire

adrive init looks for these config files and merges the AgentDrive MCP server entry in (preserving any servers you already have):

| Tool | Config path | |---|---| | Claude Code | ~/.claude/mcp-servers.json | | Claude Desktop | ~/Library/Application Support/Claude/claude_desktop_config.json (macOS), %APPDATA%/Claude/claude_desktop_config.json (Windows), ~/.config/Claude/claude_desktop_config.json (Linux) | | Codex CLI | ~/.codex/config.toml | | Cursor | ~/.cursor/mcp.json | | Cline | ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json (or the Linux equivalent) | | Continue | ~/.continue/config.json | | Zed | ~/.config/zed/settings.json |

Existing entries are merged, not overwritten. An existing agentdrive entry is replaced in place.

License

Apache-2.0. See the repo's LICENSING.md for the full package-by-package breakdown.