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 * as l10n from '@vscode/l10n';
import { promises as fs } from 'fs';
import * as vscode from 'vscode';
import { CancellationToken } from 'vscode-languageserver-protocol';
import { ConfigKey, IConfigurationService } from '../../../platform/configuration/common/configurationService';
import { IVSCodeExtensionContext } from '../../../platform/extContext/common/extensionContext';
import { IGitCommitMessageService } from '../../../platform/git/common/gitCommitMessageService';
import getGitHubRepoInfoFromContext IGitService RepoContext
toGitUri
buildTempIndexEnv getUncommittedFilePaths parseGitChangesRaw
DiffChange
ILogService
IWorkspaceService
Disposable
path
generateUuid
IAgentSessionsWorkspace
IChatSessionMetadataStore
ChatSessionWorktreeFile ChatSessionWorktreeProperties ChatSessionWorktreePropertiesV2 IChatSessionWorktreeService
SequencerByKey
_serviceBrand
_sessionWorktrees Map ChatSessionWorktreeProperties
_onDidChangeWorktreeChanges
onDidChangeWorktreeChanges _onDidChangeWorktreeChangesevent
_updatePropertiesSequencer
agentSessionsWorkspace IAgentSessionsWorkspace
configurationService IConfigurationService
gitCommitMessageService IGitCommitMessageService
gitService IGitService
logService ILogService
extensionContext IVSCodeExtensionContext
workspaceService IWorkspaceService
metadataStore IChatSessionMetadataStore
repositoryPath vscodeUri stream vscodeChatResponseStream baseBranch branchName ChatSessionWorktreeProperties
stream
repositoryPath baseBranch branchName
resolve
streaml10n progress
result repositoryPath progress baseBranch branchName
result
result
l10n resultbranchName
repositoryPath vscodeUri progress vscodeProgressvscodeChatResponsePart baseBranch branchName ChatSessionWorktreeProperties
activeRepository gitServicerepositoryPath
activeRepository
progress vscodel10n
logService
autoCommit configurationServiceConfigKeyAdvancedCLIAutoCommitEnabled
baseCommit
branch branchName activeRepository
agentSessionsWorkspaceisAgentSessionsWorkspace baseBranch
branchDetails gitServiceactiveRepositoryrootUri baseBranch
branchDetailsupstreamremote branchDetailsupstreamname
upstreamBranchName
upstreamBranch gitServiceactiveRepositoryrootUri upstreamBranchName
upstreamBranch
baseBranch upstreamBranchName
baseCommit upstreamBranchcommit
error
errorMessage error errormessage error
logService
error
errorMessage error errormessage error
logService
worktreePath gitServiceactiveRepositoryrootUri branch commitish baseBranch noTrack
worktreePath activeRepositoryheadCommitHash activeRepositoryheadBranchName
baseBranchName baseBranch activeRepositoryheadBranchName
baseBranchProtected gitServiceactiveRepositoryrootUri baseBranchName
logService
baseBranch baseCommit
refs gitServiceactiveRepositoryrootUri pattern
baseCommit refslength refscommit refscommit
gitHubRemote activeRepository
incomingChanges activeRepositoryheadIncomingChanges
outgoingChanges activeRepositoryheadOutgoingChanges
uncommittedChanges activeRepositorychangesmergeChangeslength
activeRepositorychangesindexChangeslength
activeRepositorychangesworkingTreelength
activeRepositorychangesuntrackedChangeslength
autoCommit
branchName branch
baseCommit baseCommit activeRepositoryheadCommitHash
baseBranchName
baseBranchProtected
upstreamBranchName activeRepositoryupstreamRemote activeRepositoryupstreamBranchName
mergeBaseCommit baseCommit activeRepositoryheadCommitHash
hasGitHubRemote gitHubRemote
incomingChanges
outgoingChanges
uncommittedChanges
repositoryPath activeRepositoryrootUrifsPath
worktreePath
version
satisfies ChatSessionWorktreeProperties
progress vscodel10n
logService
error
progress vscodel10n error errormessage error
logService error
preferredName repository RepoContext
branchPrefixConfig vscodeworkspace
branchPrefix agentSessionsWorkspaceisAgentSessionsWorkspace
preferredName
branchName
refs gitServicerepositoryrootUri pattern
refsref refname branchName
branchName
branchName
randomBranchName gitServicerepositoryrootUri
branch randomBranchName
branch
sessionId ChatSessionWorktreeProperties
properties _sessionWorktreessessionId
properties
properties properties
metadataStoresessionId
sessionId properties ChatSessionWorktreeProperties
_sessionWorktreessessionId properties
metadataStoresessionId properties
properties propertieschanges
_onDidChangeWorktreeChanges sessionId
sessionId properties PartialChatSessionWorktreeProperties
_updatePropertiesSequencersessionId
currentProperties sessionId
currentProperties currentProperties
sessionId currentProperties properties ChatSessionWorktreeProperties
sessionId RepoContext
worktreeProperties sessionId
worktreeProperties worktreePropertiesrepositoryPath
gitServicevscodeUriworktreePropertiesrepositoryPath
sessionId vscodeUri
worktreeProperties sessionId
worktreeProperties
worktreeProperties
vscodeUriworktreeProperties
vscodeUriworktreePropertiesworktreePath
sessionId
worktreeProperties sessionId
worktreeProperties worktreePropertiesversion worktreePropertiesautoCommit
worktreePath sessionId
worktreePath
activeRepository worktreePropertiesrepositoryPath
gitServicevscodeUriworktreePropertiesrepositoryPath
workspaceServicelength gitServiceactiveRepository
activeRepository
gitServiceactiveRepositoryrootUri worktreePath
confirmation
deleteFromSource
untracked
worktreeProperties
sessionId
worktreeProperties
changes
patch gitService
vscodeUriworktreePropertiesworktreePath
worktreePropertiesbaseCommit
worktreePropertiesbranchName
patch
encoder
patchFilePath pathworktreePropertiesrepositoryPath
patchFileUri vscodeUripatchFilePath
vscodeworkspacefspatchFileUri encoderpatch
gitServicevscodeUriworktreePropertiesrepositoryPath patchFilePath
error
logService error
error
vscodeworkspacefspatchFileUri
ref gitServicevscodeUriworktreePropertiesrepositoryPath
pattern
reflength refcommit refcommit worktreePropertiesbaseCommit
sessionId
worktreeProperties
baseCommit refcommit
changes
sessionId
worktreeProperties
changes
sessionId
worktreeProperties sessionId
worktreeProperties worktreeProperties
worktreePropertieschanges
sessionId
worktreeProperties sessionId
worktreeProperties worktreeProperties
sessionId changes
sessionId
sessionId vscodeChatSessionChangedFile
worktreeProperties sessionId
worktreeProperties worktreeProperties
worktreePropertieschanges
worktreePropertieschanges
change sessionId change worktreeProperties
gitService
worktreePropertiesversion worktreePropertiesautoCommit
changes worktreeProperties
sessionId
worktreeProperties changes
changeschange sessionId change worktreeProperties
worktreePropertiesversion worktreePropertiesautoCommit
properties vscodeworkspaceisAgentSessionsWorkspace
sessionId worktreeProperties
worktreeProperties
properties
sessionId
worktreeProperties properties
propertieschangeschange sessionId change worktreeProperties
properties sessionId worktreeProperties
properties
sessionId
worktreeProperties properties
propertieschangeschange sessionId change worktreeProperties
error
errorMessage error errormessage error
logService
sessionId
worktreeProperties changes
sessionId
worktreeProperties sessionId
worktreeProperties
worktreePropertiesautoCommit
logService
sessionId
worktreeProperties
changes
worktreePath worktreePropertiesworktreePath
repository gitCommitMessageServicevscodeUriworktreePath
repository
logService
repositorystateworkingTreeChangeslength repositorystateindexChangeslength repositorystateuntrackedChangeslength
logService
sessionId
worktreeProperties
changes
message
logService
message gitCommitMessageServicerepository CancellationTokenNone
error
errorMessage error errormessage error
logService
message
logService
message
gitServicevscodeUriworktreePath message all noVerify signCommit
logService
sessionId
worktreeProperties
changes
sessionId cleaned reason
worktreeProperties sessionId
worktreeProperties
cleaned reason
worktreePath worktreePropertiesworktreePath
fsworktreePath
logService
cleaned reason
repository gitCommitMessageServicevscodeUriworktreePath
repository
logService
cleaned reason
hasUncommittedChanges repositorystateworkingTreeChangeslength
repositorystateindexChangeslength
repositorystateuntrackedChangeslength
hasUncommittedChanges
worktreePropertiesautoCommit
logService
sessionId
error
errorMessage error errormessage error
logService
cleaned reason
logService
cleaned reason
refs gitService
vscodeUriworktreePropertiesrepositoryPath
pattern
refs refslength
logService
cleaned reason
error
errorMessage error errormessage error
logService
cleaned reason
parentRepository gitServicevscodeUriworktreePropertiesrepositoryPath
parentRepository
logService
cleaned reason
gitServiceparentRepositoryrootUri worktreePath
logService
cleaned
error
errorMessage error errormessage error
logService
cleaned reason
sessionId recreated reason
worktreeProperties sessionId
worktreeProperties
recreated reason
worktreePath worktreePropertiesworktreePath
fsworktreePath
logService
recreated reason
refs gitService
vscodeUriworktreePropertiesrepositoryPath
pattern
refs refslength
logService
recreated reason
error
errorMessage error errormessage error
logService
recreated reason
parentRepository gitServicevscodeUriworktreePropertiesrepositoryPath
parentRepository
logService
recreated reason
createdPath gitServiceparentRepositoryrootUri
path worktreePath
commitish worktreePropertiesbranchName
createdPath
logService
recreated reason
logService
recreated
error
errorMessage error errormessage error
logService
recreated reason
worktreeProperties ChatSessionWorktreeProperties ChatSessionWorktreeFile
worktreePath vscodeUriworktreePropertiesworktreePath
worktreeRepository gitServiceworktreePath
worktreeRepositorychanges
changes ChatSessionWorktreeFile
change worktreeRepositorychangesindexChanges worktreeRepositorychangesworkingTree
fileStats gitServicechangeuri
changes
filePath changeurifsPath
originalFilePath changestatus
changeoriginalUrifsPath
modifiedFilePath changestatus
changeurifsPath
statistics
additions fileStatsinsertions
deletions fileStatsdeletions
satisfies ChatSessionWorktreeFile
error
changes
worktreeProperties ChatSessionWorktreePropertiesV2 changes ChatSessionWorktreeFile
repository gitServicevscodeUriworktreePropertiesrepositoryPath
repository
diff gitService
repositoryrootUri
worktreePropertiesbaseCommit
worktreePropertiesbranchName
diff
changes
changes diffchange
worktreeFilePath pathworktreePropertiesworktreePath pathworktreePropertiesrepositoryPath changeurifsPath
worktreeOriginalFilePath changeoriginalUri
pathworktreePropertiesworktreePath pathworktreePropertiesrepositoryPath changeoriginalUrifsPath
filePath worktreeFilePath
originalFilePath changestatus
worktreeOriginalFilePath
modifiedFilePath changestatus
worktreeFilePath
statistics
additions changeinsertions
deletions changedeletions
satisfies ChatSessionWorktreeFile
changes
sessionId worktreeProperties ChatSessionWorktreeProperties
changes ChatSessionWorktreeFile
mergeBaseCommit
hasGitHubRemote
upstreamBranchName
incomingChanges
outgoingChanges
uncommittedChanges
worktreePropertiesversion
logService
worktreeRepository gitServicevscodeUriworktreePropertiesworktreePath
worktreeRepository
logService
hasUntrackedChanges
worktreeRepositorychangesworkingTree
worktreeRepositorychangesuntrackedChanges
change changestatus
noRenamesArg worktreeRepositoryisUsingVirtualFileSystem
diffChanges DiffChange
worktreePath vscodeUriworktreePropertiesworktreePath
hasUntrackedChanges
tmpDirName
diffIndexFile pathextensionContextglobalStorageUrifsPath tmpDirName
pathspecFile pathextensionContextglobalStorageUrifsPath tmpDirName
env worktreeRepository diffIndexFile
fspathdiffIndexFile recursive
gitServiceworktreePath env
uncommittedFilePaths worktreeRepository
fspathspecFile uncommittedFilePaths
gitServiceworktreePath env
result gitServiceworktreePath noRenamesArg worktreePropertiesbaseBranchName env
diffChangesworktreePropertiesworktreePath result
error
logService
fspathdiffIndexFile recursive force
error
logService
result gitServiceworktreePath noRenamesArg worktreePropertiesbaseBranchName
diffChangesworktreePropertiesworktreePath result
error
logService
mergeBaseCommit
mergeBaseCommit gitServiceworktreePath worktreePropertiesbranchName worktreePropertiesbaseBranchName
error
logService
changes diffChangeschange
filePath changeurifsPath
originalFilePath changestatus
changeoriginalUrifsPath
modifiedFilePath changestatus
changeurifsPath
statistics
additions changeinsertions
deletions changedeletions
satisfies ChatSessionWorktreeFile
repositoryState
mergeBaseCommit
hasGitHubRemote worktreeRepository
upstreamBranchName worktreeRepositoryupstreamRemote worktreeRepositoryupstreamBranchName
incomingChanges worktreeRepositoryheadIncomingChanges
outgoingChanges worktreeRepositoryheadOutgoingChanges
uncommittedChanges
worktreeRepositorychangesmergeChangeslength
worktreeRepositorychangesindexChangeslength
worktreeRepositorychangesworkingTreelength
worktreeRepositorychangesuntrackedChangeslength
changes repositoryState
sessionId change ChatSessionWorktreeFile worktreeProperties ChatSessionWorktreeProperties vscodeChatSessionChangedFile
originalFileRef modifiedFileRef
worktreePropertiesversion
originalFileRef vscodeworkspaceisAgentSessionsWorkspace
worktreePropertiesmergeBaseCommit worktreePropertiesbaseCommit
worktreePropertiesbaseCommit
modifiedFileRef vscodeworkspaceisAgentSessionsWorkspace
worktreePropertiesbranchName
originalFileRef worktreePropertiesbaseCommit
modifiedFileRef worktreePropertiesbranchName
vscodeUrichangefilePath
changeoriginalFilePath
vscodeUrichangeoriginalFilePath originalFileRef
changemodifiedFilePath
modifiedFileRef
vscodeUrichangemodifiedFilePath modifiedFileRef
vscodeUrichangemodifiedFilePath
changestatisticsadditions
changestatisticsdeletions
sessionId ChatSessionWorktreeProperties
additionalWorkspaces metadataStoresessionId
additionalWorkspaces
ws wsworktreeProperties
props props ChatSessionWorktreeProperties props
sessionId properties ChatSessionWorktreeProperties
workspaces propertiesprops
folder
repository vscodeUripropsrepositoryPath
worktree vscodeUripropsworktreePath
worktreeProperties props
metadataStoresessionId workspaces
worktreeProperties ChatSessionWorktreeProperties
worktreePropertiesautoCommit
logService
worktreePath worktreePropertiesworktreePath
repository gitCommitMessageServicevscodeUriworktreePath
repository
logService
repositorystateworkingTreeChangeslength repositorystateindexChangeslength repositorystateuntrackedChangeslength
logService
message
message gitCommitMessageServicerepository CancellationTokenNone
error
errorMessage error errormessage error
logService
message
message
gitServicevscodeUriworktreePath message all noVerify signCommit
logService