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 assert from 'assert';
import { ensureNoDisposablesAreLeakedInTestSuite } from '../../../../../base/test/common/utils.js';
import { appendSystemDrift, appendToolsDrift, CacheDiffKind, diffPromptSignature, formatSignatureToken, parseInputMessages } from '../../browser/chatDebug/chatDebugCacheDiff.js';
function msg(role: string, content: string, name?: string) {
const part: { type: string; content: string; name?: string type content
name
partname name
role name name parts part
json
parsed json
assertparsed
role name text charLength
role name text charLength
role name text charLength
assert
assert
assert
assert
json
role parts type id response
assertjson
role name text charLength length
json
role parts type id name arguments path
role parts type id response
role parts type id response
assertjsonm role mrole name mname
role name
role name
role name
json
role parts type id name arguments path
expected
assertjson
role name text expected charLength expectedlength
payload id status tools type name
json
role parts type payload
expected payload
assertjson
role name text expected charLength expectedlength
a
b
result a b
assert
resultbreak
counts resultcounts
kinds resultsignatures skind
drift resultdriftd dname dstatus
counts identical contentDrift lengthChange onlyInA onlyInB
kinds CacheDiffKindIdentical CacheDiffKindIdentical
drift
a
b
result a b
assert
resultbreak
counts resultcounts
kinds resultsignatures skind
drift resultdriftd
index kind CacheDiffKindContentDrift
counts identical contentDrift lengthChange onlyInA onlyInB
kinds CacheDiffKindIdentical CacheDiffKindContentDrift
drift
a
b
result a b
assert
resultbreak
counts resultcounts
kinds resultsignatures skind
drift resultdriftd
index kind CacheDiffKindLengthChange
counts identical contentDrift lengthChange onlyInA onlyInB
kinds CacheDiffKindIdentical CacheDiffKindLengthChange
drift
a
b
result a b
assert
resultbreak
counts resultcounts
kinds resultsignatures skind
index kind CacheDiffKindOnlyInB
counts identical contentDrift lengthChange onlyInA onlyInB
kinds CacheDiffKindIdentical CacheDiffKindIdentical CacheDiffKindOnlyInB CacheDiffKindOnlyInB
a
b
result a b
assert
resultbreak counts resultcounts
index kind CacheDiffKindOnlyInA
counts identical contentDrift lengthChange onlyInA onlyInB
drift
assertdrift name status CacheDiffKindLengthChange aSize bSize
existing name role status CacheDiffKindContentDrift aSize bSize
assertexisting existing
existing name role status CacheDiffKindContentDrift aSize bSize
assertexisting existing
assertexisting existing
sys name status CacheDiffKindLengthChange aSize bSize
msg name role status CacheDiffKindContentDrift aSize bSize
assert
onlyInA msg
onlyInB msg
contentDrift msg
lengthChange msg
afterSystem sys msg
onlyInA name status CacheDiffKindOnlyInA aSize bSize msg
onlyInB name status CacheDiffKindOnlyInB aSize bSize msg
contentDrift name status CacheDiffKindContentDrift aSize bSize msg
lengthChange name status CacheDiffKindLengthChange aSize bSize msg
afterSystem sys name status CacheDiffKindLengthChange aSize bSize msg
assert
index kind CacheDiffKindIdentical aRole aCharLength bRole bCharLength
assert
index kind CacheDiffKindLengthChange aRole aCharLength bRole bCharLength
assert
index kind CacheDiffKindOnlyInB bRole bName bCharLength