refactor(ide): replace DetectedIde enum with IDE_DEFINITIONS object (#8698)

This commit is contained in:
Shreya Keshive
2025-09-18 15:23:24 -04:00
committed by GitHub
parent f2a47dec54
commit db5b49b2ca
16 changed files with 129 additions and 229 deletions

View File

@@ -21,7 +21,7 @@ import type {
IdeContext,
ApprovalMode,
UserTierId,
DetectedIde,
IdeInfo,
FallbackIntent,
} from '@google/gemini-cli-core';
import type { DOMElement } from 'ink';
@@ -104,7 +104,7 @@ export interface UIState {
terminalWidth: number;
terminalHeight: number;
mainControlsRef: React.MutableRefObject<DOMElement | null>;
currentIDE: DetectedIde | null;
currentIDE: IdeInfo | null;
updateInfo: UpdateObject | null;
showIdeRestartPrompt: boolean;
isRestarting: boolean;