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 assert from 'assert';
import { Emitter, Event } from '../../../../../../base/common/event.js';
import { Disposable, IDisposable, toDisposable } from '../../../../../../base/common/lifecycle.js';
import { observableValue } from '../../../../../../base/common/observable.js';
import { mock } from '../../../../../../base/test/common/mock.js';
import { ensureNoDisposablesAreLeakedInTestSuite } from '../../../../../../base/test/common/utils.js';
import { IAgentConnection } from '../../../../../../platform/agentHost/common/agentService.js';
import
IRemoteAgentHostConnectionInfo
IRemoteAgentHostService
RemoteAgentHostAutoConnectSettingId
RemoteAgentHostConnectionStatus
RemoteAgentHostsEnabledSettingId
ICachedTunnel
ITunnelAgentHostService
ConfigurationTarget IConfigurationService
TestConfigurationService
TestInstantiationService
ILogService NullLogService
INotificationService
ITelemetryService
IAuthenticationService
IHostService
ITunnelHostService
TunnelConnectFailureReason
ISessionsProvider
ISessionsProvidersChangeEvent ISessionsProvidersService
IAgentHostFilterService
RemoteAgentHostSessionsProvider
TunnelAgentHostContribution
setConnectionCalls connection IAgentConnection defaultDirectory
clearConnectionCalls
override id
override remoteAddress
override label
_status RemoteAgentHostConnectionStatusconnecting
override connectionStatus _status
address name
id
remoteAddress address
label name
override status RemoteAgentHostConnectionStatus
_statusstatus
override connection IAgentConnection defaultDirectory
setConnectionCalls connection defaultDirectory
override
override clearConnectionCalls
override
_serviceBrand
_onDidChangeTunnels
onDidChangeTunnels _onDidChangeTunnelsevent
_cached ICachedTunnel
_listed ITunnelInfo
_suppressed
autoConnectMode
connectCalls tunnel ITunnelInfo authProvider options userInitiated
tunnels ICachedTunnel
_cached tunnels
_onDidChangeTunnels
ICachedTunnel _cached
tunnels ITunnelInfo _listed tunnels
ITunnelInfo _listed
autoConnectMode
canDeleteTunnels
tunnel ITunnelInfo tunneltunnelId
tunnel ITunnelInfo authProvider
_cached tunnelId tunneltunnelId clusterId tunnelclusterId name tunnelname authProvider _cachedcached cachedtunnelId tunneltunnelId
_onDidChangeTunnels
tunnelId
_cached _cachedtunnel tunneltunnelId tunnelId
_onDidChangeTunnels
id _suppressedid
id _suppressedid
id _suppressedid
tunnel ITunnelInfo authProvider options userInitiated
connectCalls tunnel authProvider options
_address
_serviceBrand
_onDidChangeConnections
onDidChangeConnections _onDidChangeConnectionsevent
_connections IRemoteAgentHostConnectionInfo
_agentConnections
IRemoteAgentHostConnectionInfo _connections
address IAgentConnection
_agentConnectionsaddress
info IRemoteAgentHostConnectionInfo connection IAgentConnection
_connectionsinfo
_agentConnectionsinfoaddress connection
_onDidChangeConnections
address status RemoteAgentHostConnectionStatus
index _connectionsconnection connectionaddress address
index
_connectionsindex _connectionsindex status
_onDidChangeConnections
_onDidChangeConnections
_onDidChangeFocus
override onDidChangeFocus _onDidChangeFocusevent
focused
_onDidChangeFocusfocused
_serviceBrand
_onDidChangeStatus
onDidChangeStatus _onDidChangeStatusevent
_sharingInfo ITunnelHostInfo
_sharingInfo
ITunnelHostInfo
_sharingInfo
tunnelName
_sharingInfo tunnelName tunnelName
_onDidChangeStatus
_serviceBrand
_onDidChange
onDidChangeProviders _onDidChangeevent
_providers
provider ISessionsProvider IDisposable
_providersproviderid provider
_onDidChange added provider removed
_providersproviderid
_onDidChange added removed provider
ISessionsProvider
_providers
_serviceBrand
IDisposable
stubProviders
override address name RemoteAgentHostSessionsProvider
stub address name
stubProvidersaddress stub
stub RemoteAgentHostSessionsProvider
store
tunnelService store
remoteService store
providersService store
configurationService RemoteAgentHostsEnabledSettingId
hostService
instantiationService store
instantiationServiceITunnelAgentHostService tunnelService
instantiationServiceIRemoteAgentHostService remoteService IRemoteAgentHostService
instantiationServiceISessionsProvidersService providersService ISessionsProvidersService
instantiationServiceIConfigurationService configurationService
instantiationServiceINotificationService INotificationService
instantiationServiceILogService
instantiationServiceIAuthenticationService onDidChangeSessions EventNone IAuthenticationService
instantiationServiceITelemetryService ITelemetryService
instantiationServiceIHostService hostService
instantiationServiceITunnelHostService store
instantiationServiceIAgentHostFilterService IAgentHostFilterService
contribution storeinstantiationServiceTestTunnelContribution
tunnelId
address
fakeConnection IAgentConnection
tunnelService tunnelId clusterId name
provider contributionstubProvidersaddress
assertprovider
assertprovidersetConnectionCallslength
remoteService
address
name
clientId
status RemoteAgentHostConnectionStatusconnected
fakeConnection
assertprovidersetConnectionCallsc cconnection fakeConnection
configurationServiceRemoteAgentHostsEnabledSettingId
configurationServiceonDidChangeConfigurationEmitter
key key RemoteAgentHostsEnabledSettingId
affectedKeys RemoteAgentHostsEnabledSettingId
change keys RemoteAgentHostsEnabledSettingId overrides
source ConfigurationTarget
assertprovidersService
tunnelService store
remoteService store
providersService store
configurationService RemoteAgentHostsEnabledSettingId
hostService
instantiationService store
instantiationServiceITunnelAgentHostService tunnelService
instantiationServiceIRemoteAgentHostService remoteService IRemoteAgentHostService
instantiationServiceISessionsProvidersService providersService ISessionsProvidersService
instantiationServiceIConfigurationService configurationService
instantiationServiceINotificationService INotificationService
instantiationServiceILogService
instantiationServiceIAuthenticationService onDidChangeSessions EventNone IAuthenticationService
instantiationServiceITelemetryService ITelemetryService
instantiationServiceIHostService hostService
instantiationServiceITunnelHostService store
instantiationServiceIAgentHostFilterService IAgentHostFilterService
contribution storeinstantiationServiceTestTunnelContribution
tunnelId
address
tunnelService tunnelId clusterId name
testable contribution
address options userInitiated
testableaddress userInitiated
asserttunnelServiceconnectCallslength
asserttunnelServiceconnectCallsoptionsuserInitiated
testableaddress userInitiated
asserttunnelServiceconnectCallslength
asserttunnelServiceconnectCallsoptionsuserInitiated
tunnelService store
tunnelServiceautoConnectMode
remoteService store
providersService store
configurationService
RemoteAgentHostsEnabledSettingId
RemoteAgentHostAutoConnectSettingId
instantiationService store
instantiationServiceITunnelAgentHostService tunnelService
instantiationServiceIRemoteAgentHostService remoteService IRemoteAgentHostService
instantiationServiceISessionsProvidersService providersService ISessionsProvidersService
instantiationServiceIConfigurationService configurationService
instantiationServiceINotificationService INotificationService
instantiationServiceILogService
instantiationServiceIAuthenticationService onDidChangeSessions EventNone IAuthenticationService
instantiationServiceITelemetryService ITelemetryService
instantiationServiceIHostService
instantiationServiceITunnelHostService store
instantiationServiceIAgentHostFilterService IAgentHostFilterService
contribution storeinstantiationServiceTestTunnelContribution
tunnel ITunnelInfo tunnelId clusterId name tags protocolVersion hostConnectionCount
tunnelServicetunnel
testable contribution
testable
asserttunnelServiceconnectCallscall calloptionsuserInitiated
tunnelServiceautoConnectMode
testable
asserttunnelServiceconnectCallscall calloptionsuserInitiated
tunnelService store
remoteService store
providersService store
configurationService
RemoteAgentHostsEnabledSettingId
RemoteAgentHostAutoConnectSettingId
hostService
tunnelHostService store
instantiationService store
instantiationServiceITunnelAgentHostService tunnelService
instantiationServiceIRemoteAgentHostService remoteService IRemoteAgentHostService
instantiationServiceISessionsProvidersService providersService ISessionsProvidersService
instantiationServiceIConfigurationService configurationService
instantiationServiceINotificationService INotificationService
instantiationServiceILogService
instantiationServiceIAuthenticationService onDidChangeSessions EventNone IAuthenticationService
instantiationServiceITelemetryService ITelemetryService
instantiationServiceIHostService hostService
instantiationServiceITunnelHostService tunnelHostService
instantiationServiceIAgentHostFilterService IAgentHostFilterService
locallyHostedTunnel ITunnelInfo tunnelId clusterId name tags protocolVersion hostConnectionCount
remoteTunnel ITunnelInfo tunnelId clusterId name tags protocolVersion hostConnectionCount
tunnelHostServicelocallyHostedTunnelname
contribution storeinstantiationServiceTestTunnelContribution
tunnelService
tunnelId locallyHostedTunneltunnelId clusterId locallyHostedTunnelclusterId name locallyHostedTunnelname
tunnelId remoteTunneltunnelId clusterId remoteTunnelclusterId name remoteTunnelname
tunnelServicelocallyHostedTunnel remoteTunnel
testable contribution
testable
initialConnects tunnelServiceconnectCallscall calltunneltunnelId
tunnelHostService
connectsAfterSharingStopped tunnelServiceconnectCallscall calltunneltunnelId
assert
initialConnects connectsAfterSharingStopped
initialConnects remoteTunneltunnelId
connectsAfterSharingStopped remoteTunneltunnelId locallyHostedTunneltunnelId remoteTunneltunnelId
tunnelService store
remoteService store
providersService store
configurationService RemoteAgentHostsEnabledSettingId
hostService
instantiationService store
instantiationServiceITunnelAgentHostService tunnelService ITunnelAgentHostService
instantiationServiceIRemoteAgentHostService remoteService IRemoteAgentHostService
instantiationServiceISessionsProvidersService providersService ISessionsProvidersService
instantiationServiceIConfigurationService configurationService
instantiationServiceINotificationService INotificationService
instantiationServiceILogService
instantiationServiceIAuthenticationService onDidChangeSessions EventNone IAuthenticationService
instantiationServiceITelemetryService ITelemetryService
instantiationServiceIHostService hostService
instantiationServiceITunnelHostService store
instantiationServiceIAgentHostFilterService IAgentHostFilterService
contribution storeinstantiationServiceTestTunnelContribution
maxAttemptsAddress
offlineAddress
authAddress
tunnelService
tunnelId clusterId name
tunnelId clusterId name
tunnelId clusterId name
tunnelId clusterId name
testable contribution
_reconnectPauseReasons Map TunnelConnectFailureReason
_reconnectTimeouts Map ReturnType setTimeout
trigger
testable_reconnectPauseReasonsmaxAttemptsAddress
testable_reconnectPauseReasonsofflineAddress
testable_reconnectPauseReasonsauthAddress
hostService
firstResume
paused testable_reconnectPauseReasons
timers testable_reconnectTimeouts
testable_reconnectPauseReasonsmaxAttemptsAddress
hostService
rateLimitedResume
paused testable_reconnectPauseReasons
timers testable_reconnectTimeouts
testable
sessionResume
paused testable_reconnectPauseReasons
timers testable_reconnectTimeouts
assert
firstResume rateLimitedResume sessionResume
firstResume
paused offlineAddress authAddress
timers maxAttemptsAddress
rateLimitedResume
paused offlineAddress authAddress maxAttemptsAddress
timers maxAttemptsAddress
sessionResume
paused offlineAddress maxAttemptsAddress
timers maxAttemptsAddress authAddress
tunnelService store
remoteService store
providersService store
configurationService
RemoteAgentHostsEnabledSettingId
RemoteAgentHostAutoConnectSettingId
hostService
instantiationService store
instantiationServiceITunnelAgentHostService tunnelService ITunnelAgentHostService
instantiationServiceIRemoteAgentHostService remoteService IRemoteAgentHostService
instantiationServiceISessionsProvidersService providersService ISessionsProvidersService
instantiationServiceIConfigurationService configurationService
instantiationServiceINotificationService INotificationService
instantiationServiceILogService
instantiationServiceIAuthenticationService onDidChangeSessions EventNone IAuthenticationService
instantiationServiceITelemetryService ITelemetryService
instantiationServiceIHostService hostService
instantiationServiceITunnelHostService store
instantiationServiceIAgentHostFilterService IAgentHostFilterService
contribution storeinstantiationServiceTestTunnelContribution
offlineAddress
authAddress
maxAttemptsAddress
tunnelService
tunnelId clusterId name
tunnelId clusterId name
tunnelId clusterId name
tunnelService
tunnelId clusterId name tags protocolVersion hostConnectionCount
tunnelId clusterId name tags protocolVersion hostConnectionCount
tunnelId clusterId name tags protocolVersion hostConnectionCount
testable contribution
_reconnectPauseReasons Map TunnelConnectFailureReason
_reconnectTimeouts Map ReturnType setTimeout
testable_reconnectPauseReasonsofflineAddress
testable_reconnectPauseReasonsauthAddress
testable_reconnectPauseReasonsmaxAttemptsAddress
testable
assert
paused testable_reconnectPauseReasons
connects tunnelServiceconnectCallscall calltunneltunnelId
timers testable_reconnectTimeouts
paused authAddress maxAttemptsAddress
connects
timers
tunnelService store
remoteService store
providersService store
configurationService RemoteAgentHostsEnabledSettingId
hostService
instantiationService store
instantiationServiceITunnelAgentHostService tunnelService ITunnelAgentHostService
instantiationServiceIRemoteAgentHostService remoteService IRemoteAgentHostService
instantiationServiceISessionsProvidersService providersService ISessionsProvidersService
instantiationServiceIConfigurationService configurationService
instantiationServiceINotificationService INotificationService
instantiationServiceILogService
instantiationServiceIAuthenticationService onDidChangeSessions EventNone IAuthenticationService
instantiationServiceITelemetryService ITelemetryService
instantiationServiceIHostService hostService
instantiationServiceITunnelHostService store
instantiationServiceIAgentHostFilterService IAgentHostFilterService
contribution storeinstantiationServiceTestTunnelContribution
tunnelId
address
tunnelService tunnelId clusterId name
remoteService address name clientId status RemoteAgentHostConnectionStatusconnected IAgentConnection
provider contributionstubProvidersaddress
remoteService
whileConnected providerclearConnectionCallslength
remoteServiceaddress RemoteAgentHostConnectionStatusconnecting
whileConnecting providerclearConnectionCallslength
remoteServiceaddress RemoteAgentHostConnectionStatusconnected
remoteServiceaddress RemoteAgentHostConnectionStatusdisconnected
afterDisconnect providerclearConnectionCallslength
remoteService
afterRepeatDisconnect providerclearConnectionCallslength
remoteServiceaddress RemoteAgentHostConnectionStatusconnected
remoteServiceaddress RemoteAgentHostConnectionStatusconnecting
remoteServiceaddress RemoteAgentHostConnectionStatusdisconnected
assert
whileConnected whileConnecting afterDisconnect afterRepeatDisconnect afterConnectingDisconnect providerclearConnectionCallslength
whileConnected whileConnecting afterDisconnect afterRepeatDisconnect afterConnectingDisconnect