| 89 | } |
| 90 | |
| 91 | function getSelectedAgents(options: UninstallOptions): SetupAgent[] { |
| 92 | const agents: SetupAgent[] = []; |
| 93 | if (options.claude) agents.push("claude"); |
| 94 | if (options.cursor) agents.push("cursor"); |
| 95 | if (options.opencode) agents.push("opencode"); |
| 96 | if (options.codex) agents.push("codex"); |
| 97 | if (options.antigravity) agents.push("antigravity"); |
| 98 | if (options.gemini) agents.push("gemini"); |
| 99 | return agents; |
| 100 | } |
| 101 | |
| 102 | async function promptAgents(detected: SetupAgent[]): Promise<SetupAgent[] | null> { |
| 103 | const choices = detected.map((name) => ({ |