Commit graph

4591 commits

Author SHA1 Message Date
Jacob Kim
680ce90c7e Merge branch 'main' of github.com:continuedev/continue into jacob/con-3353 2025-08-19 13:58:10 -07:00
Aditya Mitra
1ce60a0091
feat: select assistant polishes (#7218)
* add login logout buttons and remove padding

* remove logout button from list

* create a new assistant file when signed out

* added tooltip and hover
2025-08-19 12:45:33 -07:00
Jacob Kim
c37c8111f7
feat: check for model before using full file diffs (#7222)
* fix: Excerpts -> Excerpt

* fix: test for Excerpt instead of Excerpts

* feat: add a public method to update usingFullFIleDiff

* feat: use full file diff for mercury only

* chore: remove console.log

* docs: add jsdocs

* refactor: use enums and const
2025-08-19 14:35:54 -04:00
uinstinct
e26b47e96c chore: show windows unsupported warning only once 2025-08-19 16:02:23 +05:30
Jacob Kim
7fcd1e5ee4 Merge branch 'exigow/new-inline-completion-api' of github.com:continuedev/continue into jacob/con-3353 2025-08-18 19:24:22 -07:00
Dallin Romney
3fedea67aa
Merge pull request #7223 from continuedev/nate/tutorial-init
Update tutorial instructions to use /init slash command instead of unit test examples
2025-08-18 17:26:54 -07:00
Dallin Romney
73fdf19de8
feat: rebrand assistants as agents (#7227)
* feat: rebrand assistants as agents

* fix: assitant-agent cleanup part 1

* fix: file references

* fix: missing file reference in config yaml tests

* chore: assistant -> agent cleanup
2025-08-18 16:25:30 -07:00
Qian
92c1852234
fix: vscodoe apply error2 (#7196) 2025-08-18 14:19:09 -07:00
Nate
66f0ea75f4 Update tutorial instructions to use /init slash command instead of unit test examples 2025-08-18 12:24:42 -07:00
Jakub Błach
28ff45686f
fix: add the missing EP to add license action 2025-08-18 13:57:48 +02:00
Jakub Blach
7f5e91d335 fix: migrate to built-in inline completion API from 2024.1 2025-08-17 02:21:54 +02:00
Jakub Blach
aa2382eb77 fix: use validation method that also works 2024.1 2025-08-16 20:51:44 +02:00
Jakub Blach
a378252921 fix: add the missing EP to add license action 2025-08-16 20:04:45 +02:00
Jacob Kim
435851c71a fix: use better highlighting 2025-08-15 19:05:14 -07:00
Jacob Kim
9f2d3c2ea2 fix: remove margins around code popup 2025-08-15 17:55:08 -07:00
Patrick Erichsen
a37f3730c5
chore: bump versions (#7191) 2025-08-15 17:38:35 -07:00
Jacob Kim
dc35ac91e4 feat: improve UI 2025-08-15 16:48:44 -07:00
Jacob Kim
1c6d00d42b merge: merge 2025-08-15 16:47:48 -07:00
Qian
74287e8ca4
fix: vscode apply error (#7168)
fix: vscode apply
2025-08-15 13:39:36 -07:00
Jacob Kim
6430a84c5c
fix: next edit renders that should render decorations will render them properly (#7160)
* fix: passing next edit requests will render things

* chore: remove comment

* feat: skip whitespace only deletions

* feat: add a utility function for checking if a diff is a whitespace only deletion

* feat: add test for next edit utils

* feat: move filtering to NextEditProvider

* fix: escape newline properly

* feat: make jump decoration more visible

* feat: remove redundant escapes

* fix: undo the escapeSVG

* fix: update tests

* fix: use proper line heights

* fix: place the SVG at the end of the line

* fix: handle cases where the completion is a single line

* feat: improve next edit UI (#7167)

* fix: use proper line heights

* fix: place the SVG at the end of the line

* fix: handle cases where the completion is a single line

* fix: allocate more memory for the GUI build step

* fix: set flag as node options

* fix: jump scrolls only after accepting

* fix: update jump manager vitest
2025-08-15 15:18:17 -04:00
Jacob Kim
2de814bbff feat: add handlers for different actions 2025-08-14 19:18:13 -07:00
Jacob Kim
1ee5e1f331 feat: add a checker to see if the cursor movement happened because of typing 2025-08-14 19:17:16 -07:00
Jacob Kim
34dac0523b feat: add an active handler manager that calls the currently set active handler to check for the cause of cursor movements 2025-08-14 19:16:50 -07:00
Jacob Kim
c2ee3aa1ad feat: track cursor movements at an application label 2025-08-14 19:16:12 -07:00
Jacob Kim
209de229c0 feat: register an active handler to detect intentional cursor movements 2025-08-14 19:15:50 -07:00
Patrick Erichsen
85994118e8
feat: implement Sentry error tracking with privacy-first anonymization (#6881)
* feat: add sentry to core

* feat: implement comprehensive Sentry error tracking with privacy-first anonymization

- Add Sentry ErrorBoundary components following React best practices
- Implement shared anonymization logic between core and GUI environments
- Create organized sentry directory structure with clean exports
- Add Continue team member access control (@continue.dev email check)
- Preserve node_modules package names for debugging while anonymizing user paths
- Include comprehensive test coverage for all anonymization scenarios
- Set up source maps for readable production error stack traces
- Add browser-compatible hashing without crypto module dependency

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* feat: complete Sentry integration with GUI components and tests

- Add GUI TelemetryProviders with Sentry ErrorBoundary
- Create shared isContinueTeamMember utilities for both core and GUI
- Update all imports and dependencies for new sentry structure
- Add comprehensive test coverage and fix all TypeScript issues

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* prettier

* fix: resolve GUI build errors by removing sentry index.ts and using specific imports

- Remove problematic index.ts that was pulling Node.js-specific Sentry code into browser bundle
- Update GUI to import specifically from anonymization.ts and constants.ts files
- Update core imports to use specific SentryLogger.ts import path
- GUI build now succeeds with proper source map upload to Sentry

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* fix: move TelemetryProviders inside AuthProvider to fix test failures

- Move TelemetryProviders from main.tsx to Layout.tsx inside AuthProvider
- Fixes "useAuth must be used within an AuthProvider" error in tests
- TelemetryProviders now has access to auth context for Continue team member check
- GUI build and functionality remain working correctly

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* prettier

* merge main

* Update package.json

* fix tests

* fix errors

* Update extension.ts

* disable sentry in tests/local dev

* add additional error handling

* Update SentryLogger.ts

* remove global try/catch

* remove test code

* linting

* Update SentryLogger.ts

* more logs

* Update core.ts

* lower sampling rate

* fix tests

* feat: use `Logger`

* Update logger.ts

* Update logger.ts

Co-Authored-By: Claude <noreply@anthropic.com>

* lint fixes

Co-Authored-By: Claude <noreply@anthropic.com>

* fix: rename logger.ts to Logger.ts for case sensitivity

This fixes TypeScript compilation errors in CI where the file
was tracked as lowercase logger.ts but referenced as Logger.ts
in imports.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* address ting-wai's feedback

* Update core.ts

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-08-14 16:54:21 -07:00
Aditya Mitra
190a1d1365
fix: remove clipboard buffer action (#7117)
* deprecate clipboard context provider

* remove registercopybufferservice

- use vscode clipboard text

* remove clipboardcache from core protocol

---------

Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>
Co-authored-by: Claude <noreply@anthropic.com>
2025-08-14 15:22:12 -07:00
Jakub Błach
9b77b52caf
fix: migrate FileUtils to VFS (#6866)
* fix: migrate FileUtils to VFS

I replicated the original behavior, for example, writeFile should automatically create dirs + overwrite the file (if exists), readText normalizes line endings + limits the output to 10k chars, etc. All those details should be covered by unit test.

Also, I removed some usages of UriUtils because if we treat "file URIs" as URLs, we can use refreshAndFindFileByUrl. It works, but we should keep that in mind.

### Extra: Manual testing

(I did it myself on top of the unit tests, but I’m posting the instructions here in case someone wants to reproduce it)

* writeFile - run Continue in agentic mode and ask smth like: "create scss/test.scss"
* listDir (+ getFileStats) - ask: "list files in project root"
* openFile/showFile - edit a rule using the toolbar (pen icon)
* fileExists - is invoked on startup multiple times
* readFile - is invoked on startup multiple times (put some files into .continue/*)

* fix: remove params in FileUtils

* fix: read from documents if possible
2025-08-14 15:10:24 -07:00
Jakub Błach
103a98cb90
fix: add Enter Enterprise License Key action (#7159)
* fix: add Enter Enterprise License Key action

Solves CON-3473

Notes:
* I don't have a license key, so I haven't fully tested this, but looking at the TypeScript: true in the response means it's valid, and false means it's not
* Extra: I added Try Again because I noticed that searching for the action every time the key is invalid is inconvenient
* I wasn't sure if restarting the IDE is safe without more testing, so I ended with Restart IDE action (it was much faster to implement)

* fix: review

* fix: review
2025-08-14 14:51:27 -07:00
Dallin Romney
187d445557
Merge pull request #7116 from continuedev/pe/devdata-fixed
fix: standardize dev data schemas and add missing fields
2025-08-14 13:23:09 -07:00
Patrick Erichsen
3253c11821 add modelProvider to PromptLog 2025-08-13 22:06:01 -07:00
Patrick Erichsen
61af1a48a9 chore: bump versions 2025-08-13 20:08:32 -07:00
Jacob Kim
6f2c029ceb feat: invoke inline completion provider after a jump is taken 2025-08-13 16:47:21 -07:00
Jacob Kim
bfa9677fea feat: add jump manager service to xml 2025-08-13 15:58:38 -07:00
Jacob Kim
f9c091aedd feat: add jump manager to keep track of jumping in intellij 2025-08-13 15:58:07 -07:00
Jacob Kim
af6779c3ca feat: add more types 2025-08-13 15:57:52 -07:00
Jacob Kim
42d882fe54 feat: change color to something more tolerable 2025-08-13 15:57:40 -07:00
Jacob Kim
cf61261abc feat: add helper methods to handle three cases, add more processing helpers 2025-08-13 15:57:09 -07:00
Jacob Kim
e66a19cfba feat: handle three cases, refactor to helper methods in NextEditService 2025-08-13 15:56:39 -07:00
Ty Dunn
dd8931e19c adding jetbrains + vscode changes 2025-08-13 13:53:58 -07:00
Patrick Erichsen
1d9a711b4c fix: standardize modelTitle to modelName in VS Code extension
Complete the dev data schema standardization by fixing remaining
references to modelTitle in the VS Code extension:

- VsCodeMessenger.ts: Update editInteraction logging to use modelName
- vertical/manager.ts: Update edit tracking to use modelName
- EditOutcomeTracker.ts: Update interface and logging to use modelName
- QuickEditQuickPick.ts: Fix misleading variable name for consistency

All dev data schemas now consistently use modelName instead of
modelTitle across the entire codebase.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-12 21:26:08 -07:00
Jacob Kim
5c3d382ba6 feat: add util for manually invoking inline completion' 2025-08-12 21:20:45 -07:00
Jacob Kim
93cf740699 feat: add next edit services 2025-08-12 20:41:54 -07:00
Jacob Kim
87a6bccbbe feat: add necessary types 2025-08-12 20:41:32 -07:00
Jacob Kim
7d1d48e874 feat: add a rudimentary next edit window manager for intellij 2025-08-12 20:41:19 -07:00
Jacob Kim
ba21ae442c feat: add the core next edit service 2025-08-12 20:40:59 -07:00
Jacob Kim
c1ee00b312 refactor: move util to next edit utils 2025-08-12 20:40:37 -07:00
Jacob Kim
81523665f3 feat: toggle between next edit and autocomplete 2025-08-12 20:40:02 -07:00
Dallin Romney
08842da68b
Merge pull request #6800 from uinstinct/mcp-oauth
feat: mcp oauth
2025-08-12 19:36:00 -07:00
Jacob Kim
1714c841bf merge: merging in main 2025-08-12 18:26:49 -07:00