@github/copilot-language-server 1.327.0 → 1.329.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 +15 -0
- package/dist/main.js +603 -604
- package/dist/main.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-arm64/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
|
@@ -141,6 +141,14 @@ export interface ResolveRequest {
|
|
|
141
141
|
data?: unknown;
|
|
142
142
|
}
|
|
143
143
|
|
|
144
|
+
/**
|
|
145
|
+
* A context item marked as backup will only be used if the provider hits the timeout
|
|
146
|
+
* and is not able to fully resolve.
|
|
147
|
+
*/
|
|
148
|
+
export enum ContextItemTag {
|
|
149
|
+
Backup = 'backup',
|
|
150
|
+
}
|
|
151
|
+
|
|
144
152
|
/**
|
|
145
153
|
* These are the data types that can be provided by a context provider. Any non-conforming
|
|
146
154
|
* context items will be filtered out.
|
|
@@ -167,6 +175,13 @@ interface ContextItem {
|
|
|
167
175
|
* - update: context is provided via context/update
|
|
168
176
|
*/
|
|
169
177
|
origin?: ContextItemOrigin;
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Tags are used to provide additional metadata about the context item. Valid tags
|
|
181
|
+
* are defined in the ContextItemTag. The type is a string[] to allow arbitrary tags
|
|
182
|
+
* to be passed without failing schema validation.
|
|
183
|
+
*/
|
|
184
|
+
tags?: string[];
|
|
170
185
|
}
|
|
171
186
|
|
|
172
187
|
// A key-value pair used for short string snippets.
|