Commit graph

1609 commits

Author SHA1 Message Date
Dallin Romney
1e51398c61
Merge pull request #7406 from uinstinct/reshape-actions
refactor: reshape vscode actions
2025-09-03 10:51:45 -07:00
Jacob Kim
a8e08ee266 docs: add comments to vscodeextension 2025-08-29 16:19:01 -07:00
Jacob Kim
5992555568 docs: add comment to selection change manager 2025-08-29 16:18:50 -07:00
Jacob Kim
2baa9a3725 docs: add comments to window manager 2025-08-29 16:18:38 -07:00
Jacob Kim
2007d0a410 docs: add comments on jump manager 2025-08-29 16:18:25 -07:00
Jacob Kim
4d35ec435d docs: add docs 2025-08-29 14:35:17 -07:00
uinstinct
945b31b634 revert contextmenuprompts 2025-08-29 16:52:36 +05:30
uinstinct
6271c131d5 Merge branch 'main' into reshape-actions 2025-08-29 16:32:11 +05:30
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
469d29dc0e remove contextmenuprompts experimental config
- also remove json reference docs
2025-08-26 17:14:40 +05:30
uinstinct
fb6a80433c remove vscode quick actions 2025-08-26 16:40:07 +05:30
uinstinct
c7cfc717a1 feat: focus on chat input after apply 2025-08-25 21:02:37 +05:30
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
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
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
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
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
Qian
92c1852234
fix: vscodoe apply error2 (#7196) 2025-08-18 14:19:09 -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
Patrick Erichsen
3253c11821 add modelProvider to PromptLog 2025-08-13 22:06:01 -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
e119ae1b6a feat: peek for better logs 2025-08-12 13:43:01 -07:00
Jacob Kim
ffa1d64a55 fix: accepting next edit does not count as typing 2025-08-11 17:44:51 -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
Jacob Kim
971eb861e6 Merge branch 'main' of github.com:continuedev/continue into jacob/con-3283 2025-08-06 16:00:43 -07:00
Jacob Kim
e480bcf9d0 refactor: check if model supports next edit 2025-08-06 15:50:59 -07:00
Jacob Kim
f7ab325fed test: add vitest for SelectionChangeManager 2025-08-06 14:25:34 -07:00
Jacob Kim
b2744c159a Merge branch 'main' of github.com:continuedev/continue into jacob/con-3141 2025-08-05 16:19:00 -07:00
Jacob Kim
9924e868e0 fix: handle undefined disposables 2025-08-05 16:18:44 -07:00
Jacob Kim
1374574f30 fix: stale tests 2025-08-05 16:18:31 -07:00
Dallin Romney
8c4d878139 Merge branch 'main' of https://github.com/continuedev/continue into fix-yaml-schema 2025-08-05 13:56:25 -07:00
Jacob Kim
c65b56b9d4 Merge branch 'main' of github.com:continuedev/continue into jacob/con-3141 2025-08-05 13:27:08 -07:00
Jacob Kim
bdf9544fa9 fix: still render empty completions in case they are oure deletions 2025-08-05 13:26:02 -07:00
Jacob Kim
5dd17da774 fix: proper finalcursorpos setting and disposal of decorations 2025-08-05 13:25:00 -07:00
Jacob Kim
7af923137e refactor: add diffLines 2025-08-05 13:23:27 -07:00
Jacob Kim
8e79ce3587 refactor: rename constants to be model-specific 2025-08-04 09:53:07 -07:00