@codingame/monaco-vscode-rollup-vsix-plugin 2.0.3 → 2.1.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.
Files changed (24) hide show
  1. package/package.json +2 -2
  2. package/vscode/src/vs/platform/extensions/common/extensions.d.ts +6 -1
  3. package/vscode-dts/vscode.proposed.chatAgents2.d.ts +112 -47
  4. package/vscode-dts/vscode.proposed.chatAgents2Additions.d.ts +68 -9
  5. package/vscode-dts/{vscode.proposed.scmInputBoxActionButton.d.ts → vscode.proposed.codeActionRanges.d.ts} +8 -10
  6. package/vscode-dts/{vscode.proposed.readonlyMessage.d.ts → vscode.proposed.commentReactor.d.ts} +3 -4
  7. package/vscode-dts/vscode.proposed.contribMultiDiffEditorMenus.d.ts +6 -0
  8. package/vscode-dts/vscode.proposed.contribSourceControlHistoryItemGroupMenu.d.ts +8 -0
  9. package/vscode-dts/vscode.proposed.contribSourceControlHistoryItemMenu.d.ts +8 -0
  10. package/vscode-dts/vscode.proposed.debugVisualization.d.ts +100 -0
  11. package/vscode-dts/vscode.proposed.defaultChatAgent.d.ts +1 -1
  12. package/vscode-dts/vscode.proposed.interactive.d.ts +13 -16
  13. package/vscode-dts/vscode.proposed.notebookVariableProvider.d.ts +4 -1
  14. package/vscode-dts/vscode.proposed.resolvers.d.ts +4 -0
  15. package/vscode-dts/vscode.proposed.scmHistoryProvider.d.ts +4 -10
  16. package/vscode-dts/vscode.proposed.scmMultiDiffEditor.d.ts +34 -0
  17. package/vscode-dts/vscode.proposed.speech.d.ts +17 -3
  18. package/vscode-dts/vscode.proposed.testCoverage.d.ts +7 -1
  19. package/vscode-dts/vscode.proposed.tunnelFactory.d.ts +4 -0
  20. package/vscode-dts/vscode.proposed.chatVariables.d.ts +0 -39
  21. package/vscode-dts/vscode.proposed.interactiveUserActions.d.ts +0 -77
  22. package/vscode-dts/vscode.proposed.saveEditor.d.ts +0 -35
  23. package/vscode-dts/vscode.proposed.scmInputBoxValueProvider.d.ts +0 -25
  24. package/vscode-dts/vscode.proposed.testingActiveProfile.d.ts +0 -21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-rollup-vsix-plugin",
3
- "version": "2.0.3",
3
+ "version": "2.1.0",
4
4
  "keywords": [],
