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 { getWindow } from '../../../../base/browser/dom.js';
import { Sequencer } from '../../../../base/common/async.js';
import { CancellationError } from '../../../../base/common/errors.js';
import { Emitter, Event } from '../../../../base/common/event.js';
import { Disposable, DisposableStore, toDisposable } from '../../../../base/common/lifecycle.js';
import type { IMarker as IXtermMarker, Terminal as RawXtermTerminal } from '@xterm/xterm';
import type { ITerminalCommand
ITerminalService
DetachedProcessInfo
XtermTerminal
IContextKeyService
ChatContextKeys
editorBackground
Color
IChatTerminalToolInvocationData
IColorTheme
ICurrentPartialCommand
ITerminalFont
theme IColorTheme contextKeyService IContextKeyService storedBackground Color
storedBackground
color ColorstoredBackground
color
color
terminalBackground theme
terminalBackground
terminalBackground
isInEditor ChatContextKeysinChatEditorcontextKeyService
themeisInEditor editorBackground
buffer length y length x cols
maxWidth
y y bufferlength y
line buffery
line
lineLength Mathlinelength cols
x lineLength x x
linex
maxWidth MathmaxWidth x
maxWidth
newVT oldVT slicePoint windowSize
start Math slicePoint windowSize
end slicePoint
i start i end i
newVTi oldVTi
lineCount
maxColumnWidth
container HTMLElement
IDetachedTerminalCommandMirrorRenderResult
widthPx IDetachedTerminalCommandMirrorRenderResult
onDidUpdate EventIDetachedTerminalCommandMirrorRenderResult
onDidInput Event
onDidChangeRowHeight Event
ChatTerminalMirrorMetrics
MirrorRowCount
MirrorColCountFallback
MirrorHorizontalPaddingPx
MaxLinesForColumnWidthComputation
availableWidthPx font ITerminalFont devicePixelRatio horizontalChromePx ChatTerminalMirrorMetricsMirrorHorizontalPaddingPx
availableWidthPx availableWidthPx fontcharWidth
ChatTerminalMirrorMetricsMirrorColCountFallback
dpr devicePixelRatio devicePixelRatio devicePixelRatio
scaledWidthAvailable availableWidthPx horizontalChromePx dpr
scaledCharWidth fontcharWidth dpr fontletterSpacing
MathMathscaledWidthAvailable scaledCharWidth
detached IDetachedTerminalInstance RawXtermTerminal
detachedxterm IDetachedXtermTerminal raw RawXtermTerminal raw
detached IDetachedTerminalInstance
detachedoptionsreflowCursorLine
detached IDetachedTerminalInstance
detachedelementdevicePixelRatio
detached IDetachedTerminalInstance
element detachedelement
element
style elementelement
chrome stylepaddingLeft stylepaddingRight
chrome Mathchrome
detached IDetachedTerminalInstance
font detachedxterm
fontcharHeight fontcharHeight
lineHeight fontlineHeight fontlineHeight
fontcharHeight lineHeight
startLine endLine
MathendLine startLine
buffer
baseY
cursorY
y trimRight
lineCount
lineCount
lineCount
cursorLineIndex bufferbaseY buffercursorY
hasCursorLineContent buffercursorLineIndex
endLine cursorLineIndex hasCursorLineContent
endLine
xtermTerminal XtermTerminal
command ITerminalCommand
log reason error
text lineCount
executedMarker commandexecutedMarker
endMarker commandendMarker
endMarker endMarkerisDisposed
executedMarker executedMarkerisDisposed
raw xtermTerminalraw
buffer rawbufferactive
offsets
bufferbaseY buffercursorY
bufferbaseY
startMarker IXtermMarker
offset offsets
startMarker rawoffset
startMarker
startMarker startMarkerisDisposed
text lineCount
startLine startMarkerline
text
text xtermTerminalstartMarker endMarker
error
log error
startMarker
text
text lineCount
endLine endMarkerline
lineCount startLine endLine
text lineCount
startLine executedMarkerline
endLine endMarkerline
lineCount startLine endLine
text
text xtermTerminalexecutedMarker endMarker
error
log error
text
text lineCount
text lineCount
_detachedTerminal IDetachedTerminalInstance
_detachedTerminalPromise IDetachedTerminalInstance
_attachedContainer HTMLElement
_streamingDisposables
_onDidUpdateEmitter
onDidUpdate EventIDetachedTerminalCommandMirrorRenderResult _onDidUpdateEmitterevent
_onDidInputEmitter
onDidInput Event _onDidInputEmitterevent
_onDidChangeRowHeightEmitter
onDidChangeRowHeight Event _onDidChangeRowHeightEmitterevent
_renderListenerInstalled
_lastObservedRowHeight
_lastVT
_lineCount
_maxColumnWidth
_lastUpToDateCursorY
_lowestDirtyCursorY
_flushPromise
_dirtyScheduled
_isStreaming
_sourceRaw RawXtermTerminal
_xtermTerminal XtermTerminal
_command ITerminalCommand
_terminalService ITerminalService
_contextKeyService IContextKeyService
container HTMLElement
_storeisDisposed
terminal IDetachedTerminalInstance
terminal
error
error
error
_storeisDisposed
_attachedContainer container
containerclassList
terminalcontainer enableGpu
_attachedContainer container
terminal
_storeisDisposed
_detachedTerminal
detached IDetachedTerminalInstance
_renderListenerInstalled
_renderListenerInstalled
detached
rowHeight
rowHeight rowHeight _lastObservedRowHeight
_lastObservedRowHeight rowHeight
_onDidChangeRowHeightEmitter
IDetachedTerminalCommandMirrorRenderResult
_storeisDisposed
detached IDetachedTerminalInstance
detached
error
error
error
_storeisDisposed
vt
vt _xtermTerminal
vt
_storeisDisposed
resolve
canAppend _lastVT vttextlength _lastVTlength vttext _lastVTlength
canAppend
payload _lastVT vttext
payload
detachedxtermpayload resolve
appended vttext_lastVTlength
appended
detachedxtermappended resolve
_lastVT vttext
sourceRaw _xtermTerminalraw
sourceRaw
_sourceRaw sourceRaw
_lastUpToDateCursorY sourceRaw
_isStreaming _commandendMarker _commandendMarkerisDisposed
sourceRaw
_lineCount
commandFinished _commandendMarker _commandendMarkerisDisposed
commandFinished _lineCount ChatTerminalMirrorMetricsMaxLinesForColumnWidthComputation
_maxColumnWidth
lineCount _lineCount maxColumnWidth _maxColumnWidth
widthPx IDetachedTerminalCommandMirrorRenderResult
_storeisDisposed widthPx
detached IDetachedTerminalInstance
detached
error
error
error
_storeisDisposed
cols widthPx detachedxterm detached detached
detachedxtermcols cols
_flushPromise
_storeisDisposed detachedxtermcols cols
detachedxtermcols ChatTerminalMirrorMetricsMirrorRowCount
_lastVT
_lineCount
commandFinished _commandendMarker _commandendMarkerisDisposed
commandFinished _lineCount ChatTerminalMirrorMetricsMaxLinesForColumnWidthComputation
_maxColumnWidth
lineCount _lineCount maxColumnWidth _maxColumnWidth
source XtermTerminal text
_storeisDisposed
executedMarker _commandexecutedMarker _command ICurrentPartialCommandcommandExecutedMarker
executedMarker
endMarker _commandendMarker
text sourceexecutedMarker endMarker endMarkerline executedMarkerline
_storeisDisposed
text
text
text
detachedBuffer _detachedTerminalxtermbufferactive
detachedBuffer
detachedBuffer
endMarker _commandendMarker
_commandexecutedMarker endMarker endMarkerisDisposed
startLine _commandexecutedMarkerline
endLine endMarkerline
startLine endLine
executedMarker _commandexecutedMarker _command ICurrentPartialCommandcommandExecutedMarker
executedMarker _sourceRaw
buffer _sourceRawbufferactive
currentLine bufferbaseY buffercursorY
executedMarkerline currentLine
_lineCount
detached _detachedTerminal
detached
detachedxtermbufferactive detachedxtermcols
IDetachedTerminalInstance
_detachedTerminal
_detachedTerminal
_detachedTerminalPromise
_detachedTerminalPromise
_storeisDisposed
createPromise
colorProvider
theme IColorTheme theme _contextKeyService
processInfo initialCwd
detached _terminalService
cols _xtermTerminalrawcols ChatTerminalMirrorMetricsMirrorColCountFallback
rows ChatTerminalMirrorMetricsMirrorRowCount
processInfo
disableOverviewRuler
colorProvider
_storeisDisposed
processInfo
detached
detached
_detachedTerminal detached
processInfo
detached
detacheddata _onDidInputEmitterdata
detached
_detachedTerminalPromise createPromise
createPromise
raw RawXtermTerminal
_storeisDisposed _isStreaming
_isStreaming
_streamingDisposablesEventrawonCursorMove rawonLineFeed rawonWriteParsed
_streamingDisposablesraw
_isStreaming
_streamingDisposables
_isStreaming
_lowestDirtyCursorY
_sourceRaw
_storeisDisposed _sourceRaw
cursorY _sourceRaw
_lowestDirtyCursorY _lowestDirtyCursorY cursorY Math_lowestDirtyCursorY cursorY
_dirtyScheduled _storeisDisposed
_dirtyScheduled
_dirtyScheduled
_storeisDisposed
_storeisDisposed _flushPromise
_flushPromise
_flushPromise
_storeisDisposed
sourceRaw _xtermTerminalraw
detached _detachedTerminal
detached
detached
error
error
error
_storeisDisposed
detachedRaw detachedxterm
sourceRaw detachedRaw
_sourceRaw sourceRaw
currentCursor sourceRaw
previousCursor _lastUpToDateCursorY currentCursor
startCandidate _lowestDirtyCursorY currentCursor
_lowestDirtyCursorY
startLine MathpreviousCursor startCandidate
vt _xtermTerminal
vt
_storeisDisposed
vttext _lastVT
_lastUpToDateCursorY currentCursor
_commandendMarker _commandendMarkerisDisposed
canAppend _lastVT startLine previousCursor vttextlength _lastVTlength vttext _lastVTlength
resolve
canAppend
payload _lastVT vttext
payload
detachedRawpayload resolve
appended vttext_lastVTlength
appended
detachedRawappended resolve
_lastVT vttext
_lineCount
_lastUpToDateCursorY currentCursor
commandFinished _commandendMarker _commandendMarkerisDisposed
commandFinished
_lineCount ChatTerminalMirrorMetricsMaxLinesForColumnWidthComputation
_maxColumnWidth
_onDidUpdateEmitter lineCount _lineCount maxColumnWidth _maxColumnWidth
raw RawXtermTerminal
rawbufferactivebaseY rawbufferactivecursorY
newVT slicePoint
newVT _lastVT slicePoint
_detachedTerminal IDetachedTerminalInstance
_resolvedTerminal IDetachedTerminalInstance
_attachedContainer HTMLElement
_output IChatTerminalToolInvocationData
_container HTMLElement
_renderSequencer
_outputVersion
_renderedVersion
_lastRenderedLineCount
_lastRenderedMaxColumnWidth
_lastRenderedText
_onDidChangeRowHeightEmitter
onDidChangeRowHeight Event _onDidChangeRowHeightEmitterevent
_renderListenerInstalled
_lastObservedRowHeight
output IChatTerminalToolInvocationData
IChatTerminalToolInvocationData
_terminalService ITerminalService
_contextKeyService IContextKeyService
_output output
processInfo initialCwd
_detachedTerminal _terminalService
cols ChatTerminalMirrorMetricsMirrorColCountFallback
rows ChatTerminalMirrorMetricsMirrorRowCount
processInfo
disableOverviewRuler
colorProvider
theme
storedBackground background
theme _contextKeyService storedBackground
terminal
_storeisDisposed
terminal
terminal
terminal
_resolvedTerminal terminal
terminal
_storeisDisposed
_resolvedTerminal
IDetachedTerminalInstance
_detachedTerminal
_detachedTerminal
output IChatTerminalToolInvocationData
_output output
_outputVersion
container HTMLElement
terminal
_storeisDisposed
containerclassList
needsAttach _attachedContainer container containerfirstChild
needsAttach
terminalcontainer enableGpu
_attachedContainer container
_renderListenerInstalled
_renderListenerInstalled
terminal
rowHeight
rowHeight rowHeight _lastObservedRowHeight
_lastObservedRowHeight rowHeight
_onDidChangeRowHeightEmitter
_container container
container
lineCount maxColumnWidth
_renderSequencer
widthPx lineCount maxColumnWidth
widthPx
_renderSequencer
terminal
_storeisDisposed
cols widthPx terminalxterm terminal terminal
terminalxtermcols cols
terminalxtermcols ChatTerminalMirrorMetricsMirrorRowCount
_lastRenderedText
lineCount terminalxtermbufferactive _outputtruncated _outputlineCount
_lastRenderedLineCount lineCount
lineCount
_lastRenderedMaxColumnWidth terminal
lineCount maxColumnWidth _lastRenderedMaxColumnWidth
lineCount maxColumnWidth
output _output
outputVersion _outputVersion
output
outputVersion _renderedVersion
lineCount _lastRenderedLineCount outputlineCount maxColumnWidth _lastRenderedMaxColumnWidth
terminal
_storeisDisposed
_container
_container
text outputtext
text
_lastRenderedText
resolve terminalxterm resolve
lineCount outputlineCount
_renderedVersion outputVersion
_lastRenderedText
_lastRenderedLineCount lineCount
_lastRenderedMaxColumnWidth
lineCount maxColumnWidth
write text_lastRenderedText
text_lastRenderedTextlength
write
resolve terminalxtermwrite resolve
_storeisDisposed
lineCount terminalxtermbufferactive outputtruncated outputlineCount
_renderedVersion outputVersion
_lastRenderedText text
_lastRenderedLineCount lineCount
lineCount
_lastRenderedMaxColumnWidth terminal
lineCount maxColumnWidth _lastRenderedMaxColumnWidth
terminal IDetachedTerminalInstance
terminalxtermbufferactive terminalxtermcols
lineCount
lineCount ChatTerminalMirrorMetricsMaxLinesForColumnWidthComputation
container HTMLElement
theme
theme
containerstyle
containerstyle
themebackground
containerstylebackgroundColor themebackground
themeforeground
containerstylecolor themeforeground