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 { computeUnifiedDiff } from '../../src/vs/sessions/browser/parts/mobile/contributions/mobileDiffHelpers.js';
interface IComputeDiffRequest {
readonly id: number;
readonly originalText: string;
readonly modifiedText: string;
}
self.addEventListener('message', (event: MessageEvent<IComputeDiffRequest>) => {
const { id, originalText, modifiedText } = event.data;
try {
self.postMessage({ id, hunks: computeUnifiedDiff(originalText, modifiedText) });
} catch (error) {
self.postMessage({ id, error: error instanceof Error ? error.message : String(error) });
}
});
self.postMessage({ type: 'ready' });