@codingame/monaco-vscode-task-service-override 17.2.1 → 18.0.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/package.json +11 -10
- package/vscode/src/vs/workbench/contrib/tasks/browser/abstractTaskService.d.ts +7 -2
- package/vscode/src/vs/workbench/contrib/tasks/browser/abstractTaskService.js +192 -127
- package/vscode/src/vs/workbench/contrib/tasks/browser/constants.js +1 -1
- package/vscode/src/vs/workbench/contrib/tasks/browser/runAutomaticTasks.js +3 -3
- package/vscode/src/vs/workbench/contrib/tasks/browser/task.contribution.js +49 -49
- package/vscode/src/vs/workbench/contrib/tasks/browser/taskQuickPick.js +17 -17
- package/vscode/src/vs/workbench/contrib/tasks/browser/taskService.js +1 -1
- package/vscode/src/vs/workbench/contrib/tasks/browser/taskTerminalStatus.js +12 -11
- package/vscode/src/vs/workbench/contrib/tasks/browser/tasksQuickAccess.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/tasks/browser/tasksQuickAccess.js +3 -3
- package/vscode/src/vs/workbench/contrib/tasks/browser/terminalTaskSystem.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/tasks/browser/terminalTaskSystem.js +41 -23
- package/vscode/src/vs/workbench/contrib/tasks/common/jsonSchemaCommon.js +41 -41
- package/vscode/src/vs/workbench/contrib/tasks/common/jsonSchema_v1.js +8 -8
- package/vscode/src/vs/workbench/contrib/tasks/common/jsonSchema_v2.js +97 -84
- package/vscode/src/vs/workbench/contrib/tasks/common/problemMatcher.js +68 -68
- package/vscode/src/vs/workbench/contrib/tasks/common/taskConfiguration.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/tasks/common/taskConfiguration.js +43 -20
- package/vscode/src/vs/workbench/contrib/tasks/common/taskSystem.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/tasks/common/taskTemplates.js +4 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-task-service-override",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "18.0.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - task service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,15 +15,16 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-0b087f42-a5a3-5eb9-9bfd-1eebc1bba163-common": "
|
|
19
|
-
"@codingame/monaco-vscode-158b9837-fc78-5d9c-86f5-9134e4358643-common": "
|
|
20
|
-
"@codingame/monaco-vscode-
|
|
21
|
-
"@codingame/monaco-vscode-625898ab-0e33-5b7f-a3ae-29c10271dc1c-common": "
|
|
22
|
-
"@codingame/monaco-vscode-7bbc9e7d-eeae-55fc-8bf9-dc2f66e0dc73-common": "
|
|
23
|
-
"@codingame/monaco-vscode-ab07af84-42e8-5a0f-8aef-b83fb90ede21-common": "
|
|
24
|
-
"@codingame/monaco-vscode-api": "
|
|
25
|
-
"@codingame/monaco-vscode-bf94ddb5-e436-506a-9763-5ab86b642508-common": "
|
|
26
|
-
"@codingame/monaco-vscode-
|
|
18
|
+
"@codingame/monaco-vscode-0b087f42-a5a3-5eb9-9bfd-1eebc1bba163-common": "18.0.0",
|
|
19
|
+
"@codingame/monaco-vscode-158b9837-fc78-5d9c-86f5-9134e4358643-common": "18.0.0",
|
|
20
|
+
"@codingame/monaco-vscode-3a35f433-1297-5707-ab58-c261b8180e6d-common": "18.0.0",
|
|
21
|
+
"@codingame/monaco-vscode-625898ab-0e33-5b7f-a3ae-29c10271dc1c-common": "18.0.0",
|
|
22
|
+
"@codingame/monaco-vscode-7bbc9e7d-eeae-55fc-8bf9-dc2f66e0dc73-common": "18.0.0",
|
|
23
|
+
"@codingame/monaco-vscode-ab07af84-42e8-5a0f-8aef-b83fb90ede21-common": "18.0.0",
|
|
24
|
+
"@codingame/monaco-vscode-api": "18.0.0",
|
|
25
|
+
"@codingame/monaco-vscode-bf94ddb5-e436-506a-9763-5ab86b642508-common": "18.0.0",
|
|
26
|
+
"@codingame/monaco-vscode-ce7c734f-7712-563c-9335-d7acb43306af-common": "18.0.0",
|
|
27
|
+
"@codingame/monaco-vscode-dcfc2191-2da1-54c7-8fb7-e92c5d11ecef-common": "18.0.0"
|
|
27
28
|
},
|
|
28
29
|
"main": "index.js",
|
|
29
30
|
"module": "index.js",
|
|
@@ -48,6 +48,8 @@ import { IPaneCompositePartService } from "@codingame/monaco-vscode-api/vscode/v
|
|
|
48
48
|
import { IPathService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/path/common/pathService.service";
|
|
49
49
|
import { IPreferencesService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/preferences/common/preferences.service";
|
|
50
50
|
import { IRemoteAgentService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/remote/common/remoteAgentService.service";
|
|
51
|
+
import { IChatService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService.service";
|
|
52
|
+
import { IChatAgentService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatAgents.service";
|
|
51
53
|
export declare namespace ConfigureTaskAction {
|
|
52
54
|
const ID = "workbench.action.tasks.configureTaskRunner";
|
|
53
55
|
const TEXT: nls.ILocalizedString;
|
|
@@ -100,6 +102,8 @@ export declare abstract class AbstractTaskService extends Disposable implements
|
|
|
100
102
|
private readonly _themeService;
|
|
101
103
|
private readonly _lifecycleService;
|
|
102
104
|
private readonly _instantiationService;
|
|
105
|
+
private readonly _chatService;
|
|
106
|
+
private readonly _chatAgentService;
|
|
103
107
|
private static readonly RecentlyUsedTasks_Key;
|
|
104
108
|
private static readonly RecentlyUsedTasks_KeyV2;
|
|
105
109
|
private static readonly PersistentTasks_Key;
|
|
@@ -142,7 +146,7 @@ export declare abstract class AbstractTaskService extends Disposable implements
|
|
|
142
146
|
private _onDidChangeTaskProviders;
|
|
143
147
|
onDidChangeTaskProviders: Event<void>;
|
|
144
148
|
private _activatedTaskProviders;
|
|
145
|
-
constructor(_configurationService: IConfigurationService, _markerService: IMarkerService, _outputService: IOutputService, _paneCompositeService: IPaneCompositePartService, _viewsService: IViewsService, _commandService: ICommandService, _editorService: IEditorService, _fileService: IFileService, _contextService: IWorkspaceContextService, _telemetryService: ITelemetryService, _textFileService: ITextFileService, _modelService: IModelService, _extensionService: IExtensionService, _quickInputService: IQuickInputService, _configurationResolverService: IConfigurationResolverService, _terminalService: ITerminalService, _terminalGroupService: ITerminalGroupService, _storageService: IStorageService, _progressService: IProgressService, _openerService: IOpenerService, _dialogService: IDialogService, _notificationService: INotificationService, _contextKeyService: IContextKeyService, _environmentService: IWorkbenchEnvironmentService, _terminalProfileResolverService: ITerminalProfileResolverService, _pathService: IPathService, _textModelResolverService: ITextModelService, _preferencesService: IPreferencesService, _viewDescriptorService: IViewDescriptorService, _workspaceTrustRequestService: IWorkspaceTrustRequestService, _workspaceTrustManagementService: IWorkspaceTrustManagementService, _logService: ILogService, _themeService: IThemeService, _lifecycleService: ILifecycleService, remoteAgentService: IRemoteAgentService, _instantiationService: IInstantiationService);
|
|
149
|
+
constructor(_configurationService: IConfigurationService, _markerService: IMarkerService, _outputService: IOutputService, _paneCompositeService: IPaneCompositePartService, _viewsService: IViewsService, _commandService: ICommandService, _editorService: IEditorService, _fileService: IFileService, _contextService: IWorkspaceContextService, _telemetryService: ITelemetryService, _textFileService: ITextFileService, _modelService: IModelService, _extensionService: IExtensionService, _quickInputService: IQuickInputService, _configurationResolverService: IConfigurationResolverService, _terminalService: ITerminalService, _terminalGroupService: ITerminalGroupService, _storageService: IStorageService, _progressService: IProgressService, _openerService: IOpenerService, _dialogService: IDialogService, _notificationService: INotificationService, _contextKeyService: IContextKeyService, _environmentService: IWorkbenchEnvironmentService, _terminalProfileResolverService: ITerminalProfileResolverService, _pathService: IPathService, _textModelResolverService: ITextModelService, _preferencesService: IPreferencesService, _viewDescriptorService: IViewDescriptorService, _workspaceTrustRequestService: IWorkspaceTrustRequestService, _workspaceTrustManagementService: IWorkspaceTrustManagementService, _logService: ILogService, _themeService: IThemeService, _lifecycleService: ILifecycleService, remoteAgentService: IRemoteAgentService, _instantiationService: IInstantiationService, _chatService: IChatService, _chatAgentService: IChatAgentService);
|
|
146
150
|
registerSupportedExecutions(custom?: boolean, shell?: boolean, process?: boolean): void;
|
|
147
151
|
private _attemptTaskReconnection;
|
|
148
152
|
private _reconnectTasks;
|
|
@@ -157,7 +161,7 @@ export declare abstract class AbstractTaskService extends Disposable implements
|
|
|
157
161
|
private _getActivationEvents;
|
|
158
162
|
private _activateTaskProviders;
|
|
159
163
|
private _updateSetup;
|
|
160
|
-
protected _showOutput(runSource?: TaskRunSource, userRequested?: boolean): void;
|
|
164
|
+
protected _showOutput(runSource?: TaskRunSource, userRequested?: boolean, errorMessage?: string): void;
|
|
161
165
|
protected _disposeTaskSystemListeners(): void;
|
|
162
166
|
registerTaskProvider(provider: ITaskProvider, type: string): IDisposable;
|
|
163
167
|
get hasTaskSystemInfo(): boolean;
|
|
@@ -218,6 +222,7 @@ export declare abstract class AbstractTaskService extends Disposable implements
|
|
|
218
222
|
private _saveBeforeRun;
|
|
219
223
|
private _executeTask;
|
|
220
224
|
private _handleExecuteResult;
|
|
225
|
+
private _handleInstancePolicy;
|
|
221
226
|
private _restart;
|
|
222
227
|
terminate(task: Task): Promise<ITaskTerminateResponse>;
|
|
223
228
|
private _terminateAll;
|