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 { CancellationToken } from '../../../../base/common/cancellation.js';
import { URI } from '../../../../base/common/uri.js';
import { IActiveCodeEditor, ICodeEditor } from '../../../../editor/browser/editorBrowser.js';
import { InstantiationType, registerSingleton } from '../../../../platform/instantiation/common/extensions.js';
import { IInlineChatSession, IInlineChatSessionService } from '../../../../workbench/contrib/inlineChat/browser/inlineChatSessionService.js';
class NullInlineChatSessionService implements IInlineChatSessionService {
declare _serviceBrand: undefined;
readonly onWillStartSession: Event<IActiveCodeEditor> = Event.None;
readonly onDidChangeSessions: Event<this> = Event.None;
dispose(): void { }
async createSession(_editor: ICodeEditor, _isNotebook: boolean, _token: CancellationToken): Promise<IInlineChatSession> {
throw new Error('Inline chat sessions are not supported in the sessions window');
}
getSessionByTextModel(_uri: URI): IInlineChatSession | undefined {
return undefined;
}
getSessionBySessionUri(_uri: URI): IInlineChatSession | undefined {
return undefined;
}
}
registerSingleton(IInlineChatSessionService, NullInlineChatSessionService, InstantiationType.Delayed);