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 fs from 'fs';
import * as tar from 'tar';
import { VSBuffer } from '../../../base/common/buffer.js';
import { CancellationToken } from '../../../base/common/cancellation.js';
import { CancellationError } from '../../../base/common/errors.js';
import { Emitter, Event } from '../../../base/common/event.js';
import { Disposable, IDisposable, toDisposable } from '../../../base/common/lifecycle.js';
import * path
format2
generateUuid
detectLibcSync
INativeEnvironmentService
FileOperationError FileOperationResult IFileService toFileOperationResult
createDecorator
ILogService
IProductService
IRequestService
ITelemetryService
IRequestContext
reportAgentSdkDownload
id
displayName
devOverrideEnvVar
hasSeparateMuslLinuxPackage
platform NodeJSPlatform
arch
libc LibcFamily
pkg PickIAgentSdkPackage
host ISdkTargetHost platform processplatform arch processarch libc
hostplatform hostarch
hostplatform pkghasSeparateMuslLinuxPackage hostlibc
IAgentSdkDownloader
downloadId
packageId
displayName
phase AgentSdkDownloadPhase
receivedBytes
totalBytes
explicitlyRequested
error
_serviceBrand
onDidDownloadProgress EventIAgentSdkDownloadProgress
pkg IAgentSdkPackage IDisposable
pkg IAgentSdkPackage token CancellationToken
pkg IAgentSdkPackage
pkg IAgentSdkPackage
header
header header
parsed header
parsed parsed
_serviceBrand
_onDidDownloadProgress
onDidDownloadProgress EventIAgentSdkDownloadProgress _onDidDownloadProgressevent
_pendingDownloads
_explicitProgressInterest
_failureLatch
_environmentService INativeEnvironmentService
_productService IProductService
_requestService IRequestService
_fileService IFileService
_logService ILogService
_telemetryService ITelemetryService
pkg IAgentSdkPackage
processenvpkgdevOverrideEnvVar
_productServiceagentSdkspkgid pkg
pkg IAgentSdkPackage IDisposable
_explicitProgressInterestpkgid _explicitProgressInterestpkgid
count _explicitProgressInterestpkgid
count
_explicitProgressInterestpkgid
_explicitProgressInterestpkgid count
pkg IAgentSdkPackage
processenvpkgdevOverrideEnvVar
config _productServiceagentSdkspkgid
config
sdkTarget pkg
sdkTarget
sentinel pkgid configversion sdkTarget
_fileServicesentinel
pkg IAgentSdkPackage token CancellationToken
override processenvpkgdevOverrideEnvVar
override
_logService
override
latched _failureLatchpkgid
latched latchedexpiresAt Date _explicitProgressInterestpkgid
latchederror
root pkg token
_failureLatchpkgid
root
err
tokenisCancellationRequested
err
error err err err
_failureLatchpkgid
error
expiresAt Date
error
pkg IAgentSdkPackage token CancellationToken
config _productServiceagentSdkspkgid
config
sdkTarget pkg
sdkTarget
url configurlTemplate sdkTarget
stray url
stray
cacheDir pkgid configversion sdkTarget
sentinel cacheDir
_fileServicesentinel
_logService
cacheDir
_logService
pending _pendingDownloadscacheDir
pending
pending pkg url cacheDir sentinel token
_pendingDownloadscacheDir
_pendingDownloadscacheDir pending
pending
packageId sdkVersion sdkTarget
path
_environmentServiceuserDataPath
packageId
sdkVersion
sdkTarget
pkg IAgentSdkPackage
url
cacheDir
sentinel
token CancellationToken
_logService
start Date
parent pathcacheDir
_fileServiceparent
tmpDir
tmpDirUri tmpDir
tmpDirUri
_fileServicetmpDirUri
downloadId
lastReceived
lastTotal
pkg downloadId start
tarballPath pathtmpDir
url tarballPath token receivedBytes totalBytes
lastReceived receivedBytes
lastTotal totalBytes
pkg downloadId start receivedBytes totalBytes
tarballPath tmpDir
_fileServicetarballPath
_fileService
tmpDirUri
VSBuffer
_fileServicetmpDirUri cacheDir
err
err sentinel tmpDirUri
_logService
pkg downloadId start lastReceived lastTotal
cacheDir
err
elapsed MathDate start
_logService
pkg downloadId start lastTotal lastReceived lastTotal
cacheDir
err
tmpDirUri
tokenisCancellationRequested
pkg downloadId start lastReceived lastTotal
message err errmessage err
pkg downloadId start lastReceived lastTotal message
pkg IAgentSdkPackage
downloadId
startedAt
phase AgentSdkDownloadPhase
receivedBytes
totalBytes
error
progress IAgentSdkDownloadProgress
downloadId
packageId pkgid
displayName pkgdisplayName
phase
receivedBytes
totalBytes
explicitlyRequested _explicitProgressInterestpkgid
error error
_onDidDownloadProgressprogress
phase
_telemetryService _logService progress Date startedAt
err
sentinel
tmpDirUri
err errfileOperationResult FileOperationResult
_fileServicesentinel
tmpDirUri
url
dest
token CancellationToken
onBytes receivedBytes totalBytes
tokenisCancellationRequested
context IRequestContext _requestService
url
type
callSite
token
tokenisCancellationRequested
contextstream
statusCode contextresstatusCode
statusCode statusCode
contextstream
totalBytes contextresheaders
resolve reject
out fsdest
settled
receivedBytes
lastEmitTime
force
onBytes
now Date
force now lastEmitTime
lastEmitTime now
receivedBytes totalBytes
settled
settled
cancelSub
err
settled
settled
cancelSub
contextstream
out
err
cancelSub token
out settleReject
out settleResolve
out contextstream
contextstream chunk
receivedBytes chunkbyteLength
outchunkbuffer
contextstream
contextstream
out
contextstream settleReject
tarball dest
tar file tarball cwd dest
uri
_fileServiceuri recursive
err
err Error FileOperationResult
err