@codingame/monaco-vscode-extensions-service-override 31.0.1 → 32.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.
Files changed (45) hide show
  1. package/index.js +2 -0
  2. package/package.json +3 -3
  3. package/vscode/src/vs/platform/extensionManagement/common/extensionManagementCLI.js +29 -29
  4. package/vscode/src/vs/workbench/api/browser/mainThreadAuthentication.js +25 -25
  5. package/vscode/src/vs/workbench/api/browser/mainThreadBrowsers.d.ts +3 -1
  6. package/vscode/src/vs/workbench/api/browser/mainThreadBrowsers.js +9 -9
  7. package/vscode/src/vs/workbench/api/browser/mainThreadCLICommands.js +1 -1
  8. package/vscode/src/vs/workbench/api/browser/mainThreadChatAgents2.js +36 -14
  9. package/vscode/src/vs/workbench/api/browser/mainThreadChatDebug.js +9 -0
  10. package/vscode/src/vs/workbench/api/browser/mainThreadChatInputNotification.d.ts +10 -0
  11. package/vscode/src/vs/workbench/api/browser/mainThreadChatInputNotification.js +33 -0
  12. package/vscode/src/vs/workbench/api/browser/mainThreadChatSessions.d.ts +2 -1
  13. package/vscode/src/vs/workbench/api/browser/mainThreadChatSessions.js +102 -27
  14. package/vscode/src/vs/workbench/api/browser/mainThreadComments.d.ts +6 -3
  15. package/vscode/src/vs/workbench/api/browser/mainThreadComments.js +37 -15
  16. package/vscode/src/vs/workbench/api/browser/mainThreadConsole.d.ts +2 -1
  17. package/vscode/src/vs/workbench/api/browser/mainThreadConsole.js +8 -2
  18. package/vscode/src/vs/workbench/api/browser/mainThreadCustomEditors.d.ts +7 -3
  19. package/vscode/src/vs/workbench/api/browser/mainThreadCustomEditors.js +163 -36
  20. package/vscode/src/vs/workbench/api/browser/mainThreadDocumentDiff.d.ts +10 -0
  21. package/vscode/src/vs/workbench/api/browser/mainThreadDocumentDiff.js +58 -0
  22. package/vscode/src/vs/workbench/api/browser/mainThreadEditSessionIdentityParticipant.js +1 -1
  23. package/vscode/src/vs/workbench/api/browser/mainThreadExtensionService.js +11 -11
  24. package/vscode/src/vs/workbench/api/browser/mainThreadFileSystemEventService.js +20 -20
  25. package/vscode/src/vs/workbench/api/browser/mainThreadLanguageFeatures.js +25 -2
  26. package/vscode/src/vs/workbench/api/browser/mainThreadLanguageModels.js +2 -2
  27. package/vscode/src/vs/workbench/api/browser/mainThreadMcp.js +10 -9
  28. package/vscode/src/vs/workbench/api/browser/mainThreadMessageService.js +4 -4
  29. package/vscode/src/vs/workbench/api/browser/mainThreadNotebookSaveParticipant.js +1 -1
  30. package/vscode/src/vs/workbench/api/browser/mainThreadOutputService.js +3 -3
  31. package/vscode/src/vs/workbench/api/browser/mainThreadProgress.js +1 -1
  32. package/vscode/src/vs/workbench/api/browser/mainThreadSaveParticipant.js +1 -1
  33. package/vscode/src/vs/workbench/api/browser/mainThreadTask.js +1 -1
  34. package/vscode/src/vs/workbench/api/browser/mainThreadTunnelService.js +2 -2
  35. package/vscode/src/vs/workbench/api/browser/mainThreadUriOpeners.js +2 -2
  36. package/vscode/src/vs/workbench/api/browser/mainThreadWebviews.js +1 -1
  37. package/vscode/src/vs/workbench/api/browser/mainThreadWorkspace.js +5 -5
  38. package/vscode/src/vs/workbench/contrib/customEditor/common/customTextEditorModel.js +1 -1
  39. package/vscode/src/vs/workbench/services/extensionManagement/browser/extensionBisect.js +23 -23
  40. package/vscode/src/vs/workbench/services/extensionManagement/browser/webExtensionsScannerService.js +2 -2
  41. package/vscode/src/vs/workbench/services/extensions/common/abstractExtensionService.js +14 -13
  42. package/vscode/src/vs/workbench/services/extensions/common/extensionHostManager.js +1 -1
  43. package/vscode/src/vs/workbench/services/extensions/common/extensionsProposedApi.js +1 -1
  44. package/vscode/src/vs/workbench/services/extensions/common/extensionsUtil.js +4 -4
  45. package/vscode/src/vs/workbench/services/themes/browser/cssExtensionPoint.js +5 -5
