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 { randomUUID } from 'crypto';
import type { CancellationToken, ChatRequest, ChatResponseStream, LanguageModelToolInformation, Progress } from 'vscode';
import { IAuthenticationChatUpgradeService } from '../../../platform/authentication/common/authenticationUpgrade';
import { IChatHookService } from '../../../platform/chat/common/chatHookService';
import { ChatLocation, ChatResponse } from '../../../platform/chat/common/commonTypes';
import { ISessionTranscriptService } from '../../../platform/chat/common/sessionTranscriptService';
import { ConfigKey IConfigurationService
IEndpointProvider
ProxyAgenticEndpoint
IFileSystemService
IGitService
ILogService
IChatEndpoint
IOTelService
IRequestLogger
IExperimentationService
ITelemetryService
ITerminalService
IInstantiationService
ChatResponseProgressPart ChatResponseReferencePart LanguageModelToolResult2
IToolCallingLoopOptions ToolCallingLoop ToolCallingLoopFetchOptions
ExecutionSubagentPrompt
PromptRenderer
ToolResultMetadata
ToolName
IToolsService
IBuildPromptContext
IBuildPromptResult
request ChatRequest
location ChatLocation
promptText
subAgentInvocationId
parentToolCallId
parentHeaderRequestId
parentModelCallId
topLevelTurnId
command
termId
reason
timeoutMs
_backgroundCommands IBackgroundCommand
_seenBackgroundCallIds
_endpoint IChatEndpoint
IBackgroundCommand
_backgroundCommands
options IExecutionSubagentToolCallingLoopOptions
instantiationService IInstantiationService
logService ILogService
requestLogger IRequestLogger
endpointProvider IEndpointProvider
toolsService IToolsService
authenticationChatUpgradeService IAuthenticationChatUpgradeService
telemetryService ITelemetryService
configurationService IConfigurationService
experimentationService IExperimentationService
chatHookService IChatHookService
sessionTranscriptService ISessionTranscriptService
fileSystemService IFileSystemService
otelService IOTelService
gitService IGitService
terminalService ITerminalService
options instantiationService endpointProvider logService requestLogger authenticationChatUpgradeService telemetryService configurationService experimentationService chatHookService sessionTranscriptService fileSystemService otelService gitService
override availableTools LanguageModelToolInformation outputStream ChatResponseStream IBuildPromptContext
context availableTools outputStream
contexttools
contexttools
contexttools
toolReferences
subAgentInvocationId optionssubAgentInvocationId
subAgentName
contextquery optionspromptText
context
IChatEndpoint
_endpoint
name
IChatEndpoint
modelName _configurationServiceConfigKeyAdvancedExecutionSubagentModel _experimentationService
useAgenticProxy _configurationServiceConfigKeyAdvancedExecutionSubagentUseAgenticProxy _experimentationService
shellType terminalServiceterminalShellType
useAgenticProxy
shellType shellType
endpointProvideroptionsrequest
agenticProxyModel modelName ExecutionSubagentToolCallingLoop
instantiationServiceProxyAgenticEndpoint agenticProxyModel
modelName
allEndpoints endpointProvider
endpoint allEndpointse emodel modelName
endpointProvidermodelName
endpointsupportsToolCalls
endpoint
endpointProvideroptionsrequest
error
endpointProvideroptionsrequest
endpointProvideroptionsrequest
buildpromptContext IBuildPromptContext progress ProgressChatResponseReferencePart ChatResponseProgressPart token CancellationToken IBuildPromptResult
endpoint
maxExecutionTurns _configurationServiceConfigKeyAdvancedExecutionSubagentToolCallLimit _experimentationService
hasBackgroundCommand PromptRenderer
instantiationService
endpoint
ExecutionSubagentPrompt
promptContext buildpromptContext
maxExecutionTurns
hasBackgroundCommand
progress token
hadBackgroundBefore _backgroundCommandslength
result hadBackgroundBefore
buildpromptContext result
hadBackgroundBefore _backgroundCommandslength
cache buildpromptContexttoolCallResults
cache
meta resultmetadataToolResultMetadata
cachemetatoolCallId metaresult
result
result
buildpromptContext IBuildPromptContext result IBuildPromptResult
lastRound buildpromptContexttoolCallRounds
lastRound
command
invokedAsAsync
terminalCallsById
tc lastRoundtoolCalls
tcname ToolNameCoreRunInTerminal _seenBackgroundCallIdstcid
command
invokedAsAsync
args tcarguments command mode isBackground
argscommand
command argscommand
invokedAsAsync argsmode argsisBackground
terminalCallsByIdtcid command invokedAsAsync
terminalCallsByIdsize
meta resultmetadataToolResultMetadata
call terminalCallsByIdmetatoolCallId
call
termId metaresult
termId
timeoutMs metaresult
timeoutMs
_seenBackgroundCallIdsmetatoolCallId
_backgroundCommands
command callcommand
termId
reason
timeoutMs
metaresult
_seenBackgroundCallIdsmetatoolCallId
_backgroundCommands
command callcommand
termId
reason
callinvokedAsAsync
_seenBackgroundCallIdsmetatoolCallId
_backgroundCommands
command callcommand
termId
reason
toolResult LanguageModelToolResult2
toolResult
metadata toolResult toolMetadata toolMetadata
metadata metadata
m metadata id
mid mid
toolResult LanguageModelToolResult2
toolResult
metadata toolResult toolMetadata toolMetadata
metadata metadata
m metadata timedOut timeoutMs
mtimedOut
mtimeoutMs mtimeoutMs
toolResult LanguageModelToolResult2
toolResult
metadata toolResult toolMetadata toolMetadata
metadata metadata
m metadata inputNeeded
minputNeeded
LanguageModelToolInformation
_backgroundCommandslength
endpoint
allTools toolsServiceoptionsrequest endpoint
allowedExecutionTools
ToolNameCoreRunInTerminal
allToolstool allowedExecutionToolstoolname ToolName
messages finishedCb requestOptions modelCapabilities iterationNumber ToolCallingLoopFetchOptions token CancellationToken ChatResponse
endpoint
endpoint
debugName ExecutionSubagentToolCallingLoop
messages
finishedCb
location optionslocation
modelCapabilities modelCapabilities reasoningEffort
requestOptions
requestOptions
temperature
userInitiatedRequest
interactionTypeOverride
turnId optionsrequestid
topLevelTurnId optionstopLevelTurnId
telemetryProperties
requestId optionssubAgentInvocationId
messageId
messageSource
subType
conversationId optionsconversationsessionId
parentToolCallId optionsparentToolCallId
parentRequestId optionsrequestid
parentHeaderRequestId optionsparentHeaderRequestId
parentModelCallId optionsparentModelCallId
iterationNumber iterationNumber
token