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 { assertNever } from '../../../../../base/common/assert.js';
import { VSBuffer } from '../../../../../base/common/buffer.js';
import { isUndefinedOrNull } from '../../../../../base/common/types.js';
/**
* Updates an error's message and stack trace with a prefix. In V8 the stack
* string starts with "ErrorName: message\n at …", so we rebuild the header
* after mutating the message.
*/
function prefixError(e: Error, prefix: string): void {
e.message = prefix + e.message;
if (e.stack) {
const nlIdx = e.stack.
estack nlIdx
e segment
e
part segment
needsSep emessage emessage
e part needsSep
e
TransformKind
Key
Primitive
Object
Transform
kind TransformKind
from TFrom TTo
kind TransformKindKey TransformKindPrimitive
a TTo b TTo
kind TransformKind
itemSchema TransformObject TransformValue
kind TransformKindObject
children SchemaEntries
sealedobj TTo wasSerialized
TransformValueTFrom TTo
TransformArrayTFrom TTo
TransformObjectTFrom TTo
RequiredTTo TransformTFrom TTo
comparator a b TransformValue
kind TransformKindKey
from from
equals comparator a b a b
TransformValue
a b TransformValue
comparator a b TransformValue
kind TransformKindPrimitive
from
value from
value value
value value
value
equals comparator a b a b
schema TransformObject TransformValue TransformArray
kind TransformKind
itemSchema schema
from fromitem i
schemaitem
e
e i
sealed obj wasSerialized
schema Schema options ObjectOptions TransformObject
entries Objectschema Transform a b akind bkind
kind TransformKindObject
children entries SchemaEntries
sealed optionssealed
from
from
from
result Record Object
key transform entries
resultkey transformfrom
e
e key
result
obj schema Transform Transform
schema
from schemafrom
obj TransformValue
obj a b TransformValue
obj comparator a b TransformValue
inner comparator
inner
from innerfrom
EntryKind
Initial
Set
Push
Delete
kind EntryKindInitial v
kind EntryKindSet k ObjectPath v
kind EntryKindDelete k ObjectPath
kind EntryKindPush k ObjectPath v i
VSBuffer
entry
entry
e
e
e
entry
value
value
maxStringChars maxTotalChars key value
total
_key val
val
emitted
vallength maxStringChars
emitted
total vallength maxTotalChars
emitted
total vallength
val
total emittedlength
emitted
val
_previous TTo
_entryCount
_hasPendingWrite
_pendingPrevious TTo
_pendingEntryCount
_transform TransformTFrom TTo
_compactAfterEntries
current TFrom VSBuffer
_transformcurrent
value TTo VSBuffer
_previous value
_entryCount
entry Entry kind EntryKindInitial v value
VSBufferentry
content VSBuffer TTo
state
lineCount
start
len contentbyteLength
start len
end content start
end
end len
end start
line contentstart end
linebyteLength
lineCount
entry line Entry
entrykind
EntryKindInitial
state entryv
EntryKindSet
state
state entryk entryv
EntryKindPush
state
state entryk entryv entryi
EntryKindDelete
state
state entryk
entry
start end
lineCount
_previous state TTo
_entryCount lineCount
state TTo
current TFrom op data VSBuffer
currentValue _transformcurrent
_previous _entryCount _compactAfterEntries
_hasPendingWrite
_pendingPrevious currentValue
_pendingEntryCount
entry Entry kind EntryKindInitial v currentValue
op data VSBufferentry
entries Entry
path ObjectPath
_transform path _previous currentValue entries
e
e
pathStr paths s
e
e
entrieslength
op data VSBuffer
_hasPendingWrite
_pendingEntryCount _entryCount entrieslength
_pendingPrevious currentValue
data
e entries
data e
op data VSBufferdata
_hasPendingWrite
_previous _pendingPrevious
_entryCount _pendingEntryCount
_hasPendingWrite
_pendingPrevious
_pendingEntryCount
state path ObjectPath value
pathlength
current state Record
i i pathlength i
current currentpathi Record
currentpathpathlength value
state path ObjectPath values startIndex
current state Record
i i pathlength i
current currentpathi Record
arrayKey pathpathlength
arr currentarrayKey
startIndex
arrlength startIndex
values valueslength
arrvalues
currentarrayKey arr
transform Transform
path ObjectPath
prev
curr
entries Entry
transformkind TransformKindKey transformkind TransformKindPrimitive
transformprev curr
entries kind EntryKindSet k path v curr
prev curr
prev curr
curr
entries kind EntryKindDelete k path
curr
entries kind EntryKindSet k path v
entries kind EntryKindSet k path v curr
transformkind TransformKind
transform path prev curr entries
transformkind TransformKindObject
transformchildren path prev curr entries transformsealed obj wasSerialized
children SchemaEntries
path ObjectPath
prev
curr
entries Entry
sealed obj wasSerialized
prevObj prev Record
currObj curr Record
i
i childrenlength i
key transform childreni
transformkind TransformKindKey
transformprevObjkey currObjkey
entries kind EntryKindSet k path v curr
sealed prev curr
i childrenlength i
key transform childreni
pathkey
transform path prevObjkey currObjkey entries
path
transform TransformArray
path ObjectPath
prev
curr
entries Entry
prevArr prev
currArr curr
itemSchema transformitemSchema
minLen MathprevArrlength currArrlength
itemSchemakind TransformKindObject
childEntries itemSchemachildren
i i minLen i
prevItem prevArri
currItem currArri
childEntries prevItem currItem
newItems currArri
entries kind EntryKindPush k path v newItemslength newItems i
pathi
childEntries path prevItem currItem entries itemSchemasealed
path
currArrlength prevArrlength
entries kind EntryKindPush k path v currArrprevArrlength
currArrlength prevArrlength
entries kind EntryKindPush k path i currArrlength
firstMismatch
i i minLen i
itemSchemaprevArri currArri
firstMismatch i
firstMismatch
currArrlength prevArrlength
entries kind EntryKindPush k path v currArrprevArrlength
currArrlength prevArrlength
entries kind EntryKindPush k path i currArrlength
newItems currArrfirstMismatch
entries kind EntryKindPush k path v newItemslength newItems i firstMismatch
children SchemaEntries prev curr
prevObj prev Record
currObj curr Record
key transform children
transformkind TransformKindKey
transformprevObjkey currObjkey