Commit graph

4591 commits

Author SHA1 Message Date
Tomasz Stefaniak
ec35f0dc82
Merge pull request #7319 from continuedev/dallin/vscode-1.1.82
chore: vscode 1.1.82
2025-08-22 08:34:05 -07:00
Nate
d961140986 fix: ant expected key format 2025-08-22 07:53:52 -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
Nate Sesti
ca0fef021e
Merge pull request #7310 from continuedev/dallin/prevent-file-reads-fixes
fix: cleanup file security pr
2025-08-21 22:20:04 -07:00
Dallin Romney
8d53bb333d fix: cleanup file security pr 2025-08-21 17:33:12 -07:00
Tomasz Stefaniak
d348c5b565 chore: bump version 2025-08-21 17:29:59 -07:00
Dallin Romney
8418c8ba3a fix: linting issues for cli 2025-08-21 16:05:46 -07:00
Dallin Romney
ee610d0bea fix: update binary package lock, remove security checks from gui 2025-08-21 16:02:22 -07:00
Dallin Romney
55068dc622 fix: update ignore package, rearrange for imports 2025-08-21 15:29:23 -07:00
Dallin Romney
d81a2304b6 wip: isSecurityConcern tests 2025-08-21 15:07:33 -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
Dallin Romney
fadae32f1a
Merge pull request #7271 from continuedev/dependabot/npm_and_yarn/extensions/cli/form-data-4.0.4
chore(deps): bump form-data from 4.0.2 to 4.0.4 in /extensions/cli
2025-08-21 11:28:59 -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
dependabot[bot]
38f30d2e26
chore(deps): bump form-data from 4.0.2 to 4.0.4 in /extensions/cli
Bumps [form-data](https://github.com/form-data/form-data) from 4.0.2 to 4.0.4.
- [Release notes](https://github.com/form-data/form-data/releases)
- [Changelog](https://github.com/form-data/form-data/blob/master/CHANGELOG.md)
- [Commits](https://github.com/form-data/form-data/compare/v4.0.2...v4.0.4)

---
updated-dependencies:
- dependency-name: form-data
  dependency-version: 4.0.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-21 01:42:34 +00: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