Local fork of continuedev/continue for auto-approve and full-access mode experiments
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. |
||
|---|---|---|
| .continue | ||
| .github/workflows | ||
| .vscode | ||
| media | ||
| spec | ||
| src | ||
| .env.example | ||
| .gitignore | ||
| .npmignore | ||
| .nvmrc | ||
| .releaserc.json | ||
| AGENTS.md | ||
| CHANGELOG.md | ||
| demo.md | ||
| example-permissions.yaml | ||
| jest.config.mjs | ||
| jest.resolver.cjs | ||
| jest.resolver.js | ||
| jest.setup.ts | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| REFACTOR_PLAN.md | ||
| tsconfig.build.json | ||
| tsconfig.json | ||
| vitest.config.ts | ||
Continue CLI
The Continue CLI (cn) is a customizable command line coding agent.
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
