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.
*--------------------------------------------------------------------------------------------*/
// Re-exports the protocol reducers and adds VS Code-specific helpers.
// The actual reducer logic lives in the auto-generated protocol layer.
// Re-export reducers from the protocol layer
export { rootReducer, sessionReducer, chatReducer, changesetReducer, annotationsReducer, automationReducer, automationRunReducer, softAssertNever, isClientDispatchable } from './protocol/reducers.js';
import { readToolCallMeta, type ToolKind } from '../meta/agentToolCallMeta.js';
import type { ICompletedToolCall, ToolCallState } from './sessionState.js';
/**
* Extracts the VS Code-specific `toolKind` hint from a tool call's `_meta`
* bag. This is not part of the protocol and is injected by the agent adapter
* (e.g. `copilotEventMapper`).
*/
export function getToolKind(tc: ToolCallState | ICompletedToolCall): ToolKind | undefined {
return readToolCallMeta(tc).toolKind;
}