Commit graph

44 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
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
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
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
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
Nate
6eb8f2fb0a await isSignedIn() 2025-05-20 11:00:53 -07:00
Nate
8f0978a5e1 separate SessionInfo types 2025-05-18 18:14:50 -07:00
Nate
c2fa11dd98 remove unused ControlPlaneClient methods 2025-05-17 21:28:34 -07:00
Nate
5ec3f88b87 fix loading hub blocks when signed out 2025-03-23 15:55:44 -07:00
tomasz-io
d57d35d5bd feat: rules preview 2025-03-18 14:12:34 -07:00
Nate
da74567ad5 updates to secret rendering 2025-02-23 10:35:54 -08:00
Patrick Erichsen
3b13120fa2 Merge branch 'main' into pe/org-select-caching 2025-02-03 21:06:14 -08:00
Patrick Erichsen
13d566831d feat: cache org selection results 2025-02-03 21:04:19 -08:00
Patrick Erichsen
6e81720186 feat: cache org selection results 2025-02-03 21:01:58 -08:00
Patrick Erichsen
b78fdc4147 feat: add scope selector 2025-01-31 13:19:59 -08:00
Nate
938aaeb35f upgrade config-yaml package and update types to match 2025-01-26 20:55:14 -08:00
Nate
468acacd0a vscode setting for platform 2025-01-24 02:00:44 -08:00
Nate
2d865425ce updates to yaml loading 2025-01-19 16:43:18 -08:00
Nate
aa8de1af3d better platform profile loading 2025-01-14 00:11:22 -08:00
Nate
0a3763a03f load remote yaml from platform 2024-12-30 13:36:17 -05:00
Test
b5cab4609b chore: apply eslint to vscode and core 2024-11-11 07:38:52 -08:00
Nate
8d0d6831d1 refactor auth environment constants 2024-10-22 19:33:57 -07:00
Nate
2eba3825fb clean up URLs 2024-10-15 12:00:05 -07:00
Nate
edffc4474f update control plane proxy url (default) 2024-10-04 17:13:39 -07:00
Nate
f87e95880c update local proxy server url when debugging 2024-09-18 16:03:44 -07:00
Nate
c6cc076c19 more client updates 2024-09-05 09:29:08 -07:00
Nate
c234cbe107 client changes for on prem proxy 2024-09-04 19:44:32 -07:00
Nate
c9ba8ac7a4 continue proxy analytics provider 2024-08-28 08:28:28 -07:00
Patrick Erichsen
e94c399034 chore: turn off naming-convention 2024-08-16 10:36:57 -07:00
Nate Sesti
8fed0cb985
Convert core/ to NodeNext (#1877)
* convert to nodenext in core

* experimental vm modules

* use imports

* a few ts-ignores

---------

Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>
2024-07-30 19:04:30 -07:00
Nate Sesti
ff821ff159
OpenAI Adapters (#1859)
* embeddings support in openai-adapters

* rerank support in openai-adapters

* cohere embed/rerank

* continue-proxy reranker and embeddings providers

* test for openai-adapters

* embeddings provider and reranker for continue proxy
2024-07-28 18:22:37 -07:00
Nate Sesti
4d09b49f39
Nate/dev (#1819)
* llm-info package

* small profile switching improvements

* instruct cmd+I not to leave placeholders

* @ files in context-providers docs

* onboarding fix

* jetbrains login

* fix jetbrains login

* change beta wording

* proxy context provider

* fix proxy context provider

* revert to prod id, url
2024-07-24 00:28:35 -07:00
Nate Sesti
cc8bfaadb2 continue proxy 2024-07-12 00:26:02 -07:00
Nate Sesti
58f252a3a3
Break out into NPM modules (#1726)
* config.json types

* export all schemas

* break out request logic into packages

* update openai adapters to export body types

* update packaging of npm modules

* update packages
2024-07-11 22:12:42 -07:00
Nate Sesti
afa582345a
Nate/control plane client (#1691)
* docs: add docs and schema for "OS" provider (#1536)

* ignore .env

* fix(gui): ctx rendering w/ renderInlineAs: "" (#1541)

* ✨ use and cache imports for autocomplete (#1456)

* ✨ use and cache imports for autocomplete

* fix tsc

* fix codeqwen autocomplete leading space

* add voyage rerank-1

* feat: `--noEmit` for tsc checks in CI (#1559)

* docs: update CustomContextProvider docs (#1557)

* add stop tokens to qwen prompt

* update docs to reflect 3.5 sonnet being best

* docs: comment out unused providers (#1561)

* import Handlebars

* feat: toast notification for config updates (#1560)

* feat: toast notification for config updates

* feat: only trigger toast on config.json save

* displayRawMarkdown option

* feat: open pane on install (#1564)

* feat: open pane on activation

* comment out testing code

* update to reflect 16 stop words limit for deepseek

* feat: only trigger config update toast in vscode (#1571)

* docs(prompt-files): fix typos + clarify (#1575)

* doc: prompt file typo + clarifications

* fix: add back correct docs

* chore: add telemetry for pageviews (#1576)

* feat: update onboarding w/ embeddings model (#1570)

* chore(gui): remove unused pages

* feat: add embeddings step

* feat: update styles

* feat: copy button updates

* fix: correct pull command for embed model

* fix: remove commented code

* fix: remove commented code

* feat: simplify copy btn props

* chore: rename onboarding selection event

* feat: add provider config

* fix: undo msg name

* remove dead code

* fix: invalid mode check

* fix: remove testing logic

* docs(telemetry): add pageviews to tracking list (#1581)

* Add reranker configuration options to codebase embedding docs (#1584)

- Introduce reranker concept
- List available reranker options
- Provide configuration instructions
- Update keywords to include "reranker"

* chore: update pr template with screenshots (#1590)

* Refactor ConfirmationDialog to use SecondaryButton for cancel action (#1586)

* Added instructions for running docs server locally (#1578)

- Added NPM script method
- Added VS Code task method
- Update contributing guidelines

* Update branch policy (#1577)

- Change PR target to `dev` branch
- Update `CONTRIBUTING.md` instructions

* Consolidate example configurations into the main configuration guide (#1579)

- Moved examples to configuration.md
- Deleted the separate examples.md file
- Updated sidebar order and links
- Improved readability and structure in configuration.md

* fix: fullscreen gui retains context when hidden, fixed fullscreen focusing (#1582)

* Update completionProvider.ts (warning tab-autocomplete models) (#1566)

* feat: enhanced IndexingProgressBar with blinking dot feature

- Integrated BlinkingDot component
- Added STATUS_COLORS for various states
- Replaced CircleDiv with BlinkingDot in UI
- Updated status messages and layout

* small UI tweaks

* feat(gui): enhance ModelCard, ModelProviderTag, and Toggle components (#1595)

- add styling and adjustments to ModelCard
- update ModelProviderTag font size
- remove box shadow from Toggle component
- tweak icon styles in ModelCard
- improve alignment and spacing

* media query

* feat: add best experience onboarding

* fix: file rename

* stop movement on button hover by keeping same border thickness

* fix mistake in setting cursor: pointer

* fix when free trial option is shown

* Support Node.js versions below 20 for streaming response handling (#1591)

- Add fallback for Node < 20
- Implement toAsyncIterable for streaming
- Use TextDecoder for manual decoding
- Maintain existing streaming for Node 20+

* small fixes

* feat: add free trial card to onboarding (#1600)

* feat: add free trial card to onboarding

* add import

* fix hasPassedFTL

* fix /edit cancellation from UI

* feat: add `applyCodeBlock` experimental prop (#1601)

* feat: add new model styling improvements (#1609)

* feat: add new model styling improvements

* better gap size

* feat: update bug_report.yml (#1610)

* chore: update bug_report.yml

* typo fix

* feat: add labels to "Add docs" dialog (#1612)

* feat: add labels to "Add docs" dialog

* remove autofocus

* don't double load config

* small fixes

* speed up directory traversal, and use correct native path module

* option not to show config update toast

* merge air-gapped and recommended setup pages

* chore: add telemetry for full screen toggle (#1618)

* Fix headings in codebase-embeddings.md (#1617)

* mention jetbrains

* docs: update changie  (#1619)

* feat: updated changie config

* hide toc and autogenerate

* Update changelog.mdx

* link to deeper explanation of embeddings models

* ensure target="_blank" for all links in sidebar

* fix gif links in intellij README.md

* don't require rust in dependency installation

* chore: fix padding on gh button (#1620)

* chore: adjust button padding

* Update tasks.json

* escape colons in diff path

* smoother lancedb indexing reporting

* smooth progress updates for indexing

* fix tsc err

* rerank-lite-1

* remove doccs

* basic tests for VS Code extension

* improved testing of VS Code extension

* docs: add docs and schema for "OS" provider (#1536)

* ignore .env

* 🚑 fix constant warnings when onboarding with Ollama

* ✨ use and cache imports for autocomplete (#1456)

* ✨ use and cache imports for autocomplete

* fix tsc

* team analytics

* apply control plane settings

* workos auth

* ide protocol get session info

* UI for auth

* profile switching

* small fixes

* updates

* refresh tokens

* updates

* fix tsc errs

* model select in toolbar to make room for profile selector

* prod client id

* link to prod URL

* internal beta option

* profiles change listener

---------

Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>
Co-authored-by: Priyash <38959321+priyashpatil@users.noreply.github.com>
Co-authored-by: Jonah Wagner <jonahwagner231@gmail.com>
Co-authored-by: YohannZe <99359799+YohannZe@users.noreply.github.com>
Co-authored-by: Dan Dascalescu <ddascalescu+github@gmail.com>
2024-07-08 21:51:53 -07:00