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 { MessageAttachmentKind, ResponsePartKind, type MessageChatAttachment, type SimpleMessageAttachment, type Turn } from './protocol/state.js';
import { SessionServerToolName } from '../serverToolNames.js';
/**
* Maximum number of characters of the bounded transcript inlined as a tail
* excerpt in a chat attachment's model representation. The transcript itself is
* unbounded, so instead of inlining it whole we point the model at the source
* chat (via an open link + the `get_session_context` tool) and only include the
* most recent slice as a taste of the content.
*/
export const MAX_CHAT_ATTACHMENT_EXCERPT_CHARS = 1000;
/**
* Returns the referenced chat's turns bounded through {@link endTurn}, inclusive.
*
* When {@link endTurn} is omitted, every turn is returned (the caller lets the
* host pin the latest turn implicitly). When {@link endTurn is provided but is
* not a retained turn, this throws.
*/
turns Turn endTurn Turn
endTurn
turns
index turnst tid endTurn
partkind ResponsePartKindMarkdown partcontent
assistantText
blocks
blocks
text maxChars
textlength maxChars text texttextlength maxChars
label resource openLink transcript
intro openLink
transcript
transcriptlength
excerpt transcript
attachment MessageChatAttachment sourceTurns Turn openLink SimpleMessageAttachment
bounded sourceTurns attachmentendTurn
transcript bounded
modelRepresentation attachmentlabel attachmentresource openLink transcript
type MessageAttachmentKindSimple
label attachmentlabel
modelRepresentation
attachmentrange range attachmentrange