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 { SDKMessage } from '@anthropic-ai/claude-agent-sdk';
import type { URI } from '../../../../base/common/uri.js';
import type { Mutable } from '../../../../base/common/types.js';
import { toToolCallMeta, type IToolCallMeta } from '../../common/meta/agentToolCallMeta.js';
import type { AgentSignal, IAgentSubagentStartedSignal } from '../../common/agent.js';
import { ActionType } from '../../common/state/sessionActions.js';
import ResponsePartKind ToolCallConfirmationReason ToolCallContributorKind
ClaudeMapperState
buildClaudeToolCallMeta buildClaudeToolMeta getClaudeInvocationMessage getClaudeToolDisplayName getClaudeToolInputString
hasClientToolNamePrefix stripClientToolNamePrefix
ReadonlySet
signals AgentSignal
chat
parentToolUseId
registry SubagentRegistry
AgentSignal
parentToolUseId
signals
tagged AgentSignal signalss
skind
s parentToolCallId parentToolUseId
skind
s parentToolCallId parentToolUseId
skind
s parentToolCallId parentToolUseId
s
spawn registryparentToolUseId
spawn spawn
tagged
started IAgentSubagentStartedSignal
kind
chat
toolCallId parentToolUseId
agentName spawnsubagentType
agentDisplayName spawnsubagentType
agentDescription spawndescription
taskDescription spawndescription
taskPrompt spawnprompt
parentToolCallId registryparentToolUseIdtoolUseId
started tagged
message ExtractSDKMessage type
chat
registry SubagentRegistry
AgentSignal
sub message subtype subtype
sub
toolUseId message tool_use_id tool_use_id
spawn toolUseId registrytoolUseId
spawn
spawnbackground
sub
m message tool_use_id status
mtool_use_id
status mstatus
status status status
spawn registrymtool_use_id
spawn spawn
toolUseId mtool_use_id
registrytoolUseId
kind chat toolCallId toolUseId
block ExtractSDKAssistantMessage type
chat
turnId
registry SubagentRegistry
AgentSignal
input blockinput Record
description inputdescription inputdescription
agentName inputsubagent_type inputsubagent_type
prompt inputprompt inputprompt
inputJson blockinput blockinput
registryblockid subagentType agentName description prompt
meta MutableIToolCallMeta blockname
metatoolKind
metatoolKind
description
metasubagentDescription description
agentName
metasubagentAgentName agentName
kind
resource chat
action
type ActionTypeChatToolCallReady
turnId
toolCallId blockid
invocationMessage blockname blockname blockinput
inputJson toolInput inputJson
confirmed ToolCallConfirmationReasonNotNeeded
_meta meta
message ExtractSDKMessage type
chat
turnId
state ClaudeMapperState
parentToolUseId
registry SubagentRegistry
clientToolOwner toolName
AgentSignal
messageId messagemessageid
signals AgentSignal
index index messagemessagecontentlength index
block messagemessagecontentindex
blocktype
signals
kind
resource chat
action
type ActionTypeChatResponsePart
turnId
part
kind ResponsePartKindMarkdown
id
content blocktext
blocktype
signals
kind
resource chat
action
type ActionTypeChatResponsePart
turnId
part
kind ResponsePartKindReasoning
id
content blockthinking
blocktype
toolName blockname
isClientTool blockname
clientId isClientTool clientToolOwnertoolName
stateindex blockid toolName turnId isClientTool
statetoolCallsblockid blockinput
registryblockid parentToolUseId
displayName isClientTool toolName toolName
meta isClientTool toolName
info statetoolCallsblockidinfo
toolInputStr infotoolInput toolName blockinput
signals
kind
resource chat
action
type ActionTypeChatToolCallStart
turnId
toolCallId blockid
toolName
displayName
clientId contributor kind ToolCallContributorKindClient clientId
meta _meta meta
signals
kind
resource chat
action
type ActionTypeChatToolCallReady
turnId
toolCallId blockid
invocationMessage isClientTool displayName toolName displayName blockinput
toolInputStr toolInput toolInputStr
confirmed ToolCallConfirmationReasonNotNeeded
signals
value
value