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 { McpSdkServerConfigWithInstance } from '@anthropic-ai/claude-agent-sdk';
import type { CallToolResult } from '@modelcontextprotocol/sdk/types.js';
import type { ToolDefinition } from '../../../common/state/protocol/state.js';
import type { IClaudeAgentSdkService } from '../claudeAgentSdkService.js';
import { jsonSchemaToZodRawShape } from './claudeJsonSchemaToZod.js';
/**
* Anthropic SDK contract: the in-process MCP `tool()` handler receives a
* `RequestHandlerExtra` whose `_meta` carries the originating
* `tool_use_id` under this namespaced key. Verified empirically against
* `@anthropic-ai/claude-agent-sdk@0.2.128`. If a future SDK version drops
* or renames this field, the handler returns an error result instead of
* silently deadlocking — see {@link extractToolUseId}.
*/
const
snapshot ToolDefinition
toolUseId CallToolResult
sdk IClaudeAgentSdkService
McpSdkServerConfigWithInstance
tools snapshotdef sdk
defname
defdescription
definputSchema
_args extra
toolUseId extra
toolUseId
content
type
text
isError
toolUseId
sdk name tools
extra
extra extra
meta extra _meta _meta
meta meta
value meta Record
value value
toolName
prefix
toolNameprefix toolNameprefixlength toolName
toolName
toolName