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 { equals as arraysEqual } from '../../../../../base/common/arrays.js';
import { findFirst, findLast, findLastIdx } from '../../../../../base/common/arraysFind.js';
import { assertNever } from '../../../../../base/common/assert.js';
import { ThrottledDelayer } from '../../../../../base/common/async.js';
import { Event } from '../../../../../base/common/event.js';
import { Disposable, DisposableStore, IDisposable } from '../../../../../base/common/lifecycle.js';
import { mapsStrictEqualIgnoreOrder, ResourceMap ResourceSet
equals objectsEqual
constObservable derived derivedOpts IObservable IReader ITransaction ObservablePromise observableSignalFromEvent observableValue observableValueOpts transaction
isEqual
isDefined Mutable
generateUuid
Range
TextEdit
DefaultEndOfLine EndOfLinePreference ITextModel ValidAnnotatedEditOperation
createTextBuffer
IEditorWorkerService
ITextModelService
IConfigurationService
CellEditType CellUri INotebookTextModel
INotebookEditorModelResolverService
INotebookService
emptySessionEntryDiff IEditSessionDiffStats IEditSessionEntryDiff IModifiedEntryTelemetryInfo
IChatRequestDisablement
IChatEditingCheckpointTimeline
FileOperation FileOperationType IChatEditingTimelineState ICheckpoint IFileBaseline IReconstructedFileExistsState IReconstructedFileNotExistsState IReconstructedFileState
ChatEditingSnapshotTextModelContentProvider
createSnapshot createNotebookSnapshot restoreSnapshot restoreNotebookSnapshot
IReconstructedFileNotExistsState MutableIReconstructedFileExistsState notebook INotebookTextModel
uri initialContent
uri
fromUri toUri
uri content telemetryInfo IModifiedEntryTelemetryInfo
_epochCounter
_checkpoints
_currentEpoch
_operations
_fileBaselines
_refCountedDiffs
_finalizedDiffCache
_willUndoToCheckpoint reader
currentEpoch _currentEpochreader
checkpoints _checkpointsreader
checkpointslength currentEpoch checkpointsepoch
operations _operationsreader
currentCheckpointIdx checkpoints cp cpepoch currentEpoch
startOfRequest currentCheckpointIdx checkpoints cp cpundoStopId currentCheckpointIdx
previousOperation operations op opepoch currentEpoch
previousCheckpoint previousOperation checkpoints cp cpepoch previousOperationepoch
startOfRequest
previousCheckpoint
previousCheckpoint
startOfRequest
operationsop opepoch startOfRequestepoch opepoch previousCheckpointepoch
startOfRequest
previousCheckpointepoch startOfRequestepoch previousCheckpoint startOfRequest
canUndo IObservable _willUndoToCheckpointcp cp
_willRedoToEpoch reader
currentEpoch _currentEpochreader
operations _operationsreader
checkpoints _checkpointsreader
maxEncounteredEpoch Mathoperationsepoch checkpointsepoch
currentEpoch maxEncounteredEpoch
nextOperation operationsop opepoch currentEpoch
nextOperation
nextRequestStart checkpointscp cpepoch currentEpoch cpundoStopId
nextRequestStart
maxEncounteredEpoch
requestAfter checkpointscp cpepoch nextRequestStartepoch cpundoStopId
requestAfter requestAfterepoch maxEncounteredEpoch
nextCheckpoint checkpointsop opepoch nextOperationepoch
currentCheckpoint checkpoints cp cpepoch currentEpoch
currentCheckpoint nextOperation currentCheckpointrequestId nextOperationrequestId
startOfNextRequestIdx checkpoints cp i
cpundoStopId checkpointsi requestId currentCheckpointrequestId
startOfNextRequest startOfNextRequestIdx checkpointsstartOfNextRequestIdx
startOfNextRequest nextOperationrequestId startOfNextRequestrequestId
requestAfterTheNext checkpoints op opundoStopId startOfNextRequestIdx
requestAfterTheNext
requestAfterTheNextepoch
Math
nextCheckpointepoch
maxEncounteredEpoch
canRedo IObservable _willRedoToEpoche e
requestDisablement IObservableIChatRequestDisablement
a b a b objectsEqual
reader
currentEpoch _currentEpochreader
operations _operationsreader
checkpoints _checkpointsreader
maxEncounteredEpoch Mathoperationsepoch checkpointsepoch
currentEpoch maxEncounteredEpoch
lastAppliedOperation operations op opepoch currentEpochepoch
lastAppliedRequest checkpoints cp cpepoch currentEpoch cpundoStopId epoch
stopDisablingAtEpoch MathlastAppliedOperation lastAppliedRequest
disablement
i checkpointslength i i
undoStopId requestId epoch checkpointsi
requestId afterUndoStop
chatSessionResource
_delegate IChatEditingTimelineFsDelegate
_notebookEditorModelResolverService INotebookEditorModelResolverService
_notebookService INotebookService
_textModelService ITextModelService
_editorWorkerService IEditorWorkerService
_configurationService IConfigurationService
requestId undoStopId label description
existingCheckpoints _checkpoints
existing existingCheckpointsc cundoStopId undoStopId crequestId requestId
existing
existingcheckpointId
checkpoints operations
checkpointId
epoch
checkpoints
checkpointId
requestId
undoStopId
epoch
label
description
tx
_checkpointscheckpoints tx
_operationsoperations tx
_currentEpochepoch tx
checkpointId
checkpoint _willUndoToCheckpoint
checkpoint
checkpointcheckpointId
targetEpoch _willRedoToEpoch
targetEpoch
targetEpoch
checkpointId
targetCheckpoint checkpointId
targetCheckpoint
targetCheckpointundoStopId
targetCheckpointepoch targetCheckpointepoch
targetCheckpointepoch
requestId fileURI stopId
ChatEditingSnapshotTextModelContentProviderchatSessionResource requestId stopId fileURIpath fileURIscheme fileURIauthority
restoreToEpoch navigateToEpoch restoreToEpoch
currentEpoch _currentEpoch
currentEpoch restoreToEpoch
urisToRestore currentEpoch restoreToEpoch
restoreToEpoch urisToRestore
_currentEpochnavigateToEpoch
checkpointId ICheckpoint
_checkpointsc ccheckpointId checkpointId
_epochCounter
operation FileOperation
currentEpoch checkpoints operations
operationepoch currentEpoch
operationsoperation
tx
_checkpointscheckpoints tx
_operationsoperations tx
_currentEpochoperationepoch tx
currentEpoch _currentEpoch
checkpoints _checkpoints
operations _operations
currentEpoch
checkpoints checkpointsc cepoch currentEpoch
operations operationsop opepoch currentEpoch
baseline IFileBaseline
key baselineuri baselinerequestId
_fileBaselineskey baseline
uri requestId IFileBaseline
key uri requestId
_fileBaselineskey
uri requestId
key uri requestId
_fileBaselineskey _operationsop
optype FileOperationTypeCreate oprequestId requestId uri opuri
requestId contentURI stopId
toEpoch
stopId
toEpoch stopIdlength
toEpoch _checkpointsc crequestId requestId cundoStopId stopIdepoch
fileURI contentURI
toEpoch fileURI
baseline fileURI toEpoch requestId
baseline
operations fileURI baselineepoch toEpoch
replayed baseline operations
replayedexists replayedcontent
contentURI
it _fileBaselines _operations
thing it
thinguripath contentURIpath
thinguri
requestId contentURI stopId data IDisposable
stopId stopId
DisposableNone
target stopIdlength
target _epochCounter
DisposableNone
store
scheduler store
storeEvent_operations
scheduler
_operationsepoch target
store
content requestId contentURI stopId
content
content
store
epoch reader IReader
_checkpointsreader c cepoch epoch
uri targetEpoch IReconstructedFileState
targetCheckpoint targetEpoch
targetCheckpoint
baseline uri targetEpoch targetCheckpointrequestId
baseline
exists
uri
operations uri baselineepoch targetEpoch
baseline operations
IChatEditingTimelineState
checkpoints _checkpoints
currentEpoch _currentEpoch
fileBaselines _fileBaselines
operations _operations
epochCounter _epochCounter
state IChatEditingTimelineState tx ITransaction
_checkpointsstatecheckpoints tx
_currentEpochstatecurrentEpoch tx
_operationsstateoperations tx
_epochCounter stateepochCounter
_fileBaselines
key baseline statefileBaselines
_fileBaselineskey baseline
requestId undoStopId
checkpoints _checkpoints
checkpointsc crequestId requestId cundoStopId undoStopIdcheckpointId
targetEpoch filesToReconstruct ResourceSet
filesToReconstruct uri
reconstructedState uri targetEpoch
reconstructedStateexists
_delegatereconstructedStateuri reconstructedStatecontent reconstructedStatetelemetryInfo
uri requestId
uri epoch requestId IFileBaseline
currentRequestId requestId
operations _operations
i operationslength i i
operation operationsi
operationepoch epoch
operationtype FileOperationTypeCreate operationuri uri
uri operationuri
requestId operationrequestId
content operationinitialContent
epoch operationepoch
telemetryInfo operationtelemetryInfo
operationtype FileOperationTypeRename operationnewUri uri
prev operationoldUri operationepoch operationrequestId
prev
operations operationoldUri prevepoch operationepoch
replayed prev operations
uri uri
epoch operationepoch
content replayedexists replayedcontent
requestId operationrequestId
telemetryInfo prevtelemetryInfo
notebookViewType replayedexists replayednotebookViewType
currentRequestId operationrequestId currentRequestId
baseline uri currentRequestId
baseline
baseline
currentRequestId operationrequestId
uri currentRequestId
uri fromEpoch toEpoch FileOperation
_operationsop
cellUri CellUriopuri
opepoch fromEpoch
opepoch toEpoch
opuri uri cellUri cellUrinotebook uri
a b aepoch bepoch
baseline IFileBaseline operations FileOperation IReconstructedFileState
currentState IReconstructedFileStateWithNotebook
exists
content baselinecontent
uri baselineuri
telemetryInfo baselinetelemetryInfo
baselinenotebookViewType
currentStatenotebook _notebookEditorModelResolverServicebaselinenotebookViewType
baselinecontent
currentStatenotebook baselinecontent
operation operations
currentState currentState operation baselinetelemetryInfo
currentStateexists currentStatenotebook
info _notebookServicecurrentStatenotebookviewType
currentStatecontent currentStatenotebook infoserializeroptions _configurationService
currentStatenotebook
currentState
state IReconstructedFileStateWithNotebook operation FileOperation telemetryInfo IModifiedEntryTelemetryInfo IReconstructedFileStateWithNotebook
operationtype
FileOperationTypeCreate
stateexists statenotebook
statenotebook
notebook INotebookTextModel
operationnotebookViewType
notebook _notebookEditorModelResolverServiceoperationnotebookViewType
operationinitialContent
notebook operationinitialContent
exists
content operationinitialContent
uri operationuri
telemetryInfo
notebookViewType operationnotebookViewType
notebook
FileOperationTypeDelete
stateexists statenotebook
statenotebook
exists
uri operationuri
FileOperationTypeRename
state
uri operationnewUri
FileOperationTypeTextEdit
stateexists
nbCell operationcellIndex statenotebookcellsoperationcellIndex
nbCell
newContent nbCell operationedits
statenotebook
editType CellEditTypeReplace
index operationcellIndex
count
cells cellKind nbCellcellKind language nbCelllanguage mime nbCelllanguage source newContent outputs nbCelloutputs
state
state
content statecontent operationedits
FileOperationTypeNotebookEdit
stateexists
statenotebook
statenotebookoperationcellEdits
state
operation
fromEpoch toEpoch ResourceSet
isMovingForward toEpoch fromEpoch
operations _operationsop
isMovingForward
opepoch fromEpoch opepoch toEpoch
opepoch fromEpoch opepoch toEpoch
a b isMovingForward aepoch bepoch bepoch aepoch
urisToRestore
operation operations
operation isMovingForward urisToRestore
urisToRestore
operation FileOperation isMovingForward urisToRestore ResourceSet
operationtype
FileOperationTypeCreate
isMovingForward
_delegateoperationuri operationinitialContent
urisToRestoreoperationuri
_delegateoperationuri
urisToRestoreoperationuri
FileOperationTypeDelete
isMovingForward
_delegateoperationuri
urisToRestoreoperationuri
_delegateoperationuri operationfinalContent
urisToRestoreoperationuri
FileOperationTypeRename
isMovingForward
_delegateoperationoldUri operationnewUri
urisToRestoreoperationoldUri
urisToRestoreoperationnewUri
_delegateoperationnewUri operationoldUri
urisToRestoreoperationnewUri
urisToRestoreoperationoldUri
FileOperationTypeTextEdit
FileOperationTypeNotebookEdit
urisToRestoreCellUrioperationurinotebook operationuri
operation
content edits TextEdit
textBuffer disposable content DefaultEndOfLine
textBuffereditsedit
Rangeeditrange edittext
fullRange textBuffer textBuffer
textBufferfullRange EndOfLinePreferenceTextDefined
disposable
uri requestId stopId IObservableIEditSessionEntryDiff
epochs a b astart bstart aend bend reader
checkpoints _checkpointsreader
startIndex checkpointsc crequestId requestId cundoStopId stopId
start checkpointsstartIndex end checkpointsstartIndex
uri epochs
startRequestId stopRequestId IObservable start ICheckpoint end ICheckpoint
a b astart bstart aend bend reader
checkpoints _checkpointsreader
startIndex checkpointsc crequestId startRequestId
start startIndex checkpoints checkpointsstartIndex
end ICheckpoint
stopRequestId
end checkpoints c crequestId startRequestId startIndex
end checkpointsc crequestId stopRequestId
checkpoints c crequestId startRequestId startIndex
checkpointscheckpointslength
start end
uri startRequestId stopRequestId IObservableIEditSessionEntryDiff
uri startRequestId stopRequestId
uri cacheKey epochs IObservable start ICheckpoint end ICheckpoint IObservableIEditSessionEntryDiff
key
cached _finalizedDiffCachekey
cached
cached
obs _refCountedDiffskey
obs
obs
uri
key
epochs
_refCountedDiffskey
_refCountedDiffskey obs
obs
uri
cacheKey
epochs IObservable start ICheckpoint end ICheckpoint
IObservableIEditSessionEntryDiff
refs model ITextModel onChange IObservable isFinal error
modelRefsPromise reader
start end epochsreader
start
store readerstore
originalURI startrequestId uri startepoch
modifiedURI endrequestId startrequestId uri endepoch Number
promise ModelRefsValue
_textModelServiceoriginalURI
_textModelServicemodifiedURI
refs
storeisDisposed
refsr r
refsr storer
refs refsr
model robjecttextEditorModel
onChange robjecttextEditorModelrobjecttextEditorModel
isFinal end
error ModelRefsValue
refs isFinal error
originalURI
modifiedURI
promise promise
diff reader
modelsData modelRefsPromisereader
modelsData
originalURI modifiedURI promise modelsData
promiseData promisepromiseResultreader
promiseDatadata
originalURI modifiedURI promise
refs isFinal error promiseDatadata
error
originalURI modifiedURI promise originalURI modifiedURI
refsm monChangereader
originalURI modifiedURI promise originalURI modifiedURI isFinal
onLastObserverRemoved reader
result diffreader
result
promised resultpromisepromiseResultreader
promiseddata
promiseddataisFinal
_finalizedDiffCachecacheKey promiseddata
promiseddata
promisederror
resultoriginalURI resultmodifiedURI
resultoriginalURI resultmodifiedURI isBusy
originalUri modifiedUri isFinal IEditSessionEntryDiff
_editorWorkerService
originalUri
modifiedUri
ignoreTrimWhitespace computeMoves maxComputationTimeMs
diff IEditSessionEntryDiff
entryDiff IEditSessionEntryDiff
originalURI originalUri
modifiedURI modifiedUri
identical diffidentical
isFinal
quitEarly diff diffquitEarly
added
removed
isBusy
diff
change diffchanges
entryDiffremoved changeoriginalendLineNumberExclusive changeoriginalstartLineNumber
entryDiffadded changemodifiedendLineNumberExclusive changemodifiedstartLineNumber
entryDiff
requestId reader IReader
value _fileBaselines
valuerequestId requestId
operation _operationsreader
operationrequestId requestId
requestId IObservable IEditSessionEntryDiff
boundsObservable requestId
startEpochs equalsFn mapsStrictEqualIgnoreOrder reader
uris
value _fileBaselines
valuerequestId requestId
urisvalueuri valueepoch
bounds boundsObservablereader
operation _operationsreader
operationepoch boundsstartepoch
boundsend operationepoch boundsendepoch
operationtype FileOperationTypeCreate
urisoperationuri
uris
startEpochs boundsObservableb bend
startEpochs IObservableResourceMap endCheckpointObs IObservableICheckpoint
prevDiffs
prevEndCheckpoint ICheckpoint
perFileDiffs reader
checkpoints _checkpointsreader
firstCheckpoint checkpoints
firstCheckpoint
endCheckpoint endCheckpointObsreader
endCheckpoint prevEndCheckpoint
prevDiffs
prevEndCheckpoint endCheckpoint
uris startEpochsreader
diffs IObservableIEditSessionEntryDiff
uri epoch uris
obs prevDiffsuri uri
start checkpointscp cpepoch epoch firstCheckpoint end endCheckpoint
prevDiffsuri obs
diffsobs
diffs
perFileDiffsdiffs reader
diffsd dreaderisDefined
IObservable IEditSessionEntryDiff
startEpochs equalsFn mapsStrictEqualIgnoreOrder reader
uris
baseline _fileBaselines
urisbaselineuri Mathbaselineepoch urisbaselineuri Number
operation _operationsreader
operationtype FileOperationTypeCreate
urisoperationuri
uris
startEpochs
IObservableIEditSessionDiffStats
fileDiffs
reader
diffs fileDiffsreader
added
removed
diff diffs
added diffadded
removed diffremoved
added removed