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 { assertNever } from '../../../util/vs/base/common/assert';
import { IResponseDelta, ResponsePart, ResponsePartKind } from './fetch';
/**
* Converts a ResponsePart to an IResponseDelta.
* For non-content parts, the text is set to an empty string.
* @param part The ResponsePart to convert
*/
export const toResponseDelta = (part: ResponsePart): IResponseDelta => {
switch (part.kind) {
case ResponsePartKind.ContentDelta:
return { text: part.delta };
case ResponsePartKind.Content:
return text partcontent logprobs partlogProbs
ResponsePartKindAnnotation
text
codeVulnAnnotations partcodeVulnAnnotations
ipCitations partipCitations
copilotReferences partcopilotReferences
ResponsePartKindConfirmation
text
copilotConfirmation part
ResponsePartKindError
text
copilotErrors parterror
ResponsePartKindToolCallDelta
text
copilotToolCalls
name partname
arguments partdelta
id partpartId
ResponsePartKindToolCall
text
copilotToolCalls
name partname
arguments partarguments
id partid
ResponsePartKindThinkingDelta
text
ResponsePartKindThinking
text
part
staticContentUUID
delta IResponseDelta IterableResponsePart
deltatext deltatextlength
kind ResponsePartKindContentDelta
partId staticContentUUID
delta deltatext
deltacodeVulnAnnotationslength deltaipCitationslength deltacopilotReferenceslength
kind ResponsePartKindAnnotation
codeVulnAnnotations deltacodeVulnAnnotations
ipCitations deltaipCitations
copilotReferences deltacopilotReferences
deltacopilotErrors deltacopilotErrorslength
kind ResponsePartKindError
error deltacopilotErrors
deltacopilotToolCalls deltacopilotToolCallslength
toolCall deltacopilotToolCalls
kind ResponsePartKindToolCall
partId toolCallid
name toolCallname
arguments toolCallarguments
id toolCallid
deltathinking
kind ResponsePartKindThinkingDelta
partId
delta deltathinking
deltacopilotConfirmation
kind ResponsePartKindConfirmation
title deltacopilotConfirmationtitle
message deltacopilotConfirmationmessage
confirmation deltacopilotConfirmationconfirmation