Commit graph

394 commits

Author SHA1 Message Date
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
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
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
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
uinstinct
36ec59ccd2 Merge branch 'main' into mcp-oauth 2025-08-07 08:33:34 +05:30
uinstinct
070ea430e1 chore: remove submit message listener 2025-08-05 19:08:47 +05:30
Dallin Romney
a78427c4f1
Config error UI improvements (#6912)
* wip:
conifg reload button

* fix: config loading reasons, reload links in extension error UIs

* fix: remove development config slice tweaks

* enhancement: better error component and move fatal error notice to below main input
2025-08-01 13:06:46 -07:00
Jacob Kim
5fae14b8f0 Merge branch 'main' of github.com:continuedev/continue into jacob/enhancement/next-editable-region 2025-07-29 09:46:42 -07:00
uinstinct
2bc7f15864 remove mcp/sendOauthCode protocol 2025-07-29 12:25:56 +05:30
uinstinct
745be48927 resolve nits 2025-07-29 09:27:32 +05:30
uinstinct
9fffa359a7 Merge branch 'main' into staging-distinction 2025-07-29 09:16:54 +05:30
Jacob Kim
afa6320149 Merge branch 'main' of github.com:continuedev/continue into jacob/enhancement/next-editable-region 2025-07-28 16:29:39 -07:00
Dallin Romney
929e5deb40 merge: main 2025-07-29 01:56:42 +07:00
uinstinct
ab66938a66 added mcp remove authentication
- add protectedresource key to mcp server status
- shift mcp server auth status handling to core
2025-07-28 22:42:47 +05:30
uinstinct
9046cf9c50 remove getmcpauthstate 2025-07-28 22:33:43 +05:30
uinstinct
a062f26559 add authenticate button in gui
- added a startAuthentication protocol
2025-07-28 21:51:47 +05:30
uinstinct
c84631678d rename protocol to getEnvironment 2025-07-28 14:23:58 +05:30
uinstinct
7544cef8b9 show yellow border for staging env 2025-07-28 14:23:08 +05:30
uinstinct
35a58c0c9d handle authentication callback
- add storage to store tokens
- in mcp connection, add headers
2025-07-28 12:26:03 +05:30
Jacob Kim
98e41cdccc feat: add getDocumentSymbols LSP method 2025-07-22 13:12:11 -07:00
Nate Sesti
71f7122f2e
Merge pull request #6635 from fbricon/open-proper-configfile
fix: open the proper config file
2025-07-21 21:55:34 -07:00
Nate Sesti
fe6fa7ddec
Merge pull request #6581 from continuedev/jacob/feature/static
feat: Test static contextualization
2025-07-21 21:53:21 -07:00
Jacob Kim
98e1b7b8ed Merge branch 'main' of github.com:continuedev/continue into jacob/feature/nextedit-chain-of-edits 2025-07-21 15:53:07 -07:00
Fred Bricon
89a7d9a0c2 fix: open the proper config file
Signed-off-by: Fred Bricon <fbricon@gmail.com>
2025-07-21 10:30:04 +02:00
Tomasz Stefaniak
25ebca018f
feat: compaction (#6662)
* feat: compaction

* fix: type errors

* fix: prettier

* fix: type errrors

* Update gui/src/components/StepContainer/StepContainer.tsx

Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>

* Update gui/src/components/StepContainer/ResponseActions.tsx

Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>

* Update gui/src/components/StepContainer/ConversationSummary.tsx

Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>

* fix: compaction

* fix: type errors

* fix: type errors

* fix: add passthrough

---------

Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>
2025-07-17 16:22:46 -07:00
Dallin Romney
5b2e545ca1
Codebase/Colocated Rules Cache (#6603)
* codebase rules cache

* reload config on codebase rule update

* void codebase rule promise

* void rules cache promises part 2

* better colocated rule source label
2025-07-17 11:34:28 -07:00
Dallin Romney
eba3a3e65a remove duplicate getWorkspaceConfigs logic and only load for json 2025-07-17 16:57:38 +02:00
Patrick Erichsen
9a4eb0475d
Merge pull request #6532 from continuedev/jacob/feature/nextedit-jetbrains
feat: Next Edit JetBrains MVP for Internal Testing
2025-07-16 15:09:30 -07:00
Jazzcort
d130fef631 Feat: adding a warning message system and implementing compile chat mechanism
This feature include the following changes:
  - Implemented llm/compileChat that gives the webview the ability to precompile the chat messages
    before sending them to llm/streamChat where the webview can gather the pruning information and
    provide users better guides.

  - Added a optional parameter to llm/streamChat that can be used to indicate whether the chat
    messages being passed is procompiled or not, so we don't compile the chat messages twice.
    Because it's an optional parameter, we don't affect the behavior of llm/stream when it's
    called at other places.

  - Added a warning message box for the last ContinueInputBox which will display the warning
    messages and also provide some useful guides.

https://github.com/Granite-Code/granite-code/issues/22
2025-07-16 09:09:26 -04:00
Jacob Kim
ec910c7047 feat: add getReferences 2025-07-14 16:41:13 -07:00
Jacob Kim
9472bb1e45 bug: satisfy IDE 2025-07-09 21:07:31 -07:00
Jacob Kim
994fd105f4 feat: support accepts and reject logging 2025-07-09 09:10:03 -07:00
Jacob Kim
47eef525a2 feat: support new message type nextEdit/predict 2025-07-08 09:45:19 -07:00
Nate
6fa241a3e4 Merge branch 'main' into no-results-instruction 2025-07-03 19:08:13 -07:00
Patrick Erichsen
e7e354053c prettier 2025-07-02 22:48:13 -07:00
Patrick Erichsen
8ae963c544 feat: cmd palette action to create rule 2025-07-02 21:38:10 -07:00
uinstinct
faa05ebc2c Merge branch 'main' into no-results-instruction 2025-07-01 13:34:32 +05:30
uinstinct
ed49258fd6 add isInAgentMode in retreival pipeline 2025-07-01 13:11:05 +05:30
Jacob Kim
8e0a042318 Merge branch 'jacob/feature/next-edit-mvp' into feature/nextEdit 2025-06-30 15:46:15 -07:00
Jacob Kim
f997b21506 Merge branch 'main' of github.com:continuedev/continue into feature/nextEdit 2025-06-30 15:42:05 -07:00
Patrick Erichsen
87a8a35bc1
Merge pull request #6316 from continuedev/pe/search-and-replace-experiment
feat: search & replace tool experiment
2025-06-30 14:04:07 -07:00
Jacob Kim
c471bc9da3 Merge branch 'main' of github.com:continuedev/continue into jacob/feature/next-edit-mvp 2025-06-30 08:58:35 -07:00
Jacob Kim
b0b4cec27d Merge branch 'main' of github.com:continuedev/continue into feature/nextEdit 2025-06-30 08:57:14 -07:00
Dallin Romney
3dfaa790f0 merge main 2025-06-27 11:07:51 -07:00
Patrick Erichsen
ef412f97a9 Merge branch 'main' into pe/search-and-replace-experiment 2025-06-26 17:52:01 -07:00
Patrick Erichsen
da185e35bd code cleanup 2025-06-26 17:45:16 -07:00
Jacob Kim
07129a71d9 Merge branch 'main' of github.com:continuedev/continue into jacob/feature/next-edit-mvp 2025-06-26 16:11:36 -07:00
Patrick Erichsen
bf7b62890e feat: apply logic 2025-06-26 16:02:43 -07:00
Jacob Kim
1ca6e7d5c0 use sharedConfig and handleUpdate instead of idemessenger.post 2025-06-26 13:20:26 -07:00