Strip all PostHog and Sentry telemetry from the codebase so the product
works without phoning home. OpenTelemetry (CLI, user-configured) is kept.
- Delete core telemetry files (posthog.ts, SentryLogger, TeamAnalytics, TokensBatchingService)
- Remove all capture/report calls from 80+ caller files across core, GUI, VSCode, CLI, IntelliJ
- Remove posthog-node, posthog-js, @sentry/* dependencies from all package.json files
- Remove PostHog/Sentry plugins and build scripts
- Create IdeInfoService.ts and uniqueId.ts for non-telemetry request headers
- Remove PostHog API key from docs config
- Remove posthog from analytics provider config schema
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.