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 { RunOnceScheduler } from '../../../../base/common/async.js';
import { equals as arraysEqual } from '../../../../base/common/arrays.js';
import { CancellationToken, CancellationTokenSource } from '../../../../base/common/cancellation.js';
import { Disposable, DisposableStore, toDisposable } from '../../../../base/common/lifecycle.js';
import { autorun, derived, IObservable, ISettableObservable, observableValue, transaction } from '../../../../base/common/observable.js';
import { IConfigurationService } from '../../../../platform/configuration/common/configuration.js'
IInstantiationService
ILogService
mcpAutoStartConfig McpAutoStartValue
observableConfigValue
IStorageService StorageScope
CollisionEnablementModel EnablementModel isContributionEnabled
McpCollisionBehavior mcpServerCollisionBehaviorSection
IMcpRegistry
McpPrefixGenerator McpServer McpServerMetadataCache
IAutostartResult IMcpServer IMcpService McpCollectionDefinition McpConnectionState McpDefinitionReference McpServerCacheState McpServerDefinition McpStartServerInteraction UserInteractionRequiredError
startServerAndWaitForLiveTools
object IMcpServer
_serviceBrand
_currentAutoStarts
_servers
servers IObservable IMcpServer _serversservers serverss sobject
_prefixGenerator
_mcpRegistrylazyCollectionState
enablementModel McpCollisionEnablementModel
userCache McpServerMetadataCache
workspaceCache McpServerMetadataCache
_instantiationService IInstantiationService
_mcpRegistry IMcpRegistry
_logService ILogService
configurationService IConfigurationService
storageService IStorageService
baseEnablement storageService
collisionBehavior mcpServerCollisionBehaviorSection McpCollisionBehaviorDisable configurationService
enablementModel baseEnablement _mcpRegistry collisionBehavior
userCache _instantiationServiceMcpServerMetadataCache StorageScope
workspaceCache _instantiationServiceMcpServerMetadataCache StorageScope
updateThrottle _store
reader
collection _mcpRegistrycollectionsreader
collectionserverDefinitionsreader
updateThrottle
cts _currentAutoStarts
cts
_token CancellationToken IObservableIAutostartResult
autoStartConfig configurationServicemcpAutoStartConfig
autoStartConfig McpAutoStartValueNever
IAutostartResultEmpty
state working starting serversRequiringInteraction
store
cts store _token
_currentAutoStartscts
store
_currentAutoStartscts
storectstoken
stateIAutostartResultEmpty
autoStartConfig state ctstoken
err
_logService err
stateIAutostartResultEmpty
store
state
autoStartConfig McpAutoStartValue state ISettableObservableIAutostartResult token CancellationToken
tokenisCancellationRequested
candidates serverss
sconnectionStatestate McpConnectionStateKindError
senablement
todo
autoStartConfig McpAutoStartValueOnlyNew
todo candidatess scacheState McpServerCacheStateUnknown
autoStartConfig McpAutoStartValueNewAndOutdated
todo candidatess
c scacheState
c McpServerCacheStateUnknown c McpServerCacheStateOutdated
todosize
stateIAutostartResultEmpty
interaction
requiringInteraction McpDefinitionReference errorMessage
state
working todosize
starting todot tdefinition
serversRequiringInteraction requiringInteraction
todo server i
server interaction errorOnUserInteraction token
error
error
requiringInteraction id serverdefinitionid label serverdefinitionlabel errorMessage errormessage
todoserver
tokenisCancellationRequested
userCache
workspaceCache
collections _mcpRegistry
collectionsc cid
definitions _mcpRegistrycollectionscollectionDefinition
collectionDefinitionserverDefinitionsserverDefinition
serverDefinition collectionDefinition
nextDefinitions definitions
currentServers _servers
nextServers IMcpServerRec
match definitions rec IMcpServerRec
nextDefinitionsmatch
nextServersrec
connection recobjectconnection
connection McpServerDefinitionconnectiondefinition matchserverDefinition
recobject
_logService
server currentServers
match definitionsd serverobject d
match
match server
serverobject
def nextDefinitions
object _instantiationService
McpServer
defcollectionDefinition
defserverDefinition
defserverDefinitionroots
defcollectionDefinitionlazy
defcollectionDefinitionscope StorageScope workspaceCache userCache
_prefixGenerator
enablementModel
nextServers object
currentServers nextServers
tx
_serversnextServers tx
override
_serverss sobject
server IMcpServer def serverDefinition McpServerDefinition collectionDefinition McpCollectionDefinition
servercollectionid defcollectionDefinitionid serverdefinitionid defserverDefinitionid
base EnablementModel
registry IMcpRegistry
collisionBehavior IObservableMcpCollisionBehavior
collisionGroups reader
collisionBehaviorreader McpCollisionBehaviorDisable
collections registrycollectionsreader
labelToIds
collection collections
server collectionserverDefinitionsreader
key serverlabel
ids labelToIdskey
ids
ids
labelToIdskey ids
idsserverid
groups
ids labelToIds
idslength
id ids
groupsid ids
groups
base collisionGroups