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 { URI } from '../../../base/common/uri.js';
import { extUriBiasedIgnorePathCase } from '../../../base/common/resources.js';
import type { IFileEditRecord, ISessionDatabase } from '../common/sessionDataService.js';
import type { IDiffComputeService } from '../common/diffComputeService.js';
import { FileEditKind, type ISessionFileDiff } from '../common/state/sessionState.js';
import { buildSessionDbUri } from '../common/sessionDbUri.js';
function getFileEditUri(diff ISessionFileDiff
diffafteruri diffbeforeuri
beforeSessionUri afterSessionUri identity IFileIdentity added removed ISessionFileDiff
hasBefore identityfirstKind FileEditKindCreate
hasAfter identitylastKind FileEditKindDelete
hasBefore
before
uri identityfirstFilePath
content uri beforeSessionUri identityfirstToolCallId identityfirstFilePath
hasAfter
after
uri identityterminalPath
content uri afterSessionUri identitylastToolCallId identitylastFilePath
diff added removed
terminalPath
firstToolCallId
firstFilePath
firstKind FileEditKind
firstSourceIdx
lastToolCallId
lastFilePath
lastKind FileEditKind
lastSourceIdx
sessionUri
db ISessionDatabase
changedTurnId
previousDiffs ISessionFileDiff
sessionUri
db ISessionDatabase
diffService IDiffComputeService
incremental IIncrementalDiffOptions
folderScope
ISessionFileDiff
incremental folderScope
incremental
sessionUri db diffService folderScope
edits IFileEditRecord
fastPath
turnEdits dbincrementalchangedTurnId
turnEditslength
incrementalpreviousDiffs
previousDiffsUris incrementalpreviousDiffsgetFileEditUri
needsFullHistory turnEditse
ekind FileEditKindRename
previousDiffsUrisefilePath
needsFullHistory
edits db
edits turnEdits
fastPath
editslength
pathToIdentityKey
identities
touchedIdentityKeys fastPath
edit edits
identityKey
editkind FileEditKindRename editoriginalPath
identityKey pathToIdentityKeyeditoriginalPath editoriginalPath
pathToIdentityKeyeditfilePath identityKey
pathToIdentityKeyeditoriginalPath
identityKey pathToIdentityKeyeditfilePath editfilePath
pathToIdentityKeyeditfilePath identityKey
touchedIdentityKeys editturnId incrementalchangedTurnId
touchedIdentityKeysidentityKey
existing identitiesidentityKey
existing
identitiesidentityKey
terminalPath editfilePath
firstToolCallId edittoolCallId
firstFilePath editkind FileEditKindRename editoriginalPath editoriginalPath editfilePath
firstKind editkind
firstSourceIdx
lastToolCallId edittoolCallId
lastFilePath editfilePath
lastKind editkind
lastSourceIdx
existingterminalPath editfilePath
existinglastToolCallId edittoolCallId
existinglastFilePath editfilePath
existinglastKind editkind
previousDiffsMap fastPath
incrementalpreviousDiffsd d d
results ISessionFileDiff
diffPromises
identityKey identity identities
touchedIdentityKeys touchedIdentityKeysidentityKey
uri identityterminalPath
prev previousDiffsMapuri
prev
resultsprev
diffPromises
beforeText
identityfirstKind FileEditKindCreate
beforeText
content dbidentityfirstToolCallId identityfirstFilePath
beforeText contentbeforeContent contentbeforeContent
afterText
identitylastKind FileEditKindDelete
afterText
content dbidentitylastToolCallId identitylastFilePath
afterText contentafterContent contentafterContent
beforeText afterText
counts diffServicebeforeText afterText
resultssessionUri sessionUri identity countsadded countsremoved
diffPromises
fastPath
resultsincrementalpreviousDiffs
results
sources ISessionDiffSource
diffService IDiffComputeService
folderScope
ISessionFileDiff
perSourceEdits sourcessource sourcedb
pathToIdentityKey
identities
totalEdits
sourceIdx sourceIdx perSourceEditslength sourceIdx
edit perSourceEditssourceIdx
totalEdits
identityKey
editkind FileEditKindRename editoriginalPath
identityKey pathToIdentityKeyeditoriginalPath editoriginalPath
pathToIdentityKeyeditfilePath identityKey
pathToIdentityKeyeditoriginalPath
identityKey pathToIdentityKeyeditfilePath editfilePath
pathToIdentityKeyeditfilePath identityKey
existing identitiesidentityKey
existing
identitiesidentityKey
terminalPath editfilePath
firstToolCallId edittoolCallId
firstFilePath editkind FileEditKindRename editoriginalPath editoriginalPath editfilePath
firstKind editkind
firstSourceIdx sourceIdx
lastToolCallId edittoolCallId
lastFilePath editfilePath
lastKind editkind
lastSourceIdx sourceIdx
existingterminalPath editfilePath
existinglastToolCallId edittoolCallId
existinglastFilePath editfilePath
existinglastKind editkind
existinglastSourceIdx sourceIdx
totalEdits
results ISessionFileDiff
diffPromises
identity identities
folderScope identityterminalPath folderScope
diffPromises
firstSource sourcesidentityfirstSourceIdx
lastSource sourcesidentitylastSourceIdx
beforeText
identityfirstKind FileEditKindCreate
beforeText
content firstSourcedbidentityfirstToolCallId identityfirstFilePath
beforeText contentbeforeContent contentbeforeContent
afterText
identitylastKind FileEditKindDelete
afterText
content lastSourcedbidentitylastToolCallId identitylastFilePath
afterText contentafterContent contentafterContent
beforeText afterText
counts diffServicebeforeText afterText
resultsfirstSourcesessionUri lastSourcesessionUri identity countsadded countsremoved
diffPromises
results
filePath folderRoots
fileUri filePath
folderRootsroot extUriBiasedIgnorePathCasefileUri root
sessionUri
db ISessionDatabase
diffService IDiffComputeService
turnId
folderScope
ISessionFileDiff
turnEdits dbturnId
turnEditslength
pathToIdentityKey
identities
nextIdentitySeq
edit turnEdits
identityKey
editkind FileEditKindRename editoriginalPath
identityKey pathToIdentityKeyeditoriginalPath
pathToIdentityKeyeditfilePath identityKey
pathToIdentityKeyeditoriginalPath
identityKey pathToIdentityKeyeditfilePath
pathToIdentityKeyeditfilePath identityKey
existing identitiesidentityKey
existing
identitiesidentityKey
terminalPath editfilePath
firstToolCallId edittoolCallId
firstFilePath editkind FileEditKindRename editoriginalPath editoriginalPath editfilePath
firstKind editkind
firstSourceIdx
lastToolCallId edittoolCallId
lastFilePath editfilePath
lastKind editkind
lastSourceIdx
existingterminalPath editfilePath
existinglastToolCallId edittoolCallId
existinglastFilePath editfilePath
existinglastKind editkind
results ISessionFileDiff
diffPromises
identity identities
folderScope identityterminalPath folderScope
diffPromises
beforeText
identityfirstKind FileEditKindCreate
beforeText
content dbidentityfirstToolCallId identityfirstFilePath
beforeText contentbeforeContent contentbeforeContent
afterText
identitylastKind FileEditKindDelete
afterText
content dbidentitylastToolCallId identitylastFilePath
afterText contentafterContent contentafterContent
beforeText afterText
counts diffServicebeforeText afterText
resultssessionUri sessionUri identity countsadded countsremoved
diffPromises
results