* 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
* Fix: Allow --agent flag without prompt in headless mode
- Modified prompt validation to check for --agent flag presence
- Agent files can provide their own prompts, so no user prompt is required
- Added example usage with --agent flag to error message
- Added test case to verify --agent flag bypasses prompt requirement
Fixes issue where 'cn -p --agent owner/package' incorrectly required a prompt
Generated with [Continue](https://continue.dev)
Co-Authored-By: Continue <noreply@continue.dev>
Co-authored-by: Username <dallin@continue.dev>
* fix: better examples when prompt is not provided
---------
Co-authored-by: Continue Agent <agent@continue.dev>
Co-authored-by: Continue <noreply@continue.dev>
Co-authored-by: Username <dallin@continue.dev>
Co-authored-by: Dallin Romney <dallinromney@gmail.com>
* Allow --mcp flag to accept URLs for streamable-http servers
When a URL starting with http:// or https:// is passed to the --mcp flag,
it will now automatically be configured as a streamable-http MCP server
connection instead of trying to load it from the hub.
This allows users to run:
cn --mcp https://docs.continue.dev/mcp
The URL will be parsed and configured with:
- type: streamable-http
- url: the provided URL
- name: hostname from the URL
Fixes CON-4285
Generated with [Continue](https://continue.dev)
Co-authored-by: Username <nate@continue.dev>
* fix: tests
---------
Co-authored-by: Continue Agent <agent@continue.dev>
Co-authored-by: Username <nate@continue.dev>
Co-authored-by: Nate <sestinj@gmail.com>
Add apiKey field to mcpServers schema and implement Bearer token auth
- Add apiKey field to sseOrHttpMcpServerSchema in packages/config-yaml
- Update MCPConnection.ts to merge apiKey as Bearer token in Authorization header
- Update CLI MCPService to merge apiKey as Bearer token in Authorization header
- Add apiKey to InternalSseMcpOptions and InternalStreamableHttpMcpOptions types
- Update yamlToContinueConfig converter to pass through apiKey field
Fixes CON-4281
Generated with [Continue](https://continue.dev)
Co-authored-by: Continue Agent <agent@continue.dev>
Co-authored-by: Continue <noreply@continue.dev>
Co-authored-by: nate <nate@continue.dev>
- Add organizationName prop to IntroMessage component
- Display 'Org: [ORG_NAME]' above 'Agent: [AGENT_NAME]'
- Fetch organization name from auth service in TUIChat
- Add useOrganizationName hook to resolve org ID to name
- Pass organizationName through StaticChatContent
- Update tests to verify org display behavior
Generated with [Continue](https://continue.dev)
Co-authored-by: Continue Agent <agent@continue.dev>
Co-authored-by: Continue <noreply@continue.dev>
Co-authored-by: Nate <sestinj@gmail.com>