continue-custom/extensions/vscode
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
..
e2e fix: fix tool execute abnormal when there is no tool policy data in the local cache 2025-08-07 02:21:01 +08:00
media delete old gifs 2025-08-06 16:53:57 -07:00
models fix: formatting 2025-06-02 13:51:36 -07:00
scripts fix: 💚 Fix Builds (#6933) 2025-08-04 10:53:35 -07:00
src feat: implement Sentry error tracking with privacy-first anonymization (#6881) 2025-08-14 16:54:21 -07:00
tag-qry 🚧 full draft of code context provider 2024-03-09 13:54:19 -08:00
textmate-syntaxes npx prettier --check "extensions/vscode/**/*.{js,jsx,ts,tsx,json,css,md 2025-05-25 18:38:44 -07:00
tree-sitter handle cases where function declarations have no body 2025-07-05 17:30:37 -07:00
.continueignore 🪄 model dropdown, control plane (#1692) 2024-07-08 22:05:21 -07:00
.eslintrc.json show plugin working 2025-06-13 22:38:04 +05:30
.gitignore parallel node sqlite and esbuild downloads 2025-06-06 20:39:03 +05:30
.npmrc ⏩ Preview to main (#1299) 2024-05-16 22:15:44 -07:00
.vscodeignore rip out mocha 2025-06-17 13:48:37 -07:00
config_schema.json support secretAccessKey and accessKeyId for bedrock 2025-07-07 18:47:37 -07:00
continue_tutorial.py chore: fix spacing 2025-05-12 18:21:21 -07:00
CONTRIBUTING.md remove note 2025-05-10 18:43:02 -07:00
entitlements.plist fix: include access to the Documents folder 2024-12-05 10:29:33 -08:00
LICENSE.txt
package-lock.json chore: bump version 2025-08-05 13:27:05 -07:00
package.json feat: implement Sentry error tracking with privacy-first anonymization (#6881) 2025-08-14 16:54:21 -07:00
README.md adding jetbrains + vscode changes 2025-08-13 13:53:58 -07:00
rules.md rules for vs code and navigating user requests 2025-06-23 10:11:53 -07:00
settings.json test: set up e2e tests for gui 2024-12-04 14:51:40 -08:00
tsconfig.e2e.json test: update e2e tests 2024-12-04 16:28:10 -08:00
tsconfig.json reinstate mocha tests 2025-06-17 14:57:47 -07:00
vitest.config.ts feat: vitest 2025-06-12 15:51:28 -07:00
vsc-extension-quickstart.md Use schema for the configuration JSON schema itself 2024-12-07 15:04:22 +01:00

Continue logo

Continue

Ship faster with Continuous AI

Build and run custom agents across your IDE, terminal, and CI

Agent

Agent to work on development tasks together with AI

agent

Chat

Chat to ask general questions and clarify code sections

chat

Edit

Edit to modify a code section without leaving your current file

edit

Autocomplete

Autocomplete to receive inline code suggestions as you type

autocomplete

License

Apache 2.0 © 2023-2025 Continue Dev, Inc.