@codingame/monaco-vscode-rollup-vsix-plugin 1.83.16 → 1.85.0-next.1

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 (30) hide show
  1. package/package.json +3 -3
  2. package/rollup-vsix-plugin.d.ts +2 -3
  3. package/rollup-vsix-plugin.js +6725 -15
  4. package/vscode-dts/vscode.proposed.chatAgents2.d.ts +375 -0
  5. package/vscode-dts/vscode.proposed.chatAgents2Additions.d.ts +80 -0
  6. package/vscode-dts/vscode.proposed.chatProvider.d.ts +5 -1
  7. package/vscode-dts/vscode.proposed.chatRequestAccess.d.ts +68 -10
  8. package/vscode-dts/vscode.proposed.chatTab.d.ts +21 -0
  9. package/vscode-dts/vscode.proposed.chatVariables.d.ts +5 -1
  10. package/vscode-dts/vscode.proposed.codeActionAI.d.ts +16 -0
  11. package/vscode-dts/vscode.proposed.contribSourceControlInputBoxMenu.d.ts +7 -0
  12. package/vscode-dts/vscode.proposed.createFileSystemWatcher.d.ts +51 -0
  13. package/vscode-dts/vscode.proposed.defaultChatAgent.d.ts +30 -0
  14. package/vscode-dts/vscode.proposed.handleIssueUri.d.ts +26 -0
  15. package/vscode-dts/vscode.proposed.interactive.d.ts +26 -100
  16. package/vscode-dts/vscode.proposed.interactiveUserActions.d.ts +14 -7
  17. package/vscode-dts/vscode.proposed.languageStatusText.d.ts +12 -0
  18. package/vscode-dts/vscode.proposed.multiDocumentHighlightProvider.d.ts +63 -0
  19. package/vscode-dts/vscode.proposed.notebookVariableProvider.d.ts +43 -0
  20. package/vscode-dts/vscode.proposed.resolvers.d.ts +100 -1
  21. package/vscode-dts/vscode.proposed.scmHistoryProvider.d.ts +9 -1
  22. package/vscode-dts/vscode.proposed.scmInputBoxActionButton.d.ts +19 -0
  23. package/vscode-dts/vscode.proposed.scmInputBoxValueProvider.d.ts +25 -0
  24. package/vscode-dts/vscode.proposed.speech.d.ts +35 -0
  25. package/vscode-dts/vscode.proposed.terminalQuickFixProvider.d.ts +11 -7
  26. package/vscode-dts/vscode.proposed.testCoverage.d.ts +6 -1
  27. package/vscode-dts/vscode.proposed.testingActiveProfile.d.ts +21 -0
  28. package/vscode-dts/vscode.proposed.chatAgents.d.ts +0 -39
  29. package/vscode-dts/vscode.proposed.chatSlashCommands.d.ts +0 -47
  30. package/vscode-dts/vscode.proposed.testMessageContextValue.d.ts +0 -45
@@ -0,0 +1,35 @@
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 SpeechToTextStatus {
9
+ Started = 1,
10
+ Recognizing = 2,
11
+ Recognized = 3,
12
+ Stopped = 4
13
+ }
14
+
15
+ export interface SpeechToTextEvent {
16
+ readonly status: SpeechToTextStatus;
17
+ readonly text?: string;
18
+ }
19
+
20
+ export interface SpeechToTextSession extends Disposable {
21
+ readonly onDidChange: Event<SpeechToTextEvent>;
22
+ }
23
+
24
+ export interface SpeechProvider {
25
+ provideSpeechToTextSession(token: CancellationToken): SpeechToTextSession;
26
+ }
27
+
28
+ export namespace speech {
29
+
30
+ /**
31
+ * TODO@bpasero work in progress speech provider API
32
+ */
33
+ export function registerSpeechProvider(id: string, provider: SpeechProvider): Disposable;
34
+ }
35
+ }
@@ -16,7 +16,7 @@ declare module 'vscode' {
16
16
  * @param token A cancellation token indicating the result is no longer needed
17
17
  * @return Terminal quick fix(es) if any
18
18
  */
19
- provideTerminalQuickFixes(commandMatchResult: TerminalCommandMatchResult, token: CancellationToken): ProviderResult<SingleOrMany<TerminalQuickFixExecuteTerminalCommand | TerminalQuickFixOpener | Command>>;
19
+ provideTerminalQuickFixes(commandMatchResult: TerminalCommandMatchResult, token: CancellationToken): ProviderResult<SingleOrMany<TerminalQuickFixTerminalCommand | TerminalQuickFixOpener | Command>>;
20
20
  }
21
21
 
22
22
 
