Commit graph

4584 commits

Author SHA1 Message Date
Nate
b0785238df chore: format 2025-08-21 17:38:41 -07:00
Nate
0122122491 ci: validate aliases 2025-08-21 17:19:16 -07:00
Nate
2bb34a6a12 build with esbuild 2025-08-21 16:44:39 -07:00
Nate
f488b9c4d7 fix: slash command behavior more 2025-08-21 16:14:44 -07:00
Nate
7281a2f078 fix: slash command behavior 2025-08-21 16:14:32 -07:00
Nate
805668bebc logger instead of console 2025-08-21 16:02:39 -07:00
Nate
b44e93bde6 fix: use local config-yaml 2025-08-21 11:05:24 -07:00
Nate
a5fdf724db fix: use local openai-adapters 2025-08-21 11:05:01 -07:00
Nate Sesti
9c94a59da4
Merge pull request #7275 from continuedev/nate/fix-warnings
Fix CLI warnings
2025-08-21 11:00:42 -07:00
Nate
1612df9be1 feat: repo flag 2025-08-21 08:27:40 -07:00
Nate
913c1ef0e3 chore: format 2025-08-21 08:27:24 -07:00
Nate
44f4a5fb70 fix: clear slash command 2025-08-21 07:58:50 -07:00
Nate
932f6a1eda fix test 2025-08-20 23:22:00 -07:00
Nate
5576497e64 fix: skip file watching if not in git repo 2025-08-20 23:13:45 -07:00
Nate
4f87b0db09 chore: add package-lock 2025-08-20 20:00:53 -07:00
Nate
dddfb192f1 fix abort listeners 2025-08-20 19:06:45 -07:00
Nate
2bde569370 chore: run prettier --write on cli 2025-08-20 17:57:35 -07:00
Nate
a54c14f42b fix false positive secret 2025-08-20 17:48:30 -07:00
Nate
887925244b move release, checks workflows 2025-08-20 17:43:03 -07:00
Nate
c875c15a81 delete duplicate workflow files 2025-08-20 17:40:16 -07:00
Nate
8a95fdbf51 remove files 2025-08-20 17:38:55 -07:00
Nate
bbdeb3b04f delete / move cli files 2025-08-20 17:36:08 -07:00
Nate
be45ab63ca Add 'extensions/cli/' from commit 'e27a5c87d520e28844c9eac10bc6d301feee4b5e'
git-subtree-dir: extensions/cli
git-subtree-mainline: 1674c2aff1
git-subtree-split: e27a5c87d5
2025-08-20 17:19:56 -07:00
Nate
35ef74eff3 chore: bump package.json 2025-08-20 12:03:13 -07:00
Jakub Błach
7bac6211cd
fix: sanitize proxy settings + add NO_PROXY support + add unit tests (#7238)
Previously, proxy settings parsing was very "garbage-in, garbage-out". Since the HttpConfigurable class was written in Java, some settings could be null. We didn’t guard against that and simply concatenated proxy + port, which sometimes produced invalid values like "null:8080".

The implementation has been updated to sanitize + skip entries that cannot be used as env vars. In the worst case, the result is simply an empty map and the process env vars are unaffected.
2025-08-20 10:28:09 -07:00
Jakub Błach
e31f2f4246
fix: migrate to built-in inline completion API from 2024.1 (#6947) 2025-08-20 09:54:40 -07: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
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
Jakub Błach
28ff45686f
fix: add the missing EP to add license action 2025-08-18 13:57:48 +02:00
Jakub Blach
aa2382eb77 fix: use validation method that also works 2024.1 2025-08-16 20:51:44 +02:00
Jakub Blach
a378252921 fix: add the missing EP to add license action 2025-08-16 20:04:45 +02: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
Jakub Błach
9b77b52caf
fix: migrate FileUtils to VFS (#6866)
* fix: migrate FileUtils to VFS

I replicated the original behavior, for example, writeFile should automatically create dirs + overwrite the file (if exists), readText normalizes line endings + limits the output to 10k chars, etc. All those details should be covered by unit test.

Also, I removed some usages of UriUtils because if we treat "file URIs" as URLs, we can use refreshAndFindFileByUrl. It works, but we should keep that in mind.

### Extra: Manual testing

(I did it myself on top of the unit tests, but I’m posting the instructions here in case someone wants to reproduce it)

* writeFile - run Continue in agentic mode and ask smth like: "create scss/test.scss"
* listDir (+ getFileStats) - ask: "list files in project root"
* openFile/showFile - edit a rule using the toolbar (pen icon)
* fileExists - is invoked on startup multiple times
* readFile - is invoked on startup multiple times (put some files into .continue/*)

* fix: remove params in FileUtils

* fix: read from documents if possible
2025-08-14 15:10:24 -07:00
Jakub Błach
103a98cb90
fix: add Enter Enterprise License Key action (#7159)
* fix: add Enter Enterprise License Key action

Solves CON-3473

Notes:
* I don't have a license key, so I haven't fully tested this, but looking at the TypeScript: true in the response means it's valid, and false means it's not
* Extra: I added Try Again because I noticed that searching for the action every time the key is invalid is inconvenient
* I wasn't sure if restarting the IDE is safe without more testing, so I ended with Restart IDE action (it was much faster to implement)

* fix: review

* fix: review
2025-08-14 14:51:27 -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
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