ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/*---------------------------------------------------------------------------------------------
* Aura Kotlin — Этап 2: встроенный DAP-адаптер отладки (Debug Adapter Protocol).
* Запускает JVM c -agentlib:jdwp=..., подключается по JDWP и переводит DAP ↔ JDWP:
* launch/attach, setBreakpoints, threads/stackTrace, scopes/variables, continue/step,
* вывод stdout/stderr программы. Регистрируется через DebugAdapterInlineImplementation.
*--------------------------------------------------------------------------------------------*/
import * as vscode from 'vscode';
import { tr } from './l10n';
import { spawn, ChildProcess } from 'node:child_process';
import * as fs from 'node:fs';
import * as path from 'node:path';
import { JdwpConnection, EventKind, StepSize, StepDepth, Tag, JdwpFrame, JdwpLocation } from './jdwp';
import { ClasspathSync
AndroidPanel
findGradleCommand needsShell execTool
resolveJavaBinary resolveKotlincBinary
request
mainClass
program
apk
applicationId
deviceId
activity
host
port
args
vmArgs
programPath classpath
compiler
os
path
fs
jar pathos
args programPath
classpathlength args classpathprocessplatform
args jar
resolve reject
proc compiler args stdio shell compiler
stderr
procstderr chunk Buffer stderr chunk
proc code code fsjar jar stderr
proc reject
DebugAdapter
emitter
onDidSendMessage emitterevent
jdwp
process ChildProcess
port
mainClass
jarPath
terminated
androidDevice
androidPackage
breakpointRequests
requestToDap
currentThreadId
frameCache JdwpFrame
varHandles
stepRequestId
nextVarRef
classCache
lineCache
classpathSync ClasspathSync androidPanel AndroidPanel
jdwpline category output line
jdwpcommandSet command data
commandSet command
data
jdwp
process
jarPath
fs fsjarPath force
emitter
message vscodeDebugProtocolMessage
request message seq type command arguments request_seq
requesttype
requesterror
request error errormessage error
request command request_seq success body messageText
emitter
seq
type
request_seq requestrequest_seq
success
command requestcommand
body
message messageText
vscodeDebugProtocolMessage
name body
emitter seq type event name body vscodeDebugProtocolMessage
request command arguments request_seq
args requestarguments LaunchArguments Record
requestcommand
request
supportsConfigurationDoneRequest
supportsSetVariable
supportsEvaluateForHovers
supportsConditionalBreakpoints
supportsTerminateRequest
args
request
bpArgs args source path lines breakpoints line
lines bpArgsbreakpointsbp bpline bpArgslines
resolved bpArgssourcepath lines
request breakpoints resolved
request
jdwp
request threads currentThreadId id currentThreadId name
stackArgs args threadId
currentThreadId stackArgsthreadId
frameCache jdwpstackArgsthreadId
request
stackFrames frameCache frame index
info framelocation
id index name infomethod line infoline column source infosource
totalFrames frameCachelength
scopeArgs args frameId
localsRef nextVarRef
varHandleslocalsRef frameId scopeArgsframeId slot tag name
request scopes name variablesReference localsRef expensive
varArgs args variablesReference
variables varArgsvariablesReference
request variables
currentThreadId
frameCache
jdwp
request allThreadsContinued
request requestcommand StepDepthOver StepDepthInto
request StepDepthOut
threadId currentThreadId
threadId
jdwpthreadId
reason threadId allThreadsStopped
jdwp
reason threadId allThreadsStopped
request
request
request
args LaunchArguments
argsapk argsapplicationId args
port argsport MathMath
argsrequest
program argsprogram
classpath classpathSyncclasspathjars
program
jarPath program classpath
category output
mainClass argsmainClass
java
main argsrequest
jarPath jarPath mainClass
programArgs argsargs
vmArgs
argsvmArgs
cmd java vmArgs main programArgs
cwd vscodeworkspaceworkspaceFoldersurifsPath
process cmd cmd cwd stdio
processstdout chunk Buffer category output chunk
processstderr chunk Buffer category output chunk
process code
terminated
terminated
code
port
jdwp port
jdwp
name mainClass jarPath systemProcessId processpid isLocalProcess startMethod
args LaunchArguments
panel androidPanel
panel
category output
device argsdeviceId
pkg argsapplicationId classpathSyncclasspathmodulesmodule moduleapplicationIdapplicationId
argsapk
installed panelargsapk device pkg
installed
device installeddevice
pkg installedpackage
category output
device pkg
androidDevice device
androidPackage pkg
panelpkg device
activity argsactivity panelpkg device
paneldevice activity
category output
pid panel device pkg
pid
paneldevice pkg
port argsport MathMath
paneldevice port pid
category output
port
jdwp port
jdwp
name pkg systemProcessId pid isLocalProcess startMethod
panel AndroidPanel device pkg timeoutMs
deadline Date timeoutMs
pid paneldevice pkg
pid pid
Date deadline
resolve resolve
port timeoutMs
net
deadline Date timeoutMs
ok resolve
socket
socket socket
socket socket
socketport
socket
ok
Date deadline
resolve resolve
terminated
jdwp
jdwp
process
androidDevice androidPackage
androidPanelandroidDevice port
request command request_seq depth
threadId currentThreadId
threadId
jdwp
request
frameCache
stepRequestId
jdwpEventKindStep stepRequestId
stepRequestId
stepRequestId jdwpthreadId StepSizeLine depth
jdwpthreadId
error
request error errormessage error
request
sourcePath lines id line verified
key requestId breakpointRequests
keysourcePath
jdwprequestId
breakpointRequestskey
signature sourcePath
signature
linesline id line verified
classId signature
classId
linesline id line verified
result id line verified
line lines
location classId line
location result id line verified
requestId jdwpclassId location
key
breakpointRequestskey requestId
requestToDaprequestId key
result id requestId line verified
result id line verified
result
sourcePath
workspace vscodeworkspaceworkspaceFolders
workspace
rel vscodeworkspacevscodeUrisourcePath
withoutExt rel
parts withoutExtp p p
partslength
signature
cached classCachesignature
cached cached
classes jdwpsignature
first classes
first classCachesignature firstclassId firstclassId
classId line methodId index
methods jdwpclassId
method methods
cacheKey
table lineCachecacheKey jdwpclassId methodmethodId
lineCachecacheKey table
entry tablerow rowline linea b bline aline aindex bindex
entry tablerow rowline line
methodId methodmethodId index entryindex
location JdwpLocation line method source name path
signature
sig id classCache
id locationclassId signature sig
signature
classes jdwp
classes
relPath signature
workspace vscodeworkspaceworkspaceFoldersurifsPath
methods jdwplocationclassId
method methodsm mmethodId locationmethodId
lineTable jdwplocationclassId locationmethodId
row rowindex locationindexa b bindex aindex
line lineTableline
method methodname
source name relPath relPath path
variablesReference name value variablesReference
handle varHandlesvariablesReference
handle handleslot currentThreadId frameCachehandleframeId
frame frameCachehandleframeId
methods jdwpframelocationclassId
method methodsm mmethodId framelocationmethodId
method
output name value variablesReference
slot slot slot
data Buffer
dataframeid
data
dataslot
dataTagInt
data
reader jdwp data
reader
count reader
i i count i
reader
tag reader
value readertag
output name value valueid valuevalue variablesReference
method
output
data Buffer
events jdwpdata
event events
eventkind EventKindBreakpoint eventthreadId eventlocation
currentThreadId eventthreadId
key requestToDapeventrequestId
line key
reason threadId eventthreadId allThreadsStopped line
jdwp
eventkind EventKindStep eventthreadId eventlocation
currentThreadId eventthreadId
stepRequestId
info eventlocation
reason
threadId eventthreadId
allThreadsStopped
line infoline
eventkind EventKindVMDeath eventkind EventKindVMDisconnect
terminated
root
root
level root
depth depth levellength depth
next
dir level
build
file pathdir build
fsfile fsfile
fspathdir
entries fsDirent
entries fsdir withFileTypes
entry entries
entry entryname entryname
nextpathdir entryname
level next
context vscodeExtensionContext classpathSync ClasspathSync androidPanel AndroidPanel
contextsubscriptionsvscodedebug
classpathSync androidPanel
contextsubscriptionsvscodedebug
folder vscodeWorkspaceFolder vscodeDebugConfiguration
folderurifsPath
type request name
folder vscodeWorkspaceFolder config vscodeDebugConfiguration vscodeDebugConfiguration
isAndroid configapk configapplicationId folderurifsPath
isAndroid config
configprogram configmainClass config
apk configapk
apk
apk
apk
configapk apk
configapplicationId
configapplicationId classpathSyncclasspathmodulesmodule moduleapplicationIdapplicationId
config
contextsubscriptionsvscodecommands
editor vscodewindowactiveTextEditor
editor editordocumentlanguageId
vscodewindow
vscodedebug
type
name
request
program editordocumenturifsPath
contextsubscriptionsvscodecommands
apk
apk
vscodedebug
type
name
request
apk
root vscodeworkspaceworkspaceFoldersurifsPath
root
gradle root
gradle
vscodewindow
vscodewindow location vscodeProgressLocationNotification title cancellable
gradlecommand gradleargs cwd root timeout maxBuffer
candidates
pathroot
pathroot
apk candidatesfile fsfile
apk
vscodewindow
apk
error
vscodewindow error errormessage error