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 { CancellationToken } from '../../../../base/common/cancellation.js';
import { URI } from '../../../../base/common/uri.js';
import { vObjAny, vString as vStringValidator } from '../../../../base/common/validation.js';
import { ILogService } from '../../../log/common/log.js';
import {
ResponsePartKind,
ToolCallStatus,
ToolResultContentType,
type Turn,
} from '../../common/state/protocol/state.js';
import { IClaudeAgentSdkService } from './claudeAgentSdkService.js'
mapSessionMessagesToTurns
scanTranscriptForAgentIds
name
toolCallId ctx ISubagentLookupContext
parentUri
parentSessionId
parentTranscript Turn
token CancellationToken
name
_sdk IClaudeAgentSdkService
_logService ILogService
toolCallId ctx ISubagentLookupContext
transcript _sdk _logService ctx
transcript
transcripttoolCallId
sdk IClaudeAgentSdkService
logService ILogService
ctx ISubagentLookupContext
strategyLabel
Turn
ctxparentTranscript
ctxparentTranscript
messages sdkctxparentSessionId includeSystemMessages
messages ctxparentUri logService
err
logService
input
r input
rerror rcontent
input Record
r input
rerror rcontent rcontent
rcontent Record
name
_sdk IClaudeAgentSdkService
_logService ILogService
toolCallId ctx ISubagentLookupContext
prompt toolCallId ctx
prompt
agentIds
agentIds _sdkctxparentSessionId
err
_logService
agentId agentIds
ctxtokenisCancellationRequested
messages
messages _sdkctxparentSessionId agentId
err
_logService
firstMessage messages
firstMessage
firstMessage prompt
agentId
toolCallId ctx ISubagentLookupContext
transcript _sdk _logService ctx
transcript
transcript toolCallId
transcript Turn toolCallId
turn transcript
part turnresponseParts
partkind ResponsePartKindToolCall
state parttoolCall
statetoolCallId toolCallId
statetoolName
statestatus ToolCallStatusStreaming
inputRaw statetoolInput
inputRaw
parsed
parsed inputRaw
bag parsed
bag
bagprompt
name
_sdk IClaudeAgentSdkService
_logService ILogService
toolCallId ctx ISubagentLookupContext
transcript _sdk _logService ctx
expected transcript transcript toolCallId
expected
agentIds
agentIds _sdkctxparentSessionId
err
_logService
matchedAgentId
agentId agentIds
ctxtokenisCancellationRequested
messages _sdkctxparentSessionId agentId
messages expected
matchedAgentId
matchedAgentId agentId
err
_logService
matchedAgentId
transcript Turn toolCallId
turn transcript
part turnresponseParts
partkind ResponsePartKindToolCall parttoolCalltoolCallId toolCallId parttoolCallstatus ToolCallStatusCompleted
text parttoolCallcontent
item itemtype ToolResultContentTypeText
item itemtext
text
messages type message
index messageslength index index
message messagesindex
messagetype
inner messagemessage
inner
innercontent
innercontent
innercontent
text innercontentblock
item block
value itemtype itemtext
value value
text
text
messages type message
msg messages
msgtype
inner msgmessage
inner
content innercontent
content
content
content
block content
obj block
obj objtype
text objtext
text
text
name
strategies ISubagentLookupStrategy
toolCallId
toolCallId agentId
toolCallId
ctx ISubagentLookupContext
deps IResolveChainDeps
cached depstoolCallId
cached
cached
strategy depsstrategies
ctxtokenisCancellationRequested
hit strategytoolCallId ctx
hit
depstoolCallId hit
hit
sdk IClaudeAgentSdkService logService ILogService ISubagentLookupStrategy
sdk logService
sdk logService
sdk logService
subagentUri
parentUri
parentSessionId
toolCallId
parentRegistry SubagentRegistry
sdk IClaudeAgentSdkService
logService ILogService
token CancellationToken
Turn
agentId toolCallId
parentUri
parentSessionId
token
strategies sdk logService
id parentRegistryidagentId
id resolved parentRegistryid agentId resolved
agentId
messages
messages sdkparentSessionId agentId
err
logService
messages subagentUri logService