Local fork of continuedev/continue for auto-approve and full-access mode experiments
Find a file
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
.claude feat: edit file lint hook for claude (#6962) 2025-08-05 13:57:45 -07:00
.continue feat: GEO updates for docs (#7083) 2025-08-14 21:20:59 +01:00
.github Merge pull request #7145 from continuedev/dependabot/github_actions/JetBrains/qodana-action-2025.2.1 2025-08-14 12:54:48 -07:00
.idea fix: Add file tests + migrate to IntelliJ Platform Gradle Plugin v2 2025-07-28 20:39:44 +02:00
.vscode fix: 💚 Fix Builds (#6933) 2025-08-04 10:53:35 -07:00
binary fix: dont block debugger on packages build (#6900) 2025-07-30 16:03:41 -07:00
core feat: implement Sentry error tracking with privacy-first anonymization (#6881) 2025-08-14 16:54:21 -07:00
docs feat: GEO updates for docs (#7083) 2025-08-14 21:20:59 +01:00
eval Preview (#1750) 2024-07-28 23:16:18 -07:00
extensions feat: implement Sentry error tracking with privacy-first anonymization (#6881) 2025-08-14 16:54:21 -07:00
gui feat: implement Sentry error tracking with privacy-first anonymization (#6881) 2025-08-14 16:54:21 -07:00
manual-testing-sandbox refactor: it's easier to test next edit without the minus 2025-07-30 10:18:10 -07:00
media delete old gifs 2025-08-06 16:53:57 -07:00
packages add modelProvider to PromptLog 2025-08-13 22:06:01 -07:00
scripts fix: 💚 Fix Builds (#6933) 2025-08-04 10:53:35 -07:00
sync merkel 2024-10-23 10:29:15 +02:00
.continueignore ignore .continue folder 2025-03-08 16:18:51 -08:00
.eslintrc.shared.json add no misused promises rule 2025-06-13 22:09:32 +05:30
.gitignore chore: ignore docusaurus build files 2025-07-11 09:06:46 +05:30
.node-version Update Node.js LTS to v20.19.0 2025-04-22 02:01:03 +08:00
.nvmrc Update Node.js LTS to v20.19.0 2025-04-22 02:01:03 +08:00
.prettierignore chore: use prettierignore when formatting 2025-07-25 08:26:17 +05:30
.prettierrc remove border above input box 2024-11-05 08:18:31 -08:00
CLA.md fix: Return the CLA (#6585) 2025-07-16 02:01:42 -07:00
CODE_OF_CONDUCT.md npx prettier --check "**/*.{js,jsx,ts,tsx,json,css,md}" --ignore-path . 2025-05-25 18:41:32 -07:00
CONTRIBUTING.md fix: typos in the Contributing Guide (#6924) 2025-08-01 07:49:42 -07:00
LICENSE Create LICENSE 2023-06-03 09:29:19 +02:00
package-lock.json chore: bump version 2025-07-28 16:47:41 -07:00
package.json chore: use prettierignore when formatting 2025-07-25 08:26:17 +05:30
README.md adding jetbrains + vscode changes 2025-08-13 13:53:58 -07:00
SECURITY.md Create SECURITY.md 2025-02-01 01:01:08 -08:00
tsconfig.json .continuerules 2024-12-15 09:30:56 -08:00

Continue logo

Continue

Ship faster with Continuous AI

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

Get started in VS Code, JetBrains, or CLI

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

Contributing

Read the contributing guide, and join #contribute on Discord.

License

Apache 2.0 © 2023-2024 Continue Dev, Inc.