ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { beforeEach, describe, expect, it, vi } from 'vitest';
vi.mock('vscode', async () => {
const actual = await import('../../../../vscodeTypes');
return {
...actual,
commands: {
executeCommand: vi.fn().mockResolvedValue(undefined),
},
};
}
vscode
IVSCodeExtensionContext
IFileSystemService
IGitExtensionService
Repository
ILogService
ITelemetryService
mock
ChatSessionsUriHandler
Memento
data
key defaultValue
datakey defaultValue
key value
value
datakey
datakey value
data
_keys
override globalState
override kind
override state Repository
remoteUrl
state
remotes name fetchUrl remoteUrl isReadOnly
Repository
override state
override repositories Repository
remoteUrls
repositories remoteUrlsremoteUrl remoteUrl
api
override
api
api
api api
override
api
extensionContext MockExtensionContext
gitExtensionService MockGitExtensionService
handler ChatSessionsUriHandler
vivscodecommandsexecuteCommand
extensionContext
gitExtensionService
handler
gitExtensionService
extensionContext
handler id type
vscodecommandsexecuteCommand
vscodeUri
gitExtensionService
extensionContextglobalState
type
id
url
branch
timestamp Date
handler
vscodecommandsexecuteCommand
vscodeUri
extensionContextglobalState
gitExtensionService
pendingSession
type
id
url
branch
timestamp Date
extensionContextglobalState pendingSession
handler
vscodecommandsexecuteCommandnot
extensionContextglobalStatependingSession