* 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>