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 { ResponseFormat } from '../../src/platform/inlineEdits/common/dataTypes/xtabPromptOptions';
import { assertNever } from '../../src/util/vs/base/common/assert';
import { splitLines } from '../../src/util/vs/base/common/strings';
import { StringText } from '../../src/util/vs/editor/common/core/text/abstractText';
export interface IGeneratedResponse {
readonly assistant: string;
/**
* Number of oracle edits dropped because they fell outside the edit window.
* Only meaningful for the `EditWindowOnly` format; `0` (or absent) otherwise.
*/
readonly droppedEditCount?: number;
}
/**
* Logger used by response generation to report non-fatal data-quality issues
* (e.g. oracle edits dropped because they fell outside the edit window).
*/
message
content
edits start endEx text
sorted editsa b b a
result content
start endEx text sorted
result result start text resultendEx
result
oracleEdits start endEx text
docContent
filePath
modifiedContent docContent oracleEdits
oldLines docContent
newLines modifiedContent
patches
maxLen MatholdLineslength newLineslength
i
i maxLen
oldLine i oldLineslength oldLinesi
newLine i newLineslength newLinesi
oldLine newLine
i
startLine i
removedLines
addedLines
i maxLen
ol i oldLineslength oldLinesi
nl i newLineslength newLinesi
ol nl
ol
removedLinesol
nl
addedLinesnl
i
removedLineslength addedLineslength
patches
removedLinesl
addedLinesl
removedLineslength
patches
removedLinesl
addedLineslength
anchorLine startLine oldLinesstartLine
patches
addedLinesl
patches
userPrompt
lines
lineCount
startTag
endTag
startIdx userPromptstartTag
endIdx userPromptendTag
startIdx endIdx endIdx startIdx
windowContent userPromptstartIdx startTaglength endIdx
lines windowContent
lineslength lines
lines
lineslength lineslineslength
lines
lines lineCount lineslength
transformer ReturnTypeStringText
edit start endEx text
startLine endLine
start endEx edit
transformerstartlineNumber
transformerendExlineNumber
s start endEx
n
i start i endEx i
si
n
n
oracleEdits start endEx text
docContent
windowStart
windowEnd
kept start endEx text
droppedCount
transformer docContent
kept start endEx text
droppedCount
edit oracleEdits
editStartLine editEndLine transformer edit
fullyInside editStartLine windowStart editEndLine windowEnd
fullyInside
keptedit
droppedCount
kept droppedCount
oracleEdits start endEx text
docContent
editWindowStartLine
editWindowLineCount
assistant droppedCount
windowStart editWindowStartLine
windowEnd editWindowStartLine editWindowLineCount
kept droppedCount
oracleEdits docContent windowStart windowEnd
modifiedContent docContent kept
modifiedLines modifiedContent
netLineChange
start endEx text kept
oldNewlines docContent start endEx
newNewlines text textlength
netLineChange newNewlines oldNewlines
newEndLine MathwindowEnd netLineChange modifiedLineslength
windowLines modifiedLineswindowStart newEndLine
assistant windowLines droppedCount
docContent
editWindowLines
editWindowLineslength
docLines docContent
cleanedWindowLines editWindowLinesstripLineNumber
cursorTag
matchLines cleanedWindowLinesl lcursorTag
firstWindowLine matchLines
i i docLineslength matchLineslength i
docLinesi firstWindowLine
allMatch
j j matchLineslength j
docLinesi j matchLinesj
allMatch
allMatch
i
lineNumMatch editWindowLines
lineNumMatch
lineNumMatch
line
match line
match
linematchlength
line
responseFormat ResponseFormat
edits start endEx text
docContent
filePath
userPrompt
log ResponseLogger
IGeneratedResponse error
edits editslength
error
responseFormat
ResponseFormatCustomDiffPatch
edits docContent filePath
ResponseFormatEditWindowOnly
edits docContent filePath userPrompt log
ResponseFormatUnifiedWithXml
ResponseFormatCodeBlock
ResponseFormatEditWindowWithEditIntent
ResponseFormatEditWindowWithEditIntentShort
error
responseFormat
edits start endEx text
docContent
filePath
IGeneratedResponse error
assistant edits docContent filePath
assistant
error
assistant
edits start endEx text
docContent
filePath
userPrompt
log ResponseLogger
IGeneratedResponse error
editWindow userPrompt
startLine
lineCount
editWindow
startLine docContent editWindowlines
lineCount editWindowlineCount
transformer docContent
editStartLine transformereditslineNumber
lastEdit editseditslength
editEndLine transformerlastEditlineNumber
editSpan editEndLine editStartLine
padding Math MatheditSpan
docLines docContent
startLine Math editStartLine padding
lineCount MatheditSpan padding docLineslength startLine
assistant droppedCount edits docContent startLine lineCount
droppedCount
log
assistant assistant
error
assistant droppedEditCount droppedCount
index
oracleEdits start endEx text
docContent
filePath
userPrompt
responseFormat ResponseFormat
inputs IResponseGenerationInput
log ResponseLogger
responses index response IGeneratedResponse
errors index error
responses index response IGeneratedResponse
errors index error
input inputs
result
responseFormat
inputoracleEdits inputdocContent inputfilePath
inputuserPrompt
log
result
errors index inputindex error resulterror
responses index inputindex response result
responses errors