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 { localize, localize2 } from '../../../../../nls.js';
import { Action2, registerAction2 } from '../../../../../platform/actions/common/actions.js';
import { Action } from '../../../../../base/common/actions.js';
import { Codicon } from '../../../../../base/common/codicons.js';
import { isCancellationError } from '../../../../../base/common/errors.js';
import { toErrorMessage } from '../../../../../base/common/errorMessage.js';
import { DisposableStore } from '../../../../../base/common/lifecycle.js';
import StopWatch
ThemeIcon
ICommandService
IDialogService
IFileService
ITextEditorOptions
ICodeEditor isCodeEditor
EndOfLinePreference
Range
SnippetController2
ITunnelHostService
IEditorService
IOpenerService
ILogService
addWebSocketRemoteAgentHostEntry IRemoteAgentHostService parseRemoteAgentHostInput RemoteAgentHostConnectionStatus RemoteAgentHostEntryType RemoteAgentHostInputValidationError RemoteAgentHostsEnabledSettingId
IConfigurationService
ISSHRemoteAgentHostService isSSHHostKeyDeniedError SSHAuthMethod
isTunnelHosted ITunnelAgentHostService
IWSLRemoteAgentHostService
ContextKeyExpr
IInstantiationService ServicesAccessor
INotificationService Severity
IQuickInputButton IQuickInputService IQuickPickItem
IAuthenticationService
IProductService
ITelemetryService
SessionsCategories
categorizeSSHConnectError logSSHConnectAttempt
SessionWorkspacePickerGroupContext
Menus
ISessionsService
ISessionsProvidersService
IAgentHostSessionsProvider isAgentHostProvider
runServerUpgrade
ISessionsPartService
RemoteAgentHostCommandIds
addRemoteAgentHost
connectViaSSH
addNewSSHHost
configureSSHHosts
connectViaTunnel
connectViaWSL
manageRemoteAgentHosts
updateRemoteAgentHost
Action2
id RemoteAgentHostCommandIdsaddRemoteAgentHost
title
category SessionsCategoriesSessions
f1
precondition ContextKeyExpr
override accessor ServicesAccessor
remoteAgentHostService accessorIRemoteAgentHostService
quickInputService accessorIQuickInputService
notificationService accessorINotificationService
configurationService accessorIConfigurationService
address quickInputService
title
prompt
placeHolder
ignoreFocusLost
value
result value
resulterror RemoteAgentHostInputValidationErrorEmpty
resulterror RemoteAgentHostInputValidationErrorInvalid
address
parsed address
parsedparsed
defaultName parsedparsedsuggestedName
name quickInputService
title
prompt
placeHolder
value defaultName
valueSelection defaultNamelength
ignoreFocusLost
value value
name
configurationService
name name
connectionToken parsedparsedconnectionToken
connection
type RemoteAgentHostEntryTypeWebSocket
address parsedparsedaddress
remoteAgentHostServiceparsedparsedaddress
notificationService parsedparsedaddress
method SSHAuthMethod
value host username port
trimmed value
trimmed
atIdx trimmed
atIdx atIdx trimmedlength
username
hostPart
atIdx
username trimmed atIdx
hostPart trimmedatIdx
hostPart trimmed
hostPart
host
port
colonIdx hostPart
colonIdx
host hostPart colonIdx
portStr hostPartcolonIdx
host
portStr
portNum portStr
NumberportNum portNum portNum
port portNum
host hostPart
host
host username port
value
v value
v
atIdx v
atIdx
atIdx vlength
hostPart atIdx vatIdx v
hostPart
colonIdx hostPart
colonIdx
hostName hostPart colonIdx
portStr hostPartcolonIdx
hostName
portStr
portNum portStr
NumberportNum portNum portNum
kind
hostAlias
kind
hostInput
kind
ISSHAliasPickItem ISSHNewHostPickItem ISSHFooterPickItem
accessor ServicesAccessor
options showBackButton
sshService accessorISSHRemoteAgentHostService
quickInputService accessorIQuickInputService
notificationService accessorINotificationService
instantiationService accessorIInstantiationService
commandService accessorICommandService
configHosts sshService
aliasItems ISSHAliasPickItem configHostsh
kind
hostAlias h
label h
addHostItem ISSHFooterPickItem
kind
label
alwaysShow
configureHostsItem ISSHFooterPickItem
kind
label
alwaysShow
newHostItem ISSHNewHostPickItem
kind
hostInput
label
alwaysShow
result resolve
store
picker storequickInputService
pickertitle
pickerplaceholder
pickerignoreFocusOut
pickermatchOnDescription
optionsshowBackButton
pickerbuttons quickInputServicebackButton
newHostVisible
items SSHHostPickerItem aliasItems
newHostVisible
itemsnewHostItem
itemsaddHostItem
itemsconfigureHostsItem
pickeritems items
storepickervalue
parsed value
parsed
newHostItemhostInput value
newHostItemlabel
newHostVisible
newHostVisible
pickeritems pickeritems
newHostVisible
newHostVisible
storepickerbutton
button quickInputServicebackButton
picker
storepicker
selected pickerselectedItems
selected
picker
storepicker
store
picker
result
result
resultkind resultkind
cmdId resultkind
RemoteAgentHostCommandIdsaddNewSSHHost
RemoteAgentHostCommandIdsconfigureSSHHosts
instantiationServicea a options
commandServicecmdId onBackToSSH
resultkind
instantiationServiceaccessor
accessor resulthostAlias
newHost result ISSHNewHostPickItem
parsed newHosthostInput
parsed
notificationServicenewHosthostInput
instantiationServiceaccessor
accessor parsedhost parsedusername parsedport
accessor ServicesAccessor
hostAlias
sshService accessorISSHRemoteAgentHostService
notificationService accessorINotificationService
instantiationService accessorIInstantiationService
resolvedConfig ISSHResolvedConfig
resolvedConfig sshServicehostAlias
err
notificationService hostAlias err
host resolvedConfighostname
username resolvedConfiguser
port resolvedConfigport resolvedConfigport
suggestedName hostAlias
defaultKeyPath resolvedConfigidentityFile
username
config ISSHAgentHostConfig
host
port
username
authMethod SSHAuthMethodAgent
privateKeyPath defaultKeyPath
identityAgent resolvedConfigidentityAgent
agentForward resolvedConfigforwardAgent
name suggestedName
sshConfigHost hostAlias
connection instantiationServiceaccessor
accessor config suggestedName
connection
instantiationServiceaccessor accessor connection
instantiationServiceaccessor
accessor host port suggestedName defaultKeyPath resolvedConfigidentityAgent
accessor ServicesAccessor
host
username
port
suggestedName
defaultKeyPath
identityAgent
quickInputService accessorIQuickInputService
instantiationService accessorIInstantiationService
username
usernameInput quickInputService
title
prompt host
placeHolder
ignoreFocusLost
value value
usernameInput
username usernameInput
authPicks ISSHAuthMethodPickItem
method SSHAuthMethodAgent
label
description
method SSHAuthMethodKeyFile
label
description
method SSHAuthMethodPassword
label
description
authPicked quickInputServiceauthPicks
title
placeHolder host
authPicked
authMethod authPickedmethod
privateKeyPath
password
authMethod SSHAuthMethodKeyFile
keyPath quickInputService
title
prompt
placeHolder
value defaultKeyPath
ignoreFocusLost
value value
keyPath
privateKeyPath keyPath
authMethod SSHAuthMethodPassword
pw quickInputService
title
prompt username host
password
ignoreFocusLost
value value
pw
password pw
defaultName suggestedName
name quickInputService
title
prompt
placeHolder
value defaultName
valueSelection defaultNamelength
ignoreFocusLost
value value
name
config ISSHAgentHostConfig
host
port
username
authMethod
privateKeyPath
identityAgent
password
name name
connection instantiationServiceaccessor
accessor config host
connection
instantiationServiceaccessor accessor connection
accessor ServicesAccessor
config ISSHAgentHostConfig
displayHost
ISSHAgentHostConnection
sshService accessorISSHRemoteAgentHostService
notificationService accessorINotificationService
telemetryService accessorITelemetryService
stopwatch StopWatch
handle notificationService
severity SeverityInfo
message displayHost
progress infinite
expectedKey configsshConfigHost
progressListener sshServiceonDidReportConnectProgressprogress
progressconnectionKey expectedKey
handleprogressmessage
connection sshServiceconfig
telemetryService
operation
userInitiated configuserInitiated
attempt
durationMs stopwatch
success
willRetry
handle
connection
err
telemetryService
operation
userInitiated configuserInitiated
attempt
durationMs stopwatch
success
willRetry
errorCategory err
handle
err err
notificationService displayHost err
progressListener
accessor ServicesAccessor
connection ISSHAgentHostConnection
sessionsProvidersService accessorISessionsProvidersService
sessionsService accessorISessionsService
sessionsPartService accessorISessionsPartService
provider sessionsProvidersServicep p IAgentHostSessionsProvider p premoteAddress connectionlocalAddress
provider
browseAction providerbrowseActions
browseAction
workspace browseAction
workspace
folderUri workspacefoldersroot
folderUri
sessionsService
sessionsPartServicesessionsServiceactiveSessionsessionIdfolderUri
Action2
id RemoteAgentHostCommandIdsconnectViaSSH
title
shortTitle
category SessionsCategoriesSessions
f1
icon Codiconremote
precondition ContextKeyExpr
menu
id MenusSessionWorkspaceManage
order
when SessionWorkspacePickerGroupContext
override accessor ServicesAccessor onBack
result accessor showBackButton onBack
result
onBack
Action2
id RemoteAgentHostCommandIdsaddNewSSHHost
title
category SessionsCategoriesSessions
f1
precondition ContextKeyExpr
override accessor ServicesAccessor
sshService accessorISSHRemoteAgentHostService
editorService accessorIEditorService
fileService accessorIFileService
notificationService accessorINotificationService
configUri
configUri sshService
err
notificationService err
editorPane editorService resource configUri options pinned satisfies ITextEditorOptions
editorPane
control editorPane
control control
editor control ICodeEditor
model editor
model
appendNewline
stat fileServiceconfigUri
statsize
content modelmodel EndOfLinePreference
appendNewline contentlength content
lastLine model
lastCol modellastLine
editor lastLine lastCol lastLine lastCol
snippet appendNewline
SnippetController2editorsnippet
editor
Action2
id RemoteAgentHostCommandIdsconfigureSSHHosts
title
category SessionsCategoriesSessions
f1
precondition ContextKeyExpr
override accessor ServicesAccessor onBack
sshService accessorISSHRemoteAgentHostService
editorService accessorIEditorService
quickInputService accessorIQuickInputService
notificationService accessorINotificationService
configFiles
configFiles sshService
err
notificationService err
configFileslength
uri sshService
editorService resource uri options pinned satisfies ITextEditorOptions
err
notificationService err
uri
isUserConfig
userConfigUri configFiles
items ISSHConfigFilePickItem configFilesuri index
label urifsPath
uri
isUserConfig index
itemslength onBack
picked items
uri pickedisUserConfig
sshService userConfigUri
pickeduri
editorService resource uri options pinned satisfies ITextEditorOptions
err
notificationService err
picked resolve
store
picker storequickInputService
pickertitle
pickerplaceholder
pickeritems items
onBack
pickerbuttons quickInputServicebackButton
storepickerbutton
button quickInputServicebackButton
picker
storepicker
pickerselectedItems
picker
storepicker
store
picker
picked
onBack
picked
uri pickedisUserConfig
sshService userConfigUri
pickeduri
editorService resource uri options pinned satisfies ITextEditorOptions
err
notificationService err
tunnel ITunnelInfo
tunnels ITunnelInfo ITunnelInfo
tunnelsa b anamebname
accessor ServicesAccessor
options showBackButton
tunnelService accessorITunnelAgentHostService
quickInputService accessorIQuickInputService
notificationService accessorINotificationService
authenticationService accessorIAuthenticationService
instantiationService accessorIInstantiationService
productService accessorIProductService
dialogService accessorIDialogService
tunnelHostService accessorITunnelHostService
authProvider
scopes productServicetunnelApplicationConfigauthenticationProvidersauthProviderscopes
authenticationServiceauthProvider scopeslength
authenticationServiceauthProvider scopes activateImmediate
notificationService
store
tunnelPicker storequickInputService
tunnelPickertitle
tunnelPickerplaceholder
tunnelPickerbusy
optionsshowBackButton
tunnelPickerbuttons quickInputServicebackButton
tunnelPicker
tunnels ITunnelInfo
tunnels tunnelService
err
store
notificationService err errmessage err
tunnelslength
store
notificationService
deleteTunnelButton IQuickInputButton
iconClass ThemeIconCodicontrash
tooltip
isHostedTunnel tunnel ITunnelInfo tunnelHostServicesharingInfo tunnel
toTunnelPickItems tunnelInfos ITunnelInfo ITunnelPickItem tunnelInfos
tunnel tunnel
tunnel
label tunnelname
description tunnelhostConnectionCount
tunneltunnelId
tunneltunnelId
buttons tunnelServicecanDeleteTunnels deleteTunnelButton
tunnel
tunnelPickeritems tunnels
tunnelslength
store
notificationService
storetunnelHostServiceupdateTunnelPickerItems
tunnelPickerbusy
picked resolve
isDeleting
storetunnelPickerbutton
button quickInputServicebackButton
tunnelPicker
storetunnelPicker
isDeleting
picked tunnelPickerselectedItems
picked pickedtunnel
picked
tunnelPicker
storetunnelPicker event
eventbutton deleteTunnelButton isDeleting
previousIgnoreFocusOut tunnelPickerignoreFocusOut
isDeleting
tunnelPickerignoreFocusOut
keepOpen
confirmation dialogService
type
message eventitemtunnelname
detail
primaryButton
confirmationconfirmed
tunnelPickerbusy
tunnelServiceeventitemtunnel
tunnels tunnelService
tunnelslength
keepOpen
notificationService
err
notificationService eventitemtunnelname err errmessage err
tunnelPickerbusy
tunnelPickerignoreFocusOut previousIgnoreFocusOut
isDeleting
keepOpen
tunnelPicker
tunnelPicker
store
storetunnelPicker
isDeleting
store
picked
picked
handle notificationService
severity SeverityInfo
message pickedtunnelname
progress infinite
tunnelServicepickedtunnel authProvider
handle
err
handle
notificationService pickedtunnelname err errmessage err
instantiationServiceaccessor accessor pickedtunnel
accessor ServicesAccessor
tunnel ITunnelInfo
sessionsProvidersService accessorISessionsProvidersService
sessionsService accessorISessionsService
sessionsPartService accessorISessionsPartService
tunnelAddress
provider sessionsProvidersServicep p IAgentHostSessionsProvider p premoteAddress tunnelAddress
provider
browseAction providerbrowseActions
browseAction
workspace browseAction
workspace
folderUri workspacefoldersroot
folderUri
sessionsService
sessionsPartServicesessionsServiceactiveSessionsessionIdfolderUri providerid
Action2
id RemoteAgentHostCommandIdsconnectViaTunnel
title
shortTitle
category SessionsCategoriesSessions
f1
icon Codiconcloud
precondition ContextKeyExpr
menu
id MenusSessionWorkspaceManage
order
when SessionWorkspacePickerGroupContext
override accessor ServicesAccessor onBack
result accessor showBackButton onBack
result
onBack
distro IWSLDistro
accessor ServicesAccessor
options showBackButton
wslService accessorIWSLRemoteAgentHostService
notificationService accessorINotificationService
quickInputService accessorIQuickInputService
openerService accessorIOpenerService
instantiationService accessorIInstantiationService
logService accessorILogService
installAction
openerService
wslService
notificationService
severity SeverityInfo
message
actions primary installAction
distros IWSLDistro
distros wslService
err
logService err
notificationService err
distroslength
notificationService
severity SeverityInfo
message
actions primary installAction
items IWSLDistroPickItem distrosd
label dname
description disRunning
detail disDefault
distro d
picked IWSLDistroPickItem
itemslength optionsshowBackButton
picked items
result resolve
store
picker storequickInputService
pickertitle
pickerplaceholder
pickeritems items
optionsshowBackButton
pickerbuttons quickInputServicebackButton
storepickerbutton
button quickInputServicebackButton
picker
storepicker
pickerselectedItems
picker
storepicker
store
picker
result
result
picked result
handle notificationService
severity SeverityInfo
message pickeddistroname
progress infinite
expectedKey
progressListener wslServiceonDidReportConnectProgressprogress
progressconnectionKey expectedKey
handleprogressmessage
wslService distro pickeddistroname name pickeddistroname
handle
err
handle
err
logService err
notificationService pickeddistroname err
progressListener
instantiationServiceaccessor accessor pickeddistroname
accessor ServicesAccessor
distro
sessionsProvidersService accessorISessionsProvidersService
sessionsService accessorISessionsService
sessionsPartService accessorISessionsPartService
wslAddress
provider sessionsProvidersServicep p IAgentHostSessionsProvider p premoteAddress wslAddress
provider
browseAction providerbrowseActions
browseAction
workspace browseAction
workspace
folderUri workspacefoldersroot
folderUri
sessionsService
sessionsPartServicesessionsServiceactiveSessionsessionIdfolderUri providerid
Action2
id RemoteAgentHostCommandIdsconnectViaWSL
title
shortTitle
category SessionsCategoriesSessions
f1
icon CodiconterminalLinux
precondition ContextKeyExpr
ContextKeyExpr
ContextKeyExpr
menu
id MenusSessionWorkspaceManage
order
when ContextKeyExpr
ContextKeyExpr
SessionWorkspacePickerGroupContext
override accessor ServicesAccessor onBack
result accessor showBackButton onBack
result
onBack
Action2
id RemoteAgentHostCommandIdsupdateRemoteAgentHost
title
category SessionsCategoriesSessions
f1
precondition ContextKeyExpr
override accessor ServicesAccessor
sessionsProvidersService accessorISessionsProvidersService
quickInputService accessorIQuickInputService
notificationService accessorINotificationService
instantiationService accessorIInstantiationService
remoteHosts sessionsProvidersService
isAgentHostProvider
provider providerremoteAddress
incompatibleCount
upgradable remoteHosts
provider
status providerconnectionStatus
RemoteAgentHostConnectionStatusstatus
incompatibleCount
statusvscodeUpgradeMethod provider method statusvscodeUpgradeMethod
entry entry provider IAgentHostSessionsProvider method entry
upgradablelength
notificationServiceincompatibleCount
target upgradable
upgradablelength
IQuickPickItem entry provider IAgentHostSessionsProvider method
picked quickInputService
upgradableentry
label entryproviderlabel
description entryproviderremoteAddress
entry
placeHolder
picked
target pickedentry
instantiationServicerunServerUpgrade targetprovider targetmethod