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 { Event } from '../../../base/common/event.js';
import { createDecorator } from '../../instantiation/common/instantiation.js';
import { IRelayChannel } from './relayTransport.js';
export const DEV_CONTAINER_AGENT_HOST_CHANNEL = 'devContainerAgentHost';
/** Inputs required to start or reuse a workspace's Dev Container Agent Host. */
export interface IDevContainerAgentHostConfig {
readonly connectionId: string;
readonly workspaceFolder: string;
readonly name: string;
}
/** Serializable connection metadata returned to the renderer. */
export interface IDevContainerAgentHostConnectResult {
readonly connectionId: string;
readonly address: string;
readonly name: string;
readonly remoteWorkspaceFolder: string;
}
/** One chunk of output from a Dev Container CLI process. */
export interface IDevContainerAgentHostOutput {
readonly connectionId: string;
readonly data: string;
}
export const IDevContainerAgentHostMainService = createDecorator<IDevContainerAgentHostMainService>('devContainerAgentHostMainService');
/** Shared-process service that owns Dev Container CLI processes and protocol relays. */
export interface IDevContainerAgentHostMainService extends IRelayChannel {
readonly _serviceBrand: undefined;
readonly onDidCloseConnection: Event<string>;
/** Streaming stdout and stderr from Dev Container CLI processes. */
readonly onDidOutput: Event<IDevContainerAgentHostOutput>;
/** Whether Docker can be resolved from the user's shell environment. */
isDockerAvailable(): Promise<boolean>;
connect(config: IDevContainerAgentHostConfig): Promise<IDevContainerAgentHostConnectResult>;
disconnect(connectionId: string): Promise<void>;
}