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 { mainWindow } from '../../../../base/browser/window.js';
import { IChannel, ProxyChannel } from '../../../../base/parts/ipc/common/ipc.js';
import { IPlaywrightService, IPlaywrightServiceInitializeOptions } from '../../../../platform/browserView/common/playwrightService.js';
import { registerSharedProcessRemoteService } from '../../../../platform/ipc/electron-browser/services.js';
import { ILogService } from '../../../../platform/log/common/log.js';
class PlaywrightChannelClient {
constructor(
channel: IChannel,
@ILogService logService: ILogService,
) {
// Initialize the per-window shared-process service before forwarding calls.
const options: IPlaywrightServiceInitializeOptions = {
windowId: mainWindow.vscodeWindowId,
};
void channel.call('__initialize', options).catch((e) => {
logService.error(`Failed to initialize Playwright service`, e);
});
return ProxyChannel.toService<IPlaywrightService>(channel);
}
}
registerSharedProcessRemoteService(IPlaywrightService, 'playwright', { channelClientCtor: PlaywrightChannelClient });