Local fork of continuedev/continue for auto-approve and full-access mode experiments
Find a file
2025-07-16 00:08:57 -07:00
.continue feat: integrate SDK into CLI (#1) 2025-05-02 13:15:45 -07:00
.github/workflows ci: fix 2025-07-14 20:05:01 -07:00
.vscode chore: complete rename 2025-07-13 13:08:17 -07:00
spec onboarding flow 2025-07-15 23:49:27 -07:00
src login slash command 2025-07-16 00:07:47 -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 onboarding flow 2025-07-15 23:49:27 -07:00
CHANGELOG.md chore(release): 1.3.3 [skip ci] 2025-07-16 05:29:07 +00:00
jest.config.mjs fix warnings 2025-07-15 19:29:29 -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 onboarding flow 2025-07-15 23:49:27 -07:00
package.json fix: package.json issues page 2025-07-16 00:08:57 -07:00
README.md feat: add session management with --resume flag and cn alias 2025-07-14 01:31:29 -07:00
test-file.txt Add file search functionality with @ trigger in user input 2025-07-14 01:29:30 -07:00
tsconfig.json Add markdown rendering support with comprehensive test coverage 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> 2025-07-14 18:32:12 -07:00

Continue CLI

The Continue CLI is a customizable command line coding agent.

Installation

npm i -g @continuedev/cli

Usage

cn

Headless Mode

cn --headless "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

Each terminal window maintains its own separate session, so you can have multiple concurrent conversations without them interfering with each other.

Advanced Usage

# Resume session with specific assistant
cn --resume --config my-assistant

# Resume session in headless mode
cn --resume --headless

Command Line Options

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

Session Storage

Sessions are stored in ~/.continue-cli/sessions/ and are automatically managed per terminal window using environment variables like:

  • TERM_SESSION_ID
  • SSH_TTY
  • TMUX
  • STY

If none of these are available, the process ID is used as a fallback.