feat(commands): add custom commands support for extensions (#4703)

This commit is contained in:
Daniel Lee 2025-07-28 18:40:47 -07:00 committed by GitHub
parent c42d3b58e1
commit bf7fd08f7e
11 changed files with 705 additions and 83 deletions

View file

@ -35,6 +35,11 @@ vi.mock('@google/gemini-cli-core', async () => {
);
return {
...actualServer,
IdeClient: vi.fn().mockImplementation(() => ({
getConnectionStatus: vi.fn(),
initialize: vi.fn(),
shutdown: vi.fn(),
})),
loadEnvironment: vi.fn(),
loadServerHierarchicalMemory: vi.fn(
(cwd, debug, fileService, extensionPaths, _maxDirs) =>