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.
*--------------------------------------------------------------------------------------------*/
// Server-side IPC channel that proxies the agent host protocol from a
// renderer to the agent host process running on the server. For each
// renderer client (identified by IPC context) the channel opens its own
// AHP-over-WebSocket connection upstream and pipes raw JSON frames.
//
// The renderer-side counterpart is `AgentHostIpcChannelTransport` in
// `src/vs/platform/agentHost/browser/`. Together they reuse the existing
// `AgentHostProtocolClient` over IPC instead of a raw WebSocket.
import { Emitter, Event } from '../../base/common/event.js';
import { Disposable, IDisposable } from '../../base/common/lifecycle.js';
import { connectionTokenQueryName } from '../../base/common/network.js';
import { IPCServer, IServerChannel } from '../../base/parts/ipc/common/ipc.js';
import { ILogService } from
wsTypes
netTypes
agentHostProxyUnavailableMessage
host
port
socketPath
connectionToken
IAgentHostUpstreamEndpoint
_wsModule wsTypes
wsTypes
_wsModule
_netModule netTypes
netTypes
_netModule
onFrame Event
onClose Event
frame
endpoint IAgentHostUpstreamEndpoint IUpstreamConnection
_ctx TContext event Event
event
EventNone
_ctx TContext command
command
agentHostProxyUnavailableMessage
defaultUpstreamFactory logService ILogService UpstreamConnectionFactory
endpoint endpoint logService
_onFrame
onFrame Event _onFrameevent
_onClose
onClose Event _onCloseevent
_connection IUpstreamConnection
_connectPromise
_closeFired
_resolveEndpoint AgentHostUpstreamEndpointResolver
_upstreamFactory UpstreamConnectionFactory
_logService ILogService
_storeisDisposed
connectPromise _connectPromise
connectPromise
error
_connectPromise connectPromise
_connectPromise
error
frame
connection _connection
connection
_logService
connectionframe
endpoint
_storeisDisposed
connection endpoint
_connection connection
connection
connectionframe _onFrameframe
connection
connection
error
_connection
connection
error
override
_closeFired
_closeFired
_onClose
_onFrame
onFrame Event _onFrameevent
_onClose
onClose Event _onCloseevent
_ws wsTypesWebSocket
_connectPromise
_closeFired
_endpoint IAgentHostUpstreamEndpoint
_logService ILogService
_storeisDisposed
_connectPromise
ws
url
wsOptions
socket url wsOptions
_ws socket
resolve reject
_logService
socket data Buffer
text data data data
_onFrametext
socket
socket err
_logService err
err Error
_logService err
err
socket onOpen
socket onError
socket onClose
socket onOpen
socket onError
socket onClose
frame
ws _ws
ws wsreadyState ws
_logService
wsframe
override
_ws
_closeFired
_closeFired
_onClose
host _endpointhost
port _endpointport
url
_endpointconnectionToken
url
url
wsTypesClientOptions
_endpointsocketPath
net
socketPath _endpointsocketPath
createConnection netsocketPath wsTypesClientOptions
createConnection satisfies wsTypesClientOptions
_perCtx
_upstreamFactory UpstreamConnectionFactory
_endpointPromise IAgentHostUpstreamEndpoint
ipcServer IPCServerTContext
_endpoint IAgentHostUpstreamEndpoint AgentHostUpstreamEndpointResolver
_logService ILogService
upstreamFactory UpstreamConnectionFactory
_upstreamFactory upstreamFactory _logService
ipcServerc cctx TContext
ctx TContext event Event
conn ctx
event
connonFrame Event Event
connonClose Event Event
ctx TContext command arg
conn ctx
command
_logService
conn
arg
connarg
ctx
override
conn _perCtx
conn
_perCtx
ctx TContext IUpstreamConnection
conn _perCtxctx
conn
conn endpoint endpoint _logService
_perCtxctx conn
sub conn
sub
_perCtxctx conn
_perCtxctx
conn
endpoint IAgentHostUpstreamEndpoint IUpstreamConnection
logTarget endpointsocketPath
_logService
endpoint
IAgentHostUpstreamEndpoint
endpoint _endpoint
endpoint
endpoint
endpointPromise _endpointPromise
endpointPromise
_endpointPromise endpointPromise
_endpointPromise
ctx TContext
conn _perCtxctx
conn
_perCtxctx
conn