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 { WorkbenchActionExecutedClassification, WorkbenchActionExecutedEvent } from '../../../../../base/common/actions.js';
import { raceTimeout, timeout } from '../../../../../base/common/async.js';
import { CancellationToken } from '../../../../../base/common/cancellation.js';
import { Codicon } from '../../../../../base/common/codicons.js';
import { toErrorMessage } from '../../../../../base/common/errorMessage.js';
import { Emitter, Event } from '../../../../../base/common/event.js';
import { MarkdownString } from '../../../../../base/common/htmlContent.js'
Lazy
Disposable DisposableStore IDisposable toDisposable
localize localize2
ContextKeyExpr IContextKeyService
IInstantiationService
ILogService
product
ITelemetryService
IWorkspaceTrustManagementService
IWorkbenchEnvironmentService
nullExtensionDescription
CountTokensCallback ILanguageModelToolsService IPreparedToolInvocation IToolData IToolImpl IToolInvocation IToolResult ToolDataSource ToolProgress
IChatAgentImplementation IChatAgentRequest IChatAgentResult IChatAgentService
ChatEntitlementContext chatRequiresSetup IChatEntitlementService
ChatModel ChatRequestModel IChatRequestModel IChatRequestVariableData
ChatMode
ChatRequestAgentPart ChatRequestToolPart
IChatProgress IChatService
IChatRequestToolEntry
ChatAgentLocation ChatConfiguration ChatModeKind
ILanguageModelsService
ChatViewId IChatWidgetService
IViewsService
ChatViewPane
ILanguageFeaturesService
CodeAction CodeActionList Command NewSymbolName NewSymbolNameTriggerKind
ITextModel
IRange Range
ISelection Selection
ResourceMap
CodeActionKind
IPosition
IMarker IMarkerService MarkerSeverity
ChatSetupController
ChatGlobalPerfMark markChatGlobal
ChatSetupAnonymous ChatSetupStep IChatSetupResult maybeEnableAuthExtension refreshTokens
ChatSetup
chatViewsWelcomeRegistry
CommandsRegistry ICommandService
IDefaultAccountService
IHostService
IOutputService
IExtensionsWorkbenchService
defaultChat
extensionId productdefaultChatAgentextensionId
chatExtensionId productdefaultChatAgentchatExtensionId
provider productdefaultChatAgentprovider id name enterprise id name apple id name google id name microsoft id name
outputChannelId productdefaultChatAgentchatExtensionOutputId
outputExtensionStateCommand productdefaultChatAgentchatExtensionOutputExtensionStateCommand
ToolsAgentContextKey ContextKeyExpr
ContextKeyExpr
ContextKeyExpr
instantiationService IInstantiationService location ChatAgentLocation mode ChatModeKind context ChatEntitlementContext controller LazyChatSetupController agent SetupAgent disposable IDisposable
instantiationServiceaccessor
chatAgentService accessorIChatAgentService
description
mode ChatModeKindAsk
description ChatModeAskdescription
mode ChatModeKindEdit
description ChatModeEditdescription
description ChatModeAgentdescription
id
location
ChatAgentLocationChat
mode ChatModeKindAsk
id
mode ChatModeKindEdit
id
id
ChatAgentLocationTerminal
id
ChatAgentLocationEditorInline
id
ChatAgentLocationNotebook
id
SetupAgentinstantiationService chatAgentService id description location mode context controller
instantiationService IInstantiationService context ChatEntitlementContext controller LazyChatSetupController IDisposable
instantiationServiceaccessor
chatAgentService accessorIChatAgentService
disposables
disposable vscodeDisposable SetupAgentinstantiationService chatAgentService value ChatAgentLocationChat ChatModeKindAgent context controller
disposablesvscodeDisposable
disposable workspaceDisposable SetupAgentinstantiationService chatAgentService value ChatAgentLocationChat ChatModeKindAgent context controller
disposablesworkspaceDisposable
disposable terminalDisposable SetupAgentinstantiationService chatAgentService value ChatAgentLocationChat ChatModeKindAgent context controller
disposablesterminalDisposable
disposablesSetupToolinstantiationService
id
source ToolDataSourceInternal
icon CodiconnewFolder
displayName
modelDescription
userDescription
canBeReferencedInPrompt
toolReferenceName
when ContextKeyExpr
disposables
instantiationService IInstantiationService chatAgentService IChatAgentService id name isDefault description location ChatAgentLocation mode ChatModeKind context ChatEntitlementContext controller LazyChatSetupController agent SetupAgent disposable IDisposable
disposables
disposableschatAgentServiceid
id
name
isDefault
isCore
modes mode
when mode ChatModeKindAgent ToolsAgentContextKey
slashCommands
disambiguation
locations location
metadata helpTextPrefix SetupAgent
description
extensionId nullExtensionDescriptionidentifier
extensionVersion
extensionDisplayName nullExtensionDescriptionname
extensionPublisherId nullExtensionDescriptionpublisher
agent disposablesinstantiationServiceSetupAgent context controller location
disposableschatAgentServiceid agent
mode ChatModeKindAgent
chatAgentServiceid themeIcon Codicontools
agent disposable disposables
_onUnresolvableError
onUnresolvableError _onUnresolvableErrorevent
pendingForwardedRequests
context ChatEntitlementContext
controller LazyChatSetupController
location ChatAgentLocation
instantiationService IInstantiationService
logService ILogService
telemetryService ITelemetryService
environmentService IWorkbenchEnvironmentService
workspaceTrustManagementService IWorkspaceTrustManagementService
chatEntitlementService IChatEntitlementService
viewsService IViewsService
contextKeyService IContextKeyService
outputService IOutputService
extensionsWorkbenchService IExtensionsWorkbenchService
commandService ICommandService
CommandsRegistrySetupAgent accessor sessionResource
hostService accessorIHostService
chatWidgetService accessorIChatWidgetService
widget chatWidgetServicesessionResource
widget
hostService
CommandsRegistrySetupAgent accessor
commandService accessorICommandService
defaultChatoutputExtensionStateCommand
commandServicedefaultChatoutputExtensionStateCommand
logService
error
logService error
defaultChatoutputChannelId
commandService
request IChatAgentRequest parts IChatProgress IChatAgentResult
instantiationService accessor
chatService accessorIChatService
languageModelsService accessorILanguageModelsService
chatWidgetService accessorIChatWidgetService
chatAgentService accessorIChatAgentService
languageModelToolsService accessorILanguageModelToolsService
defaultAccountService accessorIDefaultAccountService
request part part chatService languageModelsService chatWidgetService chatAgentService languageModelToolsService defaultAccountService
request IChatAgentRequest part IChatProgress chatService IChatService languageModelsService ILanguageModelsService chatWidgetService IChatWidgetService chatAgentService IChatAgentService languageModelToolsService ILanguageModelToolsService defaultAccountService IDefaultAccountService IChatAgentResult
completed contextstatecompleted
disabled contextstatedisabled
untrusted contextstateuntrusted
entitlement contextstateentitlement
anonymous chatEntitlementServiceanonymous
hasByokModels chatEntitlementServicehasByokModels
request progress chatService languageModelsService chatWidgetService chatAgentService languageModelToolsService defaultAccountService
request progress chatService languageModelsService chatWidgetService chatAgentService languageModelToolsService
request IChatAgentRequest part IChatProgress chatService IChatService languageModelsService ILanguageModelsService chatWidgetService IChatWidgetService chatAgentService IChatAgentService languageModelToolsService ILanguageModelToolsService IChatAgentResult
requestModel chatWidgetServicerequestsessionResourceviewModelmodel
requestModel
logService
kind
content
shimmer
requestModel progress chatService languageModelsService chatAgentService chatWidgetService languageModelToolsService
requestModel IChatRequestModel part IChatProgress chatService IChatService languageModelsService ILanguageModelsService chatAgentService IChatAgentService chatWidgetService IChatWidgetService languageModelToolsService ILanguageModelToolsService
requestModel progress chatService languageModelsService chatAgentService chatWidgetService languageModelToolsService
error
logService error
kind
content
requestModel IChatRequestModel part IChatProgress chatService IChatService languageModelsService ILanguageModelsService chatAgentService IChatAgentService chatWidgetService IChatWidgetService languageModelToolsService ILanguageModelToolsService
pendingForwardedRequestsrequestModelsessionsessionResource
forwardRequest requestModel progress chatService languageModelsService chatAgentService chatWidgetService languageModelToolsService
pendingForwardedRequestsrequestModelsessionsessionResource forwardRequest
forwardRequest
pendingForwardedRequestsrequestModelsessionsessionResource
requestModel IChatRequestModel part IChatProgress chatService IChatService languageModelsService ILanguageModelsService chatAgentService IChatAgentService chatWidgetService IChatWidgetService languageModelToolsService ILanguageModelToolsService
authExtensionReEnabled extensionsWorkbenchService logService
authExtensionReEnabled
commandService
widget chatWidgetServicerequestModelsessionsessionResource
modeInfo widgetinputcurrentModeInfo
agentActivated
agentReady
languageModelReady
toolsModelReady
ChatGlobalPerfMarkWillWaitForActivation
whenAgentActivated chatService agentActivated
whenAgentReady chatAgentService modeInfokind agentReady
whenAgentReady
agentReady
whenLanguageModelReady languageModelsService requestModelmodelId languageModelReady
whenLanguageModelReady
languageModelReady
whenToolsModelReady languageModelToolsService requestModel toolsModelReady
whenToolsModelReady
toolsModelReady
whenLanguageModelReady whenAgentReady whenToolsModelReady
timeoutHandle
kind
content
shimmer
disposables
disposables timeoutHandle
allReady
whenAgentActivated
whenAgentReady
whenLanguageModelReady
whenToolsModelReady
ready
environmentServiceremoteAuthority
disposables
allReady
ready
warningMessage
kind
content warningMessage
_onUnresolvableError
ready
warningMessage
chatEntitlementServiceanonymous
warningMessage defaultChatchatExtensionId
warningMessage defaultChatproviderdefaultname defaultChatchatExtensionId
diagnosticInfo agentActivated agentReady languageModelReady toolsModelReady requestModel languageModelsService chatAgentService modeInfo
logService diagnosticInfo
owner
comment
agentActivated classification purpose comment
agentReady classification purpose comment
agentHasDefault classification purpose comment
agentDefaultIsCore classification purpose comment
agentHasContributedDefault classification purpose comment
agentContributedDefaultIsCore classification purpose comment
agentActivatedCount classification purpose isMeasurement comment
agentLocation classification purpose comment
agentModeKind classification purpose comment
languageModelReady classification purpose comment
languageModelCount classification purpose isMeasurement comment
languageModelDefaultCount classification purpose isMeasurement comment
languageModelHasRequestedModel classification purpose comment
toolsModelReady classification purpose comment
isRemote classification purpose comment
isAnonymous classification purpose comment
matchingWelcomeViewWhen classification purpose comment
agentActivated
agentReady
agentHasDefault
agentDefaultIsCore
agentHasContributedDefault
agentContributedDefaultIsCore
agentActivatedCount
agentLocation
agentModeKind
languageModelReady
languageModelCount
languageModelDefaultCount
languageModelHasRequestedModel
toolsModelReady
isRemote
isAnonymous
matchingWelcomeViewWhen
telemetryService diagnosticInfo
kind
content warningMessage
defaultChatoutputChannelId outputServicedefaultChatoutputChannelId
kind
command
id SetupAgent
title
logServicedefaultChatoutputChannelId
kind
command
id SetupAgent
title
arguments requestModelsessionsessionResource
allReady
recoveryDiagnosticInfo agentActivated agentReady languageModelReady toolsModelReady requestModel languageModelsService chatAgentService modeInfo
logService recoveryDiagnosticInfo
owner
comment
agentActivated classification purpose comment
agentReady classification purpose comment
agentHasDefault classification purpose comment
agentDefaultIsCore classification purpose comment
agentHasContributedDefault classification purpose comment
agentContributedDefaultIsCore classification purpose comment
agentActivatedCount classification purpose isMeasurement comment
agentLocation classification purpose comment
agentModeKind classification purpose comment
languageModelReady classification purpose comment
languageModelCount classification purpose isMeasurement comment
languageModelDefaultCount classification purpose isMeasurement comment
languageModelHasRequestedModel classification purpose comment
toolsModelReady classification purpose comment
isRemote classification purpose comment
isAnonymous classification purpose comment
matchingWelcomeViewWhen classification purpose comment
agentActivated
agentReady
agentHasDefault
agentDefaultIsCore
agentHasContributedDefault
agentContributedDefaultIsCore
agentActivatedCount
agentLocation
agentModeKind
languageModelReady
languageModelCount
languageModelDefaultCount
languageModelHasRequestedModel
toolsModelReady
isRemote
isAnonymous
matchingWelcomeViewWhen
telemetryService recoveryDiagnosticInfo
disposables
ChatGlobalPerfMarkDidWaitForActivation
chatServicerequestModel
widget
modeInfo
widget
disposables DisposableStore
chatViewsWelcomeRegistrydescriptor contextKeyServicedescriptorwhen
resolve
descriptorKeys Set
descriptors chatViewsWelcomeRegistry
descriptorKeys descriptorsd dwhen
onDidChangeRegistry EventchatViewsWelcomeRegistryonDidChange
onDidChangeRelevantContext Event
EventcontextKeyServiceonDidChangeContext e edescriptorKeys
disposablesEvent
onDidChangeRegistry
onDidChangeRelevantContext
source
source
languageModelsService ILanguageModelsService modelId
modelId
languageModelsServicemodelId
id languageModelsService
model languageModelsServiceid
modelisDefaultForLocationChatAgentLocationChat
EventEventlanguageModelsServiceonDidChangeLanguageModels
languageModelToolsService ILanguageModelToolsService requestModel IChatRequestModel
needsToolsModel requestModelmessagepartspart part
needsToolsModel
tool languageModelToolsService
toolid
EventEventlanguageModelToolsServiceonDidChangeTools
tool languageModelToolsService
toolid
chatAgentService IChatAgentService mode ChatModeKind
defaultAgent chatAgentServicelocation mode
defaultAgent defaultAgentisCore
EventEventchatAgentServiceonDidChangeAgents
defaultAgent chatAgentServicelocation mode
defaultAgent defaultAgentisCore
chatService IChatService
chatServicelocation
error
logServiceerror
agentActivated agentReady languageModelReady toolsModelReady requestModel IChatRequestModel languageModelsService ILanguageModelsService chatAgentService IChatAgentService modeInfo kind ChatModeKind
languageModelIds languageModelsService
languageModelDefaultCount
id languageModelIds
model languageModelsServiceid
modelisDefaultForLocationChatAgentLocationChat
languageModelDefaultCount
defaultAgent chatAgentServicelocation modeInfokind
contributedDefaultAgent chatAgentServicelocation
chatViewPane viewsServiceChatViewId ChatViewPane
matchingWelcomeView chatViewPane
agentActivated
agentReady
agentHasDefault defaultAgent
agentDefaultIsCore defaultAgentisCore
agentHasContributedDefault contributedDefaultAgent
agentContributedDefaultIsCore contributedDefaultAgentisCore
agentActivatedCount chatAgentServicelength
agentLocation location
agentModeKind modeInfokind
languageModelReady
languageModelCount languageModelIdslength
languageModelDefaultCount
languageModelHasRequestedModel requestModelmodelId
toolsModelReady
isRemote environmentServiceremoteAuthority
isAnonymous chatEntitlementServiceanonymous
matchingWelcomeViewWhen matchingWelcomeViewwhen chatViewPane
request IChatAgentRequest part IChatProgress chatService IChatService languageModelsService ILanguageModelsService chatWidgetService IChatWidgetService chatAgentService IChatAgentService languageModelToolsService ILanguageModelToolsService defaultAccountService IDefaultAccountService IChatAgentResult
chatEntitlementServicehasByokModels
logService
telemetryService id from
widget chatWidgetServicerequestsessionResource
requestModel widgetviewModelmodel
setupListener EventcontrollervalueonDidChange
controllervaluestep
ChatSetupStepSigningIn
kind
content defaultAccountServicename
shimmer
ChatSetupStepInstalling
kind
content
shimmer
result IChatSetupResult
result ChatSetupinstantiationService context controller
disableChatViewReveal
forceAnonymous chatEntitlementServiceanonymous ChatSetupAnonymousEnabledWithoutDialog
error
logService
setupListener
resultsuccess
resultsuccess
resultdialogSkipped
widget
requestModel
newRequest requestModel chatAgentService
newRequest newRequest
newRequest progress chatService languageModelsService chatAgentService chatWidgetService languageModelToolsService
kind
content
kind
content workspaceTrustManagementService SetupAgent SetupAgent
requestModel IChatRequestModel chatAgentService IChatAgentService IChatRequestModel
agentPart requestModelmessagepartsr r ChatRequestAgentPart r
agentPart
requestModel
agentId agentPartagentid
githubAgent chatAgentServiceagentId
githubAgent
requestModel
newAgentPart agentPartrange agentParteditorRange githubAgent
session requestModelsession ChatModel
message
parts requestModelmessagepartspart
part
newAgentPart
part
text requestModelmessagetext
variableData requestModelvariableData
timestamp Date
attempt requestModelattempt
modeInfo requestModelmodeInfo
confirmation requestModelconfirmation
locationData requestModellocationData
attachedContext requestModelattachedContext
isCompleteAddedRequest requestModelisCompleteAddedRequest
requestModel IChatRequestModel IChatRequestModel
toolPart requestModelmessagepartsr r ChatRequestToolPart r
toolPart
requestModel
toolId toolParttoolId
newToolPart
toolPartrange
toolParteditorRange
toolParttoolName
toolId
toolPartdisplayName
toolParticon
chatRequestToolEntry IChatRequestToolEntry
id toolId
name
range toolPartrange
kind
value
variableData IChatRequestVariableData
variables chatRequestToolEntry
session requestModelsession ChatModel
message
parts requestModelmessagepartspart
part
newToolPart
part
text requestModelmessagetext
variableData variableData
timestamp Date
attempt requestModelattempt
modeInfo requestModelmodeInfo
confirmation requestModelconfirmation
locationData requestModellocationData
attachedContext chatRequestToolEntry
isCompleteAddedRequest requestModelisCompleteAddedRequest
instantiationService IInstantiationService toolData IToolData IDisposable
instantiationServiceaccessor
toolService accessorILanguageModelToolsService
tool instantiationServiceSetupTool
toolServicetoolData tool
invocation IToolInvocation countTokens CountTokensCallback progress ToolProgress token CancellationToken IToolResult
result IToolResult
content
kind
value
result
prepareToolInvocationparameters token CancellationToken IPreparedToolInvocation
instantiationService IInstantiationService context ChatEntitlementContext controller LazyChatSetupController IDisposable
instantiationServiceaccessor
languageFeaturesService accessorILanguageFeaturesService
provider instantiationServiceAINewSymbolNamesProvider context controller
languageFeaturesServicenewSymbolNamesProvider provider
context ChatEntitlementContext
controller LazyChatSetupController
instantiationService IInstantiationService
chatEntitlementService IChatEntitlementService
model ITextModel range IRange triggerKind NewSymbolNameTriggerKind token CancellationToken NewSymbolName
instantiationServiceaccessor
ChatSetupinstantiationService context controller
forceAnonymous chatEntitlementServiceanonymous ChatSetupAnonymousEnabledWithDialog
instantiationService IInstantiationService IDisposable
instantiationServiceaccessor
languageFeaturesService accessorILanguageFeaturesService
provider instantiationServiceChatCodeActionsProvider
languageFeaturesServicecodeActionProvider provider
markerService IMarkerService
model ITextModel range Range Selection CodeActionList
actions CodeAction
generateOrModifyTitle
generateOrModifyCommand Command
range
textAtLine modelrangestartLineNumber
textAtLine
generateOrModifyTitle
generateOrModifyCommand AICodeActionsHelperrange
textInSelection modelrange
textInSelection
generateOrModifyTitle
generateOrModifyCommand AICodeActionsHelperrange
generateOrModifyTitle generateOrModifyCommand
actions
kind CodeActionKindRefactorRewritevalue
isAI
title generateOrModifyTitle
command generateOrModifyCommand
markers AICodeActionsHelpermarkerService modeluri range
markerslength
actions
kind CodeActionKindQuickFixvalue
isAI
diagnostics markers
title
command AICodeActionsHelpermarkers range
actions
kind CodeActionKindQuickFixvalue
isAI
diagnostics markers
title
command AICodeActionsHelpermarkers
actions
markerService IMarkerService resource range Range Selection IMarker
markerService
resource severities MarkerSeverityError MarkerSeverityWarning
marker rangestartLineNumber markerendLineNumber rangeendLineNumber markerstartLineNumber
range Range Command
id
title
arguments
initialSelection range
initialRange range
position range
satisfies initialSelection ISelection initialRange IRange position IPosition
range Range Command
id
title
arguments
initialSelection range
initialRange range
position range
satisfies initialSelection ISelection initialRange IRange position IPosition
range Range ISelection
rangestartLineNumber rangestartColumn rangeendLineNumber rangeendColumn
markers IMarker Command
id
title
arguments
query
isPartialQuery
satisfies query isPartialQuery
markers IMarker range Range Command
id
title
arguments
message
initialSelection range
initialRange range
position range
satisfies message initialSelection ISelection initialRange IRange position IPosition