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 { afterEach, beforeEach, describe, expect, it } from 'vitest';
import type { LanguageModelToolInformation } from 'vscode';
import { HARD_TOOL_LIMIT } from '../../../../../platform/configuration/common/configurationService';
import { Embedding } from '../../../../../platform/embeddings/common/embeddingsComputer';
import { ITestingServicesAccessor } from '../../../../../platform/test/node/services';
import { CancellationToken } from '../../../../../util/vs/base/common/cancellation';
import { IInstantiationService
LanguageModelToolMCPSource
createExtensionUnitTestingServices
IToolEmbeddingsComputer
VirtualTool
VirtualToolGrouper
ISummarizedToolCategory
_serviceBrand
available
computeGroupingCallCount
tools LanguageModelToolInformation limit LanguageModelToolInformation
available
_queryEmbedding Embedding _availableTools LanguageModelToolInformation _limit _token CancellationToken
_query _availableTools LanguageModelToolInformation _limit _token CancellationToken
tools LanguageModelToolInformation limit _token CancellationToken LanguageModelToolInformation
computeGroupingCallCount
tools limit
override embeddingGroups LanguageModelToolInformation _token CancellationToken groups ISummarizedToolCategory missed
groups embeddingGroupstools index
name
summary
tools
missed
label LanguageModelToolMCPSource
source LanguageModelToolMCPSource ObjectLanguageModelToolMCPSourceprototype
Objectsource
label value label enumerable
name value label enumerable
source
name source LanguageModelToolMCPSource LanguageModelToolInformation
name
description
inputSchema
source
tags
accessor ITestingServicesAccessor
embeddingsComputer TestToolEmbeddingsComputer
services
embeddingsComputer
servicesIToolEmbeddingsComputer embeddingsComputer
accessor services
accessor
builtInTools length _ index
mcpToolCounts
mcpTools mcpToolCountscount serverIndex
source
length count _ toolIndex source
builtInTools mcpTools
builtInTools LanguageModelToolInformation mcpTools LanguageModelToolInformation
root wasExpandedByDefault
rootisExpanded
grouper accessorIInstantiationServiceTestVirtualToolGrouper
grouper root builtInTools mcpTools CancellationTokenNone
root
builtInTools mcpTools
root builtInTools mcpTools
requestTools root
input builtIn builtInToolslength mcp mcpToolslength
output
builtIn requestToolstool toolnamelength
mcp requestToolstool toolnamelength
virtualMcpGroups requestToolstool toolnamelength
reachableMcp mcpToolstool roottoolnamelength
totalRequestTools requestToolslength
computeGroupingCallCount embeddingsComputercomputeGroupingCallCount
input builtIn mcp
output builtIn mcp virtualMcpGroups reachableMcp totalRequestTools
computeGroupingCallCount
embeddingsComputeravailable
embeddingsComputer tools
groups LanguageModelToolInformation
index index toolslength index
groupstoolsindex index
groups
builtInTools mcpTools
root builtInTools mcpTools
reachableMcp mcpToolstool roottoolnamelength
embeddingGroups rootcontentstool toolnamelength
fallbackGroups rootcontentstool toolnamelength
individualMcp roottool toolnamelength
totalRequestTools rootlength
reachableMcp
embeddingGroups
fallbackGroups
individualMcp
totalRequestTools
embeddingsComputeravailable
embeddingsComputer tools tools
builtInTools mcpTools
root builtInTools mcpTools
requestTools root
directMcp requestToolstool toolnamelength
fallbackGroups requestToolstool toolnamelength
reachableMcp mcpToolstool roottoolnamelength
totalRequestTools requestToolslength
directMcp
fallbackGroups
reachableMcp
totalRequestTools
builtInTools length _ index
source
mcpTools length _ index source
root builtInTools mcpTools
maximumVisibleTools
tool mcpTools
found roottoolname
group foundpath
groupisExpanded
maximumVisibleTools MathmaximumVisibleTools rootlength
item root
item item root
itemisExpanded
reachableMcp mcpToolstool roottoolnamelength
withinHardLimit maximumVisibleTools
reachableMcp
withinHardLimit