Commit graph

410 commits

Author SHA1 Message Date
Dallin Romney
6c211718ea merge main 2025-09-24 15:36:59 -07:00
Dallin Romney
7b5ae7a50f fix: MCP types and sse/http fallback logic 2025-09-24 15:30:08 -07:00
Aditya Mitra
0d3b7d60a3
feat: better mcp connection status (#7830)
* add tooltips for showing mcp connection status

* add type

* explicit message to clarify no mcps are available in chat mode

* ability to disconnect mcp server

* move buttons inside a kebab menu

* use a listbox instead

* remove server and mcp suffixes
change reconnect to reload

* add anchor
2025-09-24 09:01:14 -07:00
Dallin Romney
0ca4c0375f
Revert "Fix image drop from main editor (#7205)"
This reverts commit f859010f29.
2025-09-22 16:28:58 -07:00
Dallin Romney
381ad937e8
Merge branch 'main' into save-chat 2025-09-22 13:45:39 -07:00
Aadarsh Kumar Tiwari
f859010f29
Fix image drop from main editor (#7205)
* Add image to tiptapeditor from Main editor

* Solved Javascript heap out of memory

* solved bug for multiple image support from main editor

* remove default handling of image

* remove handle image logic to editor rather div

* remove image

---------

Co-authored-by: Nate <sestinj@gmail.com>
2025-09-22 13:20:45 -07:00
Nate Sesti
b12499cb0e
feat: show remote sessions in cn ls (#7694)
* feat: /title slash command

* fix: /title slash command should be able to be submitted with text

* test: add tests for last commit's changes

* fix: EOF in action.yml

* feat: list remote sessions in cn ls and /resume

* feat: load more sessions and make them scrollable

* chore: format

* improv: debug script builds automatically for cli

* feat: load remote session

* fix: wrap entrypoint in function so it doesn't run at import-time

* feat: /diff and /apply slash commands for cn remote

* feat: full screen diff viewer

* feat: status message for /apply slash command

* Update extensions/cli/src/ui/UserInput.tsx

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

* fix: remove console.logs

* Potential fix for code scanning alert no. 60: Uncontrolled command line

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

* Potential fix for code scanning alert no. 61: Uncontrolled command line

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

* fix: build.js

* feat: list remote sessions in history of extensions

* feat: open remote agents in browser

* chore: fix tests and lint

* fix: import Text

* fix: small bug

* fix: address feedback

* fix: adjust extension gui for compatibility with cli session history

* feat: load session history from remote

* feat: open remote session in browser

* fix: tests, linting, formatting

* fix: don't use any

* address nitpicks

---------

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-09-19 22:44:26 -07:00
chezsmithy
acbba9b7d0 fix: 🐛 Fixes based on reviewer comments 2025-09-09 10:14:09 -07:00
chezsmithy
58cb7815ca feat: Add ability to stop foreground terminal commands 2025-09-09 10:12:59 -07:00
Tomasz Stefaniak
3183127ea5 fix: duplicate imports 2025-09-04 14:55:25 -07:00
Tomasz Stefaniak
260d63ebcd improv: code cleanliness 2025-09-03 13:41:23 -07:00
Tomasz Stefaniak
0bbf57b696 improv: clean up code, handle error states 2025-09-02 09:25:37 -07:00
Tomasz Stefaniak
6b25cf53ac Merge branch 'main' into tomasz/con-3680 2025-08-27 15:29:23 -07:00
Tomasz Stefaniak
9258d3de64 feat: dynamic tool permissions 2025-08-25 15:11:26 -07:00
Josh Holmer
34f6607ab9
feat: improvements to docs indexing status visibility 2025-08-20 02:03:09 -04: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
Fred Bricon
71a0a1cd7d feat: expose legacy /share command to VS Code UI
The legacy `/share` slash command is no longer available when using config.yaml.
While the feature could be replaced by a custom prompt command + a tools-supporting model,
it's fairly slow/buggy when relying on local models.

Instead, we're exposing the feature to the VS Code UI
- as a button on each conversation in the history view
- as a VS Code command `Share Current Chat Session as Markdown`

Unfortunately, because the IDE requires special handling for the destination folder selection,
the gui code needs to check if it's running on jetbrains in order to disable this new feature

Signed-off-by: Fred Bricon <fbricon@gmail.com>
2025-08-18 16:12:06 +02: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