Commit graph

111 commits

Author SHA1 Message Date
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
56cf2abf20
feat: Respect Org Policies (#7087)
* fix: allow no selected org, respect policy

* feat: respect policies in extension

* fix: config handler test

* fix: context providers test
2025-08-11 19:20:07 -07:00
Ting-Wai To
45214eb743 fix: skip analytics capture calls if workspaceId is undefined 2025-08-05 15:23:37 -07:00
Dallin Romney
6ba01825b4 fix: only update on session change when needed 2025-07-31 10:21:59 -07:00
Nate
94d32b6aeb fix: respect maxRetries 2025-07-28 11:20:21 -07:00
Nate
4247306204 Merge branch 'main' into nate/poll-user-account 2025-07-28 11:17:46 -07:00
Patrick Erichsen
759159d849 Merge branch 'main' into pe/req-headers 2025-07-17 08:42:50 -07:00
Nate
907c576947 fix: continue through loop and return [] instead of throwing 2025-07-14 10:49:26 -07:00
Nate
92cd0cc31b check status code 2025-07-14 10:47:48 -07:00
Patrick Erichsen
2768540f96 chore: add ideInfo headers to hub reqs 2025-07-11 21:25:10 -07:00
Nate
34dc6857f0 Add retry logic with exponential backoff to listOrganizations for user account creation delay 2025-07-10 11:24:00 -07:00
Nate
ca9b44b3b3 Suppress stderr output from Windows registry queries 2025-07-09 11:16:53 -07:00
uinstinct
2574a8b4b5 rename to vitest 2025-06-23 18:41:59 +05:30
uinstinct
d0c10b32d6 Merge branch 'main' into core-vitest/command 2025-06-23 18:39:53 +05:30
uinstinct
27c19aa6ce migrate control-plane to vitest 2025-06-13 19:27:03 +05:30
Patrick Erichsen
89d4b32bba feat: poll in JB after upgrading 2025-06-09 17:14:49 -07:00
Patrick Erichsen
b7141fc708 update card text 2025-06-09 10:48:46 -07:00
Patrick Erichsen
41bc0e922b feat: onboarding card upgrade tab 2025-06-09 10:10:05 -07:00
Nate
14e8c22ea5 enter license key in VS Code 2025-06-02 22:02:27 -07:00
Patrick Erichsen
49a6a073b8
Merge pull request #5926 from continuedev/nate/free-trial-assistant-select
Free trial popover
2025-06-02 14:13:13 -07:00
Nate Sesti
bb760f76c2
Merge pull request #5855 from continuedev/dallin/remove-free-trial
Remove free trial provider
2025-05-31 23:31:07 -07:00
Nate
3199158492 make API call for free trial status 2025-05-30 20:19:57 -07:00
Dallin Romney
fad35a7cba fix missing sign in button 2025-05-28 19:41:36 -07:00
Dallin Romney
bbb81ff032 remove free trial provider 2025-05-26 17:42:05 -07:00
Nate Sesti
0ca3004f29
Merge pull request #5675 from t-kulmburg/yaml-maxStopWords
Feat: support maxStopWords model config option in yaml
2025-05-25 16:11:06 -07:00
Nate
6eb8f2fb0a await isSignedIn() 2025-05-20 11:00:53 -07:00
Nate Sesti
d071de37e5
Merge branch 'main' into windows-registry 2025-05-19 18:53:15 -07:00
Nate
73cc373e89 make constants 2025-05-19 18:15:27 -07:00
Nate
e18f82dff6 use execSync to check for Windows registry keys 2025-05-19 16:59:33 -07:00
Nate
454efd6a84 refactor to solve nesting linting error 2025-05-19 16:57:24 -07:00
Nate
74516ada53 mdm parsing for linux 2025-05-18 19:59:17 -07:00
Nate
6c7ffc709e ability to read MDM keys on Mac only 2025-05-18 19:43:50 -07:00
Nate
8f0978a5e1 separate SessionInfo types 2025-05-18 18:14:50 -07:00
Nate
3b2ef40e45 separate type for custom environments 2025-05-18 16:37:29 -07:00
Nate
c2fa11dd98 remove unused ControlPlaneClient methods 2025-05-17 21:28:34 -07:00
Tobias Kulmburg
1f31554ea6 Feat: allow maxStopWords model config option in yaml 2025-05-14 22:13:09 +02:00
mq200
e089d53f27 add codestral in template enum 2025-05-05 16:52:31 -07:00
Nate Sesti
ffd0e9c3c0
Merge pull request #4353 from Fmstrat/ollama-num-gpu
add support for Ollama num_gpu
2025-04-29 12:59:54 -07:00
Nate
abfd726712 Merge branch 'main' into ollama-num-gpu 2025-04-29 12:27:04 -07:00
Nate
075e7cca2a Merge branch 'main' into ovhcloud/add-ai-endpoints-llms 2025-04-29 12:00:33 -07:00
Nate
f576742e35 remove cft 2025-04-16 21:43:41 -07:00
Lucien Loiseau
0e4f17280b add OVHcloud AI Endpoints provider
OVHcloud AI Endpoints is a serverless inference API that provides
access to a curated selection of models (e.g., Llama, Mistral, Qwen,
Deepseek). It is designed with security and data privacy in mind
and is compliant with GDPR.

This commit adds OVHcloud AI Endpoint as a listed provider and makes
the appropriate connection to the supported models.
2025-04-09 10:27:43 +02:00
Nate
5ec3f88b87 fix loading hub blocks when signed out 2025-03-23 15:55:44 -07:00
Tomasz Stefaniak
7e30624949
Merge pull request #4712 from continuedev/tomasz/edit-rules
Preview and edit rules
2025-03-20 10:48:14 -07:00
tomasz-io
d57d35d5bd feat: rules preview 2025-03-18 14:12:34 -07:00
Nate
a25169dc61 Merge branch 'main' into ollama-num-gpu 2025-03-16 13:04:42 -07:00
Nate Sesti
e26d18924a
Merge branch 'main' into feat/watsonx_reranker_integration 2025-03-16 13:03:57 -07:00
Dallin Romney
c819cbf81f .local env 2025-03-10 17:13:25 -07:00
Nate
edcf5b321c load multiple local assistants 2025-03-08 16:09:08 -08:00
Nate
7f169919a6 Merge branch 'main' into ollama-num-gpu 2025-03-07 22:23:36 -08:00