Local fork of continuedev/continue for auto-approve and full-access mode experiments
Find a file
Nate Sesti e27a5c87d5
Merge pull request #239 from continuedev/detect-new-files-for-at
Add file indexing service with automatic change detection
2025-08-19 15:45:34 -07:00
.continue chore: remove jest 2025-08-13 15:19:07 -07:00
.github chore: remove redundant step 2025-08-18 10:39:10 -07:00
.vscode chore: remove jest 2025-08-13 15:19:07 -07:00
docs chore: prettier format 2025-08-09 09:14:24 -04:00
media zoom in on gif 2025-07-29 15:48:36 -07:00
spec Merge branch 'main' into dallin/remove-jest 2025-08-15 16:13:40 -07:00
src Merge pull request #239 from continuedev/detect-new-files-for-at 2025-08-19 15:45:34 -07:00
.env.example feat: integrate SDK into CLI (#1) 2025-05-02 13:15:45 -07:00
.gitignore feat: mcp makeover 2025-08-13 14:31:38 -07:00
.npmignore chore: remove jest 2025-08-13 15:19:07 -07:00
.nvmrc .nvmrc 2025-04-25 20:44:10 -07:00
.prettierignore feat: prettier 2025-08-08 12:58:23 -07:00
.prettierrc feat: prettier 2025-08-08 12:58:23 -07:00
.releaserc.json Merge pull request #70 from continuedev/onboarding-more 2025-07-19 17:31:35 -07:00
AGENTS.md chore: remove jest 2025-08-13 15:19:07 -07:00
CHANGELOG.md fix: formatting 2025-08-08 13:05:40 -07:00
demo.md cap 2025-07-20 22:16:49 -07:00
eslint.config.js chore: remove jest 2025-08-13 15:19:07 -07:00
example-permissions.yaml fix: formatting 2025-08-08 13:05:40 -07:00
LICENSE chore: update README and add cn alias, remove test files, add LICENSE 2025-07-14 01:12:14 -07:00
package-lock.json feat: improve timestamps 2025-08-18 10:28:44 -07:00
package.json Add pipe input support for TUI mode with TTY fallback handling 2025-08-18 19:26:57 -07:00
README-sentry.md fix: imports 2025-08-05 23:11:39 -07:00
README.md Add cn ls command with TUI session selector and JSON output 2025-08-18 09:10:57 -07:00
REFACTOR_PLAN.md Remove /org command and merge organization switching into /config command 2025-08-18 14:11:08 -07:00
tsconfig.build.json fix: formatting 2025-08-08 13:05:40 -07:00
tsconfig.json improv: lint 2025-08-05 14:06:08 -07:00
vitest.config.ts fix: formatting 2025-08-08 13:05:40 -07:00
vitest.e2e.config.ts fix formatting 2025-08-10 22:30:54 -04:00
vitest.setup.ts chore: lint, format 2025-08-11 22:45:41 -04:00

Continue CLI

The Continue CLI (cn) is a customizable command line coding agent.

Continue CLI Demo

Installation

npm i -g @continuedev/cli

Usage

cn

Headless Mode

cn -p "Generate a conventional commit name for the current git changes."

Session Management

The CLI automatically saves your chat history for each terminal session. You can resume where you left off:

# Resume the last session in this terminal
cn --resume

# List recent sessions and choose one to resume
cn ls

# List sessions in JSON format (for scripting)
cn ls --json

Command Line Options

  • -p: Run in headless mode (no TUI)
  • --config <path>: Specify agent configuration path
  • --resume: Resume the last session for this terminal
  • <prompt>: Optional prompt to start with

Commands

  • cn: Start an interactive chat session
  • cn ls: List recent sessions with TUI selector to choose one to resume
  • cn login: Authenticate with Continue
  • cn logout: Sign out of current session
  • cn remote: Launch a remote instance
  • cn serve: Start HTTP server mode

Session Listing (cn ls)

Shows recent sessions, limited by screen height to ensure it fits on your terminal.

  • --json: Output in JSON format for scripting (always shows 10 sessions)