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 { ResponsePartKind, type ResponsePart, type Turn } from './state/sessionState.js';
/**
* Options for {@link buildConversationContext}.
*/
export interface IConversationContextOptions {
/**
* Soft upper bound, in characters, for the conversation portion of the
* produced context string. When the conversation exceeds this budget its
* middle is removed (marked with `...`) via {@link truncateMiddle}. The
* optional {@link framing} is always preserved in full and does not count
* against this budget.
*/
readonly maxChars: number;
/**
* Optional framing text prepended to the conversation (e.g. a note that the
* conversation was branched from an earlier chat). Always preserved in full
* — only the conversation is truncated to {@link maxChars}.
*/
readonly framing?: string
parts ResponsePart
segments
part parts
partkind ResponsePartKindMarkdown
text partcontent
text
segmentstext
segments
turns Turn options IConversationContextOptions
blocks
turn turns
userText turnmessagetext
responseText turnresponseParts
userText responseText
blocksresponseText
blockslength
conversation blocks
truncatedConversation conversationlength optionsmaxChars conversation optionsmaxChars conversation
text maxChars
textlength maxChars
text
marker
maxChars markerlength
text maxChars
keep maxChars markerlength
head Mathkeep
tail keep head
turns Turn turnId
i turnslength i i
turn turnsi
turnid
turnid