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

codeam-cli

v2.12.12

Published

Remote control Claude Code (and other AI coding agents) from your mobile phone. Pair your device, send prompts, stream responses in real-time, and approve commands — from anywhere.

Readme

codeam-cli

npm version npm downloads license node

Remote control Claude Code from your phone. Send prompts, stream responses, and approve commands in real-time — from the subway, the couch, or anywhere away from your desk.

codeam-cli is the companion CLI for CodeAgent Mobile. It wraps Claude Code inside a pseudo-terminal, relays your mobile prompts to the agent, and streams the output back to your phone in real-time.


Why does this exist?

Because sometimes your best ideas happen away from the keyboard. Maybe you're on a walk, on the train, in a meeting, or just want to keep a long-running task going while you step away. codeam-cli lets your AI agent keep working — and lets you keep shipping — without needing to be at your machine.

It works exactly like Claude Code (same terminal, same project, same files), but every prompt and every response is mirrored on your phone. You can even approve interactive selectors and confirmations from mobile.


Quick Start

# 1. Install once
npm install -g codeam-cli

# 2. Pair your phone (generates a 6-character code)
codeam pair

# 3. Run Claude Code with mobile control (every time after that)
codeam

That's it. Open the CodeAgent Mobile app, enter the code, and you're controlling Claude Code from your phone.


Commands

| Command | What it does | |---|---| | codeam | Start Claude Code in the current directory, with mobile control | | codeam pair | Pair a new mobile device (6-digit code or QR) | | codeam sessions | List all paired devices | | codeam status | Show connection status | | codeam logout | Remove all paired sessions | | codeam deploy | Provision a cloud workspace (GitHub Codespaces) and pair it to your phone | | codeam deploy ls | List the cloud workspaces you've deployed (and which still have a session running) | | codeam deploy stop | Pick a deployed workspace and stop its codeam session (and optionally the workspace itself) | | codeam --version, -v | Print the installed CLI version | | codeam --help, -h | Show usage and the full command list |


codeam deploy — drive a cloud workspace from your phone

Don't want to keep your laptop running while you control Claude from the train? codeam deploy spins up a fresh GitHub Codespace for any of your repos, installs Claude Code + codeam-cli inside it, copies your local Claude credentials so you skip the re-auth (or runs claude login interactively if you don't have a local config yet), supervises the agent with PM2 so the session survives even after you close your laptop, and gives you a QR/code to pair your phone — straight from your local terminal.

codeam deploy

That's it. You'll be guided through:

  1. Pick a provider (GitHub Codespaces today; more coming).
  2. Pick a repo from your account.
  3. Reuse an existing codespace or create a new one — re-runs of codeam deploy against the same project don't pile up codespaces.
  4. Wait ~1 minute while the codespace boots and tools install.
  5. Scan the QR / enter the code on the CodeAgent Mobile app.
  6. Your local terminal automatically disconnects once Claude is ready — close the laptop, the agent keeps running on the codespace, and your phone stays connected.

Requirements: the GitHub CLI (gh) installed and authenticated (gh auth login). The deploy flow re-uses gh's OAuth — we don't ask for a separate token.

Managing your deployed workspaces

# Show every workspace you've deployed and whether codeam is still running on it.
codeam deploy ls

# Pick one and stop the codeam session — also offers to stop the workspace
# itself so you don't burn compute hours.
codeam deploy stop

Stopping a workspace via codeam deploy stop is non-destructive: the GitHub Codespace stays around (preserving your branch, files, and dotfiles); only the running compute is paused. Re-running codeam deploy will offer to resume that same codespace.

Adding more cloud backends (Gitpod, Coder, your own SSH host, …) is a single new file in apps/cli/src/services/providers/ — the CloudProvider interface keeps it pluggable.


Requirements


Environment variables

| Variable | Default | Effect | |---|---|---| | CODEAM_DISABLE_UPDATE_CHECK | unset | Set to 1 to suppress the "update available" banner. The check also auto-skips on non-TTY stdout, in CI, and during tests. |


How it works

  1. codeam-cli spawns Claude Code inside a Python PTY helper so Claude sees a real TTY.
  2. Raw PTY output runs through a virtual terminal renderer, interactive selectors are detected, and TUI chrome is filtered out.
  3. Clean output chunks are pushed to CodeAgent's backend relay.
  4. Your phone connects to the same relay via WebSocket. Every prompt you type on mobile is sent back to the PTY as if typed on your keyboard.
  5. Everything happens on your machine — your code never leaves it. The relay only forwards prompts and sanitized output.

Related


License

MIT © Edgar Durand

Source: github.com/edgar-durand/codeagent-mobile-clients