5
5
  "author": {
6
6
  "name": "CodinGame",
@@ -18,7 +18,7 @@
18
18
  "module": "rollup-vsix-plugin.js",
19
19
  "types": "rollup-vsix-plugin.d.ts",
20
20
  "dependencies": {
21
- "vscode": "npm:@codingame/monaco-vscode-api@2.0.3",
21
+ "vscode": "npm:@codingame/monaco-vscode-api@2.1.0",
22
22
  "css-url-parser": "^1.1.3",
23
23
  "memfs": "^4.6.0",
24
24
  "mime-types": "^2.1.35",
@@ -628,6 +628,10 @@ interface INotebookRendererContribution {
628
628
  readonly path: string;
629
629
  };
630
630
  }
631
+ interface IDebugVisualizationContribution {
632
+ readonly id: string;
633
+ readonly when: string;
634
+ }
631
635
  interface ITranslation {
632
636
  /**
633
637
  * Id of VS Code or Extension for which this translation is contributed to. Id of VS Code is always `vscode` and of extension should be in format `publisherId.extensionName`.
@@ -1103,6 +1107,7 @@ interface IExtensionContributions {
1103
1107
  * Contributes notebook output renderer provider.
1104
1108
  */
1105
1109
  readonly notebookRenderer?: INotebookRendererContribution[];
1110
+ readonly debugVisualizers?: IDebugVisualizationContribution[];
1106
1111
  /**
1107
1112
  * Contributes notebook preloads.
1108
1113
  */
@@ -1218,4 +1223,4 @@ interface IRelaxedExtensionManifest {
1218
1223
  }
1219
1224
  type IExtensionManifest = Readonly<IRelaxedExtensionManifest>;
1220
1225
 
1221
- export type { ExtensionUntrustedWorkspaceSupport, ExtensionVirtualWorkspaceSupport, IAuthenticationContribution, IBreakpoint, ICodeActionContribution, ICodeActionContributionAction, IColor, IColorTheme, ICommand, IConfiguration, IDebugger, IDocumentation, IDocumentationRefactoring, IExtensionCapabilities, IExtensionContributions, IExtensionManifest, IGrammar, IIcon, IIconTheme, IInteractiveSession, IJSONValidation, IKeyBinding, ILanguage, ILocalizationContribution, IMenu, INotebookEntry, INotebookRendererContribution, IProductTheme, IRelaxedExtensionManifest, IRemoteHelp, ISemanticTokenModifiers, ISemanticTokenScopes, ISemanticTokenTypes, ISnippet, IStartEntry, IStatusBarItem, ISubMenu, ITaskDefinitions, ITerminal, ITerminalQuickFix, ITranslation, IView, IViewContainer, IViewsWelcome, IWalkthrough, IWalkthroughStep, LimitedWorkspaceSupportType, NotebookPreload };
1226
+ export type { ExtensionUntrustedWorkspaceSupport, ExtensionVirtualWorkspaceSupport, IAuthenticationContribution, IBreakpoint, ICodeActionContribution, ICodeActionContributionAction, IColor, IColorTheme, ICommand, IConfiguration, IDebugVisualizationContribution, IDebugger, IDocumentation, IDocumentationRefactoring, IExtensionCapabilities, IExtensionContributions, IExtensionManifest, IGrammar, IIcon, IIconTheme, IInteractiveSession, IJSONValidation, IKeyBinding, ILanguage, ILocalizationContribution, IMenu, INotebookEntry, INotebookRendererContribution, IProductTheme, IRelaxedExtensionManifest, IRemoteHelp, ISemanticTokenModifiers, ISemanticTokenScopes, ISemanticTokenTypes, ISnippet, IStartEntry, IStatusBarItem, ISubMenu, ITaskDefinitions, ITerminal, ITerminalQuickFix, ITranslation, IView, IViewContainer, IViewsWelcome, IWalkthrough, IWalkthroughStep, LimitedWorkspaceSupportType, NotebookPreload };
@@ -5,11 +5,17 @@
5
5
 
6
6
  declare module 'vscode' {
7
7
 
8
+ export interface ChatAgentHistoryEntry {
9
+ request: ChatAgentRequest;
10
+ response: ChatAgentContentProgress[];
11
+ result: ChatAgentResult2;
12
+ }
13
+
8
14
  export interface ChatAgentContext {
9
15
  /**
10
16
  * All of the chat messages so far in the current chat session.
11
17
  */
12
- history: ChatMessage[];
18
+ history: ChatAgentHistoryEntry[];
13
19
  }
14
20
 
15
21
  /**
@@ -64,12 +70,12 @@ declare module 'vscode' {
64
70
  /**
65
71
  * Represents user feedback for a result.
66
72
  */
67
- export interface ChatAgentResult2Feedback {
73
+ export interface ChatAgentResult2Feedback<TResult extends ChatAgentResult2> {
68
74
  /**
69
75
  * This instance of ChatAgentResult2 is the same instance that was returned from the chat agent,
70
76
  * and it can be extended with arbitrary properties if needed.
71
77
  */
72
- readonly result: ChatAgentResult2;
78
+ readonly result: TResult;
73
79
 
74
80
  /**
75
81
  * The kind of feedback that was received.
@@ -77,12 +83,12 @@ declare module 'vscode' {
77
83
  readonly kind: ChatAgentResultFeedbackKind;
78
84
  }
79
85
 
80
- export interface ChatAgentSlashCommand {
86
+ export interface ChatAgentSubCommand {
81
87
  /**
82
88
  * A short name by which this command is referred to in the UI, e.g. `fix` or
83
89
  * `explain` for commands that fix an issue or explain code.
84
90
  *
85
- * **Note**: The name should be unique among the slash commands provided by this agent.
91
+ * **Note**: The name should be unique among the subCommands provided by this agent.
86
92
  */
87
93
  readonly name: string;
88
94
 
@@ -92,37 +98,39 @@ declare module 'vscode' {
92
98
  readonly description: string;
93
99
 
94
100
  /**
95
- * When the user clicks this slash command in `/help`, this text will be submitted to this slash command
101
+ * When the user clicks this subCommand in `/help`, this text will be submitted to this subCommand
96
102
  */
97
103
  readonly sampleRequest?: string;
98
104
 
99
105
  /**
100
106
  * Whether executing the command puts the
101
107
  * chat into a persistent mode, where the
102
- * slash command is prepended to the chat input.
108
+ * subCommand is prepended to the chat input.
103
109
  */
104
110
  readonly shouldRepopulate?: boolean;
111
+
105
112
  /**
106
113
  * Placeholder text to render in the chat input
107
- * when the slash command has been repopulated.
114
+ * when the subCommand has been repopulated.
108
115
  * Has no effect if `shouldRepopulate` is `false`.
109
116
  */
117
+ // TODO@API merge this with shouldRepopulate? so that invalid state cannot be represented?
110
118
  readonly followupPlaceholder?: string;
111
119
  }
112
120
 
113
- export interface ChatAgentSlashCommandProvider {
121
+ export interface ChatAgentSubCommandProvider {
114
122
 
115
123
  /**
116
- * Returns a list of slash commands that its agent is capable of handling. A slash command
124
+ * Returns a list of subCommands that its agent is capable of handling. A subCommand
117
125
  * can be selected by the user and will then be passed to the {@link ChatAgentHandler handler}
118
- * via the {@link ChatAgentRequest.slashCommand slashCommand} property.
126
+ * via the {@link ChatAgentRequest.subCommand subCommand} property.
119
127
  *
120
128
  *
121
129
  * @param token A cancellation token.
122
- * @returns A list of slash commands. The lack of a result can be signaled by returning `undefined`, `null`, or
130
+ * @returns A list of subCommands. The lack of a result can be signaled by returning `undefined`, `null`, or
123
131
  * an empty array.
124
132
  */
125
- provideSlashCommands(token: CancellationToken): ProviderResult<ChatAgentSlashCommand[]>;
133
+ provideSubCommands(token: CancellationToken): ProviderResult<ChatAgentSubCommand[]>;
126
134
  }
127
135
 
128
136
  // TODO@API This should become a progress type, and use vscode.Command
@@ -159,16 +167,16 @@ declare module 'vscode' {
159
167
  /**
160
168
  * Will be invoked once after each request to get suggested followup questions to show the user. The user can click the followup to send it to the chat.
161
169
  */
162
- export interface FollowupProvider {
170
+ export interface FollowupProvider<TResult extends ChatAgentResult2> {
163
171
  /**
164
172
  *
165
173
  * @param result The same instance of the result object that was returned by the chat agent, and it can be extended with arbitrary properties if needed.
166
174
  * @param token A cancellation token.
167
175
  */
168
- provideFollowups(result: ChatAgentResult2, token: CancellationToken): ProviderResult<ChatAgentFollowup[]>;
176
+ provideFollowups(result: TResult, token: CancellationToken): ProviderResult<ChatAgentFollowup[]>;
169
177
  }
170
178
 
171
- export interface ChatAgent2 {
179
+ export interface ChatAgent2<TResult extends ChatAgentResult2> {
172
180
 
173
181
  /**
174
182
  * The short name by which this agent is referred to in the UI, e.g `workspace`.
@@ -200,17 +208,17 @@ declare module 'vscode' {
200
208
  } | ThemeIcon;
201
209
 
202
210
  /**
203
- * This provider will be called to retrieve the agent's slash commands.
211
+ * This provider will be called to retrieve the agent's subCommands.
204
212
  */
205
- slashCommandProvider?: ChatAgentSlashCommandProvider;
213
+ subCommandProvider?: ChatAgentSubCommandProvider;
206
214
 
207
215
  /**
208
216
  * This provider will be called once after each request to retrieve suggested followup questions.
209
217
  */
210
- followupProvider?: FollowupProvider;
218
+ followupProvider?: FollowupProvider<TResult>;
211
219
 
212
220
  /**
213
- * When the user clicks this agent in `/help`, this text will be submitted to this slash command
221
+ * When the user clicks this agent in `/help`, this text will be submitted to this subCommand
214
222
  */
215
223
  sampleRequest?: string;
216
224
 
@@ -221,10 +229,9 @@ declare module 'vscode' {
221
229
  * The passed {@link ChatAgentResult2Feedback.result result} is guaranteed to be the same instance that was
222
230
  * previously returned from this chat agent.
223
231
  */
224
- onDidReceiveFeedback: Event<ChatAgentResult2Feedback>;
232
+ onDidReceiveFeedback: Event<ChatAgentResult2Feedback<TResult>>;
225
233
 
226
234
  /**
227
- * TODO@API explain what happens wrt to history, in-flight requests etc...
228
235
  * Dispose this agent and free resources
229
236
  */
230
237
  dispose(): void;
@@ -233,31 +240,45 @@ declare module 'vscode' {
233
240
  export interface ChatAgentRequest {
234
241
 
235
242
  /**
236
- * The prompt entered by the user. The {@link ChatAgent2.name name} of the agent or the {@link ChatAgentSlashCommand.name slash command}
243
+ * The prompt entered by the user. The {@link ChatAgent2.name name} of the agent or the {@link ChatAgentSubCommand.name subCommand}
237
244
  * are not part of the prompt.
238
245
  *
239
- * @see {@link ChatAgentRequest.slashCommand}
246
+ * @see {@link ChatAgentRequest.subCommand}
240
247
  */
241
248
  prompt: string;
242
249
 
243
250
  /**
244
- * The {@link ChatAgentSlashCommand slash command} that was selected for this request. It is guaranteed that the passed slash
245
- * command is an instance that was previously returned from the {@link ChatAgentSlashCommandProvider.provideSlashCommands slash command provider}.
251
+ * The ID of the chat agent to which this request was directed.
246
252
  */
247
- slashCommand?: ChatAgentSlashCommand;
253
+ agentId: string;
254
+
255
+ /**
256
+ * The {@link ChatAgentSubCommand subCommand} that was selected for this request. It is guaranteed that the passed subCommand
257
+ * is an instance that was previously returned from the {@link ChatAgentSubCommandProvider.provideSubCommands subCommand provider}.
258
+ * @deprecated this will be replaced by `subCommand`
259
+ */
260
+ slashCommand?: ChatAgentSubCommand;
261
+
262
+ /**
263
+ * The name of the {@link ChatAgentSubCommand subCommand} that was selected for this request.
264
+ */
265
+ subCommand?: string;
248
266
 
249
267
  variables: Record<string, ChatVariableValue[]>;
250
268
  }
251
269
 
252
- export type ChatAgentProgress =
270
+ export type ChatAgentContentProgress =
253
271
  | ChatAgentContent
254
- | ChatAgentTask
255
272
  | ChatAgentFileTree
273
+ | ChatAgentInlineContentReference;
274
+
275
+ export type ChatAgentMetadataProgress =
256
276
  | ChatAgentUsedContext
257
277
  | ChatAgentContentReference
258
- | ChatAgentInlineContentReference
259
278
  | ChatAgentProgressMessage;
260
279
 
280
+ export type ChatAgentProgress = ChatAgentContentProgress | ChatAgentMetadataProgress;
281
+
261
282
  /**
262
283
  * Is displayed in the UI to communicate steps of progress to the user. Should be used when the agent may be slow to respond, e.g. due to doing extra work before sending the actual request to the LLM.
263
284
  */
@@ -300,22 +321,6 @@ declare module 'vscode' {
300
321
  content: string;
301
322
  }
302
323
 
303
- /**
304
- * Represents a piece of the chat response's content that is resolved asynchronously. It is rendered immediately with a placeholder,
305
- * which is replaced once the full content is available.
306
- */
307
- export interface ChatAgentTask {
308
- /**
309
- * The markdown string to be rendered immediately.
310
- */
311
- placeholder: string;
312
-
313
- /**
314
- * A Thenable resolving to the real content. The placeholder will be replaced with this content once it's available.
315
- */
316
- resolvedContent: Thenable<ChatAgentContent | ChatAgentFileTree>;
317
- }
318
-
319
324
  /**
320
325
  * Represents a tree, such as a file and directory structure, rendered in the chat response.
321
326
  */
@@ -338,8 +343,17 @@ declare module 'vscode' {
338
343
  /**
339
344
  * A Uri for this node, opened when it's clicked.
340
345
  */
346
+ // TODO@API why label and uri. Can the former be derived from the latter?
347
+ // TODO@API don't use uri but just names? This API allows to to build nonsense trees where the data structure doesn't match the uris
348
+ // path-structure.
341
349
  uri: Uri;
342
350
 
351
+ /**
352
+ * The type of this node. Defaults to {@link FileType.Directory} if it has {@link ChatAgentFileTreeData.children children}.
353
+ */
354
+ // TODO@API cross API usage
355
+ type?: FileType;
356
+
343
357
  /**
344
358
  * The children of this node.
345
359
  */
@@ -370,6 +384,57 @@ declare module 'vscode' {
370
384
  * @param handler The reply-handler of the agent.
371
385
  * @returns A new chat agent
372
386
  */
373
- export function createChatAgent(name: string, handler: ChatAgentHandler): ChatAgent2;
387
+ export function createChatAgent<TResult extends ChatAgentResult2>(name: string, handler: ChatAgentHandler): ChatAgent2<TResult>;
388
+
389
+ /**
390
+ * Register a variable which can be used in a chat request to any agent.
391
+ * @param name The name of the variable, to be used in the chat input as `#name`.
392
+ * @param description A description of the variable for the chat input suggest widget.
393
+ * @param resolver Will be called to provide the chat variable's value when it is used.
394
+ */
395
+ export function registerVariable(name: string, description: string, resolver: ChatVariableResolver): Disposable;
396
+ }
397
+
398
+ /**
399
+ * The detail level of this chat variable value.
400
+ */
401
+ export enum ChatVariableLevel {
402
+ Short = 1,
403
+ Medium = 2,
404
+ Full = 3
405
+ }
406
+
407
+ export interface ChatVariableValue {
408
+ /**
409
+ * The detail level of this chat variable value. If possible, variable resolvers should try to offer shorter values that will consume fewer tokens in an LLM prompt.
410
+ */
411
+ level: ChatVariableLevel;
412
+
413
+ /**
414
+ * The variable's value, which can be included in an LLM prompt as-is, or the chat agent may decide to read the value and do something else with it.
415
+ */
416
+ value: string | Uri;
417
+
418
+ /**
419
+ * A description of this value, which could be provided to the LLM as a hint.
420
+ */
421
+ description?: string;
422
+ }
423
+
424
+ export interface ChatVariableContext {
425
+ /**
426
+ * The message entered by the user, which includes this variable.
427
+ */
428
+ prompt: string;
429
+ }
430
+
431
+ export interface ChatVariableResolver {
432
+ /**
433
+ * A callback to resolve the value of a chat variable.
434
+ * @param name The name of the variable.
435
+ * @param context Contextual information about this chat request.
436
+ * @param token A cancellation token.
437
+ */
438
+ resolve(name: string, context: ChatVariableContext, token: CancellationToken): ProviderResult<ChatVariableValue[]>;
374
439
  }
375
440
  }
@@ -5,12 +5,7 @@
5
5
 
6
6
  declare module 'vscode' {
7
7
 
8
- export interface ChatAgentUserActionEvent {
9
- readonly result: ChatAgentResult2;
10
- readonly action: InteractiveSessionCopyAction | InteractiveSessionInsertAction | InteractiveSessionTerminalAction | InteractiveSessionCommandAction | InteractiveSessionFollowupAction | InteractiveSessionBugReportAction;
11
- }
12
-
13
- export interface ChatAgent2 {
8
+ export interface ChatAgent2<TResult extends ChatAgentResult2> {
14
9
  onDidPerformAction: Event<ChatAgentUserActionEvent>;
15
10
  supportIssueReporting?: boolean;
16
11
  }
@@ -31,7 +26,7 @@ declare module 'vscode' {
31
26
 
32
27
  export interface ChatAgentDetectedAgent {
33
28
  agentName: string;
34
- command?: ChatAgentSlashCommand;
29
+ command?: ChatAgentSubCommand;
35
30
  }
36
31
 
37
32
  export interface ChatAgentVulnerability {
@@ -48,7 +43,7 @@ declare module 'vscode' {
48
43
  | ChatAgentMarkdownContent
49
44
  | ChatAgentDetectedAgent;
50
45
 
51
- export interface ChatAgent2 {
46
+ export interface ChatAgent2<TResult extends ChatAgentResult2> {
52
47
  /**
53
48
  * Provide a set of variables that can only be used with this agent.
54
49
  */
@@ -75,6 +70,70 @@ declare module 'vscode' {
75
70
  /**
76
71
  * Create a chat agent with the extended progress type
77
72
  */
78
- export function createChatAgent(name: string, handler: ChatAgentExtendedHandler): ChatAgent2;
73
+ export function createChatAgent<TResult extends ChatAgentResult2>(name: string, handler: ChatAgentExtendedHandler): ChatAgent2<TResult>;
74
+ }
75
+
76
+ /*
77
+ * User action events
78
+ */
79
+
80
+ export enum ChatAgentCopyKind {
81
+ // Keyboard shortcut or context menu
82
+ Action = 1,
83
+ Toolbar = 2
84
+ }
85
+
86
+ export interface ChatAgentCopyAction {
87
+ // eslint-disable-next-line local/vscode-dts-string-type-literals
88
+ kind: 'copy';
89
+ codeBlockIndex: number;
90
+ copyKind: ChatAgentCopyKind;
91
+ copiedCharacters: number;
92
+ totalCharacters: number;
93
+ copiedText: string;
94
+ }
95
+
96
+ export interface ChatAgentInsertAction {
97
+ // eslint-disable-next-line local/vscode-dts-string-type-literals
98
+ kind: 'insert';
99
+ codeBlockIndex: number;
100
+ totalCharacters: number;
101
+ newFile?: boolean;
102
+ }
103
+
104
+ export interface ChatAgentTerminalAction {
105
+ // eslint-disable-next-line local/vscode-dts-string-type-literals
106
+ kind: 'runInTerminal';
107
+ codeBlockIndex: number;
108
+ languageId?: string;
109
+ }
110
+
111
+ export interface ChatAgentCommandAction {
112
+ // eslint-disable-next-line local/vscode-dts-string-type-literals
113
+ kind: 'command';
114
+ command: ChatAgentCommandFollowup;
115
+ }
116
+
117
+ export interface ChatAgentSessionFollowupAction {
118
+ // eslint-disable-next-line local/vscode-dts-string-type-literals
119
+ kind: 'followUp';
120
+ followup: ChatAgentFollowup;
121
+ }
122
+
123
+ export interface ChatAgentBugReportAction {
124
+ // eslint-disable-next-line local/vscode-dts-string-type-literals
125
+ kind: 'bug';
126
+ }
127
+
128
+ export interface ChatAgentUserActionEvent {
129
+ readonly result: ChatAgentResult2;
130
+ readonly action: ChatAgentCopyAction | ChatAgentInsertAction | ChatAgentTerminalAction | ChatAgentCommandAction | ChatAgentSessionFollowupAction | ChatAgentBugReportAction;
131
+ }
132
+
133
+ export interface ChatVariableValue {
134
+ /**
135
+ * An optional type tag for extensions to communicate the kind of the variable. An extension might use it to interpret the shape of `value`.
136
+ */
137
+ kind?: string;
79
138
  }
80
139
  }
@@ -4,16 +4,14 @@
4
4
  *--------------------------------------------------------------------------------------------*/
5
5
 
6
6
  declare module 'vscode' {
7
- // https://github.com/microsoft/vscode/issues/195474
8
7
 
9
- export interface SourceControlInputBoxActionButton {
10
- readonly command: Command;
11
- readonly enabled: boolean;
12
- readonly icon?: Uri | { light: Uri; dark: Uri } | ThemeIcon;
8
+ export interface CodeAction {
9
+ /**
10
+ *
11
+ * The range to which this Code Action applies to, which will be highlighted.
12
+ *
13
+ * Ex: A refactoring action will highlight the range of text that will be affected.
14
+ */
15
+ ranges?: Range[];
13
16
  }
14
-
15
- export interface SourceControlInputBox {
16
- actionButton?: SourceControlInputBoxActionButton;
17
- }
18
-
19
17
  }
@@ -3,12 +3,11 @@
3
3
  * Licensed under the MIT License. See License.txt in the project root for license information.
4
4
  *--------------------------------------------------------------------------------------------*/
5
5
 
6
- // https://github.com/microsoft/vscode/issues/166971
7
-
8
6
  declare module 'vscode' {
9
7
 
10
- export namespace workspace {
8
+ // @alexr00 https://github.com/microsoft/vscode/issues/201131
11
9
 
12
- export function registerFileSystemProvider(scheme: string, provider: FileSystemProvider, options?: { readonly isCaseSensitive?: boolean; readonly isReadonly?: boolean | MarkdownString }): Disposable;
10
+ export interface CommentReaction {
11
+ readonly reactors?: readonly CommentAuthorInformation[];
13
12
  }
14
13
  }
@@ -0,0 +1,6 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Licensed under the MIT License. See License.txt in the project root for license information.
4
+ *--------------------------------------------------------------------------------------------*/
5
+
6
+ // empty placeholder declaration for `multiDiffEditor/*` menus
@@ -0,0 +1,8 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Licensed under the MIT License. See License.txt in the project root for license information.
4
+ *--------------------------------------------------------------------------------------------*/
5
+
6
+ // empty placeholder declaration for the `scm/incomingChanges`-menu contribution point
7
+ // empty placeholder declaration for the `scm/outgoingChanges`-menu contribution point
8
+ // https://github.com/microsoft/vscode/issues/201997
@@ -0,0 +1,8 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Licensed under the MIT License. See License.txt in the project root for license information.
4
+ *--------------------------------------------------------------------------------------------*/
5
+
6
+ // empty placeholder declaration for the `scm/incomingChanges/historyItem/context`-menu contribution point
7
+ // empty placeholder declaration for the `scm/outgoingChanges/historyItem/context`-menu contribution point
8
+ // https://github.com/microsoft/vscode/issues/201997
@@ -0,0 +1,100 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Licensed under the MIT License. See License.txt in the project root for license information.
4
+ *--------------------------------------------------------------------------------------------*/
5
+
6
+
7
+ declare module 'vscode' {
8
+ export namespace debug {
9
+ /**
10
+ * Registers a custom data visualization for variables when debugging.
11
+ *
12
+ * @param id The corresponding ID in the package.json `debugVisualizers` contribution point.
13
+ * @param provider The {@link DebugVisualizationProvider} to register
14
+ */
15
+ export function registerDebugVisualizationProvider<T extends DebugVisualization>(
16
+ id: string,
17
+ provider: DebugVisualizationProvider<T>
18
+ ): Disposable;
19
+ }
20
+
21
+ export class DebugVisualization {
22
+ /**
23
+ * The name of the visualization to show to the user.
24
+ */
25
+ name: string;
26
+
27
+ /**
28
+ * An icon for the view when it's show in inline actions.
29
+ */
30
+ iconPath?: Uri | { light: Uri; dark: Uri } | ThemeIcon;
31
+
32
+ /**
33
+ * Visualization to use for the variable. This may be either:
34
+ * - A command to run when the visualization is selected for a variable.
35
+ * - A {@link TreeDataProvider} which is used to display the data in-line
36
+ * where the variable is shown. If a single root item is returned from
37
+ * the data provider, it will replace the variable in its tree.
38
+ * Otherwise, the items will be shown as children of the variable.
39
+ */
40
+ visualization?: Command | TreeDataProvider<unknown>;
41
+
42
+ /**
43
+ * Creates a new debug visualization object.
44
+ * @param name Name of the visualization to show to the user.
45
+ */
46
+ constructor(name: string);
47
+ }
48
+
49
+ export interface DebugVisualizationProvider<T extends DebugVisualization = DebugVisualization> {
50
+ /**
51
+ * Called for each variable when the debug session stops. It should return
52
+ * any visualizations the extension wishes to show to the user.
53
+ *
54
+ * Note that this is only called when its `when` clause defined under the
55
+ * `debugVisualizers` contribution point in the `package.json` evaluates
56
+ * to true.
57
+ */
58
+ provideDebugVisualization(context: DebugVisualizationContext, token: CancellationToken): ProviderResult<T[]>;
59
+
60
+ /**
61
+ * Invoked for a variable when a user picks the visualizer.
62
+ *
63
+ * It may return a {@link TreeView} that's shown in the Debug Console or
64
+ * inline in a hover. A visualizer may choose to return `undefined` from
65
+ * this function and instead trigger other actions in the UI, such as opening
66
+ * a custom {@link WebviewView}.
67
+ */
68
+ resolveDebugVisualization?(visualization: T, token: CancellationToken): ProviderResult<T>;
69
+ }
70
+
71
+ export interface DebugVisualizationContext {
72
+ /**
73
+ * The Debug Adapter Protocol Variable to be visualized.
74
+ * @see https://microsoft.github.io/debug-adapter-protocol/specification#Types_Variable
75
+ */
76
+ variable: any;
77
+ /**
78
+ * The Debug Adapter Protocol variable reference the type (such as a scope
79
+ * or another variable) that contained this one. Empty for variables
80
+ * that came from user evaluations in the Debug Console.
81
+ * @see https://microsoft.github.io/debug-adapter-protocol/specification#Types_Variable
82
+ */
83
+ containerId?: string;
84
+ /**
85
+ * The ID of the Debug Adapter Protocol StackFrame in which the variable was found,
86
+ * for variables that came from scopes in a stack frame.
87
+ * @see https://microsoft.github.io/debug-adapter-protocol/specification#Types_StackFrame
88
+ */
89
+ frameId?: number;
90
+ /**
91
+ * The ID of the Debug Adapter Protocol Thread in which the variable was found.
92
+ * @see https://microsoft.github.io/debug-adapter-protocol/specification#Types_StackFrame
93
+ */
94
+ threadId: number;
95
+ /**
96
+ * The debug session the variable belongs to.
97
+ */
98
+ session: DebugSession;
99
+ }
100
+ }
@@ -5,7 +5,7 @@
5
5
 
6
6
  declare module 'vscode' {
7
7
 
8
- export interface ChatAgent2 {
8
+ export interface ChatAgent2<TResult extends ChatAgentResult2> {
9
9
  /**
10
10
  * When true, this agent is invoked by default when no other agent is being invoked
11
11
  */
@@ -33,6 +33,7 @@ declare module 'vscode' {
33
33
  wholeRange: Range;
34
34
  attempt: number;
35
35
  live: boolean;
36
+ withIntentDetection: boolean;
36
37
  }
37
38
 
38
39
  // todo@API make classes
@@ -82,6 +83,15 @@ declare module 'vscode' {
82
83
  title?: string;
83
84
  }
84
85
 
86
+ export interface InteractiveEditorCommandFollowup {
87
+ commandId: string;
88
+ args?: any[];
89
+ title: string;
90
+ when?: string;
91
+ }
92
+
93
+ export type InteractiveEditorFollowup = InteractiveEditorReplyFollowup | InteractiveEditorCommandFollowup;
94
+
85
95
  export interface InteractiveEditorSessionProvider<S extends InteractiveEditorSession = InteractiveEditorSession, R extends InteractiveEditorResponse | InteractiveEditorMessageResponse = InteractiveEditorResponse | InteractiveEditorMessageResponse> {
86
96
 
87
97
  // Create a session. The lifetime of this session is the duration of the editing session with the input mode widget.
@@ -89,7 +99,7 @@ declare module 'vscode' {
89
99
 
90
100
  provideInteractiveEditorResponse(session: S, request: InteractiveEditorRequest, progress: Progress<InteractiveEditorProgressItem>, token: CancellationToken): ProviderResult<R>;
91
101
 
92
- provideFollowups?(session: S, response: R, token: CancellationToken): ProviderResult<InteractiveEditorReplyFollowup[]>;
102
+ provideFollowups?(session: S, response: R, token: CancellationToken): ProviderResult<InteractiveEditorFollowup[]>;
93
103
 
94
104
  // eslint-disable-next-line local/vscode-dts-provider-naming
95
105
  handleInteractiveEditorResponseFeedback?(session: S, response: R, kind: InteractiveEditorResponseFeedbackKind): void;
@@ -110,24 +120,11 @@ declare module 'vscode' {
110
120
  inputPlaceholder?: string;
111
121
  }
112
122
 
113
- export interface InteractiveResponseCommand {
114
- commandId: string;
115
- args?: any[];
116
- title: string; // supports codicon strings
117
- when?: string;
118
- }
119
-
120
- export interface InteractiveSessionReplyFollowup {
121
- message: string;
122
- tooltip?: string;
123
- title?: string;
124
- }
125
-
126
- export type InteractiveWelcomeMessageContent = string | MarkdownString | InteractiveSessionReplyFollowup[];
123
+ export type InteractiveWelcomeMessageContent = string | MarkdownString | ChatAgentReplyFollowup[];
127
124
 
128
125
  export interface InteractiveSessionProvider<S extends InteractiveSession = InteractiveSession> {
129
126
  provideWelcomeMessage?(token: CancellationToken): ProviderResult<InteractiveWelcomeMessageContent[]>;
130
- provideSampleQuestions?(token: CancellationToken): ProviderResult<InteractiveSessionReplyFollowup[]>;
127
+ provideSampleQuestions?(token: CancellationToken): ProviderResult<ChatAgentReplyFollowup[]>;
131
128
  prepareSession(token: CancellationToken): ProviderResult<S>;
132
129
  }
133
130
 
@@ -16,7 +16,7 @@ declare module 'vscode' {
16
16
 
17
17
  interface VariablesResult {
18
18
  variable: Variable;
19
- namedChildrenCount: number;
19
+ hasNamedChildren: boolean;
20
20
  indexedChildrenCount: number;
21
21
  }
22
22
 
@@ -38,6 +38,9 @@ declare module 'vscode' {
38
38
  An empty string can be used if no value should be shown in the UI.
39
39
  */
40
40
  value: string;
41
+
42
+ /** The type of the variable's value */
43
+ type?: string;
41
44
  }
42
45
 
43
46
  }
@@ -124,6 +124,10 @@ declare module 'vscode' {
124
124
  * One of the the options must have the ID "private".
125
125
  */
126
126
  privacyOptions: TunnelPrivacy[];
127
+ /**
128
+ * Defaults to true for backwards compatibility.
129
+ */
130
+ protocol?: boolean;
127
131
  };
128
132
  }
129
133
 
@@ -11,14 +11,8 @@ declare module 'vscode' {
11
11
  }
12
12
 
13
13
  export interface SourceControlHistoryProvider {
14
- actionButton?: SourceControlActionButton;
15
14
  currentHistoryItemGroup?: SourceControlHistoryItemGroup;
16
15
 
17
- /**
18
- * Fires when the action button changes
19
- */
20
- onDidChangeActionButton: Event<void>;
21
-
22
16
  /**
23
17
  * Fires when the current history item group changes after
24
18
  * a user action (ex: commit, checkout, fetch, pull, push)
@@ -31,10 +25,10 @@ declare module 'vscode' {
31
25
  // onDidChangeHistoryItemGroups: Event<SourceControlHistoryChangeEvent>;
32
26
 
33
27
  provideHistoryItems(historyItemGroupId: string, options: SourceControlHistoryOptions, token: CancellationToken): ProviderResult<SourceControlHistoryItem[]>;
34
- provideHistoryItemChanges(historyItemId: string, token: CancellationToken): ProviderResult<SourceControlHistoryItemChange[]>;
28
+ provideHistoryItemSummary?(historyItemId: string, historyItemParentId: string | undefined, token: CancellationToken): ProviderResult<SourceControlHistoryItem>;
29
+ provideHistoryItemChanges(historyItemId: string, historyItemParentId: string | undefined, token: CancellationToken): ProviderResult<SourceControlHistoryItemChange[]>;
35
30
 
36
- resolveHistoryItemGroupBase(historyItemGroupId: string, token: CancellationToken): ProviderResult<SourceControlHistoryItemGroup | undefined>;
37
- resolveHistoryItemGroupCommonAncestor(historyItemGroupId1: string, historyItemGroupId: string, token: CancellationToken): ProviderResult<{ id: string; ahead: number; behind: number }>;
31
+ resolveHistoryItemGroupCommonAncestor(historyItemGroupId1: string, historyItemGroupId2: string | undefined, token: CancellationToken): ProviderResult<{ id: string; ahead: number; behind: number }>;
38
32
  }
39
33
 
40
34
  export interface SourceControlHistoryOptions {
@@ -45,7 +39,7 @@ declare module 'vscode' {
45
39
  export interface SourceControlHistoryItemGroup {
46
40
  readonly id: string;
47
41
  readonly label: string;
48
- readonly upstream?: SourceControlRemoteHistoryItemGroup;
42
+ readonly base?: Omit<SourceControlRemoteHistoryItemGroup, 'base'>;
49
43
  }
50
44
 
51
45
  export interface SourceControlRemoteHistoryItemGroup {
@@ -0,0 +1,34 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Licensed under the MIT License. See License.txt in the project root for license information.
4
+ *--------------------------------------------------------------------------------------------*/
5
+
6
+ declare module 'vscode' {
7
+ // https://github.com/microsoft/vscode/issues/199291
8
+
9
+ export interface SourceControlResourceState {
10
+ /**
11
+ * The uri that resolves to the original document of this resource (before the change).
12
+ * Used for the multi diff editor exclusively.
13
+ */
14
+ readonly multiDiffEditorOriginalUri?: Uri;
15
+
16
+ /**
17
+ * The uri that resolves to the modified document of this resource (after the change).
18
+ * Used for the multi diff editor exclusively.
19
+ */
20
+ readonly multiFileDiffEditorModifiedUri?: Uri;
21
+ }
22
+
23
+ export interface SourceControl {
24
+ /**
25
+ * Create a new {@link SourceControlResourceGroup resource group}.
26
+ * @param id An `id` for the {@link SourceControlResourceGroup resource group}.
27
+ * @param label A human-readable string for the {@link SourceControlResourceGroup resource group}.
28
+ * @param options Options for the {@link SourceControlResourceGroup resource group}.
29
+ * Set `multiDiffEditorEnableViewChanges` to `true` to enable the "View Changes" option which opens the multi file diff editor.
30
+ * @return An instance of {@link SourceControlResourceGroup resource group}.
31
+ */
32
+ createResourceGroup(id: string, label: string, options: { multiDiffEditorEnableViewChanges?: boolean }): SourceControlResourceGroup;
33
+ }
34
+ }
@@ -5,6 +5,8 @@
5
5
 
6
6
  declare module 'vscode' {
7
7
 
8
+ // todo@bpasero work in progress speech API
9
+
8
10
  export enum SpeechToTextStatus {
9
11
  Started = 1,
10
12
  Recognizing = 2,
@@ -21,15 +23,27 @@ declare module 'vscode' {
21
23
  readonly onDidChange: Event<SpeechToTextEvent>;
22
24
  }
23
25
 
26
+ export enum KeywordRecognitionStatus {
27
+ Recognized = 1,
28
+ Stopped = 2
29
+ }
30
+
31
+ export interface KeywordRecognitionEvent {
32
+ readonly status: KeywordRecognitionStatus;
33
+ readonly text?: string;
34
+ }
35
+
36
+ export interface KeywordRecognitionSession extends Disposable {
37
+ readonly onDidChange: Event<KeywordRecognitionEvent>;
38
+ }
39
+
24
40
  export interface SpeechProvider {
25
41
  provideSpeechToTextSession(token: CancellationToken): SpeechToTextSession;
42
+ provideKeywordRecognitionSession(token: CancellationToken): KeywordRecognitionSession;
26
43
  }
27
44
 
28
45
  export namespace speech {
29
46
 
30
- /**
31
- * TODO@bpasero work in progress speech provider API
32
- */
33
47
  export function registerSpeechProvider(id: string, provider: SpeechProvider): Disposable;
34
48
  }
35
49
  }
@@ -164,11 +164,17 @@ declare module 'vscode' {
164
164
  */
165
165
  location?: Position | Range;
166
166
 
167
+ /**
168
+ * Label for the branch, used in the context of "the ${label} branch was
169
+ * not taken," for example.
170
+ */
171
+ label?: string;
172
+
167
173
  /**
168
174
  * @param executionCount The number of times this branch was executed.
169
175
  * @param location The branch position.
170
176
  */
171
- constructor(executionCount: number, location?: Position | Range);
177
+ constructor(executionCount: number, location?: Position | Range, label?: string);
172
178
  }
173
179
 
174
180
  /**
@@ -22,6 +22,10 @@ declare module 'vscode' {
22
22
  * One of the the options must have the ID "private".
23
23
  */
24
24
  privacyOptions: TunnelPrivacy[];
25
+ /**
26
+ * Defaults to true for backwards compatibility.
27
+ */
28
+ protocol?: boolean;
25
29
  };
26
30
  }
27
31
 
@@ -1,39 +0,0 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for license information.
4
- *--------------------------------------------------------------------------------------------*/
5
-
6
- declare module 'vscode' {
7
-
8
- export interface InteractiveRequest {
9
- variables: Record<string, ChatVariableValue[]>;
10
- }
11
-
12
- export enum ChatVariableLevel {
13
- Short = 1,
14
- Medium = 2,
15
- Full = 3
16
- }
17
-
18
- export interface ChatVariableValue {
19
- level: ChatVariableLevel;
20
- /**
21
- * An optional type tag for extensions to communicate the kind of the variable. An extension might use it to interpret the shape of `value`.
22
- */
23
- kind?: string;
24
- value: string | Uri | any;
25
- description?: string;
26
- }
27
-
28
- export interface ChatVariableContext {
29
- message: string;
30
- }
31
-
32
- export interface ChatVariableResolver {
33
- resolve(name: string, context: ChatVariableContext, token: CancellationToken): ProviderResult<ChatVariableValue[]>;
34
- }
35
-
36
- export namespace chat {
37
- export function registerVariable(name: string, description: string, resolver: ChatVariableResolver): Disposable;
38
- }
39
- }
@@ -1,77 +0,0 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for license information.
4
- *--------------------------------------------------------------------------------------------*/
5
-
6
- declare module 'vscode' {
7
-
8
- export enum InteractiveSessionVoteDirection {
9
- Down = 0,
10
- Up = 1
11
- }
12
-
13
- export interface InteractiveSessionVoteAction {
14
- // eslint-disable-next-line local/vscode-dts-string-type-literals
15
- kind: 'vote';
16
- direction: InteractiveSessionVoteDirection;
17
- }
18
-
19
- export enum InteractiveSessionCopyKind {
20
- // Keyboard shortcut or context menu
21
- Action = 1,
22
- Toolbar = 2
23
- }
24
-
25
- export interface InteractiveSessionCopyAction {
26
- // eslint-disable-next-line local/vscode-dts-string-type-literals
27
- kind: 'copy';
28
- codeBlockIndex: number;
29
- copyType: InteractiveSessionCopyKind;
30
- copiedCharacters: number;
31
- totalCharacters: number;
32
- copiedText: string;
33
- }
34
-
35
- export interface InteractiveSessionInsertAction {
36
- // eslint-disable-next-line local/vscode-dts-string-type-literals
37
- kind: 'insert';
38
- codeBlockIndex: number;
39
- totalCharacters: number;
40
- newFile?: boolean;
41
- }
42
-
43
- export interface InteractiveSessionTerminalAction {
44
- // eslint-disable-next-line local/vscode-dts-string-type-literals
45
- kind: 'runInTerminal';
46
- codeBlockIndex: number;
47
- languageId?: string;
48
- }
49
-
50
- export interface InteractiveSessionCommandAction {
51
- // eslint-disable-next-line local/vscode-dts-string-type-literals
52
- kind: 'command';
53
- command: InteractiveResponseCommand;
54
- }
55
-
56
- export interface InteractiveSessionFollowupAction {
57
- // eslint-disable-next-line local/vscode-dts-string-type-literals
58
- kind: 'followUp';
59
- followup: InteractiveSessionReplyFollowup;
60
- }
61
-
62
- export interface InteractiveSessionBugReportAction {
63
- // eslint-disable-next-line local/vscode-dts-string-type-literals
64
- kind: 'bug';
65
- }
66
-
67
- export type InteractiveSessionUserAction = InteractiveSessionVoteAction | InteractiveSessionCopyAction | InteractiveSessionInsertAction | InteractiveSessionTerminalAction | InteractiveSessionCommandAction | InteractiveSessionBugReportAction;
68
-
69
- export interface InteractiveSessionUserActionEvent {
70
- action: InteractiveSessionUserAction;
71
- providerId: string;
72
- }
73
-
74
- export namespace interactive {
75
- export const onDidPerformUserAction: Event<InteractiveSessionUserActionEvent>;
76
- }
77
- }
@@ -1,35 +0,0 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for license information.
4
- *--------------------------------------------------------------------------------------------*/
5
-
6
- // https://github.com/microsoft/vscode/issues/178713
7
-
8
- declare module 'vscode' {
9
-
10
- export namespace workspace {
11
-
12
- /**
13
- * Saves the editor identified by the given resource and returns the resulting resource or `undefined`
14
- * if save was not successful or no editor with the given resource was found.
15
- *
16
- * **Note** that an editor with the provided resource must be opened in order to be saved.
17
- *
18
- * @param uri the associated uri for the opened editor to save.
19
- * @return A thenable that resolves when the save operation has finished.
20
- */
21
- export function save(uri: Uri): Thenable<Uri | undefined>;
22
-
23
- /**
24
- * Saves the editor identified by the given resource to a new file name as provided by the user and
25
- * returns the resulting resource or `undefined` if save was not successful or cancelled or no editor
26
- * with the given resource was found.
27
- *
28
- * **Note** that an editor with the provided resource must be opened in order to be saved as.
29
- *
30
- * @param uri the associated uri for the opened editor to save as.
31
- * @return A thenable that resolves when the save-as operation has finished.
32
- */
33
- export function saveAs(uri: Uri): Thenable<Uri | undefined>;
34
- }
35
- }
@@ -1,25 +0,0 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for license information.
4
- *--------------------------------------------------------------------------------------------*/
5
-
6
- declare module 'vscode' {
7
- // https://github.com/microsoft/vscode/issues/195474
8
-
9
- export namespace scm {
10
- export function registerSourceControlInputBoxValueProvider(sourceControlId: string, provider: SourceControlInputBoxValueProvider): Disposable;
11
- }
12
-
13
- export interface SourceControlInputBoxValueProviderContext {
14
- readonly resourceGroupId: string;
15
- readonly resources: readonly Uri[];
16
- }
17
-
18
- export interface SourceControlInputBoxValueProvider {
19
- readonly label: string;
20
- readonly icon?: Uri | { light: Uri; dark: Uri } | ThemeIcon;
21
-
22
- provideValue(rootUri: Uri, context: SourceControlInputBoxValueProviderContext[], token: CancellationToken): ProviderResult<string | undefined>;
23
- }
24
-
25
- }
@@ -1,21 +0,0 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for license information.
4
- *--------------------------------------------------------------------------------------------*/
5
-
6
- // https://github.com/microsoft/vscode/issues/193160 @connor4312
7
-
8
- declare module 'vscode' {
9
- export interface TestRunProfile {
10
- /**
11
- * Whether this profile is currently selected as a default by the user
12
- */
13
- readonly isSelected: boolean;
14
-
15
- /**
16
- * Fired when a user has changed whether this is a selected profile. The
17
- * event contains the new value of {@link isSelected}
18
- */
19
- onDidChangeSelected: Event<boolean>;
20
- }
21
- }