Skip to content

Commit c1bb86a

Browse files
github-actions[bot]AntoineGS
authored andcommitted
feat: update to latest Copilot LSP
1 parent 5f726c8 commit c1bb86a

File tree

4 files changed

+633
-614
lines changed

4 files changed

+633
-614
lines changed

copilot/js/api/types.d.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,14 @@ export interface ResolveRequest {
141141
data?: unknown;
142142
}
143143

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+
144152
/**
145153
* These are the data types that can be provided by a context provider. Any non-conforming
146154
* context items will be filtered out.
@@ -167,6 +175,13 @@ interface ContextItem {
167175
* - update: context is provided via context/update
168176
*/
169177
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[];
170185
}
171186

172187
// A key-value pair used for short string snippets.

copilot/js/main.js

Lines changed: 614 additions & 610 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

copilot/js/main.js.map

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lua/copilot/util.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function M.get_editor_info()
1313
editorPluginInfo = {
1414
name = "copilot.lua",
1515
-- reflects version of github/copilot-language-server-release
16-
version = "1.324.0",
16+
version = "1.329.0",
1717
},
1818
}
1919
return info

0 commit comments

Comments
 (0)