CSS files were not being indexed because codeChunker expects code
structures (classes/functions) that don't exist in CSS. The chunker
would return zero chunks, preventing CSS files from being indexed.
This fix routes CSS, HTML, JSON and similar non-code files to
basicChunker instead of codeChunker, ensuring they are properly
indexed while maintaining intelligent chunking for actual code files.
* 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>
In this patch, we add a sanitizing process to strip off the trailing forward slash (if any) in
the given URL before generating the file path for S3 bucket. Therefore, both variants (url
with / and without /) in the config file can be treated the same.
https://github.com/continuedev/continue/issues/6454
This patch significantly enhances how Continue responds to changes in the
documentation configuration, providing a more consistent and user-friendly
experience.
Previously, Continue's handling of documentation configuration changes
could lead to inconsistencies, requiring users to relaunch the application
to see updates. This PR addresses these issues by improving the caching,
indexing, and display of the documentation.
Key Improvements:
1. Submenu items for the documentation now refresh automatically after
retrieving the cache from S3. Before this fix, it won't show up in
the submenu until we relaunch Continue.
2. The titles and favicons for cached documentation now correctly
reflect the values defined in the docs configuration, rather than
defaulting to the URL.
3. Deleting or commenting out a documentation entry in the configuration
file will now automatically remove it from the submenu, ensuring
consistency between the configuration and the displayed options.
4. If only the title or favicon of a document changes, Continue now
efficiently updates the metadata in the SQLite database instead of
performing a full reindexing.
5. Continue can now catch and apply changes to documentation titles and
favicons even when the application is not actively running.
Future Considerations:
1. The doc schema in the config-yaml should be updated to include
maxDepth and useLocalCrawling parameters if we're planing to keep
these parameters. Their values are always undefined now no matter
what users set in config file.
2. If we do keep maxDepth and useLocalCrawling, we should consider adding
maxDepth and useLocalCrawling to the SQLite metadata. This would allow
the SQLite database to serve as a persistent store for each document's
parameters, preventing edge cases where changes to the documentation
configuration are missed when Continue is inactive.