Commit graph

96 commits

Author SHA1 Message Date
Dallin Romney
86ed8e964d fix: allow unrendered secrets error to set mcp status to error 2025-11-09 19:56:07 -08:00
Dallin Romney
2688fc9f6d fix: CLI warnings/errors for unresolved MCP secrets 2025-11-09 19:54:36 -08:00
Dallin Romney
97b93c44fa fix: validate config secrets present 2025-11-09 19:04:41 -08:00
Nate Sesti
e761b68bc6
Pass all environment variables to MCP server instead of just PATH (#8602) 2025-11-05 08:41:23 -08:00
Dallin Romney
bbd7e6f331
Merge pull request #8564 from uinstinct/cli-skip-update-dev
feat(cli): skip checking for updates in dev mode
2025-11-03 15:02:44 -08:00
continue[bot]
794de1b197
Throw error and exit on MCP failure in headless mode (#8559)
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>
2025-11-03 14:46:03 -08:00
uinstinct
28e09e1c71 feat(cli): skip checking for updates in dev mode 2025-11-03 18:22:38 +05:30
Dallin Romney
f50a80bc6d test: add tests for agent file tool permissions 2025-10-28 15:56:22 -07:00
Dallin Romney
c1f1513c55 fix: allow all agent tools if not specified 2025-10-28 15:51:16 -07:00
Dallin Romney
5fa2415e9b
fix: mcp agent policies and deduplicate blocks when merging unrolled assistants (#8376)
* fix: deduplicate blocks when merging config yaml

* fix: tool policies for mcp servers in agent mode

* fix: syntax error

* fix: cli tests

* fix: don't log

* fix: lint/format

* fix: better comments for tool policies

* fix: one test left

* fix: failing services test

* fix: lint and format
2025-10-22 14:41:41 -07:00
Dallin Romney
6098fbf585
fix(cli): agent injected blocks ignored (#8361) 2025-10-20 21:20:44 -07:00
Dallin Romney
e52a225971 fix: tests 2025-10-20 15:26:39 -07:00
Dallin Romney
f6db75a503 fix: HOTFIX allow default config fallback for headless 2025-10-20 14:38:22 -07:00
Dallin Romney
760d370edf fix: load default model if no models, only option in headless 2025-10-15 19:02:53 -07:00
Dallin Romney
4f5449adc1 fix: replace inputs with secrets 2025-10-15 02:43:23 -07:00
Dallin Romney
2162446863 feat: full secrets parsing for all CLI flags 2025-10-15 02:35:06 -07:00
Dallin Romney
0ecef51a82 fix: agent-file -> agentFile 2025-10-13 20:03:24 -07:00
Dallin Romney
17712b21c0 feat: rename workflows to agent files 2025-10-13 18:44:34 -07:00
uinstinct
55638464c5 fix tests 2025-10-09 11:49:17 +05:30
uinstinct
452da6eaf0 remove rule injection during onboarding 2025-10-09 11:11:59 +05:30
uinstinct
19e1dc05c3 Merge branch 'main' into cli-long-start 2025-10-09 10:40:17 +05:30
continue[bot]
7b17637763
Allow --mcp flag to accept URLs for streamable-http servers (#8119)
* 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>
2025-10-08 09:49:36 -07:00
continue[bot]
9164448c73
Add apiKey field to mcpServers block schema for Bearer token auth (#8120)
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>
2025-10-08 08:33:30 -07:00
Aditya Mitra
c7b8e0f29e
feat(cli): mcp oauth using mcp-remote (#8143)
* feat(cli): mcp oauth using mcp-remote

* Update MCPService.ts

---------

Co-authored-by: Nate Sesti <33237525+sestinj@users.noreply.github.com>
2025-10-08 08:23:21 -07:00
uinstinct
afb6a6eff5 remove onboarding result from being returned 2025-10-08 17:37:16 +05:30
Ting-Wai To
52f2058ad6 fix: add max depth to file indexing 2025-10-06 17:18:18 -07:00
Dallin Romney
89e2573c49 fix: cubic feedback for workflow files 2025-10-04 14:45:49 -07:00
Dallin Romney
236f139ffc fix: lint/format 2025-10-03 19:48:55 -07:00
Dallin Romney
99095bdcbd fix: workflow e2e working 2025-10-03 19:46:06 -07:00
Dallin Romney
379ffe0550 fix: circular import 2025-10-03 18:21:29 -07:00
Dallin Romney
164d536380 fix: tests, formatting, linting 2025-10-03 18:04:39 -07:00
Dallin Romney
dcddb5429b fix: fix workflow tests 2025-10-03 17:47:13 -07:00
Dallin Romney
3e80f3d8c5 fix: remove mode service, fix all tests, workflow service integration 2025-10-03 17:26:18 -07:00
Dallin Romney
e6ee11b9c2 fix: tests, lint, workflow model name logic 2025-10-02 17:16:08 -07:00
Dallin Romney
779ad18c42 fix: tests and remove parsed args 2025-10-02 16:37:46 -07:00
Dallin Romney
145a752388 fix: tests and formatting for workflow files 2025-10-02 15:45:07 -07:00
Dallin Romney
8c5ca73e13 fix: cleanup workflow files 2025-10-02 15:02:17 -07:00
Dallin Romney
4d3bafee60 fix: move workflow stuff to config service 2025-10-02 14:07:59 -07:00
Dallin Romney
9e15bc0086 wip: workflow files cleanup 2025-10-02 12:47:46 -07:00
Dallin Romney
f5ba8d4ed6 wip: workflow files cleanup 2025-10-02 12:39:00 -07:00
Dallin Romney
452e01204f feat: tool permissions from workflow files 2025-10-02 12:23:07 -07:00
Dallin Romney
8b0dc22422 fix: simplify workflow service 2025-10-02 11:39:25 -07:00
Dallin Romney
7d40f5a9ab feat: workflows for CLI 2025-10-02 11:34:08 -07:00
Dallin Romney
1332f52839 fix: negated condition 2025-09-26 10:42:46 -07:00
Dallin Romney
c286e046f4 fix: core mcp test with invalid type 2025-09-25 17:45:57 -07:00
Dallin Romney
f995a0e45f fix: cubic feedback, lint, format 2025-09-24 16:55:18 -07:00
Dallin Romney
6c211718ea merge main 2025-09-24 15:36:59 -07:00
Dallin Romney
7b5ae7a50f fix: MCP types and sse/http fallback logic 2025-09-24 15:30:08 -07:00
Nate Sesti
e84f20ec20
Refactor session snapshot handling to use getCompleteStateSnapshot (#7929)
* Refactor session snapshot handling to use getCompleteStateSnapshot

* fix: failing tests

* use main branch for review action

* chore: format

* fix: capture references
2025-09-24 00:00:56 -07:00
Nate Sesti
bf5538bf39
feat: mark unread (#7886)
* fix: update /agents/devboxes to /agents

* feat: mark unread status in cn serve

* Update extensions/cli/src/services/StorageSyncService.test.ts

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

* Update extensions/cli/src/commands/ls.ts

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

* fix: debugger breakpoints

* improv: logs

* fix: add encryption headers

* chore: package-lock

* fix: debugger createRequire issue

* clean: remove extra launch.json args

* test: clean up tests

* chore: format

* chore: lint fix

* fix: tests regression

---------

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-09-22 19:54:46 -07:00