@@ -104,7 +104,8 @@ let AbstractExtensionService = AbstractExtensionService_1 = class AbstractExtens
104
104
  this._onDidChangeExtensionsStatus = this._register(( new Emitter()));
105
105
  this.onDidChangeExtensionsStatus = this._onDidChangeExtensionsStatus.event;
106
106
  this._onDidChangeExtensions = this._register(( new Emitter({
107
- leakWarningThreshold: 400
107
+ leakWarningThreshold: 400,
108
+ leakWarningName: "ExtensionService._onDidChangeExtensions"
108
109
  })));
109
110
  this.onDidChangeExtensions = this._onDidChangeExtensions.event;
110
111
  this._onWillActivateByEvent = this._register(( new Emitter()));
@@ -221,13 +222,13 @@ let AbstractExtensionService = AbstractExtensionService_1 = class AbstractExtens
221
222
  }
222
223
  }, {
223
224
  id: "join.disconnectRemote",
224
- label: ( localize(16299, "Disconnect Remote Agent")),
225
+ label: ( localize(16607, "Disconnect Remote Agent")),
225
226
  order: WillShutdownJoinerOrder.Last
226
227
  });
227
228
  } else {
228
229
  event.join(this._doStopExtensionHosts(), {
229
230
  id: "join.stopExtensionHosts",
230
- label: ( localize(16300, "Stopping Extension Hosts"))
231
+ label: ( localize(16608, "Stopping Extension Hosts"))
231
232
  });
232
233
  }
233
234
  }));
@@ -300,7 +301,7 @@ let AbstractExtensionService = AbstractExtensionService_1 = class AbstractExtens
300
301
  this._notificationService.notify({
301
302
  severity: Severity.Error,
302
303
  message: ( localize(
303
- 16301,
304
+ 16609,
304
305
  "The following extensions contain dependency loops and have been disabled: {0}",
305
306
  ( result.removedDueToLooping.map(e => `'${e.identifier.value}'`)).join(", ")
306
307
  ))
@@ -537,7 +538,7 @@ let AbstractExtensionService = AbstractExtensionService_1 = class AbstractExtens
537
538
  this._notificationService.notify({
538
539
  severity: Severity.Error,
539
540
  message: ( localize(
540
- 16301,
541
+ 16609,
541
542
  "The following extensions contain dependency loops and have been disabled: {0}",
542
543
  ( result.removedDueToLooping.map(e => `'${e.identifier.value}'`)).join(", ")
543
544
  ))
@@ -552,7 +553,7 @@ let AbstractExtensionService = AbstractExtensionService_1 = class AbstractExtens
552
553
  const extensionHostManager = this.findTestExtensionHost(this._environmentService.extensionTestsLocationURI);
553
554
  if (!extensionHostManager) {
554
555
  const msg = ( localize(
555
- 16302,
556
+ 16610,
556
557
  "No extension host found that can launch the test runner at {0}.",
557
558
  (this._environmentService.extensionTestsLocationURI.toString())
558
559
  ));
@@ -722,7 +723,7 @@ let AbstractExtensionService = AbstractExtensionService_1 = class AbstractExtens
722
723
  vetoReasons.add(reason);
723
724
  }
724
725
  }).catch(error => {
725
- vetoReasons.add(( localize(16303, "{0} (Error: {1})", reason, toErrorMessage(error))));
726
+ vetoReasons.add(( localize(16611, "{0} (Error: {1})", reason, toErrorMessage(error))));
726
727
  });
727
728
  }
728
729
  }
