Commit graph

16570 commits

Author SHA1 Message Date
Tomasz Stefaniak
854bc5cccf test: gh action 2025-08-15 13:53:03 -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
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
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
Nate
8072c7131c Update MCP context provider description to "MCP Resources" 2025-08-14 10:43:52 -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
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
dependabot[bot]
fee2a15d11
chore(deps): bump JetBrains/qodana-action from 2025.1.1 to 2025.2.1
Bumps [JetBrains/qodana-action](https://github.com/jetbrains/qodana-action) from 2025.1.1 to 2025.2.1.
- [Release notes](https://github.com/jetbrains/qodana-action/releases)
- [Commits](https://github.com/jetbrains/qodana-action/compare/v2025.1.1...v2025.2.1)

---
updated-dependencies:
- dependency-name: JetBrains/qodana-action
  dependency-version: 2025.2.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-14 09:23:39 +00:00
Patrick Erichsen
9a2b36ff6e fix types 2025-08-13 22:12:33 -07:00
Patrick Erichsen
3253c11821 add modelProvider to PromptLog 2025-08-13 22:06:01 -07:00
Patrick Erichsen
ee5adeba51 Update editOutcomeLogger.ts 2025-08-13 21:06:26 -07:00
Patrick Erichsen
d9bb7953e1
Update auto-assign-issue.yaml 2025-08-13 20:35:23 -07:00
Nate Sesti
25f20557c2
Merge pull request #7137 from continuedev/pe/bump-versions
chore: bump versions
2025-08-13 20:23:22 -07:00
Patrick Erichsen
61af1a48a9 chore: bump versions 2025-08-13 20:08:32 -07:00
Tomasz Stefaniak
bdab2cb85e
Merge pull request #7106 from continuedev/tomasz/con-3426
Create detailed review bot using 'cn'
2025-08-13 16:36:25 -07:00
Tomasz Stefaniak
a6c0469c00 improv: position calculation 2025-08-13 15:14:19 -07:00
Tomasz Stefaniak
98c2bf3e14 improv: add position fixing second pass 2025-08-13 14:53:15 -07:00
Tomasz Stefaniak
928aacc0f6 fix: handle positions 2025-08-13 14:41:56 -07:00
Ty Dunn
f4189d2db9
Merge pull request #7135 from continuedev/real-front-page
docs: update the real front page of the docs
2025-08-13 14:34:21 -07:00
Tomasz Stefaniak
c920368413 improv: use commit SHA for security 2025-08-13 14:28:33 -07:00
Tomasz Stefaniak
e265491659 fix: prompt 2025-08-13 14:26:37 -07:00
Ty Dunn
628da46053
shorten hub description 2025-08-13 14:23:10 -07:00
Tomasz Stefaniak
7fcc42a473 fix: use line numbers 2025-08-13 14:20:31 -07:00
Tomasz Stefaniak
ae723c2348 fix: naming 2025-08-13 14:12:20 -07:00
Tomasz Stefaniak
1a91a2d4a3 improv: comment handling 2025-08-13 14:04:07 -07:00
Ty Dunn
dd8931e19c adding jetbrains + vscode changes 2025-08-13 13:53:58 -07:00
Tomasz Stefaniak
474e5dc82b improv: naming 2025-08-13 13:48:38 -07:00
Ty Dunn
d4990ac70c
docs: update the real front page of the docs 2025-08-13 13:31:24 -07:00
Ty Dunn
12742993e4
Merge pull request #7134 from continuedev/read-me-continuous-ai
docs: change readme to continuous ai
2025-08-13 13:25:17 -07:00
Tomasz Stefaniak
af8e4ec6af Merge branch 'main' into tomasz/con-3426 2025-08-13 13:23:33 -07:00
Ty Dunn
b1daf6a4e1
Merge pull request #7133 from continuedev/continuous-ai-front
update front page of docs
2025-08-13 13:21:18 -07:00