continue-custom/extensions/cli/src/util
Patrick Erichsen 32639c5c11 chore: remove all PostHog and Sentry telemetry collection
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>
2026-03-19 15:15:26 -07:00
..
apiClient.test.ts fix: logger mock and error message 2025-11-18 17:00:04 -08:00
apiClient.ts feat: status tool for cn (#8007) 2025-10-01 08:44:34 -07:00
apiKeyValidation.test.ts fix: ant expected key format 2025-08-22 07:53:52 -07:00
apiKeyValidation.ts fix: ant expected key format 2025-08-22 07:53:52 -07:00
backgroundSignalManager.ts refactor backgroundsignalmanger 2026-02-09 19:08:24 +05:30
cli.test.ts fix: 🐛 More fixes 2025-11-18 19:59:36 -08:00
cli.ts show ctrl+b to move to background 2026-02-06 19:19:12 +05:30
clipboard.test.ts fix: logger mock and error message 2025-11-18 17:00:04 -08:00
clipboard.ts fix: address feedback 2025-09-02 19:12:19 -07:00
error.ts Add 'extensions/cli/' from commit 'e27a5c87d520e28844c9eac10bc6d301feee4b5e' 2025-08-20 17:19:56 -07:00
errorState.ts fix circular dependency 2025-12-23 13:19:42 -05:00
exit.ts chore: remove all PostHog and Sentry telemetry collection 2026-03-19 15:15:26 -07:00
exponentialBackoff.test.ts chore: run prettier --write on cli 2025-08-20 17:57:35 -07:00
exponentialBackoff.ts chore: remove any type 2026-01-13 12:25:34 -08:00
filePatterns.ts Add 'extensions/cli/' from commit 'e27a5c87d520e28844c9eac10bc6d301feee4b5e' 2025-08-20 17:19:56 -07:00
fileWatcher.test.ts feat: show remote sessions in cn ls (#7694) 2025-09-19 22:44:26 -07:00
fileWatcher.ts feat: show remote sessions in cn ls (#7694) 2025-09-19 22:44:26 -07:00
formatError.test.ts chore: run prettier --write on cli 2025-08-20 17:57:35 -07:00
formatError.ts Add 'extensions/cli/' from commit 'e27a5c87d520e28844c9eac10bc6d301feee4b5e' 2025-08-20 17:19:56 -07:00
git.test.ts chore: prettier 2025-09-02 18:04:40 -07:00
git.ts feat: --id flag for cn serve (#7884) 2025-09-21 13:24:39 -07:00
inputHistory.test.ts chore: run prettier --write on cli 2025-08-20 17:57:35 -07:00
inputHistory.ts Add 'extensions/cli/' from commit 'e27a5c87d520e28844c9eac10bc6d301feee4b5e' 2025-08-20 17:19:56 -07:00
isInHomeDirectory.test.ts refactor: move isInHomeDirectory to a util function 2025-09-04 20:21:30 +05:30
isInHomeDirectory.ts refactor: move isInHomeDirectory to a util function 2025-09-04 20:21:30 +05:30
loadMarkdownSkills.test.ts add tests for loadMarkdownSkill 2026-01-20 13:34:44 +05:30
loadMarkdownSkills.ts feat(cli): agent skills 2026-01-20 13:25:56 +05:30
logger.ts chore: remove all PostHog and Sentry telemetry collection 2026-03-19 15:15:26 -07:00
metadata.test.ts Fix calculateDiffStats to correctly handle code with ++ or -- operators 2025-12-01 01:44:46 +00:00
metadata.ts Add detailed logging for metadata endpoint requests 2026-01-25 23:22:20 -08:00
modelPersistence.ts fix: multiple cn nitpicks (#8049) 2025-10-01 00:06:15 -07:00
pathResolver.ts Apply suggestion from @cubic-dev-ai[bot] 2025-10-17 10:19:15 -07:00
prompt.test.ts ci: fix release workflows to block if version check fails (#7350) 2025-09-22 14:34:38 -07:00
prompt.ts ci: fix release workflows to block if version check fails (#7350) 2025-09-22 14:34:38 -07:00
promptProcessor.test.ts fix: prepend agent prompt in serve mode (#8393) 2025-10-22 15:47:47 -07:00
promptProcessor.ts fix: prepend agent prompt in serve mode (#8393) 2025-10-22 15:47:47 -07:00
stdin.test.ts chore: run prettier --write on cli 2025-08-20 17:57:35 -07:00
stdin.ts feat: ✨ Remove TTY requirement for the cli in headless mode 2025-11-18 19:45:15 -08:00
tokenizer.contextValidation.test.ts feat: refined cli bash tool truncation 2026-01-09 15:13:22 -08:00
tokenizer.test.ts test: fix comapction tests etc 2026-01-21 18:31:02 -08:00
tokenizer.ts fix: move token adjustment to separate module 2026-01-31 15:17:30 -08:00
truncateOutput.test.ts feat: CLI tool truncation and docs 2026-01-09 15:57:28 -08:00
truncateOutput.ts feat: CLI tool truncation and docs 2026-01-09 15:57:28 -08:00
uniqueId.ts chore: remove all PostHog and Sentry telemetry collection 2026-03-19 15:15:26 -07:00
withExponentialBackoff.test.ts fix abort listeners 2025-08-20 19:06:45 -07:00
yamlConfigUpdater.test.ts fix: update stale model name in yamlConfigUpdater test 2026-02-17 19:40:08 -08:00
yamlConfigUpdater.ts feat: add Claude Sonnet 4.6 and Claude Opus 4.6 models 2026-02-17 11:49:21 -08:00