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 assert from 'assert';
import type { CallToolResult } from '@modelcontextprotocol/sdk/types.js';
import type { McpSdkServerConfigWithInstance } from '@anthropic-ai/claude-agent-sdk';
import { ensureNoDisposablesAreLeakedInTestSuite } from '../../../../base/test/common/utils.js';
import type { IAgentServerToolHost } from '../../common/agentServerTools.js';
import { buildChatUri, type ToolDefinition } from '../../common/state/sessionState.js';
import type { IClaudeAgentSdkService } from
buildServerToolMcpServer
extractServerToolName
serverToolAllowList
name
args Record extra CallToolResult
sdk IClaudeAgentSdkService recorded RecordedTool
recorded RecordedTool
sdk
options name
name optionsname instance __fake McpSdkServerConfigWithInstance
name _desc _schema args Record extra CallToolResult
t name handler
recordedt
t ReturnTypeIClaudeAgentSdkService
IClaudeAgentSdkService
sdk recorded
fakeToolDefinitions ToolDefinition
name description inputSchema type properties
name description inputSchema type properties
definitions ToolDefinition fakeToolDefinitions
toolNames fakeToolDefinitionsdef defname
executions chatUri toolName rawArgs
result
error Error
ToolDefinition definitions
_toolName
_sessionUri _toolName
chatUri toolName rawArgs
executions chatUri toolName rawArgs
error
error
result
chatUri
sdk recorded
host
server host chatUri sdk
assert
serverName servername
toolNames recordedt tname
serverName
toolNames hosttoolNames
sdk recorded
host
hostresult
host chatUri sdk
handler recordedt tname handler
result foo
assert
executions hostexecutions
result
executions chatUri toolName rawArgs foo
result content type text
sdk recorded
host
hosterror
host chatUri sdk
result recorded
assertresult content type text isError
assert
assert
hostTool
otherMcpTool
bareTool
hostTool
otherMcpTool
bareTool