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 { Disposable, DisposableMap, DisposableStore } from '../../../../base/common/lifecycle.js';
import { Emitter, Event } from '../../../../base/common/event.js';
import { generateUuid } from '../../../../base/common/uuid.js';
import { ICDPTarget, CDPRequest, CDPResponse, CDPEvent, CDPError, CDPErrorCode, CDPServerError, CDPMethodNotFoundError, CDPInvalidParamsError, ICDPConnection, ICDPBrowserTarget } from './types.js';
/** The id of the connection's implicit root session, which needs no attach. */
const ROOT_SESSION_ID = '';
lifecycleSessionId
discover
autoAttachments MapICDPTarget ICDPConnection
sessionIds Set
sessionId
browserTargettargetInfotargetId
_browserSessions
lifecycleSessionId discover autoAttachments sessionIds
_sessions
_targets
_targetListeners
_sessionListeners
_handlers object object
browserTarget
p s p targetId sessionId s
p p targetId
p s p targetId flatten s
p p targetId
p p url browserContextId
p p sessionId
p p browserContextId
p s p autoAttach flatten s
p s p discover s
_p s s
p s p targetId s
browserTarget ICDPBrowserTarget
target ICDPTarget
targetInfo targettargetInfo
_targetstargetInfotargetId
_targetstargetInfotargetId target
listeners
_targetListenerstargetInfotargetId listeners
listenerstarget
sessionId state _browserSessions
stateautoAttachmentstarget
statediscover
targetId targetInfotargetId sessionId
_targetstargetInfotargetId
_targetListenerstargetInfotargetId
listenerstargetinfo
sessionId state _browserSessions
statediscover
targetInfo info sessionId
session targetsessions
session
listenerstarget session waitingForDebugger requesterSessionId
session waitingForDebugger requesterSessionId
sessionId state _browserSessions
statediscover
targetInfo targettargetInfo sessionId
stateautoAttachments
target sessionId
session ICDPConnection waitingForDebugger
_sessionssessionsessionId
sessionparentSessionId
_sessionssessionparentSessionId
target _targetssessiontargetId
target
targetsession waitingForDebugger
session ICDPConnection waitingForDebugger requesterSessionId
_sessionssessionsessionId
target _targetssessiontargetId
target
lifecycleSessionId requesterSessionId sessionparentSessionId
ownerSessionId lifecycleSessionId
_browserSessionsownerSessionIdsessionIdssessionsessionId
_sessionssessionsessionId session
listeners
_sessionListenerssessionsessionId listeners
listenerssessionevent
eventmethod
eventmethod eventparams eventsessionId sessionsessionId
listenerssession
_browserSessionsownerSessionIdsessionIdssessionsessionId
_sessionssessionsessionId
sessionId sessionsessionId
targetId sessiontargetId
lifecycleSessionId
_sessionListenerssessionsessionId
sessionId sessionsessionId
targetInfo targettargetInfo
waitingForDebugger
lifecycleSessionId
sessionId
_browserSessionssessionId
sessionId
sessionId
browserSessionId state _browserSessions
statesessionIdssessionId
browserSessionId
method params sessionId
externalSessionId sessionId sessionId
_onMessage method params sessionId externalSessionId
_onEvent method params sessionId externalSessionId
_onEvent
onEvent EventCDPEvent _onEventevent
_onClose
onClose Event _onCloseevent
_onMessage
onMessage EventCDPResponse CDPEvent _onMessageevent
method params sessionId
sessionId _browserSessionssessionId _sessionssessionId
_browserSessionssessionId
method
method
handler _handlersmethod
handler
method
params sessionId
connection sessionId _sessionssessionId
connection
result connectionmethod params
result
error
error
error
error errormessage
id method params sessionId CDPRequest
method params sessionId
result
_onMessage id result sessionId
error Error
_onMessage
id
error
code error errorcode CDPErrorCodeServerError
message errormessage
sessionId
targetId targetId sessionId
resolvedTargetId sessionId _sessionssessionIdtargetId targetId
resolvedTargetId
target _targetsresolvedTargetId
target
browserTargettarget
browserContextIds browserTarget
browserContextId browserTarget
browserContextId
browserContextId browserContextId
browserTargetbrowserContextId
sessionId
sessionId sessionId
browserSessionId
_browserSessionsbrowserSessionId lifecycleSessionId sessionId discover autoAttachments sessionIds
sessionId browserSessionId
targetInfo browserTargettargetInfo
waitingForDebugger
sessionId
sessionId browserSessionId
targetId targetId
target _targetstargetId
target
browserTargettarget
params autoAttach flatten sessionId
browserSession _browserSessionssessionId
browserSession
connection _sessionssessionId
connection
connection params
paramsflatten
paramsautoAttach
browserSessionautoAttachments
_targetstarget target sessionId
attachments browserSessionautoAttachments
browserSessionautoAttachments
attachments attachment attachment
target ICDPTarget browserSessionId ICDPConnection
attachments _browserSessionsbrowserSessionIdautoAttachments
attachments
existing attachmentstarget
existing
existing
attachment targetbrowserSessionIderror
attachmentstarget attachment
attachmentstarget
error
attachmentstarget attachment
attachment
discover discover sessionId
browserSession _browserSessionssessionId
browserSession
discover browserSessiondiscover
browserSessiondiscover discover
discover
target _targets
targetInfo targettargetInfo sessionId
targetInfos _targetstarget targettargetInfo
targetId targetId sessionId
targetId sessionId _sessionssessionIdtargetId
targetId
targetInfo browserTargettargetInfo
target _targetstargetId
target
targetInfo targettargetInfo
targetId flatten targetId flatten sessionId
flatten
target _targetstargetId
target
connection targetsessionId
sessionId connectionsessionId
sessionId sessionId
browserSession _browserSessionssessionId
browserSession sessionId
attachments browserSessionautoAttachments
attachments attachment attachment
ownedSessionId browserSessionsessionIds
_sessionsownedSessionId
sessionId
targetId targetId
browserSessionlifecycleSessionId
_browserSessionssessionId
connection _sessionssessionId
connection
connection
url browserContextId url browserContextId
target browserTargeturl browserContextId
target
_browserSessions
state stateautoAttachments
browserSessionId target browserSessionId
targetId targettargetInfotargetId
targetId targetId
target _targetstargetId
target
browserTargettarget
success
success