@@ -31,18 +31,22 @@ declare module 'vscode' {
31
31
 
32
32
  export namespace window {
33
33
  /**
34
- * @param provider A terminal quick fix provider
35
- * @return A {@link Disposable} that unregisters the provider when being disposed
36
- */
34
+ * @param provider A terminal quick fix provider
35
+ * @return A {@link Disposable} that unregisters the provider when being disposed
36
+ */
37
37
  export function registerTerminalQuickFixProvider(id: string, provider: TerminalQuickFixProvider): Disposable;
38
38
  }
39
39
 
40
- export class TerminalQuickFixExecuteTerminalCommand {
40
+ export class TerminalQuickFixTerminalCommand {
41
41
  /**
42
- * The terminal command to run
42
+ * The terminal command to insert or run
43
43
  */
44
44
  terminalCommand: string;
45
- constructor(terminalCommand: string);
45
+ /**
46
+ * Whether the command should be executed or just inserted (default)
47
+ */
48
+ shouldExecute?: boolean;
49
+ constructor(terminalCommand: string, shouldExecute?: boolean);
46
50
  }
47
51
  export class TerminalQuickFixOpener {
48
52
  /**
@@ -175,6 +175,11 @@ declare module 'vscode' {
175
175
  * Contains coverage information for a function or method.
176
176
  */
177
177
  export class FunctionCoverage {
178
+ /**
179
+ * Name of the function or method.
180
+ */
181
+ name: string;
182
+
178
183
  /**
179
184
  * The number of times this function was executed. If zero, the
180
185
  * function will be marked as un-covered.
@@ -190,7 +195,7 @@ declare module 'vscode' {
190
195
  * @param executionCount The number of times this function was executed.
191
196
  * @param location The function position.
192
197
  */
193
- constructor(executionCount: number, location: Position | Range);
198
+ constructor(name: string, executionCount: number, location: Position | Range);
194
199
  }
195
200
 
196
201
  export type DetailedCoverage = StatementCoverage | FunctionCoverage;
@@ -0,0 +1,21 @@
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
+ }
@@ -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 ChatAgentContext {
9
- history: ChatMessage[];
10
- }
11
-
12
- export interface ChatAgentResponse {
13
- message: MarkdownString | InteractiveProgressFileTree;
14
- }
15
-
16
- export interface ChatAgentResult {
17
- followUp?: InteractiveSessionFollowup[];
18
- }
19
-
20
- export interface ChatAgentCommand {
21
- name: string;
22
- description: string;
23
- }
24
-
25
- export interface ChatAgentMetadata {
26
- description: string;
27
- fullName?: string;
28
- icon?: Uri;
29
- subCommands: ChatAgentCommand[];
30
- }
31
-
32
- export interface ChatAgent {
33
- (prompt: ChatMessage, context: ChatAgentContext, progress: Progress<ChatAgentResponse>, token: CancellationToken): Thenable<ChatAgentResult | void>;
34
- }
35
-
36
- export namespace chat {
37
- export function registerAgent(id: string, agent: ChatAgent, metadata: ChatAgentMetadata): Disposable;
38
- }
39
- }
@@ -1,47 +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 SlashCommandContext {
9
-
10
- // messages so far
11
- history: ChatMessage[];
12
-
13
- // TODO: access to embeddings
14
- // embeddings: {};
15
-
16
- // TODO: access to "InputSourceId"
17
- // DebugConsoleOutput
18
- // Terminal
19
- // CorrespondingTestFile
20
- // CorrespondingImplementationFile
21
- // ExtensionApi
22
- // VSCode
23
- // Workspace
24
- }
25
-
26
- export interface SlashResponse {
27
- message: MarkdownString | InteractiveProgressFileTree;
28
- // edits?: TextEdit[] | WorkspaceEdit;
29
- }
30
-
31
- export interface SlashResult {
32
- followUp?: InteractiveSessionFollowup[];
33
- }
34
-
35
- export interface SlashCommandMetadata {
36
- description: string;
37
- }
38
-
39
- export interface SlashCommand {
40
-
41
- (prompt: ChatMessage, context: SlashCommandContext, progress: Progress<SlashResponse>, token: CancellationToken): Thenable<SlashResult | void>;
42
- }
43
-
44
- export namespace chat {
45
- export function registerSlashCommand(name: string, command: SlashCommand, metadata: SlashCommandMetadata): Disposable;
46
- }
47
- }
@@ -1,45 +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
- // https://github.com/microsoft/vscode/issues/190277
9
-
10
- export class TestMessage2 extends TestMessage {
11
-
12
- /**
13
- * Context value of the test item. This can be used to contribute message-
14
- * specific actions to the test peek view. The value set here can be found
15
- * in the `testMessage` property of the following `menus` contribution points:
16
- *
17
- * - `testing/message/context` - context menu for the message in the results tree
18
- * - `testing/message/content` - a prominent button overlaying editor content where
19
- * the message is displayed.
20
- *
21
- * For example:
22
- *
23
- * ```json
24
- * "contributes": {
25
- * "menus": {
26
- * "testing/message/content": [
27
- * {
28
- * "command": "extension.deleteCommentThread",
29
- * "when": "testMessage == canApplyRichDiff"
30
- * }
31
- * ]
32
- * }
33
- * }
34
- * ```
35
- *
36
- * The command will be called with an object containing:
37
- * - `test`: the {@link TestItem} the message is associated with, *if* it
38
- * is still present in the {@link TestController.items} collection.
39
- * - `message`: the {@link TestMessage} instance.
40
- */
41
- contextValue?: string;
42
-
43
- // ...
44
- }
45
- }