Commit graph

588 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
1ed5d1c83f
fix: address headless loading bug (#8633) 2025-11-07 17:54:39 -08:00
Dallin Romney
cff31cf961
Merge pull request #8598 from uinstinct/cli-toolargs-validation
fix(cli): validate required parameters in tool call
2025-11-07 12:53:13 -08:00
Dallin Romney
2a1f3154e6
Merge pull request #8621 from continuedev/pe/hub-links
chore: update hub links
2025-11-07 10:27:15 -08:00
Patrick Erichsen
7ec2d236a5 chore: hub links 2025-11-06 17:09:37 -08:00
Ty Dunn
cc9c6a1eec
Merge pull request #8610 from continuedev/continue/con-4806
Remove beta text from CLI intro message
2025-11-06 11:34:22 -08:00
Dallin Romney
0a630fb307
fix: typecheck write file args (#8585) 2025-11-06 10:24:43 -08:00
continue[bot]
e81baaacb3 Remove beta text from CLI intro message
Generated with [Continue](https://continue.dev)

Co-Authored-By: Continue <noreply@continue.dev>
Co-authored-by: adityamitra <xenaditya1@gmail.com>
2025-11-06 06:52:42 +00:00
Nate Sesti
e761b68bc6
Pass all environment variables to MCP server instead of just PATH (#8602) 2025-11-05 08:41:23 -08:00
uinstinct
fdee3a886a fix(cli): validate required parameters in tool call 2025-11-05 11:34:45 +05:30
Nate Sesti
5519f27b6c
Add x-continue-unique-id header to LLM requests and normalize header casing (#8589)
* Add x-continue-unique-id header to LLM requests and normalize header casing

* fix: tests

* fix: tests
2025-11-04 12:05:37 -08:00
Dallin Romney
7c5dd3f0e6
Merge pull request #8563 from uinstinct/cli-context-percentage
feat(cli): always show context percentage
2025-11-03 18:16:32 -08:00
Dallin Romney
acf624ff19
Merge pull request #8420 from continuedev/continuebot/con-4530
fix: CLI context pollution between sessions
2025-11-03 15:19:39 -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
Dallin Romney
be07af5d0c
Merge pull request #8172 from continuedev/nate/truncate-slash
Add description truncation for slash commands in CLI UI
2025-11-03 11:04:57 -08:00
uinstinct
28e09e1c71 feat(cli): skip checking for updates in dev mode 2025-11-03 18:22:38 +05:30
uinstinct
9548d05537 only show when above 0 2025-11-03 17:51:59 +05:30
uinstinct
bc146457b6 feat(cli): always show the context percentage 2025-11-03 17:49:55 +05:30
Nate Sesti
c3c5224340
Add User-Agent headers to Continue Proxy and CLI requests (#8532)
* Add User-Agent headers to Continue Proxy and CLI requests

* fix: tests
2025-11-02 20:33:06 -08:00
continue[bot]
39921eeeda
Make account level MCPs generally available (#8493)
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>
2025-10-31 11:52:08 -07:00
Patrick Erichsen
67033627b3
feat: impl Responses API in oai-adapters (#8417)
* 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
2025-10-29 13:17:32 -07:00
Dallin Romney
20a8e6c292
Merge pull request #8411 from continuedev/nate/fix-tool-call-title-truncation
fix: improve tool call display truncation and update fetch dependency
2025-10-29 11:05:51 -07:00
Ross Golder
bb361ecf14
Merge branch 'continuedev:main' into feature/disable-commit-signature-envvar 2025-10-29 07:08:44 +07:00
Ross Golder
efdc8fcb93
Add CONTINUE_CLI_DISABLE_COMMIT_SIGNATURE env var to disable commit signature
- Add environment variable check in systemMessage.ts
- Update README.md with documentation
- Allows users to disable the Continue commit signature in generated commits
2025-10-29 06:51:55 +07:00
Dallin Romney
de62515ffd
Merge pull request #8488 from continuedev/dallin/fix-cli-agent-no-tools-policies
fix: allow all tools if not specified when using --agent
2025-10-28 16:47:54 -07:00
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
Aditya Mitra
22016af4ec
fix(cli): unskip first slash command output (#8482) 2025-10-28 10:45:27 -07:00
Aditya Mitra
ab214e3abc
refactor(cli): throw tool error instead of returning and matching error strings (#8432)
* fix: prevent string error matching throwing errors

- added ToolResultWithStatus

* add throwing of errors in search code tool

* throw errors in cli fetch tool

* throw errors in writeFile tool

* throw error in status tool

* throw errors in listFiles tool

* throw error in readfile tool

* fix no matches for pattern searchCode

* update tests

* use continueerror writeFile

---------

Co-authored-by: Nate <sestinj@gmail.com>
2025-10-27 16:43:05 -07:00
Brian 'bdougie' Douglas
9c3f250009 Remove unnecessary code changes, keep only tests
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>
2025-10-27 15:20:11 -07:00
Brian 'bdougie' Douglas
ee4d4ccbdc fix: remove unused SessionManager import in session.test.ts
Generated with [Continue](https://continue.dev)

Co-Authored-By: Continue <noreply@continue.dev>
2025-10-24 06:50:41 -07:00
Continue Agent
5c958828a3 Remove unnecessary 'as any' casts from uuidv4 mocks
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>
2025-10-24 05:16:37 +00:00
Continue Agent
5e944a04f9 Fix CLI context pollution between sessions
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>
2025-10-24 05:07:27 +00:00
Dallin Romney
20886604d8
fix(cli): exclude ask first tools in headless (#8416)
* fix: permissions cleanup
:

* fix: remove unused test
2025-10-23 19:12:47 -07:00
Nate
9a270d8344 fix: improve tool call display truncation and update fetch dependency 2025-10-23 10:52:30 -07:00
Dallin Romney
43053580ef
fix: prepend agent prompt in serve mode (#8393)
* fix: prepend agent prompt in serve mode

* fix: prompt prepending and tests

* fix: lint and format prepend prompt
2025-10-22 15:47:47 -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
5e55466695 fix: linting 2025-10-20 15:19:02 -07:00
Dallin Romney
777b472ff5 fix: catch invalid saved config file uri 2025-10-20 15:12:05 -07:00
Dallin Romney
73fd44f7ff fix: saved uri exists logic for slugs 2025-10-20 15:10:31 -07:00
Dallin Romney
16a5c09430 fix: lint 2025-10-20 14:44:26 -07:00
Dallin Romney
d97a1aed33 fix: tweak error message 2025-10-20 14:41:08 -07:00
Dallin Romney
f6db75a503 fix: HOTFIX allow default config fallback for headless 2025-10-20 14:38:22 -07:00
Aditya Mitra
3b074e6565
style(cli): adding loading animation when updating version (#8285) 2025-10-20 12:23:42 -07:00
Dallin Romney
1d15c7c3df
Merge pull request #8298 from continuedev/pe/read-file-errs
feat: allow file reads outside IDE workspace (w/ permission)
2025-10-20 10:50:38 -07:00