Local fork of continuedev/continue for auto-approve and full-access mode experiments
Find a file
Chad Metcalf 94dea97540
refactor: unify TUI and headless service initialization paths
Eliminates major code duplication between TUI and headless modes by handling
onboarding internally within initializeServices(). Previously TUI mode called
initializeWithOnboarding() then startTUIChat() called initializeServices()
again, while headless mode called initializeServices() directly.

Changes:
- Add skipOnboarding option to ServiceInitOptions
- Modify initializeServices() to handle onboarding internally for TUI mode
- Remove duplicate initializeWithOnboarding() call from chat.ts TUI path
- Update startTUIChat() to skip initialization when already done
- Update serve.ts to use shared flag processing from Phase 1

This eliminates the dual initialization paths while preserving all existing
behavior. TUI mode now has single initialization path with proper onboarding.
2025-08-03 15:23:09 -07:00
.continue rename to agent in a few places 2025-07-19 20:56:52 -07:00
.github/workflows Disable scheduled releases in GitHub workflow 2025-07-31 19:59:01 -07:00
.vscode fix: remote url no port 2025-07-21 15:26:18 -07:00
media zoom in on gif 2025-07-29 15:48:36 -07:00
spec more notes 2025-08-01 12:47:46 -07:00
src refactor: unify TUI and headless service initialization paths 2025-08-03 15:23:09 -07:00
.env.example feat: integrate SDK into CLI (#1) 2025-05-02 13:15:45 -07:00
.gitignore chore: add config.yaml to .gitignore 2025-08-03 15:23:01 -07:00
.npmignore fix: update npmignore 2025-07-20 11:33:51 -07:00
.nvmrc .nvmrc 2025-04-25 20:44:10 -07:00
.releaserc.json Merge pull request #70 from continuedev/onboarding-more 2025-07-19 17:31:35 -07:00
AGENTS.md fix: streaming tests, built in tool flag 2025-07-30 13:58:40 -07:00
CHANGELOG.md chore(release): 1.4.2 [skip ci] 2025-07-17 09:03:00 +00:00
demo.md cap 2025-07-20 22:16:49 -07:00
example-permissions.yaml feat: permissions.yaml 2025-07-27 13:24:29 -07:00
jest.config.mjs fix lint errors 2025-07-31 11:00:46 -07:00
jest.resolver.cjs more test fixes 2025-07-22 18:57:46 -07:00
jest.resolver.js more test fixes 2025-07-22 18:57:46 -07:00
jest.setup.ts fix tests 2025-07-28 16:13:15 -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 test: preprocess tests 2025-07-30 11:12:00 -07:00
package.json remove new jest script 2025-07-31 09:12:25 -07:00
README.md revert README.md 2025-07-31 13:09:25 -07:00
REFACTOR_PLAN.md refactor next step 2025-07-22 13:45:46 -07:00
tsconfig.build.json fixes 2025-07-31 11:24:16 -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
vitest.config.ts test: preprocess tests 2025-07-30 11:12:00 -07: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

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