Commit graph

5457 commits

Author SHA1 Message Date
Jacob Kim
6c9f66cd70
fix: unsupported themes will use dark-plus (#7187)
* feat: create a helper function to handle theme strings

* feat: add tests for kebabOfThemeStr

* fix: unsupported themes are correctly using dark-plus
2025-08-15 14:46:57 -07:00
Patrick Erichsen
4eeb34940f
chore: remove docs cache (#7108)
* chore: remove docs cache

* Update DocsService.ts
2025-08-15 14:03:32 -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
Patrick Erichsen
c1a47858f3
fix: rule colocation uri logic (#7164)
* fix: rule colocation uri logic

* rename to `fileUri`

* fix: type errors

* fix test mocks

* Update slugs.test.ts
2025-08-15 10:00:17 -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
Dallin Romney
6f9e167887
Merge pull request #7157 from continuedev/feat/global-context-salvage-2
feat: add salvage functionality for security-sensitive values in Glob…
2025-08-14 16:33:37 -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
Dallin Romney
4752d7ab96
fix: Object object in profile URI (#7156) 2025-08-14 15:05:45 -07:00
Patrick Erichsen
f1e1f6f4f7 Update GlobalContext.ts 2025-08-14 13:37:51 -07:00
Patrick Erichsen
7a5843c415 feat: add salvage functionality for security-sensitive values in GlobalContext 2025-08-14 13:28:39 -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
Dallin Romney
1a434631b8
Merge pull request #7152 from continuedev/nate/mcp-copy
Update MCP context provider description to "MCP Resources"
2025-08-14 12:52:47 -07:00
Nate
8072c7131c Update MCP context provider description to "MCP Resources" 2025-08-14 10:43:52 -07:00
uinstinct
b53e6326d2 chore: add premature close to telemetry 2025-08-14 17:48:16 +05:30
Patrick Erichsen
9a2b36ff6e fix types 2025-08-13 22:12:33 -07:00
Patrick Erichsen
3253c11821 add modelProvider to PromptLog 2025-08-13 22:06:01 -07:00
Patrick Erichsen
b8e4e95487 fix: resolve TypeScript errors after dev data schema changes
- Update test data to use modelName instead of modelTitle in log.vitest.ts
- Add missing modelProvider and modelName to nextEditWithHistory event logging

Resolves CI failures from schema standardization changes.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-12 21:00:51 -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
3606665992
feat: add more next edit endpoints to protocol (#7110)
* feat: add endpoint handlers in core

* feat: export interface

* feat: update protocol to support more next edit endpoints

* feat: add new next edit endpoints to passthrough

* feat: support new next edit endpoints to jetbrains
2025-08-12 21:25:01 -04:00
Jacob Kim
db14da1cbe fix: update test using the latest editDiffHistory 2025-08-12 13:54:35 -07:00
Jacob Kim
7b50ee3706 Merge branch 'main' of github.com:continuedev/continue into jacob/con-3358 2025-08-12 13:43:11 -07:00
Jacob Kim
d5860296fb feat: add debugging log method to peek first three 2025-08-12 13:41:44 -07:00
Dallin Romney
a5d11ff807
Merge pull request #6777 from uinstinct/reranker-scores-error
fix: case when reranker returns invalid scores array
2025-08-12 12:20:26 -07:00
uinstinct
cec4f0f4a3 abort controller should not be undefined 2025-08-12 13:05:42 +05:30
uinstinct
baefa153ca Merge branch 'main' into concurrent-refresh 2025-08-12 12:52:33 +05:30
Dallin Romney
56cf2abf20
feat: Respect Org Policies (#7087)
* fix: allow no selected org, respect policy

* feat: respect policies in extension

* fix: config handler test

* fix: context providers test
2025-08-11 19:20:07 -07:00
Jacob Kim
f249c23f8a fix: skip redundant calculation 2025-08-11 19:19:30 -07:00
Jacob Kim
72399ca5cc feat: use a list of diffContexts instead of a single one 2025-08-11 18:20:05 -07:00
Jacob Kim
c34b1d82b1 feat: diffContext is now an array 2025-08-11 18:19:35 -07:00
Jacob Kim
3b878986c5 feat: sliding jump starts at the cursor line and expands outwards 2025-08-11 17:45:57 -07:00
Jacob Kim
10d4d4cda0 fix: editedCodeWithTokens uses the processed context block 2025-08-11 17:45:27 -07:00
Jacob Kim
d1f06da04e refactor: rename model 1 to instinct 2025-08-11 17:44:11 -07:00
uinstinct
4e181804f6 use safe parsed schema 2025-08-12 00:47:34 +05:30
Dallin Romney
3d6769145c
Merge pull request #7059 from uinstinct/add-model-systemmessage
fix: remove add model system message
2025-08-11 11:25:47 -07:00
uinstinct
785aea3221 Merge branch 'main' into mcp-oauth 2025-08-11 23:16:49 +05:30
uinstinct
4ea6492177 Revert "remove schema parser"
This reverts commit 4dea1af5e9.
2025-08-11 08:23:08 +05:30
uinstinct
e3b923668d Merge branch 'main' into reranker-scores-error 2025-08-11 08:23:03 +05:30
Jacob Kim
923ac3e57c Merge branch 'main' of github.com:continuedev/continue into jacob/con-3231 2025-08-08 15:16:57 -07:00
Jacob Kim
ea02b4b446 test: update test 2025-08-08 15:16:45 -07:00
Jacob Kim
43dd4f622e fix: prompt and userEdits 2025-08-08 15:16:38 -07:00
Jacob Kim
15a78628f0 test: update test 2025-08-08 15:16:16 -07:00
Jacob Kim
3c5d91aaaa feat: add hunk to prompt 2025-08-08 15:16:09 -07:00
Jacob Kim
4cfe12f5e0 test: update test 2025-08-08 15:13:56 -07:00
Jacob Kim
9937209bb7 feat: add hunk details to metadata 2025-08-08 15:13:48 -07:00
Jacob Kim
5314fcbe25 test: update test 2025-08-08 12:30:02 -07:00
Jacob Kim
fc08da2c29 refactor: pass window range as well 2025-08-08 12:29:37 -07:00
Jacob Kim
7106c9dd15 feat: use 5 lines as context 2025-08-08 12:15:59 -07:00
Jacob Kim
345e90eb28 fix: use proper import aliases 2025-08-08 12:15:45 -07:00
Jacob Kim
4a6fe51fe2 feat: enrich model request with system and user prompt prefix 2025-08-08 12:10:44 -07:00
Dallin Romney
d4bc22c47c
Merge pull request #6953 from gaby/2025-08-05-03-21-49
feat: Add support for LGAI EXAONE models
2025-08-08 11:29:08 -07:00