feat: Show /ide subcommands based on connection status instead of ideMode boolean (#6496)

This commit is contained in:
Shreya Keshive 2025-08-19 10:24:58 -07:00 committed by GitHub
parent fde5511c27
commit 9588aa6ef9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 60 additions and 12 deletions

View file

@ -162,6 +162,9 @@ vi.mock('@google/gemini-cli-core', async (importOriginal) => {
getIdeClient: vi.fn(() => ({
getCurrentIde: vi.fn(() => 'vscode'),
getDetectedIdeDisplayName: vi.fn(() => 'VSCode'),
addStatusChangeListener: vi.fn(),
removeStatusChangeListener: vi.fn(),
getConnectionStatus: vi.fn(() => 'connected'),
})),
isTrustedFolder: vi.fn(() => true),
};