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

@cdoing/cli

v0.1.28

Published

[![npm version](https://img.shields.io/npm/v/@cdoing/cli.svg)](https://www.npmjs.com/package/@cdoing/cli) [![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://github.com/awaisshah228/cdoing-agent/blob/main/LICENSE)

Downloads

1,563

Readme

@cdoing/cli

npm version License

Terminal-based AI coding assistant from Cdoing Agent — an open-source, multi-provider alternative to Claude Code, Cursor, and GitHub Copilot.

CLI Screenshot

Installation

npm install -g @cdoing/cli
# or
yarn global add @cdoing/cli

Quick Start

# Run the CLI — launches setup wizard on first run
cdoing

# Or with a direct prompt
cdoing "explain this codebase"

# With specific provider and model
cdoing --provider openai --model gpt-4o
cdoing --provider openrouter --model anthropic/claude-sonnet-4
cdoing --provider ollama --model llama3.1

On first run with no API key configured, an interactive setup wizard guides you through provider, model, and authentication setup. Run /setup at any time to reconfigure.

Features

  • Multi-provider — Anthropic, OpenAI, Google, Ollama, OpenRouter, Groq, Mistral, xAI, DeepInfra, Together, and any OpenAI-compatible API
  • 20 built-in tools — file read/write/edit, shell exec (with real-time streaming), search, web fetch, sub-agents, and more
  • Real-time streaming — token-by-token output with live tool call progress
  • Context providers@terminal, @tree, @url, @codebase, @git, @diff, @clipboard, @file
  • Permission system — 5 modes from full prompting to auto-approve, with deny/allow/ask rules
  • Sandbox — filesystem and network restrictions for safe execution
  • Background processes — run servers, watchers, dev tools in background with status tracking
  • Smart output — auto-truncates verbose output (npm install, builds) to save tokens
  • Slash commands/setup, /compact, /clear, /plan, /help, and more
  • Conversation history — persistent across sessions
  • Plan mode — read-only exploration without modifications
  • OAuth — sign in with your Claude Pro/Max account (free tier)
  • MCP support — connect to Model Context Protocol servers

Authentication

Interactive Setup

cdoing        # First run triggers setup wizard
# or
/setup        # Run inside the CLI at any time

API Key

# Environment variable
export ANTHROPIC_API_KEY=sk-ant-...
export OPENAI_API_KEY=sk-...
export OPENROUTER_API_KEY=sk-or-...
export GOOGLE_API_KEY=...

# Or save permanently
cdoing config set api-key sk-ant-...

OAuth (Claude Pro/Max)

cdoing --login     # Opens browser for OAuth flow
cdoing --logout    # Clear stored tokens

CLI Flags

| Flag | Description | |------|-------------| | --provider <name> | LLM provider (anthropic, openai, google, ollama, openrouter, groq, etc.) | | --model <name> | Model to use | | --api-key <key> | API key (overrides stored/env) | | --permission-mode <mode> | Permission mode (default, acceptEdits, plan, dontAsk, bypassPermissions) | | --login | Start OAuth login flow | | --logout | Clear OAuth tokens | | --verbose | Show debug output |

Supported Providers

| Provider | Models | Auth | |----------|--------|------| | Anthropic (default) | Claude Sonnet 4.6, Opus 4.6, Haiku 4.5 | API key or OAuth | | OpenAI | GPT-4o, GPT-4o mini, o3-mini | API key | | Google | Gemini 2.0 Flash, 1.5 Pro | API key | | OpenRouter | Any model (Claude, GPT, Llama, Qwen, etc.) | API key | | Ollama | LLaMA, Mistral, CodeLlama, Qwen | Not required | | Groq | LLaMA 3.3 70B, Mixtral | API key | | Mistral | Mistral Large, Codestral | API key | | xAI | Grok 3 | API key | | GitHub Copilot | GPT-4o, Claude | GitHub token | | Custom | Any OpenAI-compatible API | Configurable |

Related Packages

Architecture

Built with:

  • Ink + React — terminal UI with real-time rendering
  • Commander.js — CLI argument parsing
  • @cdoing/core — tools, permissions, sandbox, hooks, context providers
  • @cdoing/ai — agent runner, LLM providers, context/token management

License

Apache-2.0