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.
*--------------------------------------------------------------------------------------------*/
// Service implementation that manages remote agent host connections from
// entries supplied by registered connection factories.
import { Emitter, Event } from '../../../base/common/event.js';
import { Disposable, DisposableStore, IDisposable, toDisposable } from '../../../base/common/lifecycle.js';
import { DeferredPromise, raceTimeout } from '../../../base/common/async.js';
import { autorun, derived, IObservable, observableFromEvent, observableValue } from '../../../base/common/observable.js';
import { IConfigurationService } from '../../configuration/common/configuration.js';
import { IEnvironmentService
IInstantiationService
ILabelService
ILogService
hasKey
AgentHostAhpJsonlLoggingSettingId
IRemoteAgentHostService
RemoteAgentHostConnectionStatus
RemoteAgentHostsEnabledSettingId
RemoteAgentHostsSettingId
getEntryTypeConfig
readWebSocketRemoteAgentHostEntries
RemoteAgentHostEntryType
computeReconnectDelay hasExhaustedReconnectAttempts
AgentHostProtocolClient AgentHostClientState
WebSocketClientTransport
agentHostAuthority normalizeRemoteAgentHostAddress
agentsWindowAgentHostClientInfo editorWindowAgentHostClientInfo
store DisposableStore
client IRemoteAgentHostProtocolClient
transportDisposable IDisposable
connected
status RemoteAgentHostConnectionStatus
entry IConnectionEntry
entrystore
entrytransportDisposable
kind RemoteAgentHostEntryTypeWebSocket
entries IObservable IRemoteAgentHostEntry
_instantiationService IInstantiationService
_configurationService IConfigurationService
_environmentService IEnvironmentService
editorWindowAgentHostClientInfo
entries
Event
_configurationServiceonDidChangeConfiguration
event eventRemoteAgentHostsSettingId
entry IRemoteAgentHostEntry _options IRemoteAgentHostConnectOptions IRemoteAgentHostCreatedConnection
entryconnectiontype RemoteAgentHostEntryTypeWebSocket
address entryconnectionaddress
ahpLoggingEnabled _configurationServiceAgentHostAhpJsonlLoggingSettingId
_instantiationService
WebSocketClientTransport
address
entryconnectionToken
ahpLoggingEnabled
logsHome _environmentServicelogsHome connectionId address transport
connection _instantiationServiceAgentHostProtocolClient address transportFactory clientInfo
connection
IRemoteAgentHostEntry
_configurationService
ConnectionWaitTimeout
UpgradeRequestTimeout
_serviceBrand
_onDidChangeConnections
onDidChangeConnections _onDidChangeConnectionsevent
_entries
_connectionFactories
_connectionFactoriesObservable IRemoteAgentHostConnectionFactory
_configuredEntries reader
entries IRemoteAgentHostEntry
factory _connectionFactoriesObservablereader
entry factoryentriesreader
entries entries entry
entries
_pendingConnects
_names
_tokens
_registeredEntries
_pendingConnectionWaits
_reconnectTimeouts
_reconnectAttempts
_labelFormatters
editorWindowAgentHostClientInfo
_configurationService IConfigurationService
_instantiationService IInstantiationService
_logService ILogService
_labelService ILabelService
_environmentService IEnvironmentService
_instantiationService
_configurationService
_environmentService
clientInfo
reader
_configuredEntriesreader
_configurationServicee
eRemoteAgentHostsEnabledSettingId
entry IRemoteAgentHostEntry
config entryconnectiontype
address configentryconnection
confignormalizedAddress address address
entry IRemoteAgentHostEntry IRemoteAgentHostEntry
config entryconnectiontype
confignormalizedAddress entryconnection address
entry
entry connection entryconnection address entryconnectionaddress
IRemoteAgentHostConnectionInfo
result IRemoteAgentHostConnectionInfo
address entry _entries
result
address
name _namesaddress address
clientId entryclientclientId
defaultDirectory entryclientdefaultDirectory
status entrystatus
result
IRemoteAgentHostEntry
_configuredEntriesentry entry
factory IRemoteAgentHostConnectionFactory IDisposable
_connectionFactoriesfactorykind
_connectionFactoriesfactorykind factory
_connectionFactoriesObservable_connectionFactories
_connectionFactoriesfactorykind factory
_connectionFactoriesfactorykind
_connectionFactoriesObservable_connectionFactories
address IAgentConnection
normalized address
entry _entriesnormalized
entryconnected entryclient
authority IAgentConnection
address entry _entries
entryconnected address authority
entryclient
address IRemoteAgentHostEntry
normalized address
registered _registeredEntriesnormalized
registered
registered
configuredEntries
entry entry normalized
address method IVscodeUpgradeResult
normalized address
entry _entriesnormalized
entry
result
entryclientmethod
RemoteAgentHostServiceUpgradeRequestTimeout
result
result
address userInitiated
normalized address
configuredEntry _configuredEntries
entry entry normalized
configuredEntry configuredEntryconnectiontypedialableByService
entryToReconnect
configuredEntry
connectionToken _tokensnormalized configuredEntryconnectionToken
normalized
_reconnectAttemptsnormalized
entry _entriesnormalized
entry
_entriesnormalized
entrystore
configuredEntryconnectiontype RemoteAgentHostEntryType
entrytransportDisposable
entryToReconnect userInitiated
address IRemoteAgentHostConnectionInfo
_configurationServiceRemoteAgentHostsEnabledSettingId
normalizedAddress address
existingConnection normalizedAddress
existingConnection
existingConnection
wait normalizedAddress
pendingConnect _pendingConnectsnormalizedAddress
pendingConnect
pendingConnect
connected normalizedAddress
connected
connected
waitp
connection waitp RemoteAgentHostServiceConnectionWaitTimeout
_pendingConnectionWaitsnormalizedAddress
connection
connection
entry IRemoteAgentHostEntry connection IAgentConnection transportDisposable IDisposable status RemoteAgentHostConnectionStatusconnected IRemoteAgentHostConnectionInfo
_configurationServiceRemoteAgentHostsEnabledSettingId
address entry
existingEntry _entriesaddress
existingEntry
_entriesaddress
existingEntrystore
store
protocolClient connection AgentHostProtocolClient
storeprotocolClient
connEntry IConnectionEntry store client protocolClient transportDisposable connected RemoteAgentHostConnectionStatusstatus status
_entriesaddress connEntry
_namesaddress entryname
_registeredEntriesaddress entry
address entryname
entryconnectionToken
_tokensaddress entryconnectionToken
storeprotocolClient
_entriesaddress connEntry
connEntryconnected
connEntrystatus RemoteAgentHostConnectionStatusdisconnected
_onDidChangeConnections
storeprotocolClientstate
_entriesaddress connEntry
state
AgentHostClientStateReconnecting
connEntryconnected
connEntrystatus RemoteAgentHostConnectionStatusreconnecting
_onDidChangeConnections
AgentHostClientStateConnected
connEntryconnected
connEntrystatus RemoteAgentHostConnectionStatusconnected
_onDidChangeConnections
AgentHostClientStateConnecting
AgentHostClientStateIncompatible
AgentHostClientStateClosed
_onDidChangeConnections
address
name entryname
clientId protocolClientclientId
defaultDirectory protocolClientdefaultDirectory
status
address
normalized address
_namesnormalized
_tokensnormalized
_registeredEntriesnormalized
normalized
normalized
_reconnectAttemptsnormalized
normalized
address
entry _entriesaddress
entry
_entriesaddress
_registeredEntriesaddress
entry
address
_onDidChangeConnections
address
normalized address
entry _entriesnormalized
entry
_logService
entryclient
_logService
_storeisDisposed
_configurationServiceRemoteAgentHostsEnabledSettingId
address _entries
address
address
_names
_tokens
_reconnectAttempts
address _labelFormatters
_registeredEntriesaddress
address
configuredEntries _configuredEntries
entriesWithAddress configuredEntriesentry entry address entry
desired entriesWithAddresse eaddress
_logService
namesChanged
oldNames _names
_names
_tokens
address entry _registeredEntries
_namesaddress entryname
_tokensaddress entryconnectionToken
entry address entriesWithAddress
_namesaddress entryname
_tokensaddress entryconnectionToken
address entryname
_entriesaddress oldNamesaddress entryname
namesChanged
address _labelFormatters
desiredaddress _registeredEntriesaddress
address
address _entries
desiredaddress _registeredEntriesaddress
_logService
address
_reconnectAttemptsaddress
address
entry address entriesWithAddress
_entriesaddress _pendingConnectsaddress entryconnectiontypedialableByService
entry userInitiated
namesChanged
_onDidChangeConnections
entryToConnect IRemoteAgentHostEntry options IRemoteAgentHostConnectOptions
entryToCreate entryToConnect
address entryToCreate
existingPendingConnect _pendingConnectsaddress
existingPendingConnect
existingPendingConnect
pendingConnect
_pendingConnectsaddress pendingConnectp
entryToCreate address options
err
_logService err
_pendingConnectsaddress pendingConnectp
_pendingConnectsaddress
pendingConnect
pendingConnectp
entryToCreate IRemoteAgentHostEntry address options IRemoteAgentHostConnectOptions
_configurationServiceRemoteAgentHostsEnabledSettingId
factory _connectionFactoriesentryToCreateconnectiontype
factory
_logService
existingEntry _entriesaddress
existingEntry
_entriesaddress
existingEntry
createdConnection IRemoteAgentHostCreatedConnection
createdConnection factoryentryToCreate options
err
_logService err
address err
_storeisDisposed _configurationServiceRemoteAgentHostsEnabledSettingId
address entryToCreateconnectionToken
_storeisDisposed
_configurationServiceRemoteAgentHostsEnabledSettingId
_configuredEntriesentry entry address
_entriesaddress
createdConnectionconnection
createdConnectiontransportDisposable
store
client storecreatedConnectionconnection
entry IConnectionEntry
store
client
transportDisposable createdConnectiontransportDisposable
connected
status RemoteAgentHostConnectionStatusconnecting
_entriesaddress entry
_entriesaddress entry
storeclient
_logService
entryconnected
entrystatus RemoteAgentHostConnectionStatusdisconnected
_onDidChangeConnections
address entryToCreateconnectionToken
storeclientstate
state
entryconnected
entrystatus RemoteAgentHostConnectionStatusreconnecting
_onDidChangeConnections
entryconnected
entrystatus RemoteAgentHostConnectionStatusconnected
_reconnectAttemptsaddress
address
_onDidChangeConnections
_logService
_onDidChangeConnections
client
storeisDisposed
storeisDisposed
entry
_logService
entryconnected
entrystatus RemoteAgentHostConnectionStatusconnected
_reconnectAttemptsaddress
address
_onDidChangeConnections
err
storeisDisposed
entry
incompatible RemoteAgentHostConnectionStatuserr
incompatible
_logService
entrystatus incompatible
_reconnectAttemptsaddress
address err
_onDidChangeConnections
_logService err
RemoteAgentHostConnectionStatusentrystatus
_logService
entrystatus RemoteAgentHostConnectionStatusdisconnected
_entriesaddress
entry
address err
_onDidChangeConnections
address entryToCreateconnectionToken
address connectionToken
configuredEntry _configuredEntriesentry entry address
configuredEntry
_logService
reconnectPolicy configuredEntryconnectiontypereconnect
reconnectPolicyautoRestore
_logService
previousAttempts _reconnectAttemptsaddress
reconnectPolicy previousAttempts
_logService
attempt previousAttempts
_reconnectAttemptsaddress attempt
delay reconnectPolicy attempt
_logService
address
timeout
_reconnectTimeoutsaddress
currentEntry _configuredEntriesentry entry address
currentEntry
currentEntry
connectionToken connectionToken _tokensaddress currentEntryconnectionToken
userInitiated
delay
_reconnectTimeoutsaddress timeout
address
timeout _reconnectTimeoutsaddress
timeout
timeout
_reconnectTimeoutsaddress
address IRemoteAgentHostConnectionInfo
connectionsconnection connectionaddress address RemoteAgentHostConnectionStatusconnectionstatus
entries IRemoteAgentHostEntry entry IRemoteAgentHostEntry IRemoteAgentHostEntry
address entry
existingIndex entriescandidate candidate address
existingIndex
entries entry
entriescandidate index index existingIndex entry candidate
address DeferredPromiseIRemoteAgentHostConnectionInfo
wait _pendingConnectionWaitsaddress
wait
wait
existingConnection address
existingConnection
immediateWait
immediateWaitexistingConnection
immediateWait
wait
waitp
_pendingConnectionWaitsaddress wait
wait
address
wait _pendingConnectionWaitsaddress
connection address
wait connection
_pendingConnectionWaitsaddress
waitconnection
address err
wait _pendingConnectionWaitsaddress
wait
_pendingConnectionWaitsaddress
waiterr
address name
address
handle _labelService
scheme
authority address
priority
formatting
formatting
workspaceSuffix name
_labelFormattersaddress handle
address
existing _labelFormattersaddress
existing
existing
_labelFormattersaddress
override
timeout _reconnectTimeouts
timeout
_reconnectTimeouts
_reconnectAttempts
_pendingConnects
address wait _pendingConnectionWaits
wait
_pendingConnectionWaits
entry _entries
entry
_entries
handle _labelFormatters
handle
_labelFormatters
override
agentsWindowAgentHostClientInfo
configurationService IConfigurationService
instantiationService IInstantiationService
logService ILogService
labelService ILabelService
environmentService IEnvironmentService
configurationService instantiationService logService labelService environmentService