Commit graph

5491 commits

Author SHA1 Message Date
Dallin Romney
399d9fea96
Merge pull request #8489 from continuedev/dallin/fix-reject-all-diffs
fix: instant reject all for VS Code
2025-11-03 22:50:31 -08:00
Ty Dunn
b2e8fa32be
docs: Update VS Code README for agents (#8574)
Update VS Code README for agents

Co-authored-by: Nate Sesti <33237525+sestinj@users.noreply.github.com>
2025-11-03 18:33:51 -08:00
Ty Dunn
1665b11c5c
docs: Update JetBrains README for agents (#8573)
* Update JetBrains README

* Update extensions/intellij/README.md

* Update extensions/intellij/README.md
2025-11-03 18:33:19 -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
7bd8381d5d
Bump version from 1.3.23 to 1.3.24 (#8560) 2025-11-02 22:05:38 -08:00
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
Nate Sesti
4425be3e5b
Remove error handler registration from plugin.xml (#8513) 2025-10-29 22:33:40 -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
3078cd9280 fix: instant reject all for VS Code 2025-10-28 16:31:04 -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
Dallin Romney
7b17768aff
Merge pull request #8473 from continuedev/dallin/instant-edit
feat: instant edit for find/replace tools
2025-10-28 10:54:51 -07:00
Aditya Mitra
22016af4ec
fix(cli): unskip first slash command output (#8482) 2025-10-28 10:45:27 -07:00
Dallin Romney
9e7a280942
Apply suggestion from @cubic-dev-ai[bot]
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-10-27 20:37:10 -07:00
Dallin Romney
c5476ca874 fix: jetbrains getDiffLines parsing 2025-10-27 20:35:10 -07:00
Dallin Romney
3ab61c4916 fix: instant streaming for jetbrains 2025-10-27 19:33:32 -07:00
Dallin Romney
d227a571bb fix: instant apply for search and replace - vs code and jetbrains 2025-10-27 18:43:09 -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
Dallin Romney
7a960c7e36 Merge branch 'main' of https://github.com/continuedev/continue into continuebot/con-4530 2025-10-27 15:03:48 -07:00
Dallin Romney
58e3a04021
chore: prerelease bumps (#8440) 2025-10-25 19:13:00 -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
Patrick Erichsen
427ac0736f
bump versions (#8395) 2025-10-22 16:50:50 -07:00
Dallin Romney
8a2eee51fb
fix: temporarily disable RecentlyVisited, RecentlyEdited, and DocumentHistoryTracker (#8391)
fix: disable expenseive autocommplete and next-edit services
2025-10-22 16:10:34 -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
Patrick Erichsen
b72b261376
fix: remove keepAliveMsecs from fetch agent (#8378)
* fix: remove `keepAliveMsecs` from fetch agent

* fix tests
2025-10-21 15:49:20 -07:00
Dallin Romney
6098fbf585
fix(cli): agent injected blocks ignored (#8361) 2025-10-20 21:20:44 -07:00
Patrick Erichsen
8b9a8e0038
chore: bump versions (#8359) 2025-10-20 17:42:37 -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