* feat: Add preview panel to session selector for chat history - Created SessionPreview component to display chat history - Updated SessionSelector to show two-column layout with preview on right - Preview shows first 10 messages with truncation for long content - Preview only displays when terminal width > 100 columns - Automatically loads and displays session history as cursor moves Fixes CON-3892 Generated with Continue(https://continue.dev) Co-Authored-By: Continue <noreply@continue.dev> Co-authored-by: Username <nate@continue.dev> * chore: Adjust session selector layout to 30/70 split - Changed list width from 45% to 30% of terminal width - Preview panel now takes up 70% of the right side - Provides more space for chat history preview Co-Authored-By: Continue <noreply@continue.dev> Co-authored-by: Username <nate@continue.dev> * fix lint * preview pane takes full width * check terminal height and skip empty messages --------- Co-authored-by: Continue Agent <agent@continue.dev> Co-authored-by: Continue <noreply@continue.dev> Co-authored-by: Username <nate@continue.dev> Co-authored-by: Ting-Wai To <40179554+tingwai@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| .github | ||
| docs | ||
| media | ||
| spec | ||
| src | ||
| stubs | ||
| test-fixtures | ||
| .env.example | ||
| .gitignore | ||
| .npmignore | ||
| .releaserc.json | ||
| AGENTS.md | ||
| BUILD.md | ||
| build.mjs | ||
| CHANGELOG.md | ||
| demo.expect | ||
| eslint.config.js | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| smoke-test.mjs | ||
| tsconfig.build.json | ||
| tsconfig.json | ||
| validate-aliases.mjs | ||
| vitest.config.ts | ||
| vitest.e2e.config.ts | ||
| vitest.setup.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
# 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 sessioncn ls: List recent sessions with TUI selector to choose one to resumecn login: Authenticate with Continuecn logout: Sign out of current sessioncn remote: Launch a remote instancecn 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)
