ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/*---------------------------------------------------------------------------------------------
* Aura Kotlin — Java Language Server (Eclipse JDT LS, EPL-2.0).
* Порядок разрешения сервера:
* 1. auraKotlin.javaLspPath, если пользователь задал свой путь (каталог jdtls или launcher-jar);
* 2. комплект поставки: <extension>/java-server (для offline-сборок);
* 3. автоскачивание: <globalStorage>/java/jdtls (снимок Eclipse, ~51 МБ) по кнопке в IDE.
* Важная деталь: свежие снимки jdtls требуют свежий JDK (в снимке 2026-09 это Java 25),
* поэтому JDK для сервера выбирается как САМЫЙ НОВЫЙ из доступных на машине, а не тот,
* что указан в auraKotlin.javaPath (он обычно 17 и нужен Kotlin-серверу).
*-------------------------------------------------------------------------------------------*/
import * as vscode from 'vscode';
import { tr } from './l10n';
import { execFile } from 'node:child_process';
import { promisify } from 'node:util';
import * as fs from 'node:fs';
import * as os from 'node:os';
import * as path from 'node:path'
https
http
ServerLaunch
javaMajorVersion
execFileAsync execFile
context vscodeExtensionContext
context context
cachedJava command version
context vscodeExtensionContext
pathcontextglobalStorageUrifsPath
context vscodeExtensionContext kind
base kind pathcontextextensionPath pathcontextglobalStorageUrifsPath
base base
dir
plugins pathdir
fsplugins
name fspluginsentry entry
name pathplugins name
dir
platform processplatform processplatform
candidates processarch
candidatesname pathdir namecandidate fscandidate pathdir
dir dataDir
jar dir
jar
jar
dir
dataDir
context vscodeExtensionContext
candidates
configured vscodeworkspace
configured candidatesconfigured
context
javaDir pathcontextglobalStorageUrifsPath
name fsjavaDir
name candidatespathjavaDir name processplatform
home processenv
home candidatespathhome
jdkRoot pathos
name fsjdkRoot candidatespathjdkRoot name
studio
fsstudio candidatesstudio
candidates
candidates
required context vscodeExtensionContext command version
cachedJava required cachedJavaversion required cachedJava
probes context command command version command
minimum Math required
usable probesprobe probeversion probeversion minimum command version
usablelength
usablea b bversion aversion
cachedJava usable
cachedJava
cachedJava
context vscodeExtensionContext major
platform processplatform processplatform
arch processarch
url
base pathcontextglobalStorageUrifsPath
dest pathbase
javaExe pathdest processplatform
fsjavaExe dest
vscodewindow
location vscodeProgressLocationNotification title major cancellable
isZip processplatform
archive pathos
extractDir
fsbase recursive
url archive
extractDir pathbase
fsextractDir recursive
isZip
timeout
archive extractDir
unpacked extractDir
inner fsunpackedname pathunpacked namecandidate fscandidate
inner
fsdest recursive force
fsinner dest
extractDir
fsjavaExe
dest
error
message error errormessage error
vscodewindow message
fsarchive force
extractDir fsextractDir recursive force
context vscodeExtensionContext dataDir ServerLaunch
setting vscodeworkspace
java context
java
roots dir source ServerLaunch
dir setting setting pathpathsetting setting source
dir context source
dir context source
root roots
rootdir
args rootdir dataDir
args command javacommand args source rootsource cwd rootdir
context vscodeExtensionContext workspaceRoot
key workspaceRoot pathworkspaceRoot workspaceRoot
pathcontextglobalStorageUrifsPath key
value
hash
index index valuelength index
hash hash valueindex
hash
dir configName
candidates pathdir
entry fsdir
entry candidatespathdir entry
configName fsconfigName candidatesconfigName
logs file time
candidate candidates
entry fscandidate
entry
file pathcandidate entry
logs file time fsfilemtimeMs
logsa b btime atime
log logs
text fslogfile
match text
match match
javaServerInstall
context vscodeExtensionContext
existing context
existing existing
javaServerInstall context javaServerInstall
javaServerInstall
context vscodeExtensionContext
destBase pathcontextglobalStorageUrifsPath
vscodewindow
location vscodeProgressLocationNotification title cancellable
archive pathos
extractDir
fsdestBase recursive
entry fsdestBase
entry fspathdestBase entry recursive force
archive
extractDir pathdestBase
fsextractDir recursive
archive extractDir
dest pathdestBase
fsdest fsdest recursive force
fsextractDir dest
extractDir
dest dest
error
message error errormessage error
vscodewindow message
fsarchive force
extractDir fsextractDir recursive force
url dest attempts
lastError Error
attempt attempt attempts attempt
have fsdest fsdestsize
total url dest have
size fsdest fsdestsize
total size total
error
lastError error error error
lastErrormessage fsdest force lastError
attempt attempts resolve resolve attempt
fsdest force
lastError
url dest from
resolve reject
follow target redirects offset
redirects
mod target https http
settled
fail error Error settled settled error
done total settled settled total
headers Record offset Range
request modtarget headers response
responsestatusCode responsestatusCode responsestatusCode responseheaderslocation
response
responseheaderslocation target redirects offset
resume responsestatusCode
responsestatusCode resume
expected responseheaders
total expected resume offset expected expected
received
file fsdest flags resume
truncated
file
request request
response chunk received chunklength request
response truncated
response truncated
responsefile
file file
expected received expected
total
file error error
request request
request error error
url from
archive destDir
systemTar processplatform
pathprocessenvSystemRoot
candidates systemTar fssystemTar
command systemTar args command args
command args processplatform
lastError
candidate candidates
candidatecommand candidateargs archive destDir timeout
lastError
error
lastError error
candidateargslength error
candidatecommand archive destDir timeout
lastError
retryError lastError retryError
lastError
patharchive lastError lastErrormessage lastError
fsdestDirlength
patharchive
context vscodeExtensionContext dataDir ServerLaunch
vscodewindow
contextglobalState
download
later
pick vscodewindow
download later
pick download
dir context
dir
vscodewindow
context dataDir
pick later contextglobalState