mirror of
https://github.com/getsentry/sentry-for-ai.git
synced 2026-09-14 14:28:22 +08:00
9ab3551758
Installing the Sentry plugin was a one-way door — there was no built-in way to take it back out. Add a `remove` subcommand that mirrors install: it reuses the detect and select steps, then uninstalls the plugin from each chosen agent (claude plugin uninstall, codex plugin remove, grok plugin uninstall, and deleting the Cursor checkout). Removal only takes out our own plugin. Any marketplace we registered is left in place — Claude's is Anthropic's shared official one, so deregistering it could pull it out from under other plugins — and the install-time cleanup of conflicting plugins does not run. The UI is factored into a shared runFlow driven by a FlowMode descriptor so install and remove share detection, selection, concurrency, and output streaming while differing only in their tagline, prompt copy, per-agent action, and closing line. The remove flow leads with a static "Neuralyzing your agents of Sentry." header (no shimmer). Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>