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 type * as vscode from 'vscode';
import { raceCancellation } from '../../../base/common/async.js';
import { CancellationToken } from '../../../base/common/cancellation.js';
import { CancellationError } from '../../../base/common/errors.js';
import { IDisposable, toDisposable } from '../../../base/common/lifecycle.js';
import { revive } from '../../../base/common/marshalling.js';
import { generateUuid } from '../../../base/common/uuid.js';
import { IExtensionDescription
IPreparedToolInvocation IStreamedToolInvocation isToolInvocationContext IToolInvocation IToolInvocationContext IToolInvocationPreparationContext IToolInvocationStreamContext IToolResult ToolInvocationPresentation
computeCombinationKey
ExtensionEditToolId InternalEditToolId
InternalFetchWebPageToolId
SearchExtensionsToolId
checkProposedApiEnabled isProposedApiEnabled
Dto SerializableObjectWithBuffers
ExtHostLanguageModelToolsShape IMainContext IToolDataDto IToolDefinitionDto MainContext MainThreadLanguageModelToolsShape
ExtHostLanguageModels
typeConvert
_data IToolDataDto
_apiObject vscodeLanguageModelToolInformation
_apiObjectWithChatParticipantAdditions vscodeLanguageModelToolInformation
data IToolDataDto
_data data
newData IToolDataDto
_data newData
_apiObject
_apiObjectWithChatParticipantAdditions
IToolDataDto
_data
vscodeLanguageModelToolInformation
_apiObject
_apiObject Object
name _dataid
description _datamodelDescription
inputSchema _datainputSchema
fullReferenceName _datafullReferenceName
tags _datatags
source
_apiObject
_apiObjectWithChatParticipantAdditions
_apiObjectWithChatParticipantAdditions Object
name _dataid
description _datamodelDescription
inputSchema _datainputSchema
tags _datatags
source typeConvertLanguageModelToolSource_datasource
fullReferenceName _datafullReferenceName
_apiObjectWithChatParticipantAdditions
_registeredTools
_proxy MainThreadLanguageModelToolsShape
_tokenCountFuncs Thenable
_allTools
mainContext IMainContext
_languageModels ExtHostLanguageModels
_proxy mainContextMainContextMainThreadLanguageModelTools
_proxytools
tool tools
_allToolstoolid tool
callId input token CancellationToken
fn _tokenCountFuncscallId
fn
input token
extension IExtensionDescription toolIdOrInfo vscodeLanguageModelToolInformation options vscodeLanguageModelToolInvocationOptions token CancellationToken vscodeLanguageModelToolResult
toolId toolIdOrInfo toolIdOrInfo toolIdOrInfoname
callId
optionstokenizationOptions
_tokenCountFuncscallId optionstokenizationOptionscountTokens
optionstoolInvocationToken optionstoolInvocationToken
toolId InternalEditToolId toolId ExtensionEditToolId extension
result _proxy
toolId
callId
parameters optionsinput
tokenBudget optionstokenizationOptionstokenBudget
context optionstoolInvocationToken IToolInvocationContext
chatRequestId extension optionschatRequestId
chatInteractionId extension optionschatInteractionId
subAgentInvocationId extension optionssubAgentInvocationId
chatStreamToolCallId extension optionschatStreamToolCallId
preToolUseResult extension optionspreToolUseResult
traceparent extension optionstraceparent
tracestate extension optionstracestate
token
dto DtoIToolResult result resultvalue result
typeConvertLanguageModelToolResultdto
_tokenCountFuncscallId
tools IToolDataDto
oldTools _allTools
tool tools
oldToolstoolid
existing _allToolstoolid
existing
existingtool
_allToolstoolid tool
id oldTools
_allToolsid
extension IExtensionDescription vscodeLanguageModelToolInformation
hasParticipantAdditions extension
_allTools
tool hasParticipantAdditions toolapiObjectWithChatParticipantAdditions toolapiObject
tool
toolname
InternalEditToolId
ExtensionEditToolId
InternalFetchWebPageToolId
SearchExtensionsToolId
extension
dto DtoIToolInvocation token CancellationToken DtoIToolResult SerializableObjectWithBuffersDtoIToolResult
item _registeredToolsdtotoolId
item
options vscodeLanguageModelToolInvocationOptionsObject
input dtoparameters
toolInvocationToken dtocontext vscodeChatParticipantToolToken
itemextension
optionschatRequestId dtochatRequestId
optionschatInteractionId dtochatInteractionId
optionschatSessionResource dtocontextsessionResource
optionsworkingDirectory dtocontextworkingDirectory
optionssubAgentInvocationId dtosubAgentInvocationId
optionstraceparent dtotraceparent
optionstracestate dtotracestate
itemextension dtomodelId
optionsmodel dtomodelId itemextension
itemextension dtochatStreamToolCallId
optionschatStreamToolCallId dtochatStreamToolCallId
dtotokenBudget
optionstokenizationOptions
tokenBudget dtotokenBudget
countTokens _tokenCountFuncsdtocallId value token CancellationTokenNone
_proxydtocallId value token
progress vscodeProgress message vscodeMarkdownString increment
itemextension
lastProgress
progress
value
valueincrement
lastProgress lastProgress valueincrement
_proxydtocallId
message typeConvertMarkdownStringvaluemessage
progress lastProgress lastProgress
extensionResult itemtoolinvoke options token progress token
extensionResult
typeConvertLanguageModelToolResultextensionResult itemextension
modelId extension IExtensionDescription vscodeLanguageModelChat
model vscodeLanguageModelChat
modelId
model _languageModelsextension modelId
model
model _languageModelsextension
model
model
toolId context IToolInvocationStreamContext token CancellationToken IStreamedToolInvocation
item _registeredToolstoolId
item
itemtoolhandleToolStream
itemextension
options vscodeLanguageModelToolInvocationStreamOptions
rawInput contextrawInput
chatRequestId contextchatRequestId
chatSessionResource contextchatSessionResource
chatInteractionId contextchatInteractionId
result itemtooloptions token
result
invocationMessage typeConvertMarkdownStringresultinvocationMessage
toolId context IToolInvocationPreparationContext token CancellationToken IPreparedToolInvocation
item _registeredToolstoolId
item
options vscodeLanguageModelToolInvocationPrepareOptions
input contextparameters
chatRequestId contextchatRequestId
chatSessionResource contextchatSessionResource
chatInteractionId contextchatInteractionId
workingDirectory contextworkingDirectory
forceConfirmationReason contextforceConfirmationReason
contextforceConfirmationReason
itemextension
itemtoolprepareInvocation
result itemtooloptions token
result
resultpastTenseMessage resultpresentation
itemextension
resultconfirmationMessagesapproveCombination
itemextension
approveCombination resultconfirmationMessagesapproveCombination
approveCombinationLabel approveCombination
typeConvertMarkdownStringapproveCombinationmessage
approveCombinationKey approveCombinationLabel
toolId contextparameters
confirmationMessages resultconfirmationMessages
title resultconfirmationMessagestitle resultconfirmationMessagestitle typeConvertMarkdownStringresultconfirmationMessagestitle
message resultconfirmationMessagesmessage resultconfirmationMessagesmessage typeConvertMarkdownStringresultconfirmationMessagesmessage
approveCombination approveCombinationLabel approveCombinationKey label approveCombinationLabel key approveCombinationKey arguments approveCombinationarguments
invocationMessage typeConvertMarkdownStringresultinvocationMessage
pastTenseMessage typeConvertMarkdownStringresultpastTenseMessage
presentation resultpresentation ToolInvocationPresentation
extension IExtensionDescription id tool vscodeLanguageModelTool IDisposable
_registeredToolsid extension tool
_proxyid toolhandleToolStream
_registeredToolsid
_proxyid
extension IExtensionDescription definition vscodeLanguageModelToolDefinition tool vscodeLanguageModelTool IDisposable
extension
id definitionname
dto IToolDefinitionDto
id
displayName definitiondisplayName
toolReferenceName definitiontoolReferenceName
userDescription definitionuserDescription
modelDescription definitiondescription
inputSchema definitioninputSchema object
source
type
label extensiondisplayName extensionname
extensionId extensionidentifier
icon typeConvertIconPathdefinitionicon
models definitionmodels
toolSet definitiontoolSet
tags definitiontags
fullReferenceName
_registeredToolsid extension tool
_proxyextensionidentifier dto toolhandleToolStream
_registeredToolsid
_proxyid