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 type * as vscode from 'vscode';
export namespace Copilot {
export type DocumentUri = string;
export type Position = {
line: number;
character: number;
};
export type Range = {
start: Position;
end: Position;
};
/**
* The ContextProvider API allows extensions to provide additional context items that
* Copilot can use in its prompt. This file contains type definitions for the methods
* and the data structures used by the API.
*
* Note: providing context is not enough to ensure that the context will be used in the prompt.
*
* The API is exposed as an export of the Copilot extension. To use it, you can cast the
* exported object to the ContextProviderApiV1 interface.
*
* Example:
* ```
* const copilot = vscode.extensions.getExtension("github.copilot");
* const contextProviderAPI = copilot.exports.getContextProviderAPI("v1") as ContextProviderApiV1;
* ```
*/
provider ContextProvider vscodeDisposable
id
selector vscodeDocumentSelector
resolver ContextResolver
request ResolveRequest token vscodeCancellationToken AsyncIterable
resolveOnTimeoutrequest ResolveRequest
usage Status
resolution Status
range Range
newText
TextEdit
positionAfterEdit Position
source
uri DocumentUri
languageId
version
offset
position Position
proposedEdits ProposedTextEdit
completionId
opportunityId
documentContext DocumentContext
activeExperiments Map
timeBudget
timeoutEnd
previousUsageStatistics ContextUsageStatistics
data
source
importance
id
name
value
uri
value
additionalUris
uri vscodeUri
values vscodeDiagnostic
Trait CodeSnippet DiagnosticBag