Commit graph

125 commits

Author SHA1 Message Date
Dallin Romney
73fdf19de8
feat: rebrand assistants as agents (#7227)
* feat: rebrand assistants as agents

* fix: assitant-agent cleanup part 1

* fix: file references

* fix: missing file reference in config yaml tests

* chore: assistant -> agent cleanup
2025-08-18 16:25:30 -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
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
d4198e76ec
Merge pull request #6769 from continuedev/dallin/catch-hub-loading-errors
fix: catch hub org loading errors, fallback to local
2025-08-05 13:15:58 -07:00
Dallin Romney
a78427c4f1
Config error UI improvements (#6912)
* wip:
conifg reload button

* fix: config loading reasons, reload links in extension error UIs

* fix: remove development config slice tweaks

* enhancement: better error component and move fatal error notice to below main input
2025-08-01 13:06:46 -07:00
Dallin Romney
6ba01825b4 fix: only update on session change when needed 2025-07-31 10:21:59 -07:00
Dallin Romney
3bd00d09fd fix: error injection order 2025-07-31 09:36:12 -07:00
Dallin Romney
5520d5b7e4 merge main 2025-07-31 09:34:22 -07:00
Tomasz Stefaniak
55f5ed580f fix: use loading state for loading indicator, better error messages 2025-07-24 12:11:31 -07:00
Dallin Romney
edd1a0b9ba fix: catch errors in hub org loading 2025-07-23 06:45:57 +02:00
Dallin Romney
37574cc55e fix: catch continue hub config loading errors 2025-07-23 05:41:17 +02:00
Fred Bricon
89a7d9a0c2 fix: open the proper config file
Signed-off-by: Fred Bricon <fbricon@gmail.com>
2025-07-21 10:30:04 +02:00
Patrick Erichsen
759159d849 Merge branch 'main' into pe/req-headers 2025-07-17 08:42:50 -07:00
Dallin Romney
374a0cb23c comment out reload config loading 2025-07-16 14:45:00 +02:00
Dallin Romney
c869b8c836 fix has attempted refresh logic 2025-07-16 14:27:21 +02:00
Dallin Romney
3a96b82e02 event emmiter initialization approach, get orgs in parallel 2025-07-16 14:03:32 +02:00
Dallin Romney
18fe286993 cleanup config fixes 2025-07-15 19:03:03 +02:00
Patrick Erichsen
a0174bcf07 fix linting 2025-07-13 17:55:25 -07:00
Patrick Erichsen
d45e2118b5 Add telemetry tracking for config loading performance
- Import Telemetry from util/posthog.js in ConfigHandler
- Track start and end time of reloadConfig method using performance.now()
- Send "config_reload" telemetry event with duration, reason, totalConfigLoads, and configLoadInterrupted
- Helps track config loading performance bottlenecks and understand reload patterns

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-13 17:53:38 -07:00
Dallin Romney
2da461e110 reload config logs, await cascade init, cascade abort controller, client signals 2025-07-12 00:40:44 -07:00
Patrick Erichsen
2768540f96 chore: add ideInfo headers to hub reqs 2025-07-11 21:25:10 -07:00
Tomasz Stefaniak
ba3984290d fix: naming 2025-05-20 13:24:33 -07:00
Nate
75608e7cf4 disable local assistants when using on prem deployment 2025-05-18 19:37:41 -07:00
Nate
8f0978a5e1 separate SessionInfo types 2025-05-18 18:14:50 -07:00
Dallin Romney
47755d1cba fix: selected profile id writing to global context in org profile rectification 2025-05-13 13:58:05 -07:00
Nate
4b55cfb2e8 fix: 🚑 load global ~/.continue/assistants 2025-05-05 19:17:46 -07:00
Nate
cd9d63643f error on no-floating-promises in core 2025-04-29 15:11:35 -07:00
Nate
79f4274fc6 remove logs 2025-04-23 17:47:15 -07:00
Nate
54d2b4774c more logging and a small fix 2025-04-23 08:35:39 -07:00
Nate
b53a257cf0 Merge branch 'main' into nate/local-blocks 2025-04-21 16:14:14 -07:00
Nate
f576742e35 remove cft 2025-04-16 21:43:41 -07:00
Nate
70883e4325 log config errors 2025-04-11 22:14:59 -07:00
Nate
75985f94ad Merge branch 'main' into nate/local-blocks 2025-04-09 11:27:39 -07:00
Tomasz Stefaniak
a4cfa361c2
Merge pull request #5077 from continuedev/tomasz/clean-up-code-2
improv: stricter linting
2025-04-09 09:34:01 -07:00
tomasz-io
f6ecad7cce improv: stricter linting 2025-04-09 08:47:49 -07:00
Patrick Erichsen
7f8882eee1 feat: remove models property 2025-04-08 19:28:48 -07:00
Nate
a807a6b56c small refactor to make it easy to list .continue/rules, etc. 2025-04-08 15:41:06 -07:00
Nate
b66fe4185b load ~/.continue/assistants 2025-04-08 15:17:43 -07:00
Nate
aa2aff01c0 include workspace assistants when in org scope 2025-04-08 15:07:11 -07:00
Owen W. Taylor
3553dfaae4 Add rich logging of LLM interactions
Instead of treating LLM logging as simply writing lines of text
sequentially, emit a stream of typed data objects that include
rich information about the interaction, such as timestamps,
message types, tool calls, etc.

These are then collected by a new custom webview in the vscode
extension (the "Continue Console"), allowing a user or developer
to browse through the different interactions and view them in detail.
In progress interactions are now streamed live, instead of being held back
to avoid concurrency issues.

This webview could be also exposed for IntelliJ or file logging
could be reimplemented on top of the new framework.
2025-04-07 14:11:38 -04:00
Dallin Romney
dda3168957 fixes 2025-04-06 15:55:07 -07:00
Dallin Romney
3039592d24 fix deeplink handling 2025-04-06 15:31:05 -07:00
Dallin Romney
ddcd2bc819 gui updates 1 2025-04-06 14:59:57 -07:00
Dallin Romney
20e5b12c02 blah 2025-04-06 13:45:10 -07:00
Dallin Romney
fd3db4a01a BROKEN - assistant switch p12 2025-04-06 13:40:58 -07:00
Dallin Romney
be22741fc0 continued 2025-04-04 10:06:53 -07:00
Dallin Romney
931ee37e9f cascading config p2 2025-04-02 12:55:20 -07:00
Dallin Romney
b8de35cd8a BROKEN - cascading config updates part 1 2025-04-01 15:30:41 -07:00
Nate
fd7f3dc93b load secrets from local config 2025-03-23 13:06:19 -07:00
tomasz-io
d9eb118c51 fix: remove mismatch between last selected profile and current profile 2025-03-21 09:45:44 -07:00