@codingame/monaco-vscode-extensions-service-override 32.0.2 → 33.0.6
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 +4 -4
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagementCLI.js +29 -29
- package/vscode/src/vs/workbench/api/browser/mainThreadAuthentication.js +25 -25
- package/vscode/src/vs/workbench/api/browser/mainThreadCLICommands.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadChatOutputRenderer.d.ts +3 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadChatOutputRenderer.js +16 -5
- package/vscode/src/vs/workbench/api/browser/mainThreadChatSessions.js +2 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadChatStatus.js +2 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadComments.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadCustomEditors.js +2 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadEditSessionIdentityParticipant.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadExtensionService.js +11 -11
- package/vscode/src/vs/workbench/api/browser/mainThreadFileSystemEventService.js +20 -20
- package/vscode/src/vs/workbench/api/browser/mainThreadLanguageModels.js +2 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadMcp.js +16 -12
- package/vscode/src/vs/workbench/api/browser/mainThreadMessageService.js +4 -4
- package/vscode/src/vs/workbench/api/browser/mainThreadNotebookSaveParticipant.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadOutputService.js +3 -3
- package/vscode/src/vs/workbench/api/browser/mainThreadProgress.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadSaveParticipant.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadTask.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadUriOpeners.js +2 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadWebviews.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadWorkspace.js +5 -5
- package/vscode/src/vs/workbench/contrib/customEditor/common/customTextEditorModel.js +1 -1
- package/vscode/src/vs/workbench/services/extensionManagement/browser/extensionBisect.js +23 -23
- package/vscode/src/vs/workbench/services/extensionManagement/browser/webExtensionsScannerService.js +2 -2
- package/vscode/src/vs/workbench/services/extensions/common/abstractExtensionService.js +12 -12
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostManager.js +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionsProposedApi.js +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionsUtil.js +4 -4
- package/vscode/src/vs/workbench/services/themes/browser/cssExtensionPoint.js +5 -5
package/vscode/src/vs/workbench/services/extensionManagement/browser/webExtensionsScannerService.js
CHANGED
|
@@ -768,7 +768,7 @@ let WebExtensionsScannerService = class WebExtensionsScannerService extends Disp
|
|
|
768
768
|
}
|
|
769
769
|
if (!this.extensionManifestPropertiesService.canExecuteOnWeb(manifest)) {
|
|
770
770
|
throw ( new Error(( localize(
|
|
771
|
-
|
|
771
|
+
16697,
|
|
772
772
|
"Cannot add '{0}' because this extension is not a web extension.",
|
|
773
773
|
manifest.displayName || manifest.name
|
|
774
774
|
))));
|
|
@@ -1049,7 +1049,7 @@ if (isWeb) {
|
|
|
1049
1049
|
constructor() {
|
|
1050
1050
|
super({
|
|
1051
1051
|
id: "workbench.extensions.action.openInstalledWebExtensionsResource",
|
|
1052
|
-
title: ( localize2(
|
|
1052
|
+
title: ( localize2(16698, "Open Installed Web Extensions Resource")),
|
|
1053
1053
|
category: Categories.Developer,
|
|
1054
1054
|
f1: true,
|
|
1055
1055
|
precondition: IsWebContext
|
|
@@ -222,13 +222,13 @@ let AbstractExtensionService = AbstractExtensionService_1 = class AbstractExtens
|
|
|
222
222
|
}
|
|
223
223
|
}, {
|
|
224
224
|
id: "join.disconnectRemote",
|
|
225
|
-
label: ( localize(
|
|
225
|
+
label: ( localize(16764, "Disconnect Remote Agent")),
|
|
226
226
|
order: WillShutdownJoinerOrder.Last
|
|
227
227
|
});
|
|
228
228
|
} else {
|
|
229
229
|
event.join(this._doStopExtensionHosts(), {
|
|
230
230
|
id: "join.stopExtensionHosts",
|
|
231
|
-
label: ( localize(
|
|
231
|
+
label: ( localize(16765, "Stopping Extension Hosts"))
|
|
232
232
|
});
|
|
233
233
|
}
|
|
234
234
|
}));
|
|
@@ -301,7 +301,7 @@ let AbstractExtensionService = AbstractExtensionService_1 = class AbstractExtens
|
|
|
301
301
|
this._notificationService.notify({
|
|
302
302
|
severity: Severity.Error,
|
|
303
303
|
message: ( localize(
|
|
304
|
-
|
|
304
|
+
16766,
|
|
305
305
|
"The following extensions contain dependency loops and have been disabled: {0}",
|
|
306
306
|
( result.removedDueToLooping.map(e => `'${e.identifier.value}'`)).join(", ")
|
|
307
307
|
))
|
|
@@ -538,7 +538,7 @@ let AbstractExtensionService = AbstractExtensionService_1 = class AbstractExtens
|
|
|
538
538
|
this._notificationService.notify({
|
|
539
539
|
severity: Severity.Error,
|
|
540
540
|
message: ( localize(
|
|
541
|
-
|
|
541
|
+
16766,
|
|
542
542
|
"The following extensions contain dependency loops and have been disabled: {0}",
|
|
543
543
|
( result.removedDueToLooping.map(e => `'${e.identifier.value}'`)).join(", ")
|
|
544
544
|
))
|
|
@@ -553,7 +553,7 @@ let AbstractExtensionService = AbstractExtensionService_1 = class AbstractExtens
|
|
|
553
553
|
const extensionHostManager = this.findTestExtensionHost(this._environmentService.extensionTestsLocationURI);
|
|
554
554
|
if (!extensionHostManager) {
|
|
555
555
|
const msg = ( localize(
|
|
556
|
-
|
|
556
|
+
16767,
|
|
557
557
|
"No extension host found that can launch the test runner at {0}.",
|
|
558
558
|
(this._environmentService.extensionTestsLocationURI.toString())
|
|
559
559
|
));
|
|
@@ -723,7 +723,7 @@ let AbstractExtensionService = AbstractExtensionService_1 = class AbstractExtens
|
|
|
723
723
|
vetoReasons.add(reason);
|
|
724
724
|
}
|
|
725
725
|
}).catch(error => {
|
|
726
|
-
vetoReasons.add(( localize(
|
|
726
|
+
vetoReasons.add(( localize(16768, "{0} (Error: {1})", reason, toErrorMessage(error))));
|
|
727
727
|
});
|
|
728
728
|
}
|
|
729
729
|
}
|
|
@@ -741,9 +741,9 @@ let AbstractExtensionService = AbstractExtensionService_1 = class AbstractExtens
|
|
|
741
741
|
confirmed
|
|
742
742
|
} = await this._dialogService.confirm({
|
|
743
743
|
type: Severity.Warning,
|
|
744
|
-
message: ( localize(
|
|
744
|
+
message: ( localize(16769, "Please confirm restart of extensions.")),
|
|
745
745
|
detail: vetoReasonsArray.length === 1 ? vetoReasonsArray[0] : vetoReasonsArray.join("\n -"),
|
|
746
|
-
primaryButton: ( localize(
|
|
746
|
+
primaryButton: ( localize(16770, "Restart Anyway"))
|
|
747
747
|
});
|
|
748
748
|
if (confirmed) {
|
|
749
749
|
return true;
|
|
@@ -857,16 +857,16 @@ let AbstractExtensionService = AbstractExtensionService_1 = class AbstractExtens
|
|
|
857
857
|
this._remoteCrashTracker.registerCrash();
|
|
858
858
|
if (this._remoteCrashTracker.shouldAutomaticallyRestart()) {
|
|
859
859
|
this._logService.info(`Automatically restarting the remote extension host.`);
|
|
860
|
-
this._notificationService.status(( localize(
|
|
860
|
+
this._notificationService.status(( localize(16771, "The remote extension host terminated unexpectedly. Restarting...")), {
|
|
861
861
|
hideAfter: 5000
|
|
862
862
|
});
|
|
863
863
|
this._startExtensionHostsIfNecessary(false, Array.from(( this._allRequestedActivateEvents.keys())));
|
|
864
864
|
} else {
|
|
865
865
|
this._notificationService.prompt(Severity.Error, ( localize(
|
|
866
|
-
|
|
866
|
+
16772,
|
|
867
867
|
"Remote Extension host terminated unexpectedly 3 times within the last 5 minutes."
|
|
868
868
|
)), [{
|
|
869
|
-
label: ( localize(
|
|
869
|
+
label: ( localize(16773, "Restart Remote Extension Host")),
|
|
870
870
|
run: () => {
|
|
871
871
|
this._startExtensionHostsIfNecessary(false, Array.from(( this._allRequestedActivateEvents.keys())));
|
|
872
872
|
}
|
|
@@ -1414,7 +1414,7 @@ class ActivationFeatureMarkdowneRenderer extends Disposable {
|
|
|
1414
1414
|
}
|
|
1415
1415
|
( Registry.as(Extensions.ExtensionFeaturesRegistry)).registerExtensionFeature({
|
|
1416
1416
|
id: "activationEvents",
|
|
1417
|
-
label: ( localize(
|
|
1417
|
+
label: ( localize(16774, "Activation Events")),
|
|
1418
1418
|
access: {
|
|
1419
1419
|
canToggle: false
|
|
1420
1420
|
},
|
|
@@ -485,7 +485,7 @@ registerAction2(class MeasureExtHostLatencyAction extends Action2 {
|
|
|
485
485
|
constructor() {
|
|
486
486
|
super({
|
|
487
487
|
id: "editor.action.measureExtHostLatency",
|
|
488
|
-
title: ( localize2(
|
|
488
|
+
title: ( localize2(16775, "Measure Extension Host Latency")),
|
|
489
489
|
category: Categories.Developer,
|
|
490
490
|
f1: true
|
|
491
491
|
});
|
|
@@ -110,7 +110,7 @@ class ApiProposalsMarkdowneRenderer extends Disposable {
|
|
|
110
110
|
}
|
|
111
111
|
( Registry.as(Extensions.ExtensionFeaturesRegistry)).registerExtensionFeature({
|
|
112
112
|
id: "enabledApiProposals",
|
|
113
|
-
label: ( localize(
|
|
113
|
+
label: ( localize(16776, "API Proposals")),
|
|
114
114
|
access: {
|
|
115
115
|
canToggle: false
|
|
116
116
|
},
|
|
@@ -9,7 +9,7 @@ function dedupExtensions(system, user, workspace, development, logService) {
|
|
|
9
9
|
const extension = result.get(systemExtension.identifier);
|
|
10
10
|
if (extension) {
|
|
11
11
|
logService.warn(( localize(
|
|
12
|
-
|
|
12
|
+
16865,
|
|
13
13
|
"Overwriting extension {0} with {1}.",
|
|
14
14
|
extension.extensionLocation.fsPath,
|
|
15
15
|
systemExtension.extensionLocation.fsPath
|
|
@@ -30,7 +30,7 @@ function dedupExtensions(system, user, workspace, development, logService) {
|
|
|
30
30
|
userExtension.isBuiltin = true;
|
|
31
31
|
} else {
|
|
32
32
|
logService.warn(( localize(
|
|
33
|
-
|
|
33
|
+
16865,
|
|
34
34
|
"Overwriting extension {0} with {1}.",
|
|
35
35
|
extension.extensionLocation.fsPath,
|
|
36
36
|
userExtension.extensionLocation.fsPath
|
|
@@ -48,7 +48,7 @@ function dedupExtensions(system, user, workspace, development, logService) {
|
|
|
48
48
|
const extension = result.get(workspaceExtension.identifier);
|
|
49
49
|
if (extension) {
|
|
50
50
|
logService.warn(( localize(
|
|
51
|
-
|
|
51
|
+
16866,
|
|
52
52
|
"Overwriting {0} with Workspace Extension {1}.",
|
|
53
53
|
extension.extensionLocation.fsPath,
|
|
54
54
|
workspaceExtension.extensionLocation.fsPath
|
|
@@ -58,7 +58,7 @@ function dedupExtensions(system, user, workspace, development, logService) {
|
|
|
58
58
|
});
|
|
59
59
|
development.forEach(developedExtension => {
|
|
60
60
|
logService.info(( localize(
|
|
61
|
-
|
|
61
|
+
16867,
|
|
62
62
|
"Loading development extension at {0}",
|
|
63
63
|
developedExtension.extensionLocation.fsPath
|
|
64
64
|
)));
|
|
@@ -22,14 +22,14 @@ const CSS_CACHE_STORAGE_KEY = "workbench.contrib.css.cache";
|
|
|
22
22
|
const cssExtensionPoint = ExtensionsRegistry.registerExtensionPoint({
|
|
23
23
|
extensionPoint: "css",
|
|
24
24
|
jsonSchema: {
|
|
25
|
-
description: ( localize(
|
|
25
|
+
description: ( localize(17089, "Contributes CSS files to be loaded in the workbench.")),
|
|
26
26
|
type: "array",
|
|
27
27
|
items: {
|
|
28
28
|
type: "object",
|
|
29
29
|
properties: {
|
|
30
30
|
path: {
|
|
31
31
|
description: ( localize(
|
|
32
|
-
|
|
32
|
+
17090,
|
|
33
33
|
"Path to the CSS file. The path is relative to the extension folder."
|
|
34
34
|
)),
|
|
35
35
|
type: "string"
|
|
@@ -121,7 +121,7 @@ let CSSExtensionPoint = class CSSExtensionPoint {
|
|
|
121
121
|
const extensionValue = extension.value;
|
|
122
122
|
const collector = extension.collector;
|
|
123
123
|
if (!extensionValue || !Array.isArray(extensionValue)) {
|
|
124
|
-
collector.error(( localize(
|
|
124
|
+
collector.error(( localize(17091, "'contributes.css' must be an array.")));
|
|
125
125
|
continue;
|
|
126
126
|
}
|
|
127
127
|
const extensionId = extension.description.identifier.value;
|
|
@@ -166,13 +166,13 @@ let CSSExtensionPoint = class CSSExtensionPoint {
|
|
|
166
166
|
const cssLocations = [];
|
|
167
167
|
for (const cssContribution of extensionValue) {
|
|
168
168
|
if (!cssContribution.path || typeof cssContribution.path !== "string") {
|
|
169
|
-
collector.error(( localize(
|
|
169
|
+
collector.error(( localize(17092, "'contributes.css.path' must be a string.")));
|
|
170
170
|
continue;
|
|
171
171
|
}
|
|
172
172
|
const cssLocation = joinPath(extensionLocation, cssContribution.path);
|
|
173
173
|
if (!isEqualOrParent(cssLocation, extensionLocation)) {
|
|
174
174
|
collector.warn(( localize(
|
|
175
|
-
|
|
175
|
+
17093,
|
|
176
176
|
"Expected 'contributes.css.path' ({0}) to be included inside extension's folder ({1}).",
|
|
177
177
|
cssLocation.path,
|
|
178
178
|
extensionLocation.path
|