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 assert from 'assert';
import type { IPty, IPtyForkOptions, IWindowsPtyForkOptions } from 'node-pty';
import { DeferredPromise, timeout } from '../../../../base/common/async.js';
import { Emitter } from '../../../../base/common/event.js';
import { DisposableStore } from '../../../../base/common/lifecycle.js';
import { ensureNoDisposablesAreLeakedInTestSuite } from '../../../../base/test/common/utils.js';
import { NullLogService } from '../../../log/common/log.js';
import IProductService
ActionType StateAction
TerminalClaimKind TerminalContentPart TerminalLifecycleStatus
buildDefaultChatUri
AgentConfigurationService
AgentHostStateManager
AgentHostTerminalManager formatTerminalText removeTerminalQueriesSuppressedFromClient
Osc633Event Osc633EventType Osc633Parser
parser Osc633Parser
nonce
commandCounter
detectionAvailableEmitted
pendingCommandLine
activeCommandId
activeCommandTimestamp
dispatched StateAction
content TerminalContentPart
cwd
_terminalQueryFilterState ITerminalQueryFilterState pendingData
uri
tracker ITestCommandTracker
rawData
cleanedForClient
pendingClientData
flushClientData
pendingClientDatalength
dispatched
type ActionTypeTerminalData
data pendingClientData
cleanedForClient pendingClientData
pendingClientData
segment trackerparserrawData
segmentkind
segmentevent
cleanedData segmentdata _terminalQueryFilterState
cleanedDatalength
cleanedData
pendingClientData cleanedData
cleanedForClient
event Osc633Event
trackerdetectionAvailableEmitted
trackerdetectionAvailableEmitted
dispatched
type ActionTypeTerminalCommandDetectionAvailable
eventtype
Osc633EventTypeCommandLine
eventnonce trackernonce
trackerpendingCommandLine eventcommandLine
Osc633EventTypeCommandExecuted
commandId
commandLine trackerpendingCommandLine
timestamp Date
trackerpendingCommandLine
trackeractiveCommandId commandId
trackeractiveCommandTimestamp timestamp
content
type
commandId
commandLine
output
timestamp
isComplete
dispatched
type ActionTypeTerminalCommandExecuted
commandId
commandLine
timestamp
Osc633EventTypeCommandFinished
finishedCommandId trackeractiveCommandId
finishedCommandId
durationMs trackeractiveCommandTimestamp
Date trackeractiveCommandTimestamp
part content
parttype partcommandId finishedCommandId
partisComplete
partexitCode eventexitCode
partdurationMs durationMs
trackeractiveCommandId
trackeractiveCommandTimestamp
dispatched
type ActionTypeTerminalCommandFinished
commandId finishedCommandId
exitCode eventexitCode
durationMs
Osc633EventTypeProperty
eventkey
cwd eventvalue
dispatched
type ActionTypeTerminalCwdChanged
cwd eventvalue
data
tail contentlength contentcontentlength
tail tailtype tailisComplete
tailoutput data
tail tailtype
tailvalue data
content type value data
pid
cols
rows
process
handleFlowControl
writes
dataListenerRegistered
_onData
onData IPty listener
dataListenerRegistered
_onDatadata data
_onExit
onExit IPty listener _onExitdata data
data
_onDatadata
columns rows
cols columns
rows rows
data Buffer
writes data data data
spawnOptions IPtyForkOptions IWindowsPtyForkOptions
stateManager AgentHostStateManager
logService NullLogService
productService IProductService
configurationService AgentConfigurationService
_pty TestPty
stateManager logService productService configurationService
override _file _args options IPtyForkOptions IWindowsPtyForkOptions IPty
spawnOptions options
_ptycols optionscols _ptycols
_ptyrows optionsrows _ptyrows
_pty
payload
nonce TestTerminalDataHandler
parser
nonce
commandCounter
detectionAvailableEmitted
pty TestPty count
i i i
ptywriteslength count
disposables
disposables
assert shouldExecute
assert shouldExecute
assert shouldExecute
assert shouldExecute
assert shouldExecute
assert shouldExecute forceBracketedPasteMode
assert shouldExecute forceBracketedPasteMode
logService
stateManager disposables logService
configurationService disposables stateManager logService
productService _serviceBrand applicationName IProductService
pty
manager disposables stateManager logService productService configurationService pty
createTerminal manager
channel
claim kind TerminalClaimKindClient clientId
cwd process
cols
rows
shell
ptydataListenerRegisteredp
pty
createTerminal
manager shouldExecute
assertptywrites
logService
stateManager disposables logService
configurationService disposables stateManager logService
productService _serviceBrand applicationName IProductService
pty
manager disposables stateManager logService productService configurationService pty
createTerminal manager
channel
claim kind TerminalClaimKindClient clientId
cwd process
cols
rows
shell
ptydataListenerRegisteredp
pty
createTerminal
manager shouldExecute bracketedPasteMode
assertptywrites
logService
stateManager disposables logService
configurationService disposables stateManager logService
productService _serviceBrand applicationName IProductService
pty
manager disposables stateManager logService productService configurationService pty
createTerminal manager
channel
claim kind TerminalClaimKindClient clientId
cwd process
cols
rows
shell
ptydataListenerRegisteredp
pty
createTerminal
manager shouldExecute bracketedPasteMode
assertptywrites
logService
stateManager disposables logService
configurationService disposables stateManager logService
productService _serviceBrand applicationName IProductService
id
shell
claim TerminalClaim
options preventShellHistory nonInteractive
TestAgentHostTerminalManager
pty
manager disposables stateManager logService productService configurationService pty
createTerminal manager
channel
claim
cwd process
cols
rows
shell options
ptydataListenerRegisteredp
pty
createTerminal
manager
zshSessionManager
kind TerminalClaimKindSession
session
chat
turnId
toolCallId
preventShellHistory
assertzshSessionManagerspawnOptionsenv
assertzshSessionManagerspawnOptionsenv
zshClientManager
kind TerminalClaimKindClient
clientId
assertzshClientManagerspawnOptionsenv
bashSessionManager
kind TerminalClaimKindSession
session
chat
turnId
toolCallId
preventShellHistory nonInteractive
assertbashSessionManagerspawnOptionsenv
assertbashSessionManagerspawnOptionsenv
logService
stateManager disposables logService
configurationService disposables stateManager logService
productService _serviceBrand applicationName IProductService
pty
manager disposables stateManager logService productService configurationService pty
createTerminal manager
channel
claim kind TerminalClaimKindClient clientId
cwd process
cols
rows
shell
ptydataListenerRegisteredp
pty
createTerminal
pty
assertptywrites
logService
stateManager disposables logService
configurationService disposables stateManager logService
productService _serviceBrand applicationName IProductService
pty
manager disposables stateManager logService productService configurationService pty
uri
clientData
createTerminal manager
channel uri
claim kind TerminalClaimKindClient clientId
cwd process
cols
rows
shell
ptydataListenerRegisteredp
disposablesmanageruri data clientDatadata
pty
createTerminal
pty
assert
clientData
ptyWrites ptywrites
clientData
ptyWrites
logService
stateManager disposables logService
configurationService disposables stateManager logService
productService _serviceBrand applicationName IProductService
pty
manager disposables stateManager logService productService configurationService pty
uri
createTerminal manager
channel uri
claim kind TerminalClaimKindClient clientId
cwd process
cols
rows
shell
ptydataListenerRegisteredp
pty
createTerminal
altBufferStore disposables
altBufferPromise manageruri altBufferStore
pty
altBufferPromise
logService
stateManager disposables logService
configurationService disposables stateManager logService
productService _serviceBrand applicationName IProductService
pty
manager disposables stateManager logService productService configurationService pty
uri
createTerminal manager
channel uri
claim kind TerminalClaimKindClient clientId
cwd process
cols
rows
shell
ptydataListenerRegisteredp
pty
createTerminal
altBufferStore
altBufferPromise manageruri altBufferStore
didEnterAltBuffer
altBufferPromise didEnterAltBuffer
altBufferStore
pty
assertdidEnterAltBuffer
data
data pendingData
assert
assert
assert
assert
assert
assert
assert
assert
assert
assert
state ITerminalQueryFilterState pendingData
assert state
assert state
state pendingData
assert state
assert state
state pendingData
assert state
assert state
state pendingData
assert state
assert state
assert state
state pendingData
assert state
assert state
handler
cleaned handler
assertcleaned
asserthandlercontent type value
asserthandlerdispatched
type ActionTypeTerminalData data
type ActionTypeTerminalCommandDetectionAvailable
type ActionTypeTerminalData data
handler
handler
asserthandlerdispatchedlength
asserthandlerdispatchedtype ActionTypeTerminalCommandDetectionAvailable
handler
handler
handler
handler
detectionActions handlerdispatched
a atype ActionTypeTerminalCommandDetectionAvailable
assertdetectionActionslength
handler
handler
handler
handler
handler
actions handlerdispatched
assertactionstype ActionTypeTerminalCommandDetectionAvailable
executed actionsa atype ActionTypeTerminalCommandExecuted
assertexecuted
assertexecutedcommandId
assertexecutedcommandLine
finished actionsa atype ActionTypeTerminalCommandFinished
assertfinished
assertfinishedcommandId
assertfinishedexitCode
handler
handler
handler
handler
handler
handler
asserthandlercontentp
type ptype
ptype value pvalue
commandId pcommandId
commandLine pcommandLine
output poutput
isComplete pisComplete
exitCode pexitCode
type value
type
commandId
commandLine
output
isComplete
exitCode
type value
handler
handler
handler
executed handlerdispatcheda atype ActionTypeTerminalCommandExecuted
assertexecuted
assertexecutedcommandLine
handler
handler
handler
executed handlerdispatcheda atype ActionTypeTerminalCommandExecuted
assertexecuted
assertexecutedcommandLine
handler
handler
handler
handler
handler
executed handlerdispatcheda atype ActionTypeTerminalCommandExecuted
assertexecutedlength
assertexecutedcommandId
assertexecutedcommandLine
assertexecutedcommandId
assertexecutedcommandLine
finished handlerdispatcheda atype ActionTypeTerminalCommandFinished
assertfinishedlength
assertfinishedcommandId
assertfinishedexitCode
assertfinishedcommandId
assertfinishedexitCode
handler
handler
cwdAction handlerdispatcheda atype ActionTypeTerminalCwdChanged
assertcwdAction
assertcwdActioncwd
asserthandlercwd
handler
cleaned handler
assertcleaned
handler
parser
nonce
commandCounter
detectionAvailableEmitted
data
cleaned handlerdata
assertcleaned data
asserthandlercontent
type value data
asserthandlerdispatched
type ActionTypeTerminalData data
handler
handler
handler
finished handlerdispatcheda atype ActionTypeTerminalCommandFinished
assertfinishedlength
handler
handler
handler
handler
handler
handler
cmdParts handlercontentp ptype
assertcmdPartslength
assertcmdPartstype cmdPartsoutput
logService
stateManager disposables logService
configurationService disposables stateManager logService
productService _serviceBrand applicationName IProductService
pty
manager disposables stateManager logService productService configurationService pty
uri
createTerminal manager
channel uri
claim kind TerminalClaimKindClient clientId
cwd process
cols
rows
shell processplatform
ptydataListenerRegisteredp
pty
createTerminal
completions exitCode output
disposablesmanageruri event completions
exitCode eventexitCode
output eventoutput
dispatched type data
disposablesstateManagerenvelope
action envelopeaction
actiontype ActionTypeTerminalCommandExecuted actiontype ActionTypeTerminalCommandFinished
dispatched type actiontype
actiontype ActionTypeTerminalData
dispatched type actiontype data actiondata
pty
assertcompletions exitCode output
assertdispatched
type ActionTypeTerminalCommandExecuted
type ActionTypeTerminalData data
type ActionTypeTerminalCommandFinished
disposables
disposables
logService
stateManager disposables logService
configurationService disposables stateManager logService
productService _serviceBrand applicationName IProductService
manager disposables stateManager logService productService configurationService
manager stateManager
manager stateManager
uri
claim TerminalClaim
kind TerminalClaimKindSession
session
chat
toolCallId
dispatched StateAction
disposablesstateManagerenvelope
envelopechannel uri
dispatchedenvelopeaction
manageruri title claim
manageruri
manageruri
manageruri
manageruri
assertmanageruri
title
content type value
lifecycle status TerminalLifecycleStatusExited exitCode
claim
isPty
assertdispatched
type ActionTypeTerminalData data
type ActionTypeTerminalData data
type ActionTypeTerminalExited exitCode
assertmanageruri
assertmanager
manager stateManager
uri
dispatched StateAction
disposablesstateManagerenvelope
envelopechannel uri
dispatchedenvelopeaction
manageruri
title
claim
kind TerminalClaimKindSession
session
chat
manageruri
manageruri
manageruri
assertmanageruricontent type value
assertdispatchedaction actiontype ActionTypeTerminalData ActionTypeTerminalCleared ActionTypeTerminalData
manageruri
assertmanageruri
assertmanageruri
manager stateManager
uri
dispatched StateAction
disposablesstateManagerenvelope
envelopechannel uri
dispatchedenvelopeaction
manageruri
title
claim kind TerminalClaimKindClient clientId
manageruri
assert
lifecycle managerurilifecycle
dispatched
lifecycle status TerminalLifecycleStatusExited
dispatched type ActionTypeTerminalExited