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 { screen, WebContentsView, webContents } from 'electron';
import { Disposable } from '../../../base/common/lifecycle.js';
import { Emitter, Event } from '../../../base/common/event.js';
import { VSBuffer } from '../../../base/common/buffer.js';
import { IBrowserViewAudience, IBrowserViewBounds, IBrowserViewDevToolsStateEvent, IBrowserViewFocusEvent, IBrowserViewKeyDownEvent, IBrowserViewState, IBrowserViewNavigationEvent, IBrowserViewLoadingEvent, IBrowserViewLoadError, IBrowserViewTitleChangeEvent, IBrowserViewFaviconChangeEvent, IBrowserViewCaptureScreenshotOptions, IBrowserViewFindInPageOptions, IBrowserViewFindInPageResult IBrowserViewVisibilityEvent browserViewIsolatedWorldId browserZoomFactors browserZoomDefaultIndex IBrowserViewOwner IBrowserViewEditorOpenOptions IBrowserViewPermissionRequestEvent equalsBrowserViewAudience isBrowserViewAssociatedResourceNavigation matchesBrowserViewAudience
BrowserViewEmulator
BrowserViewInspector
IWindowsMainService
ICodeWindow LoadReason
IAuxiliaryWindowsMainService
BrowserViewDebugger
ILogService
BrowserSession
IBrowserHistoryItemHandle
ISerializedBrowserPermissionsSnapshot PermissionCategory
IAuxiliaryWindow
ITelemetryService
logBrowserOpen
NewPageLocation
Foreground
Background
NewWindow
_view WebContentsView
_faviconRequestCache
_lastScreenshot VSBuffer
_lastFavicon
_lastError IBrowserViewLoadError
_lastUserGestureTimestamp
_browserZoomIndex browserZoomDefaultIndex
_currentHistoryHandle IBrowserHistoryItemHandle
_explicitNavigationPending
_lastCommittedEntryIndex
BrowserViewDebugger
emulator BrowserViewEmulator
inspector BrowserViewInspector
_ownerWindow ICodeWindow
_currentWindow ICodeWindow IAuxiliaryWindow
_isDisposed
_audiences IBrowserViewAudience
_wantsVisibility
_hasBeenLaidOut
_consoleLogs
_onDidNavigate
onDidNavigate EventIBrowserViewNavigationEvent _onDidNavigateevent
_onDidChangeLoadingState
onDidChangeLoadingState EventIBrowserViewLoadingEvent _onDidChangeLoadingStateevent
_onDidChangeFocus
onDidChangeFocus EventIBrowserViewFocusEvent _onDidChangeFocusevent
_onDidChangeVisibility
onDidChangeVisibility EventIBrowserViewVisibilityEvent _onDidChangeVisibilityevent
_onDidChangeDevToolsState
onDidChangeDevToolsState EventIBrowserViewDevToolsStateEvent _onDidChangeDevToolsStateevent
_onDidKeyCommand
onDidKeyCommand EventIBrowserViewKeyDownEvent _onDidKeyCommandevent
_onDidChangeTitle
onDidChangeTitle EventIBrowserViewTitleChangeEvent _onDidChangeTitleevent
_onDidChangeFavicon
onDidChangeFavicon EventIBrowserViewFaviconChangeEvent _onDidChangeFaviconevent
_onDidFindInPage
onDidFindInPage EventIBrowserViewFindInPageResult _onDidFindInPageevent
_onDidClose
onDidClose Event _onDidCloseevent
_onDidChangeRemoteStatus
onDidChangeRemoteStatus Event _onDidChangeRemoteStatusevent
_onDidRequestPermission
onDidRequestPermission EventIBrowserViewPermissionRequestEvent _onDidRequestPermissionevent
_onDidChangePermissions
onDidChangePermissions EventISerializedBrowserPermissionsSnapshot _onDidChangePermissionsevent
_onDidChangeAudiences
onDidChangeAudiences EventIBrowserViewAudience _onDidChangeAudiencesevent
id
hostWindowId
owner IBrowserViewOwner
associatedResource
session BrowserSession
url electronOptions ElectronWebContentsViewConstructorOptions editorOptions IBrowserViewEditorOpenOptions BrowserView
view BrowserView params ElectronContextMenuParams
options ElectronWebContentsViewConstructorOptions
windowsMainService IWindowsMainService
auxiliaryWindowsMainService IAuxiliaryWindowsMainService
logService ILogService
telemetryService ITelemetryService
webPreferences ElectronWebPreferences
optionswebPreferences
nodeIntegration
contextIsolation
sandbox
nodeIntegrationInSubFrames
webviewTag
session sessionelectronSession
focusOnNavigation
_view
webPreferences
optionswebContents webContents optionswebContents
_view x y width height
_view
_ownerWindow windowsMainServicehostWindowId
_ownerWindow
_ownerWindow
_ownerWindowe
ereason LoadReason
ereason LoadReason
_view
_ownerWindowwincontentView_view
_viewwebContentsdetails
location
detailsdisposition
NewPageLocationBackground
NewPageLocationForeground
NewPageLocationNewWindow
location location
action
action
options
telemetryService
location
NewPageLocationNewWindow
NewPageLocationBackground
NewPageLocationForeground
childView detailsurl options
pinned
background location NewPageLocationBackground
parentViewId id
auxiliaryWindow location NewPageLocationNewWindow
x optionsx y optionsy width optionswidth height optionsheight
childViewwebContents
outlivesOpener
_viewwebContents _event params
params
_viewwebContents
debugger
emulator logService
inspector
_onDidChangeRemoteStatussessionremoteisRemote
sessionremotefireRemoteStatus
sessionremotefireRemoteStatus
sessionpermissionse
ewebContents webContents _isDisposed
e
_onDidRequestPermissionerequest
sessionpermissionse
ewebContents webContents _isDisposed
e
_onDidRequestPermission
origin eorigin
category PermissionCategoryDevices
device
requestId erequestId
deviceType edeviceType
devices edevices
sessionpermissions
_onDidChangePermissionssessionpermissions
webContents _viewwebContents
webContents
_onDidChangeDevToolsState isDevToolsOpen
webContents
_onDidChangeDevToolsState isDevToolsOpen
webContents _event favicons
url favicons
_faviconRequestCacheurl
_faviconRequestCacheurl
url
url
response webContentssessionurl
cache
responseok
type responseheaders
type
buffer response
_lastFavicon _faviconRequestCacheurl
_onDidChangeFavicon favicon _lastFavicon
_currentHistoryHandle favicon _lastFavicon
e
_lastFavicon
_lastFavicon
_onDidChangeFavicon favicon _lastFavicon
_currentHistoryHandle favicon
webContents event
eventurl
event
host eventurlhost
currHost webContentshost
host currHost
_lastFavicon
webContents event
eventurl
event
webContents _event title
_onDidChangeTitle title
_currentHistoryHandle title
url
_onDidNavigate
url
title webContents
canGoBack webContentsnavigationHistory
canGoForward webContentsnavigationHistory
certificateError sessiontrusturl
url
loading
_onDidChangeLoadingState loading error _lastError
webContents
_lastError
webContents
webContents
webContents e errorCode errorDescription validatedURL isMainFrame
isMainFrame
errorCode
_lastError
url validatedURL
errorCode
errorDescription
certificateError errorCode errorCode sessiontrustvalidatedURL
_onDidNavigate
url validatedURL
title
canGoBack webContentsnavigationHistory
canGoForward webContentsnavigationHistory
certificateError sessiontrustvalidatedURL
webContents
sessiontrustwebContents
webContents event _details authInfo callback
sessionremoteproxy
username password sessionremoteproxycredentials
proxyPort sessionremoteproxyport
authInfoisProxy authInfohost authInfoport proxyPort
event
username password
webContents _event details
_lastError
url webContents
errorCode detailsexitCode
errorDescription
webContents _ url url
webContents _ url isMainFrame
isMainFrame
url
webContents
_consoleLogslength
_viewwebContentsbrowserZoomFactors_browserZoomIndex
_viewwebContents error
logService error
webContents event devices callback
event
sessionpermissionswebContents devices callback
webContents
_onDidChangeFocus focused
webContents
_onDidChangeFocus focused
_event keyEvent IBrowserViewKeyDownEvent
_onDidKeyCommandkeyEvent
webContentsipc onCommandKeydown
webContents
webContentsdevToolsWebContentsipc onCommandKeydown
webContentsdevToolsWebContentsipc onCommandKeydown
webContents event input
inputtype
pageIsAvailable _view
webContents
debuggerisPaused
pageIsAvailable
inputcontrol inputalt inputmeta inputkeylength
event
eventKeyCode inputcode
_onDidKeyCommand
key inputkey
keyCode eventKeyCode
code inputcode
ctrlKey inputcontrol
shiftKey inputshift
altKey inputalt
metaKey inputmeta
repeat inputisAutoRepeat
webContents _event input
inputtype
_lastUserGestureTimestamp Date
webContents e
e
webContents _event result
_onDidFindInPage
activeMatchOrdinal resultactiveMatchOrdinal
matches resultmatches
selectionArea resultselectionArea
finalUpdate resultfinalUpdate
_viewwebContents event
_consoleLogs
_consoleLogslength BrowserView
_consoleLogs _consoleLogslength BrowserView
location NewPageLocation
location
NewPageLocationForeground
NewPageLocationBackground
NewPageLocationNewWindow
_lastUserGestureTimestamp Date
_lastUserGestureTimestamp
url
webContents _viewwebContents
activeIndex webContentsnavigationHistory
url
_currentHistoryHandle
_lastCommittedEntryIndex activeIndex
handle _currentHistoryHandle
handle activeIndex _lastCommittedEntryIndex
handle url title webContents
_lastCommittedEntryIndex activeIndex
userInitiated _explicitNavigationPending
_explicitNavigationPending
_currentHistoryHandle sessionhistory
url
webContents
_lastFavicon
userInitiated
ElectronWebContents
_viewwebContents
IBrowserViewState
webContents _viewwebContents
url webContents
url
title webContents
canGoBack webContentsnavigationHistory
canGoForward webContentsnavigationHistory
loading webContents
focused webContents
visible _view
isDevToolsOpen webContents
lastScreenshot _lastScreenshot
lastFavicon _lastFavicon
lastError _lastError
certificateError sessiontrusturl
storageScope sessionstorageScope
storageKeys sessionhistorystorageKeys sessionpermissionsstorageKeys
permissions sessionpermissions
browserZoomIndex _browserZoomIndex
elementSelectionState inspectorelementSelectionState
isRemoteSession sessionremoteisRemote
isAreaSelectionActive inspectorisAreaSelectionActive
device emulatordevice
audiences _audiences
IBrowserViewAudience
_audiences
audience IBrowserViewAudience enabled
enabled
_audiencescandidate candidate audience
_audiences _audiences audience
_onDidChangeAudiences_audiences
audiences _audiencescandidate candidate audience
audienceslength _audienceslength
_audiences audiences
_onDidChangeAudiences_audiences
audiences IBrowserViewAudience
audienceslength _audienceslength audiencesaudience _audiencescandidate candidate audience
_audiences audiences
_onDidChangeAudiences_audiences
_viewwebContents
bounds IBrowserViewBounds
_currentWindowwinid boundswindowId
newWindow boundswindowId
newWindow
_currentWindowwincontentView_view
_currentWindow newWindow
newWindowwincontentView_view
_viewMathboundscornerRadius boundszoomFactor
boundsemulation
emulatorboundswidth boundsheight boundsemulationscale boundszoomFactor
_view
x Mathboundsx boundszoomFactor
y Mathboundsy boundszoomFactor
width Mathboundswidth boundszoomFactor
height Mathboundsheight boundszoomFactor
_hasBeenLaidOut
_wantsVisibility _view
_view
zoomIndex
_browserZoomIndex Math MathzoomIndex browserZoomFactorslength
browserZoomFactor browserZoomFactors_browserZoomIndex
_viewwebContentsbrowserZoomFactor
visible
_wantsVisibility visible
visible _viewwebContents
_currentWindowwinwebContents
_hasBeenLaidOut visible
_viewvisible
_wantsVisibility visible
_onDidChangeVisibility visible
_consoleLogs
url
url
_explicitNavigationPending
sessionremotewhenReady
_viewwebContentsurl
url
associatedResource associatedResource url
telemetryService
url
pinned
parentViewId id
_viewwebContents
_viewwebContentsnavigationHistory
_viewwebContentsnavigationHistory
_viewwebContentsnavigationHistory
_viewwebContentsnavigationHistory
hard
hard
_viewwebContents
_viewwebContents
_viewwebContentsnavigationHistory
_viewwebContentsnavigationHistory
options IBrowserViewCaptureScreenshotOptions VSBuffer
_view
_view
_view
quality optionsquality
format optionsformat
optionsfullPage optionsscreenRect optionspageRect
format quality
optionspageRect
zoomFactor _viewwebContents
visualViewportScale inspector
emulationScale emulatoremulatedScaleFactor
optionsscreenRect
x optionspageRectx visualViewportScale zoomFactor emulationScale
y optionspageRecty visualViewportScale zoomFactor emulationScale
width optionspageRectwidth visualViewportScale zoomFactor emulationScale
height optionspageRectheight visualViewportScale zoomFactor emulationScale
optionsawaitNextPaint
image
maxAttempts
lastError Error
i i maxAttempts i
_viewwebContentsoptionsscreenRect
stayHidden
error
error errormessage
lastError error
resolve resolve
error
cause lastError
buffer format image imagequality
screenshot VSBufferbuffer
optionsscreenRect
_lastScreenshot screenshot
screenshot
format quality VSBuffer
metrics debugger cssContentSize width height
size metricscssContentSize
size
zoomFactor _viewwebContents
clipWidth sizewidth zoomFactor
clipHeight sizeheight zoomFactor
hostWindow _hostWindow
display hostWindow screenhostWindow screen
devicePixelRatio displayscaleFactor
maxClipDimension BrowserView MathdevicePixelRatio
scale Math maxClipDimension MathclipWidth clipHeight
result debugger
format
format quality
captureBeyondViewport
clip x y width clipWidth height clipHeight scale
data
VSBufferBufferresultdata
_viewwebContents error
logService error
debugger
expression
awaitPromise
resolve resolve
force
force _currentWindowwin
_viewwebContents
text options IBrowserViewFindInPageOptions
_viewwebContentstext
matchCase optionsmatchCase
forward optionsforward
findNext optionsrecompute
keepSelection
_viewwebContentskeepSelection
_viewwebContents
_viewwebContentsbrowserViewIsolatedWorldId code
session
requestId deviceId
sessionpermissionsrequestId deviceId
host fingerprint
sessiontrusthost fingerprint
_viewwebContents
host fingerprint
sessiontrusthost fingerprint
WebContentsView
_view
ElectronBrowserWindow
_currentWindowwin
ElectronBrowserWindow
_currentWindowwin _ownerWindowwin
override
_isDisposed
_isDisposed
debugger
currentWin _currentWindowwin
currentWin currentWin
currentWincontentView_view
_onDidClose
_viewwebContents
_viewwebContents waitForBeforeUnload
windowId ICodeWindow IAuxiliaryWindow
windowId windowId
windowId ICodeWindow
windowId
windowsMainServicewindowId
windowId IAuxiliaryWindow
windowId
contents webContentswindowId
contents
auxiliaryWindowsMainServicecontents
url
url
colon url
colon
scheme url colon
scheme scheme scheme