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 { MessagePortMain, isUtilityProcess, MessageEvent } from '../../sandbox/node/electronTypes.js';
import { VSBuffer } from '../../../common/buffer.js';
import { ClientConnectionEvent, IMessagePassingProtocol, IPCServer } from '../common/ipc.js';
import { Emitter, Event } from '../../../common/event.js';
import { assertType } from '../../../common/types.js';
/**
* The MessagePort `Protocol` leverages MessagePortMain style IPC communication
* for the implementation of the `IMessagePassingProtocol`.
*/
class Protocol implements IMessagePassingProtocol {
readonly onMessage;
port MessagePortMain
onMessage Eventport e MessageEvent
edata
VSBufferedata Uint8Array
VSBuffer
port
message VSBuffer
portmessagebuffer
port
e MessageEvent
filter IClientConnectionFilter EventClientConnectionEvent
process
onCreateMessageChannel
processparentPort e MessageEvent
filtere
port eports
port
onCreateMessageChannelport
EventonCreateMessageChannelevent port
protocol port
result ClientConnectionEvent
protocol
onDidClientDisconnect Eventport
result
filter IClientConnectionFilter
Serverfilter
event messageEvent MessageEvent
event messageEvent MessageEvent
port INodeMessagePortFragment message
e MessageEvent
edata message
port listener
port listener