In headless/CLI mode, when an MCP server fails to load, the process now
throws an error and exits rather than silently continuing. This provides
clear feedback to users about configuration issues.
Changes:
- Track headless mode flag in MCPService
- Throw errors on MCP connection failures in headless mode
- Throw errors when MCP tools/prompts fail to load in headless mode
- Aggregate and report all MCP failures after connection attempts
Fixes CON-4568
Generated with [Continue](https://continue.dev)
Co-authored-by: continue[bot] <continue[bot]@users.noreply.github.com>
Co-authored-by: Continue <noreply@continue.dev>
Remove @continue.dev filter for account level MCPs
- Made remote sessions (account-level MCPs) generally available to all authenticated users
- Removed email domain restriction from shouldEnableRemoteSessions() and listRemoteSessions() in ControlPlaneClient
- Removed email domain restriction from getRemoteSessions() in CLI session management
Generated with [Continue](https://continue.dev)
Co-authored-by: continue[bot] <continue[bot]@users.noreply.github.com>
Co-authored-by: Continue <noreply@continue.dev>
Co-authored-by: Nate <nate@continue.dev>
* feat: add GPT-5 Codex model support
- Add GPT-5 Codex to llm-info package with 500k context and 150k max tokens
- Add model definition to models.ts for UI configuration
- Include GPT-5 Codex in OpenAI provider packages list
- Model supports chat and edit roles with tool_use capability
* feat: impl Responses API in oai-adapters
* fix chat describer
* Update openai.ts
* fix llm-info
* address dallin's feedback
- Add environment variable check in systemMessage.ts
- Update README.md with documentation
- Allows users to disable the Continue commit signature in generated commits
The tests are sufficient to verify the bug exists. The code changes
were treating symptoms rather than fixing the root cause. Each CLI
invocation should be a fresh Node.js process, so state pollution
shouldn't occur between separate 'cn' commands in the first place.
The added tests will catch when the actual architectural issue
gets properly fixed.
Generated with [Continue](https://continue.dev)
Co-Authored-By: Continue <noreply@continue.dev>
The vi.mock setup already properly types the uuid v4 function to return
string, so the 'as any' type assertions are unnecessary and were
creating TypeScript smell in the test file.
This change improves type safety while maintaining the same test behavior.
Co-authored-by: Username <nate@continue.dev>
Generated with [Continue](https://continue.dev)
Co-Authored-By: Continue <noreply@continue.dev>
Resolves context pollution issue where CLI sessions would retain
state from previous invocations, causing responses to reference
conversations that should have been isolated.
Changes:
- Added SessionManager.reset() static method for proper cleanup
- Updated initializeChatHistory() to create new session by default
- Clear undo/redo stacks in ChatHistoryService on initialization
- Added comprehensive session isolation tests
Fixes CON-4530
Co-authored-by: Username <nate@continue.dev>
Generated with [Continue](https://continue.dev)
Co-Authored-By: Continue <noreply@continue.dev>
* 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>
- Combined resolveInputPath approach with new ContinueError system
- Updated error handling to use ContinueError with appropriate error reasons
- Maintained improved error messages from pe/read-file-errs branch