Commit graph

3726 commits

Author SHA1 Message Date
Jacob Kim
f27e7c71de
feat: add user-friendly way to toggle between FIM and next edit (#7355)
* feat: don't format when model is not mercury

* chore: bump

* fix: remove mercury-coder-nextedit

* refactor: remove refs to mercury-coder-nextedit

* feat: add util function for converting model name to enum

* refactor: add new types

* refactor: create an abstract base class for providers

* refactor: add child provider for instinct

* refactor: add provider for mercury coder

* refactor: provider factory

* refactor: use factory to create model providers based on helper.modelName

* refactor: clean up redundant logic to be more provider-friendly

* add buildPromptMetadata as an abstract method

* refactor: use handlebars and provider-specific template renderers

* refactor: use this.modelProvider instead of prompt engine

* refactor: remove redundant helper

* fix: update vitest after refactor

* feat: add test for convertNextEditModelNameToEnum

* fix: add isSecurityConcern imports

* feat: add functions to return next edit menu items and update config

* fix: get rid of callbacks

* feat: render next edit menu items

* fix: get rid of redundant completion request

* feat: update next edit status on vscode workspace config update, refactor out common logic

* feat: add continue.enableNextEdit

* feat: add aborted field to check for false positives

* fix: remove zetaDataset suffix

* feat: make sure that we are tracking completions

* feat: log aborts and move id generation to the top

* feat: all requests are tracked. when request is aborted, log as aborted with zero-value data. else, graduate it from pending completion and set aborted to false

* feat: add aborted to schema

* feat: add a toggleNextEditEnabled command

* feat: show (NE) in the status bar when next edit is enabled, add keymap

* feat: add command definitions for toggleNextEditEnabled

* refactor: handle validation in VsCodeExtension

* feat: check if model does not support next edit

* feat: use better menu item labels

* fix: casing

* chore: bump

* feat: add a function to disable next edit

* feat: disable next edit before e2e tests

* chore: bump

* fix: add a small delay to wait for UI loading

* fix: NE is shown for all statuses

* fix: wait for the NE to pop up

* fix: wait longer for disableNextEdit, clear potential next edit notifications

* fix: roll back clearAllNotifications

* fix: try disabling next edit before each

* fix: revert

* feat: add sane defaults when no workspace settings are set

* fix: fall back to false

* fix: debugging

* chore: change name

* fix: try waiting for text

* debug: more debug logs

* fix: clear notifs

* fix: suppress warning

* fix: string matching

* fix: jump label overlapping with the inline tip label (#7399)

* feat: add methods to temporarily hide and show tooltip

* feat: hide the inline tooltip when the jumpmanager's tooltip is shown

* feat: focus on chat input after apply

* revert

* fix: HOTFIX local assistant loading (#7354)

* fix: local assistant loading

* fix: no need for excluding .continue/.continue

* test: cases for config.yml and config.yaml names

* feat: remove hide/show logic for creating a new svgbuilder instance

* feat: use a new svgBuilder istance

* chore: update package-lock.json

---------

Co-authored-by: uinstinct <61635505+uinstinct@users.noreply.github.com>
Co-authored-by: Dallin Romney <dallinromney@gmail.com>
Co-authored-by: Ting-Wai <40179554+tingwai@users.noreply.github.com>

---------

Co-authored-by: uinstinct <61635505+uinstinct@users.noreply.github.com>
Co-authored-by: Dallin Romney <dallinromney@gmail.com>
Co-authored-by: Ting-Wai <40179554+tingwai@users.noreply.github.com>
2025-08-26 21:54:29 -04:00
uinstinct
c7cfc717a1 feat: focus on chat input after apply 2025-08-25 21:02:37 +05:30
Nate Sesti
229b6e1370
Update package.json 2025-08-22 16:44:52 -07:00
Tomasz Stefaniak
89cc96c6c8 chore: upgrade to 1.3.0 2025-08-22 13:50:33 -07:00
Dallin Romney
fa9eb17e84 merge: main 2025-08-22 12:26:37 -07:00
Dallin Romney
837f4dd149
Merge pull request #7268 from continuedev/jacob/con-3594
fix: tab and esc are properly reserved
2025-08-22 11:48:40 -07:00
Tomasz Stefaniak
1f8aa95ccd
chore: bump versions (#7335) 2025-08-22 09:41:20 -07:00
Dallin Romney
d9db9e0c57 chore: vscode 1.1.82 2025-08-21 23:23:51 -07:00
Dallin Romney
f51dc3184c chore: bump vscode 2025-08-21 23:18:00 -07:00
Dallin Romney
540ac7815e Merge branch 'main' of https://github.com/continuedev/continue into dallin/fix-yolo-mode-apply 2025-08-21 17:35:46 -07:00
Tomasz Stefaniak
d348c5b565 chore: bump version 2025-08-21 17:29:59 -07:00
Dallin Romney
400fefc1e3 fix: prevent security file reads cleanup 2025-08-21 14:18:53 -07:00
Dallin Romney
30c4cc1469 feat: prevent unsafe file reads 2025-08-21 13:40:03 -07:00
Jacob Kim
fc0dea6007 chore: bump version 2025-08-21 11:59:51 -07:00
Jacob Kim
ee221a4be5 feat: add test 2025-08-21 10:04:32 -07:00
Jacob Kim
6cb3260092 feat: use last-write-wins instead of handling every request sequentially 2025-08-21 10:04:25 -07:00
Dallin Romney
7fabd2995e fix: remove expected error 2025-08-20 23:20:43 -07:00
Dallin Romney
28565e6044 fix: handle apply errors 2025-08-20 23:14:20 -07:00
Dallin Romney
281ed6aeee fix: handle apply errors for tools 2025-08-20 22:22:05 -07:00
Jacob Kim
b17c8295cc fix: address review 2025-08-20 17:15:41 -07:00
Jacob Kim
5b3d5ea032 fix: tab and esc are properly reserved 2025-08-20 17:03:39 -07:00
Nate
35ef74eff3 chore: bump package.json 2025-08-20 12:03:13 -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
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
Patrick Erichsen
a37f3730c5
chore: bump versions (#7191) 2025-08-15 17:38:35 -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
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
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
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
Dallin Romney
08842da68b
Merge pull request #6800 from uinstinct/mcp-oauth
feat: mcp oauth
2025-08-12 19:36:00 -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
e119ae1b6a feat: peek for better logs 2025-08-12 13:43:01 -07:00
Patrick Erichsen
e39881a175
chore: bump versions (#7090) 2025-08-11 21:16:31 -07:00
Jacob Kim
ffa1d64a55 fix: accepting next edit does not count as typing 2025-08-11 17:44:51 -07:00
uinstinct
785aea3221 Merge branch 'main' into mcp-oauth 2025-08-11 23:16:49 +05:30
Dallin Romney
c69ed88bf0 chore: vscode 1.1.75 2025-08-07 13:52:41 -07:00
Dallin Romney
b28d0f2008
Merge pull request #7037 from continuedev/dallin/bump-vscode-1.1.74
chore: vscode 1.1.74
2025-08-06 22:47:27 -07:00
Dallin Romney
4fd88d3b84 chore: vscode 1.1.74 2025-08-06 21:19:15 -07:00
Dallin Romney
162d7ddf20
Merge pull request #7022 from xiaohuanxiong3/fix-tool-execute-abnormal-when-there-is-no-tool-policy-data-in-the-local-cache
fix: fix tool execute abnormal when there is no tool policy data in the local cache
2025-08-06 21:01:39 -07:00
uinstinct
36ec59ccd2 Merge branch 'main' into mcp-oauth 2025-08-07 08:33:34 +05:30
Jacob Kim
6f65295a17 refactor: move capabilities to the top 2025-08-06 18:28:00 -07:00