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 { Emitter, Event } from '../../../../base/common/event.js';
import { DisposableStore } from '../../../../base/common/lifecycle.js';
import { IPartialCommandDetectionCapability, TerminalCapability } from './capabilities.js';
import type { IMarker, Terminal } from '@xterm/headless';
const enum Constants {
/**
* The minimum size of the prompt in which to assume the line is a command.
*/
MinimumPromptLength = 2
}
/**
* This capability guesses where commands are based on where the cursor was when enter was pressed.
* It's very hit or miss but it's often correct and better than nothing.
*/
export class PartialCommandDetectionCapability extends DisposableStore
type TerminalCapabilityPartialCommandDetection
_commands IMarker
IMarker _commands
_onCommandFinished
onCommandFinished _onCommandFinishedevent
_terminal Terminal
_onDidExecuteText Event
_terminale e
_terminalparser final params
paramslength params params
_onDidExecuteText
data
data
_terminal
_terminalbufferactivecursorX ConstantsMinimumPromptLength
marker _terminal
marker
_commandsmarker
_onCommandFinishedmarker
count
i _commandslength i i
_commandsiline _terminalbufferactivebaseY
count
_commands_commandslength count count