Skip to content

feat: strip out Hub/Mission Control code#2

Open
Patrick-Erichsen wants to merge 5 commits intomainfrom
con-5885-remove-hub
Open

feat: strip out Hub/Mission Control code#2
Patrick-Erichsen wants to merge 5 commits intomainfrom
con-5885-remove-hub

Conversation

@Patrick-Erichsen
Copy link
Collaborator

@Patrick-Erichsen Patrick-Erichsen commented Mar 19, 2026

Summary

  • Remove Hub/Mission Control connection code (control-plane client, auth, platform profile loader, ContinueProxy LLM)
  • Remove background mode UI (requires Hub connection)
  • Rename "Local Config" to "Main Config" since there's no longer a remote/local config distinction

Commits

  1. Remove all PostHog and Sentry telemetry — strip capture calls, feature flag checks, and dependencies
  2. Revert unintended .idea/gradle.xml change — undo accidental IDE config modification
  3. Remove Hub/Mission Control connection code — delete control-plane client, auth, ContinueProxy LLM, platform profile loader, hub package
  4. Rename "Local Config" to "Main Config" and remove background mode UI — clean up naming and remove Hub-dependent UI

Context

Strips all telemetry and Hub connectivity from the open source release so the product works without phoning home.

Resolves CON-5883, CON-5885

Test plan

  • App starts without PostHog/Sentry configured
  • No telemetry network requests in dev tools
  • No references to telemetry API keys in shipped code
  • Config loads correctly with "Main Config" naming

🤖 Generated with Claude Code

Patrick-Erichsen and others added 4 commits March 19, 2026 17:03
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>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Remove all ControlPlaneClient infrastructure, WorkOS auth, managed proxy,
platform profile loading, org policy enforcement, and credits UI.
Config is now fully local — only file-based config.yaml and .env secrets.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…d mode UI (CON-5885)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Patrick-Erichsen Patrick-Erichsen changed the title Remove all telemetry and Hub/Mission Control code feat: strip out Hub/Mission Control code Mar 20, 2026
Not needed without Hub connectivity.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link

@sestinj sestinj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wild PR. I scrolled through everything and I think it's good. Would be curious to see the prompt, but good to merge to the fork

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants