@github/copilot-language-server 1.271.0 → 1.272.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/types.d.ts +4 -3
- package/dist/language-server.js +260 -260
- package/dist/language-server.js.map +3 -3
- package/native/darwin-arm64/copilot-language-server +0 -0
- package/native/darwin-x64/copilot-language-server +0 -0
- package/native/linux-x64/copilot-language-server +0 -0
- package/native/win32-x64/copilot-language-server.exe +0 -0
- package/package.json +2 -2
package/dist/api/types.d.ts
CHANGED
|
@@ -57,11 +57,12 @@ export interface ContextResolver<T extends SupportedContextItem> {
|
|
|
57
57
|
* - the timeBudget the provider has to provide context items
|
|
58
58
|
* - the previousUsageStatistics, which contains information about the last request to the provider
|
|
59
59
|
*/
|
|
60
|
-
export type
|
|
60
|
+
export type ResolutionStatus = 'full' | 'partial' | 'none' | 'error';
|
|
61
|
+
export type UsageStatus = ResolutionStatus | `${ResolutionStatus}_content_excluded`;
|
|
61
62
|
|
|
62
63
|
export type ContextUsageStatistics = {
|
|
63
|
-
usage:
|
|
64
|
-
resolution:
|
|
64
|
+
usage: UsageStatus;
|
|
65
|
+
resolution: ResolutionStatus;
|
|
65
66
|
};
|
|
66
67
|
|
|
67
68
|
export interface DocumentContext {
|