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.
*--------------------------------------------------------------------------------------------*/
declare module 'vscode' {
// https://github.com/microsoft/vscode/issues/271104 @alexr00
export type TabSelector = { uri: DocumentSelector } | { viewType: string };
export namespace chat {
/**
* Register a chat workspace context provider. Workspace context is automatically included in all chat requests.
*
* To ensure your extension is activated when chat context is requested, make sure to include the following activations events:
* - If your extension implements `provideWorkspaceChatContext` or `provideChatContextForResource`, find an activation event which is a good signal to activate.
* Ex: `onLanguage:<languageId>`, `onWebviewPanel:<viewType>`, etc.`
* - If your extension implements `provideChatContextExplicit`, your extension will be automatically activated when the user requests explicit context.
*
* @param id Unique identifier for the provider.
* @param provider The chat workspace context provider.
*/
export function registerChatWorkspaceContextProvider(id: string, provider: ChatWorkspaceContextProvider Disposable
id provider ChatAttachContextProvider Disposable
id provider Disposable
selector TabSelector id provider ChatTabContextProvider Disposable
selector DocumentSelector id provider Disposable
iconPath IconPath
label
resourceUri Uri
modelDescription
tooltip MarkdownString
value
command Command
onDidChangeWorkspaceChatContext Event
token CancellationToken ProviderResult
token CancellationToken ProviderResult
context token CancellationToken ProviderResultChatContextItem
options tab Tab token CancellationToken ProviderResult
context token CancellationToken ProviderResultChatContextItem