Commit graph

16597 commits

Author SHA1 Message Date
Tomasz Stefaniak
de8755bf59
Merge pull request #7149 from continuedev/tomasz/con-3480
feat: reusable github action
2025-08-15 13:51:13 -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
Dallin Romney
55af42a795
Merge pull request #7183 from continuedev/pe/delete-kt-test-rule
chore: delete .continue/rules/intellij-test-standards.md
2025-08-15 11:49:31 -07:00
Tomasz Stefaniak
30c76644cf chore: update SHA 2025-08-15 10:12:47 -07:00
Tomasz Stefaniak
23d9260536 improv: add re-review instructions 2025-08-15 10:09:04 -07:00
Patrick Erichsen
99da93ac80
Delete .continue/rules/intellij-test-standards.md 2025-08-15 10:02:31 -07:00
Patrick Erichsen
c1a47858f3
fix: rule colocation uri logic (#7164)
* fix: rule colocation uri logic

* rename to `fileUri`

* fix: type errors

* fix test mocks

* Update slugs.test.ts
2025-08-15 10:00:17 -07:00
Tomasz Stefaniak
d3b9fc7c51 fix: formatting 2025-08-15 09:55:19 -07:00
Tomasz Stefaniak
6f58e3c202 improv: use commit sha 2025-08-15 09:52:29 -07:00
Tomasz Stefaniak
17fe39cc4f fix: prompt 2025-08-15 09:44:28 -07:00
Tomasz Stefaniak
9b6f2d262d fix: broken imports 2025-08-15 09:43:27 -07:00
Tomasz Stefaniak
0e001d585d improv: organization 2025-08-15 09:40:42 -07:00
Tomasz Stefaniak
83b8a85bc7 improv: simplify 2025-08-15 09:19:18 -07:00
Tomasz Stefaniak
a9a674fee0 Reapply "improv: remove redundant code"
This reverts commit 63d453412b.
2025-08-15 09:15:24 -07:00
Tomasz Stefaniak
a824a086f8 fix: passing prompt 2025-08-15 09:12:54 -07:00
Tomasz Stefaniak
63d453412b Revert "improv: remove redundant code"
This reverts commit 97c2f476bd.
2025-08-15 08:50:45 -07:00
Tomasz Stefaniak
97c2f476bd improv: remove redundant code 2025-08-15 08:44:22 -07:00
Tomasz Stefaniak
8304a5e34f improv: use reusable gh action 2025-08-15 08:30:05 -07:00
Tomasz Stefaniak
82545990cb fix: prompt 2025-08-15 08:19:10 -07: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
6f9e167887
Merge pull request #7157 from continuedev/feat/global-context-salvage-2
feat: add salvage functionality for security-sensitive values in Glob…
2025-08-14 16:33:37 -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
Dallin Romney
4752d7ab96
fix: Object object in profile URI (#7156) 2025-08-14 15:05:45 -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
Patrick Erichsen
f1e1f6f4f7 Update GlobalContext.ts 2025-08-14 13:37:51 -07:00
Patrick Erichsen
7a5843c415 feat: add salvage functionality for security-sensitive values in GlobalContext 2025-08-14 13:28:39 -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
BekahHW
1704df4f1e
feat: GEO updates for docs (#7083) 2025-08-14 21:20:59 +01:00
Dallin Romney
355b2302ad
Merge pull request #7145 from continuedev/dependabot/github_actions/JetBrains/qodana-action-2025.2.1
chore(deps): bump JetBrains/qodana-action from 2025.1.1 to 2025.2.1
2025-08-14 12:54:48 -07:00
Dallin Romney
1a434631b8
Merge pull request #7152 from continuedev/nate/mcp-copy
Update MCP context provider description to "MCP Resources"
2025-08-14 12:52:47 -07:00
Dallin Romney
7ac2a77d77
Merge pull request #7140 from continuedev/Patrick-Erichsen-patch-5
chore: add `uinstinct` to auto-assign-issue.yaml
2025-08-14 12:51:25 -07:00
Dallin Romney
625d43c2a4
Merge pull request #7147 from uinstinct/telemetry-premature-close
chore: add premature close to telemetry
2025-08-14 12:50:34 -07:00
Dallin Romney
39e7edd4dc
Merge pull request #7120 from 44cort44/patch-2
docs: Update reranking.mdx
2025-08-14 12:42:35 -07:00
Patrick Erichsen
c0e9cfd556
feat: use s/r for gpt-5 (#7153) 2025-08-14 12:00:52 -07:00
Tomasz Stefaniak
2129089da8 improv: security and validation 2025-08-14 10:54:18 -07:00
Tomasz Stefaniak
ccf1990f2d improv: handle edge cases 2025-08-14 10:46:54 -07:00
Nate
8072c7131c Update MCP context provider description to "MCP Resources" 2025-08-14 10:43:52 -07:00
Tomasz Stefaniak
7198b08aaa test: hunks 2025-08-14 10:36:25 -07:00
Tomasz Stefaniak
2f4a4f90ee fix: security 2025-08-14 10:31:19 -07:00
Tomasz Stefaniak
bb6f936414 fix: position calculations 2025-08-14 10:18:39 -07:00
Tomasz Stefaniak
d6ff7dae2d fix: diff calculations 2025-08-14 10:05:10 -07:00
Ting-Wai
3b61c41e88
Merge pull request #7127 from uinstinct/terminal-output
style: remove space between terminal command and output
2025-08-14 09:15:05 -07:00
Tomasz Stefaniak
833443cacf fix: add missing token 2025-08-14 07:15:31 -07:00
Tomasz Stefaniak
b241ad67a8 improv: remove unnecessary fetch-depth 2025-08-14 07:13:29 -07:00
Tomasz Stefaniak
3ebdbcc37c test: use current branch for gh action 2025-08-14 07:08:24 -07:00
uinstinct
b53e6326d2 chore: add premature close to telemetry 2025-08-14 17:48:16 +05:30
uinstinct
10b9e06994 reduce separation by a thin line margin 2025-08-14 17:34:00 +05:30
uinstinct
6976f293c8 Merge branch 'main' into terminal-output 2025-08-14 17:12:31 +05:30