@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.
@@ -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.