Local fork of continuedev/continue for auto-approve and full-access mode experiments
Find a file
2025-07-13 21:34:28 -07:00
.continue feat: integrate SDK into CLI (#1) 2025-05-02 13:15:45 -07:00
.github/workflows checkout v4 2025-07-13 21:25:02 -07:00
.vscode chore: complete rename 2025-07-13 13:08:17 -07:00
src fix: slash command tab 2025-07-13 19:04:36 -07:00
.env.example feat: integrate SDK into CLI (#1) 2025-05-02 13:15:45 -07:00
.gitignore chore: ignore notes.md 2025-07-13 21:00:34 -07:00
.npmignore fix: release index.js 2025-07-13 21:34:11 -07:00
.nvmrc .nvmrc 2025-04-25 20:44:10 -07:00
.releaserc.json fix: release index.js 2025-07-13 21:34:11 -07:00
AGENTS.md chore: AGENTS.md 2025-07-13 16:42:16 -07:00
CHANGELOG.md chore(release): 1.0.0 [skip ci] 2025-07-14 04:23:41 +00:00
jest.config.mjs copy over the CLI 2025-04-24 15:53:20 -07:00
package-lock.json semantic release 2025-07-13 21:13:45 -07:00
package.json Merge branch 'main' of https://github.com/continuedev/cli 2025-07-13 21:34:28 -07:00
README.md feat: TUI mode as default 2025-07-13 16:45:23 -07:00
tsconfig.json feat: basic ink tui 2025-07-13 14:02:56 -07:00

Continue CLI

A command-line interface for Continue Dev that provides an interactive AI-assisted development experience.

Features

  • 🤖 Interactive AI Assistant Chat
  • 🎨 Beautiful Terminal User Interface (TUI)
  • 🔐 Secure Authentication via WorkOS
  • 🛠️ Built-in Development Tools
  • ⚡ Real-time Response Streaming
  • 🎯 Slash Command Support
  • 🤫 Headless Mode for Automation

Installation

npm install @continuedev/cli -g

Usage

Basic Usage

continue-cli

With Custom Assistant

continue-cli --config /path/to/config.yaml

Headless Mode

continue-cli --headless --prompt "Your command here"

Available Commands

The CLI supports various slash commands during interaction:

  • /help - Display help information
  • /exit - Exit the CLI
  • Additional commands available during chat sessions

Development

Prerequisites

  • Node.js (version specified in .nvmrc)
  • npm or yarn

Setup

  1. Clone the repository
  2. Install dependencies:
npm install
  1. Build the project:
npm run build
  1. Start in development mode:
npm start

Testing

Run the test suite:

npm test

Project Structure

src/
├── auth/           # Authentication implementation
├── tools/          # CLI tools and utilities
├── ui/             # Terminal User Interface components
├── index.ts        # Main entry point
├── args.ts         # Command line argument parsing
├── client.ts       # Client implementation
├── mcp.ts          # Model Context Protocol integration
└── ...            # Various utility files

Dependencies

  • @continuedev/* packages for core functionality
  • @workos-inc/node for authentication
  • openai for AI capabilities
  • ink and react for Terminal UI
  • Various utility packages (chalk, axios, etc.)

License

Apache-2.0 - see LICENSE file for details

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Support

For issues and feature requests, please use the GitHub issue tracker.