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 * as xtabPromptOptions from '../../../platform/inlineEdits/common/dataTypes/xtabPromptOptions';
import { ILogger } from '../../../platform/log/common/logService';
export interface ParseEditIntentResult {
editIntent: xtabPromptOptions.EditIntent;
remainingLinesStream: AsyncIterable<string>;
parseError?: string;
}
/**
* Mode for parsing edit intent from the model response.
*/
export enum EditIntentParseMode {
/** Parse using XML-style tags: <|edit_intent|>value<|/edit_intent|> */
Tags = 'tags',
/** Parse using short names on the first line: N|L|M|H */
ShortName = 'shortName'
}
/**
* Parses the edit_intent from the first line of the response stream.
* The edit_intent MUST be on the first line, otherwise it's treated as not provided.
* Returns the parsed EditIntent and a new stream with the remaining content.
*
* Supports two modes:
* - Tags (default): <|edit_intent|>low|medium|high|no_edit<|/edit_intent|>
* - ShortName: N|L|M|H on the first line
*
* The stream of lines from the model response
* Logger for tracing
* The parse mode (Tags or ShortName), defaults to Tags
*/
linesStream AsyncIterable
tracer ILogger
mode EditIntentParseMode EditIntentParseModeTags
ParseEditIntentResult
mode EditIntentParseModeShortName
linesStream tracer
linesStream tracer
linesStream AsyncIterable
tracer ILogger
ParseEditIntentResult
editIntent xtabPromptOptionsEditIntent xtabPromptOptionsEditIntentHigh
parseError
linesIter linesStreamSymbolasyncIterator
firstLineResult linesIter
firstLineResultdone
parseError
tracer
remainingLinesStream AsyncIterable
editIntent remainingLinesStream parseError
firstLine firstLineResultvalue
parsedIntent xtabPromptOptionsEditIntentfirstLine
parsedIntent
editIntent parsedIntent
tracer
remainingLinesStream AsyncIterable
next linesIter
nextdone
nextvalue
next linesIter
editIntent remainingLinesStream parseError
parseError
tracer
remainingLinesStream AsyncIterable
firstLineResultvalue
next linesIter
nextdone
nextvalue
next linesIter
editIntent remainingLinesStream parseError
linesStream AsyncIterable
tracer ILogger
ParseEditIntentResult
editIntent xtabPromptOptionsEditIntent xtabPromptOptionsEditIntentHigh
parseError
linesIter linesStreamSymbolasyncIterator
firstLineResult linesIter
firstLineResultdone
parseError
tracer
remainingLinesStream AsyncIterable
editIntent remainingLinesStream parseError
firstLine firstLineResultvalue
startIdx firstLine
endIdx firstLine
startIdx endIdx endIdx startIdx
intentValue firstLine
startIdx length
endIdx
knownIntentValues
knownIntentValuesintentValue
parseError
tracer
editIntent xtabPromptOptionsEditIntentintentValue
tracer
afterEndTag firstLineendIdx length
remainingLinesStream AsyncIterable
afterEndTag
afterEndTag
next linesIter
nextdone
nextvalue
next linesIter
editIntent remainingLinesStream parseError
startIdx endIdx
parseError
startIdx endIdx
parseError
parseError
tracer
remainingLinesStream AsyncIterable
firstLine
next linesIter
nextdone
nextvalue
next linesIter
editIntent remainingLinesStream parseError