@@ -740,9 +741,9 @@ let AbstractExtensionService = AbstractExtensionService_1 = class AbstractExtens
740
741
  confirmed
741
742
  } = await this._dialogService.confirm({
742
743
  type: Severity.Warning,
743
- message: ( localize(16304, "Please confirm restart of extensions.")),
744
+ message: ( localize(16612, "Please confirm restart of extensions.")),
744
745
  detail: vetoReasonsArray.length === 1 ? vetoReasonsArray[0] : vetoReasonsArray.join("\n -"),
745
- primaryButton: ( localize(16305, "Restart Anyway"))
746
+ primaryButton: ( localize(16613, "Restart Anyway"))
746
747
  });
747
748
  if (confirmed) {
748
749
  return true;
@@ -856,16 +857,16 @@ let AbstractExtensionService = AbstractExtensionService_1 = class AbstractExtens
856
857
  this._remoteCrashTracker.registerCrash();
857
858
  if (this._remoteCrashTracker.shouldAutomaticallyRestart()) {
858
859
  this._logService.info(`Automatically restarting the remote extension host.`);
859
- this._notificationService.status(( localize(16306, "The remote extension host terminated unexpectedly. Restarting...")), {
860
+ this._notificationService.status(( localize(16614, "The remote extension host terminated unexpectedly. Restarting...")), {
860
861
  hideAfter: 5000
861
862
  });
862
863
  this._startExtensionHostsIfNecessary(false, Array.from(( this._allRequestedActivateEvents.keys())));
863
864
  } else {
864
865
  this._notificationService.prompt(Severity.Error, ( localize(
865
- 16307,
866
+ 16615,
866
867
  "Remote Extension host terminated unexpectedly 3 times within the last 5 minutes."
867
868
  )), [{
868
- label: ( localize(16308, "Restart Remote Extension Host")),
869
+ label: ( localize(16616, "Restart Remote Extension Host")),
869
870
  run: () => {
870
871
  this._startExtensionHostsIfNecessary(false, Array.from(( this._allRequestedActivateEvents.keys())));
871
872
  }
@@ -1413,7 +1414,7 @@ class ActivationFeatureMarkdowneRenderer extends Disposable {
1413
1414
  }
1414
1415
  ( Registry.as(Extensions.ExtensionFeaturesRegistry)).registerExtensionFeature({
1415
1416
  id: "activationEvents",
1416
- label: ( localize(16309, "Activation Events")),
1417
+ label: ( localize(16617, "Activation Events")),
1417
1418
  access: {
1418
1419
  canToggle: false
1419
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(16310, "Measure Extension Host Latency")),
488
+ title: ( localize2(16618, "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(16311, "API Proposals")),
113
+ label: ( localize(16619, "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
- 16400,
12
+ 16708,
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
- 16400,
33
+ 16708,
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
- 16401,
51
+ 16709,
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
- 16402,
61
+ 16710,
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(16623, "Contributes CSS files to be loaded in the workbench.")),
25
+ description: ( localize(16932, "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
- 16624,
32
+ 16933,
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(16625, "'contributes.css' must be an array.")));
124
+ collector.error(( localize(16934, "'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(16626, "'contributes.css.path' must be a string.")));
169
+ collector.error(( localize(16935, "'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
- 16627,
175
+ 16936,
176
176
  "Expected 'contributes.css.path' ({0}) to be included inside extension's folder ({1}).",
177
177
  cssLocation.path,
178
178
  extensionLocation.path