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 { ensureNoDisposablesAreLeakedInTestSuite } from '../../../../base/test/common/utils.js';
import { MessageKind, ResponsePartKind, ToolCallConfirmationReason, ToolCallStatus, ToolResultContentType, type Turn } from '../../common/state/protocol/state.js';
import { scanTranscriptForAgentIds, SUBAGENT_ID_SUFFIX_REGEX, SubagentRegistry, SubagentSpawn } from '../../node/claude/claudeSubagentRegistry.js';
function makeAgentToolCallTurn(toolCallId: string, opts: { suffixText?: string; toolName status ToolCallStatus Turn
id toolCallId
message text origin kind MessageKindUser
responseParts
kind ResponsePartKindToolCall
toolCall
toolCallId
toolName optstoolName
displayName
status optsstatus ToolCallStatusCompleted
confirmed ToolCallConfirmationReasonNotNeeded
invocationMessage
success
pastTenseMessage
content optssuffixText type ToolResultContentTypeText text optssuffixText
state Turn
startedAt
duration
usage
Turn
spawn
beforeSet spawnagentId
spawn
spawn
afterSet spawnagentId
spawnsubagentType
spawndescription
spawnbackground
announce1 spawn
announce2 spawn
complete1 spawn
complete2 spawn
assert
toolUseId spawntoolUseId
beforeSet
afterSet
subagentType spawnsubagentType
description spawndescription
background spawnbackground
announce1
announce2
complete1
complete2
toolUseId
beforeSet
afterSet
subagentType
description
background
announce1
announce2
complete1
complete2
disposables
SubagentRegistry
disposables
registry
first registry agentId subagentType description
second registry agentId subagentType description
assert
sameRef first second
retrieved registry first
agentId firstagentId
subagentType firstsubagentType
description firstdescription
sameRef
retrieved
agentId
subagentType
description
registry
registry
registry
registry
registry
registry
registry
assert
parentA registry
parentB registrytoolUseId
innerA1Parent registry
innerA2Parent registry
innerB1Parent registrytoolUseId
parentA
parentB
innerA1Parent
innerA2Parent
innerB1Parent
registry
registry
bg registry
bgbackground
registry
registry
registry
drained registry
assert
drainedIds draineds stoolUseId
survivedFg1 registry
survivedFg2 registry
survivedBg registrytoolUseId
fgInnerEvicted registry
bgInnerSurvived registrytoolUseId
drainedIds
survivedFg1
survivedFg2
survivedBg
fgInnerEvicted
bgInnerSurvived
registry
transcript Turn
suffixText
suffixText
suffixText
suffixText toolName
registrytranscript
registrytranscript
assert
a registryagentId
b registry
c registryagentId
d registry
a
b
c
d
registry
registry agentId
registry
registry
assert
spawn registry
innerParent registry
spawn
innerParent
matches
nonMatches
assert
matches matchest t
nonMatches nonMatchest t
matches
nonMatches
transcript Turn
suffixText
suffixText status ToolCallStatusStreaming
suffixText
suffixText toolName
pairs transcript
assertpairs