Это 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.
*--------------------------------------------------------------------------------------------*//**
* Integration tests for {@link AgentHostGitService} that spawn real `git` against
* temporary on-disk repositories. Kept out of the unit-test suite because they
* require `git` on PATH and do real filesystem and process work — same split as
* the git extension (pure parser tests in `git.test.ts`, on-disk tests in
* `smoke.test.ts`).
*
* Run via `scripts/test-integration.sh`.
*/import assert from'assert';import*as cp from'child_process';import{ existsSync, mkdirSync, mkdtempSync, readdirSync, rmSync }from'fs';import{ tmpdir }from'os';import{ NullLogService }from'../../../log/common/log.js';import{ join }from'../../../../base/common/path.js'
isWindows
ensureNoDisposablesAreLeakedInTestSuite
INativeEnvironmentService
FileService
Schemas
DiskFileSystemProvider
DisposableStore
AgentHostGitService
warnings
override message
warningsmessage
disposables PickDisposableStore logService NullLogService AgentHostGitService
fileService disposables logService
disposablesfileServiceSchemasfile disposables logService
env PartialINativeEnvironmentService tmpDir
fileService env INativeEnvironmentService logService
path
path
path recursive force maxRetries retryDelay
disposables
hasGit
cp stdio
tmpRoot
svc AgentHostGitService
logService TestLogService
tmpRoot
logService
svc disposables logService
tmpRoot
opts remote baseBranch
tmpRoot
env processenv
args cp args cwd tmpRoot env stdio
optsbaseBranch
optsremote
optsremote
tmpRoot
hasGit test testskip
dir
tmpRoot dir
result svcdir
assertresult
hasGit test testskip
dir remote
result svcdir
assertresult
assertresultbranchName
assertresulthasGitHubRemote
assertresultuncommittedChanges
assertresultupstreamBranchName
assertresultoutgoingChanges
assertresultincomingChanges
hasGit test testskip
dir remote
cp cwd dir stdio
cp cwd dir stdio
cp cwd dir stdio
cp cwd dir stdio
result svcdir
assert
githubOwner resultgithubOwner
githubHeadOwner resultgithubHeadOwner
githubRepo resultgithubRepo
upstreamBranchName resultupstreamBranchName
githubOwner
githubHeadOwner
githubRepo
upstreamBranchName
hasGit test testskip
dir remote
cp cwd dir stdio
cp cwd dir stdio
cp cwd dir stdio
result svcdir
assert
githubOwner resultgithubOwner
githubHeadOwner resultgithubHeadOwner
githubRepo resultgithubRepo
upstreamBranchName resultupstreamBranchName
githubOwner
githubHeadOwner
githubRepo
upstreamBranchName
hasGit test testskip
dir
cp cwd dir stdio
cp cwd dir stdio
assert svcdir
name
startPoint
hasGit test testskip
dir
assert
defaultBranch svcdir
warnings logServicewarnings
defaultBranch
warnings
hasGit test testskip
dir
cp cwd dir stdio
assert svcdir
name
startPoint
hasGit test testskip
dir remote
fs
fsdir
fsdir
result svcdir
assertresult
assertresultuncommittedChanges
assertresulthasGitHubRemote
hasGit test testskip
dir remote
before svcdir
dir
after svcdir
assert before beforebranchName after before after
hasGit test testskip
remoteDir
env processenv
cp cwd remoteDir env stdio
tmpRoot
args cp args cwd tmpRoot env stdio
remoteDir
result svctmpRoot
assertresult
assertresultbranchName
assertresultbaseBranchName
assertresultupstreamBranchName
assertresultoutgoingChanges
assertresulthasBaseBranchChanges
assertresultuncommittedChanges
remoteOnlyResult svctmpRoot
assertremoteOnlyResulthasBaseBranchChanges
remoteDir
disposables
hasGit
cp stdio
tmpRoot
svc AgentHostGitService
tmpRoot
svc disposables
tmpRoot
dir args Buffer
tmpRoot
env processenv
args cp args cwd tmpRoot env stdio
dir tmpRoot run
hasGit test testskip
dir
tmpRoot dir
result svcdir sessionUri
assertresult
hasGit test testskip
fs
dir run
fsdir
fsdir
fsdir
fsdir
fsdir
result svcdir sessionUri
assertresult
byPath resultd dafteruri dbeforeuri d
name resultd
u dafteruri dbeforeuri
u u name
kept
assertkeptbefore keptafter
assertkeptdiff added removed
assertkeptbeforecontenturischeme
fresh
assertfreshafter freshbefore
gone
assertgonebefore goneafter
byPath
hasGit test testskip
fs
dir run
fsdir
fsdir
result svcdir sessionUri
assertresult
rename resultd dbeforeuri dafteruri
fresh resultd dbefore dafteruri
assert
rename rename before renamebeforeuripath after renameafteruripath
fresh fresh freshafteruripath
rename before after
fresh
hasGit test testskip
fs
dir run
fsdir
fsdir
fsdir
fsdir
result svcdir sessionUri
assertresultdiff diffafteruri diffbeforeuripath
hasGit isWindows test testskip
fs
dir
blockedPath dir
fsblockedPath
fsblockedPath
result svcdir sessionUri
assertresult
fsblockedPath
hasGit test testskip
fs
dir run
fsdir
fsdir
result svcdir sessionUri baseBranch
assertresult
paths resultd dafteruri dbeforeuri
assertpathsp p
hasGit test testskip
fs
dir run
fsdir
fsdir
fsdir
result svcdir sessionUri baseBranch
assertresult
paths resultd dafteruri dbeforeuri
assert
feature pathsp p
upstream pathsp p
feature
upstream
hasGit test testskip
fs
dir run
fsdir
result svcdir sessionUri
assertresult
hasGit test testskip
fs
dir
fsdir
result svcdir sessionUri
assertresult
assertresultlength
assertresultafter resultbefore
hasGit test testskip
fs
dir run
fsdir
fsdir
tree svcdir
asserttree
treePaths cp tree cwd dir encoding
Boolean
asserttreePaths
hasGit test testskip
fs
dir run
fsdir
baseline
fsdir
fsdir
tree svcdir
asserttree
fileDiffs svcdir sessionUri fromRef baseline toRef tree
assertfileDiffs
snapshots fileDiffs fileDiff
before fileDiffbeforeuri fileDiffbeforeuripath
after fileDiffafteruri fileDiffafteruripath
paths before afterpath path path
patch svcdir fromRef baseline toRef tree paths maxBuffer
before after patch
assertsnapshotssnapshot
before snapshotbefore
after snapshotafter
tooLarge snapshotpatchtooLarge
containsExpectedContent snapshotafter
snapshotpatchpatch
snapshotpatchpatch
a b aafter bafter
before
after
tooLarge
containsExpectedContent
before
after
tooLarge
containsExpectedContent
hasGit isWindows test testskip
fs
dir
blockedPath dir
fsblockedPath
fsblockedPath
result svcdir
assertresult
fsblockedPath
hasGit test testskip
fs
dir run
fsdir
ref cp cwd dir encoding
fsdir
blob svcdir ref
assertblob
assertblob
disposables
hasGit
cp stdio
tmpRoot
svc AgentHostGitService
env processenv
tmpRoot
svc disposables
tmpRoot
tmpRoot
args cp args cwd tmpRoot env stdio
tmpRoot
hasGit test testskip
dir
assert svcdir
assert svcdir
hasGit test testskip
dir
fs
fsdir
baseHead cp cwd dir env encoding
svcdir checkout
branchName cp cwd dir env encoding
currentHead cp cwd dir env encoding
status cp cwd dir env encoding
assert branchName currentHead baseHead status
branchName
currentHead baseHead
baseHead
status
hasGit test testskip
dir
assert svcdir
fs
fsdir
assert svcdir
cp cwd dir env stdio
cp cwd dir env stdio
assert svcdir
hasGit isWindows test testskip
dir
fs
trackedFile dir
fstrackedFile
cp cwd dir env stdio
cp cwd dir env stdio
marker dir
hook dir
fshook
fshook
future Date
fstrackedFile future future
hasChanges svcdir
assert hasChanges refreshedIndex marker hasChanges refreshedIndex
hasGit test testskip
dir
fs
fsdir
cp cwd dir env stdio
cp cwd dir env stdio
fsdir
fsdir
cp cwd dir env stdio
fsdir
svcdir
status cp cwd dir env encoding
lastMessage cp cwd dir env encoding
committedFiles cp cwd dir env encoding
assert status lastMessage committedFiles
status
lastMessage
committedFiles
hasGit test testskip
dir
fs
cp cwd dir env stdio
fsdir
cp cwd dir env stdio
cp cwd dir env stdio
cp cwd dir env stdio
svcdir
status cp cwd dir env encoding
head cp cwd dir env encoding
source cp cwd dir env encoding
assert status headMatchesSource head source status headMatchesSource
hasGit test testskip
dir
fs
fsdir
cp cwd dir env stdio
cp cwd dir env stdio
cp cwd dir env stdio
fsdir
cp cwd dir env stdio
cp cwd dir env stdio
fsdir
cp cwd dir env stdio
mergeFailed
svcdir
mergeFailed
status cp cwd dir env encoding
contents fsdir
mergeHeadExists
cp cwd dir env stdio
mergeHeadExists
assert mergeFailed status contents mergeHeadExists
mergeFailed
status
contents
mergeHeadExists
hasGit test testskip
dir
fs
fsdir
cp cwd dir env stdio
cp cwd dir env stdio
cp cwd dir env stdio
fsdir
cp cwd dir env stdio
cp cwd dir env stdio
fsdir
cp cwd dir env stdio
cp cwd dir env stdio
errorMessage
svcdir
error
errorMessage error errormessage error
mergeHeadExists
cp cwd dir env stdio
mergeHeadExists
cp cwd dir env stdio
assert
rejectedExistingMerge errorMessage
mergeHeadExists
rejectedExistingMerge
mergeHeadExists
hasGit test testskip
dir
cp cwd dir env stdio
wtPath dir
svcdir wtPath
fs
stat fswtPath
assertstat
wtPath
hasGit test testskip
dir
cp cwd dir env stdio
wtPath dir
svcdir
path wtPath
commitish
track
assertcp cwd wtPath env encoding
svcdir wtPath force
wtPath
hasGit test testskip
dir
remotePath dir
cp remotePath cwd dir env stdio
cp remotePath cwd dir env stdio
cp cwd dir env stdio
cp cwd dir env stdio
cp cwd dir env stdio
wtPath dir
svcdir
path wtPath
commitish
track
assert
branch cp cwd wtPath env encoding
upstream cp cwd wtPath env encoding
branch
upstream
svcdir wtPath force
wtPath
hasGit test testskip
dir
remotePath dir
cp remotePath cwd dir env stdio
cp remotePath cwd dir env stdio
cp cwd dir env stdio
cp cwd dir env stdio
cp cwd dir env stdio
cp cwd dir env stdio
cp cwd dir env stdio
wtPath dir
svcdir
path wtPath
commitish
newBranchName
track
preferRemoteBranch
assert
branch cp cwd wtPath env encoding
upstream cp cwd wtPath env encoding
branch
upstream
svcdir wtPath force
wtPath
hasGit test testskip
dir
fs
wtPath dir
svcdir
path wtPath
commitish
newBranchName
track
fswtPath
safeRemovalFailed
svcdir wtPath
safeRemovalFailed
existsAfterSafeRemoval wtPath
svcdir wtPath force
assert
safeRemovalFailed
existsAfterSafeRemoval
existsAfterForcedRemoval wtPath
safeRemovalFailed
existsAfterSafeRemoval
existsAfterForcedRemoval
svcdir wtPath force
wtPath
cp cwd dir env stdio
hasGit test testskip
dir
suffix
wtPath dir suffix
svcdir
path wtPath
commitish
newBranchName
track
wtPath recursive force
listedBefore cp cwd dir env encoding
svcdir wtPath force
listedAfter cp cwd dir env encoding
assert
registeredBefore listedBeforesuffix
registeredAfter listedAftersuffix
registeredBefore
registeredAfter
svcdir wtPath force
wtPath
cp cwd dir env stdio
hasGit test testskip
dir
suffix
wtPath dir suffix
worktreeLocked
svcdir
path wtPath
commitish
newBranchName
track
cp wtPath cwd dir env stdio
worktreeLocked
wtPath recursive force
assert
svcdir wtPath force
listed cp cwd dir env encoding
assertlistedsuffix
worktreeLocked
cp wtPath cwd dir env stdio
svcdir wtPath force
wtPath
cp cwd dir env stdio
hasGit test testskip
dir
suffix
wtPath dir suffix
svcdir
path wtPath
commitish
newBranchName
track
adminRoot dir
entry adminRoot
adminRoot entry recursive force
listed cp cwd dir env encoding
assert
dirPresent wtPath
stillRegistered listedsuffix
dirPresent
stillRegistered
svcdir wtPath force
wtPath
cp cwd dir env stdio
hasGit test testskip
tmpRoot
wtPath tmpRoot
wtPath
assert
svctmpRoot wtPath force
hasGit test testskip
dir
fs
cp cwd dir env stdio
cp cwd dir env stdio
fsdir
cp cwd dir env stdio
cp cwd dir env stdio
cp cwd dir env stdio
cp cwd dir env stdio
wtPath dir
svcdir
path wtPath
commitish
newBranchName
preferRemoteBranch
track
stat fswtPath
assertstat
assert cp cwd wtPath env stdio
svcdir wtPath force
wtPath
cp cwd dir env stdio
hasGit test testskip
dir
fs
fsdir
fsdir
fsdir recursive
fsdir
fsdir
fsdir recursive
fsdir
fsdir recursive
fsdir
fsdir
fsdir recursive
fsdir
fsdir
cp cwd dir env stdio
cp cwd dir env stdio
fsdir
wtPath dir
svcdir
path wtPath
commitish
newBranchName
track
progress filesDone filesTotal
svcdir wtPath sample progresssample
relativePath
fswtPath relativePath
assert
env
secretKey
secretDeep
buildArtifact
partialKeep
partialSkip
appConfig
appTracked
progressSamples progresslength
progressTotals progresssample samplefilesTotal
progressDone progressfilesDone
env
secretKey
secretDeep
buildArtifact
partialKeep
partialSkip
appConfig
appTracked
progressSamples
progressTotals
progressDone
svcdir wtPath force
wtPath
cp cwd dir env stdio
disposables
hasGit
cp stdio
tmpRoot
svc AgentHostGitService
env processenv
tmpRoot
svc disposables
tmpRoot
files Record
tmpRoot
fs
args cp args cwd tmpRoot env stdio
name content Objectfiles
fstmpRoot name content
tmpRoot
hasGit test testskip
fs
dir
fsdir
svcdir
assert fsdir
hasGit test testskip
fs
dir
fsdir
cp cwd dir env stdio
svcdir staged
stagedDiff cp cwd dir env encoding
workingTree fsdir
assert stagedDiff workingTree stagedDiff workingTree
hasGit test testskip
fs
dir
v1Sha cp cwd dir env encoding
fsdir
cp cwd dir env stdio
svcdir ref v1Sha
assert fsdir
hasGit test testskip
fs
dir
fsdir
fsdir
svcdir
a b
fsdir
fsdir
assert a b a b
hasGit test testskip
dir
tmpRoot dir
assert svcdir
disposables
hasGit
cp stdio
tmpRoot
svc AgentHostGitService
env processenv
tmpRoot
svc disposables
tmpRoot
files Record dir args Buffer
tmpRoot
fs
args cp args cwd tmpRoot env stdio
name content Objectfiles
fstmpRoot name content
dir tmpRoot run
dir cp cwd dir env encoding
dir tree cp tree cwd dir env encoding Boolean
dir tree path cp cwd dir env encoding
hasGit test testskip
fs
dir
base dir
fsdir
source svcdir
assertsource
result svcdir base source
assertresult
assert
files dir result
aContent dir result
bContent dir result
files
aContent
bContent
hasGit test testskip
fs
dir
base dir
fsdir
source svcdir
assertsource
result svcdir base source
assertresult
assert
files dir result freshContent dir result
files freshContent
hasGit test testskip
fs
dir
fsdir
base svcdir
assertbase
source dir
result svcdir base source
assertresult
assertdir result
hasGit test testskip
dir
tmpRoot dir
result svcdir
assertresult
disposables
hasGit
cp stdio
tmpRoot
svc AgentHostGitService
env processenv
tmpRoot
svc disposables
tmpRoot
args Buffer
tmpRoot
args cp args cwd tmpRoot env stdio
run
hasGit test testskip
fs
run
fstmpRoot
baseCommit
fstmpRoot
result svctmpRoot
assertresult baseCommit
hasGit test testskip
fs
run
fstmpRoot
headCommit
result svctmpRoot
assertresult headCommit
hasGit test testskip
result svctmpRoot
assertresult
hasGit test testskip
dir
tmpRoot dir
result svcdir
assertresult