* 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>
Separates control of OTEL telemetry and anonymous PostHog telemetry:
- CONTINUE_CLI_ENABLE_TELEMETRY: Controls OTEL telemetry (requires OTEL config)
- CONTINUE_ALLOW_ANONYMOUS_TELEMETRY: Controls anonymous PostHog telemetry
This allows users to independently control:
1. OTEL metrics (opt-in via config + env var)
2. Anonymous telemetry (opt-out via env var)
Changes:
- Added CONTINUE_ALLOW_ANONYMOUS_TELEMETRY env var
- Updated posthogService to use new env var
- Kept CONTINUE_CLI_ENABLE_TELEMETRY for OTEL control
- Updated documentation for both telemetry types
- Updated all tests to reflect the change
Generated with [Continue](https://continue.dev)
Co-authored-by: tingwai <tingwai@continue.dev>