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 * as vscode from 'vscode';
import { ConfigKey, IConfigurationService } from '../../../platform/configuration/common/configurationService';
import { isGpt55 } from '../../../platform/endpoint/common/chatModelCapabilities';
import { ILogService } from '../../../platform/log/common/logService';
import { IChatEndpoint } from '../../../platform/networking/common/networking';
import { CopilotChatAttr, emitToolCallEvent, GenAiAttr, GenAiMetrics, GenAiOperationName, GenAiToolType, StdAttr, truncateForOTel } from '../../../platform/otel/common/index';
IOTelService SpanKind SpanStatusCode
extractToolParameters
getCurrentCapturingToken
IExperimentationService
equals arraysEqual
Iterable
Lazy
isDisposable
autorunIterableDelta
IInstantiationService
getContributedToolName getToolName mapContributedToolNamesInSchema mapContributedToolNamesInString ToolName
ICopilotTool ICopilotToolExtension modelSpecificToolApplies ToolRegistry
BaseToolsService
_serviceBrand
_copilotTools LazyMapToolName ICopilotTool
_toolExtensions LazyMapToolName ICopilotToolExtension
_connectedModelSpecificTools
override
modelSpecificTools
_contributedToolCache
input vscodeLanguageModelToolInformation
output vscodeLanguageModelToolInformation
input output
ReadonlyArrayvscodeLanguageModelToolInformation
tools vscodelmtools
_contributedToolCacheinput tools
_contributedToolCacheoutput
input tools
contributedTools input
a b
aIsBuiltin aname aname
bIsBuiltin bname bname
aIsBuiltin bIsBuiltin
anamebname
aIsBuiltin bIsBuiltin
anamebname
aIsBuiltin
tool
owned toolname
ownedalternativeDefinitiontool tool
result vscodeLanguageModelToolInformation contributedToolstool
tool
name toolname
description tooldescription
inputSchema toolinputSchema toolinputSchema
_contributedToolCacheinput input
_contributedToolCacheoutput result
result
_copilotToolsvalue
_instantiationService IInstantiationService
logService ILogService
_otelService IOTelService
_configurationService IConfigurationService
_experimentationService IExperimentationService
logService
_copilotTools ToolRegistryt ttoolName _instantiationServicet
_toolExtensions ToolRegistryt ttoolName _instantiationServicet
_connectedModelSpecificTools
reader ToolRegistrymodelSpecificToolsreader
addedValues removedValues
definition removedValues
prev _modelSpecificToolsdefinitionname
prev
prev
_modelSpecificToolsdefinitionname
definition tool addedValues
instance _instantiationServicetool
_modelSpecificToolsdefinitionname definition tool instance
v vdefinition
_connectedModelSpecificTools
_modelSpecificTools
name ToolName options vscodeLanguageModelToolInvocationOptionsObject token vscodeCancellationToken ThenablevscodeLanguageModelToolResult vscodeLanguageModelToolResult2
_onWillInvokeTool toolName name
isMcpTool name
toolInfo toolst tname name
chatSessionId chatSessionId
parentChatSessionId parentChatSessionId
debugLogLabel debugLogLabel
parentTraceContext options parentTraceContext traceId spanId parentTraceContext
span _otelService
kind SpanKind
parentTraceContext
attributes
GenAiAttr GenAiOperationName
chatSessionId GenAiAttr chatSessionId
GenAiAttr name
GenAiAttr isMcpTool GenAiToolType GenAiToolType
GenAiAttr options chatStreamToolCallId chatStreamToolCallId
toolInfodescription GenAiAttr toolInfodescription
chatSessionId CopilotChatAttr chatSessionId
chatSessionId CopilotChatAttr chatSessionId
parentChatSessionId CopilotChatAttr parentChatSessionId
debugLogLabel CopilotChatAttr debugLogLabel
optionsinput
spanGenAiAttr optionsinput _otelServiceconfigmaxAttributeSizeChars
attrs paramAttrs gatedAttrs gatedParamAttrs name optionsinput
k v ObjectparamAttrs
spank v
_otelServiceconfigcaptureContent
k v ObjectgatedParamAttrs
spank v
chatStreamToolCallId options chatStreamToolCallId chatStreamToolCallId
chatRequestId options chatRequestId chatRequestId
subAgentInvocationId options subAgentInvocationId subAgentInvocationId
name
traceCtx span
traceCtx
chatStreamToolCallId
_otelService traceCtx
_otelService traceCtx
subAgentInvocationId
_otelService traceCtx
chatRequestId
_otelService traceCtx
startTime Date
optionsWithTrace options vscodeLanguageModelToolInvocationOptionsObject traceparent tracestate
ctx span
ctx
optionsWithTracetraceparent
flags ctxtraceFlags
optionsWithTracetraceparent
optionsWithTracetracestate ctxtraceState
optionsWithTracetracestate ctxtraceState
vscodelmname options token
result
spanSpanStatusCode
parts
p resultcontent
p LanguageModelTextPart
partspvalue
p LanguageModelPromptTsxPart
partspvalue
p LanguageModelDataPart
parts
partslength
spanGenAiAttr parts _otelServiceconfigmaxAttributeSizeChars
span
durationMs Date startTime
GenAiMetrics_otelService name
GenAiMetrics_otelService name durationMs
_otelService name durationMs
result
err
spanSpanStatusCode err errmessage err
spanStdAttr err errconstructorname
spanGenAiAttr _otelServiceconfigmaxAttributeSizeChars
spanerr
span
durationMs Date startTime
GenAiMetrics_otelService name
GenAiMetrics_otelService name durationMs
_otelService name durationMs err errconstructorname
err
override name options vscodeLanguageModelToolInvocationOptionsObject endpoint IChatEndpoint token vscodeCancellationToken ThenablevscodeLanguageModelToolResult2
endpoint
toolName name
overridesTool endpoint
overridesTool toolName
toolName options token
name options token
override name ICopilotTool
_copilotToolsvaluename ToolName nametool
name ToolName vscodeLanguageModelToolInformation
toolstool toolname name
name vscodeLanguageModelToolInformation
request vscodeChatRequest endpoint IChatEndpoint filter tool vscodeLanguageModelToolInformation vscodeLanguageModelToolInformation
tools tools
toolMap toolst tname t
requestToolsByName Iterablerequesttools t enabled t t tname enabled
modelSpecificOverrides endpoint tools
modelSpecificTools
tools
tool
modelSpecificToolstoolnametooloverridesTool
toolname ToolNameGetScmChanges
endpoint
_configurationServiceConfigKeyEnableGpt55GetChangedFilesTool _experimentationService
toolname ToolNameGetScmChanges
endpointfamily
_configurationServiceConfigKeyEnableGemini3GetChangedFilesTool _experimentationService
toolname ToolNameReadFile
endpoint
_configurationServiceConfigKeyEnableGpt55ReadFileTool _experimentationService
toolPickerSelection requestToolsByNametoolname
toolPickerSelection
explicit filtertool
explicit
explicit
ref requesttoolReferences
usedTool toolMaprefname
usedTooltags
toolPickerSelection
tool
toolName toolname ToolName
override modelSpecificOverridestoolName
resultTool tool
overridetool
resultTool overrideinfo name resultToolname
owned overridetool toolName
ownedalternativeDefinition
resultTool ownedresultTool endpoint
extension _toolExtensionsvaluetoolName
extensionalternativeDefinition
resultTool extensionresultTool endpoint
resultTool
endpoint IChatEndpoint tools tools
tool tools
modelSpecificTool toolname
modelSpecificTool
modelSpecificTooldefinition endpoint
modelSpecificTooltooloverridesTool
modelSpecificTooltooloverridesTool info tool tool modelSpecificTooltool