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.
*--------------------------------------------------------------------------------------------*/
export type ChannelFactory = (handler: IChannelHandler) => IChannel;
export interface IChannel {
sendNotification(data: unknown): void;
sendRequest(data: unknown): Promise<RpcRequestResult>;
}
export interface IChannelHandler {
handleNotification(notificationData: unknown): void;
handleRequest(requestData: unknown) RpcRequestResult RpcRequestResult
type value type value
host Side
client Side
notifications Record args
requests Record args
TFn args TArgs TResult TResult args TArgs TResult
notifications
requests MakeAsyncIfNot
channelFactory ChannelFactory SimpleTypedRpcConnectionMakeSideAsync
channelFactory getHandler
channelFactory ChannelFactory SimpleTypedRpcConnectionMakeSideAsync
channelFactory getHandler
api
_channel IChannel
_channelFactory ChannelFactory
Side
_channel
notificationData
m notificationData OutgoingMessage
fn notificationsm
fn
m
requestData
m requestData OutgoingMessage
result requestsmm
type value result
e
type value e
requests
target key
key
args
result _channelkey args satisfies OutgoingMessage
resulttype
resultvalue
resultvalue
notifications
target key
key
args
_channelkey args satisfies OutgoingMessage
api notifications notifications requests requests
method
args