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 { afterEach, beforeEach, describe, expect, test, vi } from 'vitest';
import { IAuthenticationService } from '../../../../platform/authentication/common/authentication';
import { IConfigurationService } from '../../../../platform/configuration/common/configurationService';
import { ILogService } from '../../../../platform/log/common/logService';
import { Emitter } from '../../../../util/vs/base/common/event';
// ---- vscode mock -----------------------------------------------------------
const mockNotification = {
severity: 0,
dismissible: false
autoDismissOnMessage
message
description
actions label commandId commandArgs
sessionTypes
show vi
hide vi
dispose vi
onDidChangeChatModelsEmitter
selectChatModelsMock vi
mockWorkspace vi isAgentSessionsWorkspace
vi
ChatInputNotificationSeverity Info
chat
createInputNotification vi mockNotification
lm
onDidChangeChatModelsEmitterevent
args args
l10n str args str _ i argsi
workspace mockWorkspace
ByokUtilityModelNotificationContribution
opts anyGitHubSession
emitter
hasSession opts opts
authService
_serviceBrand
anyGitHubSession hasSession optsanyGitHubSession
onDidAuthenticationChange emitterevent
onDidCopilotTokenChange event
IAuthenticationService
authService emitter
values Record
emitter
store Objectvalues
configService
_serviceBrand
getNonExtensionConfig key storekey
onDidChangeConfiguration emitterevent
IConfigurationService
key value
value
storekey
storekey value
emitter k k key
configService set
noopLog
_serviceBrand
trace vi debug vi info vi warn vi error vi show vi
ILogService
contribution ByokUtilityModelNotificationContribution
vi
mockNotificationshow
mockNotificationhide
mockNotificationmessage
mockNotificationdescription
mockNotificationactions
mockNotificationsessionTypes
mockWorkspaceisAgentSessionsWorkspace
selectChatModelsMock vendor id
contribution
contribution
authService anyGitHubSession
configService
contribution authService configService noopLog
mockNotificationshow
mockNotificationmessage
mockNotificationactions
mockNotificationactionscommandId
mockNotificationactionscommandArgs
mockNotificationsessionTypes
authService anyGitHubSession
configService
contribution authService configService noopLog
mockNotificationshow
mockNotificationsessionTypes
mockWorkspaceisAgentSessionsWorkspace
authService anyGitHubSession
configService
contribution authService configService noopLog
mockNotificationshownot
selectChatModelsMocknot
authService anyGitHubSession
configService
contribution authService configService noopLog
mockNotificationshow
mockNotificationmessage
mockNotificationactions
mockNotificationactionscommandArgs
authService anyGitHubSession accessToken
configService
contribution authService configService noopLog
mockNotificationshownot
selectChatModelsMock vendor id
authService anyGitHubSession
configService
contribution authService configService noopLog
mockNotificationshownot
cancellationError
cancellationErrorname
selectChatModelsMockcancellationError
authService anyGitHubSession
configService
contribution authService configService noopLog
noopLogwarnnot
selectChatModelsMock
authService anyGitHubSession
configService
contribution authService configService noopLog
noopLogwarn
authService anyGitHubSession
configService
contribution authService configService noopLog
mockNotificationshownot
authService anyGitHubSession
configService
contribution authService configService noopLog
mockNotificationshownot
authService anyGitHubSession
configService
contribution authService configService noopLog
mockNotificationshow
authService anyGitHubSession
configService set
contribution authService configService noopLog
mockNotificationshow
mockNotificationhidenot
mockNotificationhide
authService anyGitHubSession
configService set
contribution authService configService noopLog
mockNotificationshow
mockNotificationhide
authService emitter anyGitHubSession
configService
contribution authService configService noopLog
mockNotificationshow
authService anyGitHubSession anyGitHubSession accessToken
emitter
mockNotificationhide