ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/*---------------------------------------------------------------------------------------------
* Aura Kotlin — приложение исходников к classpath Java Language Server.
*
* Без source attachment (sourcepath) Eclipse JDT знает только сигнатуры: переход к определению
* по android.jar и androidx уводит в «сгенерированный» класс, а hover пустой, потому что javadoc
* JDT берёт из исходников. Исходники берём оттуда же, откуда их берёт Android Studio:
* • android.jar → пакет `sources;android-<api>` из репозитория Android SDK;
* • androidx/Google → `-sources.jar` из Google Maven (Maven Central — для остального);
* • уже скачанные → файлы в кэше Gradle (modules-2) рядом с самим артефактом.
*
* Скачивание не блокирует старт сервера: сначала подключаем то, что уже есть на диске,
* остальное догружается фоном и подключается перезапуском (см. javaLsp.ts).
*-------------------------------------------------------------------------------------------*/
import * as fs from 'node:fs';
import * as os from 'node:os';
import * as path from 'node:path';
import * as https from 'node:https';
import * as http from 'node:http';
import { extractZipAll } from './zipMember';
import { downloadFile
group artifact version
api dir entries
attached Map
platform MissingPlatform
downloadable file candidates coords Coordinates
unresolved
value
fsvalue
value
value
file Coordinates
marker
normalized file
index normalizedmarker
index
parts normalizedindex markerlength
partslength
group parts artifact parts version parts
file
coords file
entry file fsfile file pathfile pathfile
coords
candidate pathpathfile
candidate candidate
versionDir pathentry
wanted
direct pathentry wanted
direct direct
subdirs fsDirent
subdirs fsversionDir withFileTypes
child subdirs
child
candidate pathversionDir childname wanted
candidate candidate
coords Coordinates
relative
google
central
googleGroup coordsgroup
googleGroup google central central google
file
pathfile
parent pathpathfile
match parent
match match
dir
candidate dir pathdir
pathcandidate candidate
child fsdir withFileTypes
child
nested pathdir childname
pathnested nested
sdkRoot Map
found
sdkRoot found
entries fsDirent
entries fspathsdkRoot withFileTypes
found
entry entries
entry
match entryname
match
root pathsdkRoot entryname
root foundmatch root
found
sdkRoot storageRoot api
inSdk sdkRoot pathsdkRoot
inSdk pathinSdk inSdk
pathstorageRoot
dir
fsdir recursive
fsdir fsconstants
manifestCache
manifestCache manifestCache
names
texts
name names
texts
manifestCache texts
texts
api
candidates
text
block text
block
urls blockmatch match
urlslength candidatesurlsurlslength
candidates
candidates
entries options sdkRoot storageRoot SourcesPlan
plan SourcesPlan attached platform downloadable unresolved
cacheDir optionsstorageRoot
installed optionssdkRoot
missingPlatform
entry entries
api entry
api
root installedapi
root planattachedentry root
missing missingPlatformapi api dir optionssdkRoot optionsstorageRoot api entries
missingentriesentry
missingPlatformapi missing
cached entry
cached planattachedentry cached
coords entry
coords
planunresolvedentry
downloaded cacheDir coords
downloaded planattachedentry downloaded
plandownloadable file entry candidates coords coords
missing missingPlatforma b bapi aapi
planplatformmissing
plan
storageRoot
pathstorageRoot
token isCancellationRequested
onProgress done total subject
platform
attached Map
platformAttached Map
downloaded
failed
platformInstalled
sizes bytes
cacheDir coords Coordinates
pathcacheDir coordsgroup coordsartifact coordsversion
plan SourcesPlan cacheDir options DownloadOptions DownloadResult
result DownloadResult attached platformAttached downloaded failed platformInstalled sizes bytes
optionstokenisCancellationRequested
total plandownloadablelength optionsplatform planplatformlength
done
item plandownloadable
optionsonProgressdone total pathitemfile
target cacheDir itemcoords
target
resultattacheditemfile target
done
saved
url itemcandidates
url target
resultattacheditemfile target
resultdownloaded
saved
saved resultfaileditemcoordsartifact
done
optionsplatform
missing planplatform
optionsonProgressdone total
root missingapi missingdir
entry missingentries resultplatformAttachedentry root
resultplatformInstalledmissingdir
resultsizesbytes missingdir
resultfailed
done
optionsonProgressdone total
result
dir
total
pending dir
pendinglength
current pending
entries fsDirent
entries fscurrent withFileTypes
entry entries
full pathcurrent entryname
entry pendingfull
total fsfullsize
total
url target
temp
fspathtarget recursive
url temp
temp fstempsize
fstemp force
fstemp target
fstemp force
file
handle fsfile
head Buffer
fshandle head
fshandle
head head
api destDir
urls api
archive pathos
lastError Error
url urls
url archive
archive
lastError
error
lastError error error error
lastError
fsarchive force
fsdestDir recursive force
fsdestDir recursive
files ok archive destDir name name
fsarchive force
ok files
root destDir
root
root
url redirects
resolve reject
redirects
mod url https http
modurl response
responsestatusCode responsestatusCode responsestatusCode responseheaderslocation
response
responseheaderslocation url redirects
responsestatusCode
chunks Buffer
response chunk chunkschunk Buffer
response Bufferchunks
response reject
reject