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.
*--------------------------------------------------------------------------------------------*/
/**
* Combine any text already typed into a chat input with a voice transcript so
* the typed text is not dropped when voice mode submits the request.
*
* The transcript is appended after the existing text, inserting a single space
* separator only when the existing text does not already end in whitespace.
*
* @param existing The text currently in the chat input editor.
* @param transcript The recognized voice transcript to submit.
*/
export function combineVoiceInput(existing: string, transcript: string): string {
if (!existing) {
return transcript;
}
if (!transcript) {
return existing;
}
return /\s$/.test(existing) ? `${existing}${transcript}` : `${existing} ${transcript}`;
}