@codingame/monaco-vscode-extension-gallery-service-override 30.0.0 → 31.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-extension-gallery-service-override",
3
- "version": "30.0.0",
3
+ "version": "31.0.0",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - extension-gallery service-override",
6
6
  "keywords": [],
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-api": "30.0.0"
18
+ "@codingame/monaco-vscode-api": "31.0.0"
19
19
  },
20
20
  "main": "index.js",
21
21
  "module": "index.js",
@@ -36,7 +36,7 @@ let CommontExtensionManagementService = class CommontExtensionManagementService
36
36
  });
37
37
  if (allowedToInstall !== true) {
38
38
  return (new MarkdownString(localize(
39
- 1846,
39
+ 1847,
40
40
  "This extension cannot be installed because {0}",
41
41
  allowedToInstall.value
42
42
  )));
@@ -44,12 +44,12 @@ let CommontExtensionManagementService = class CommontExtensionManagementService
44
44
  if (!(await this.isExtensionPlatformCompatible(extension))) {
45
45
  const learnLink = isWeb ? "https://aka.ms/vscode-web-extensions-guide" : "https://aka.ms/vscode-platform-specific-extensions";
46
46
  return (new MarkdownString(`${( localize(
47
- 1847,
47
+ 1848,
48
48
  "The '{0}' extension is not available in {1} for the {2} platform.",
49
49
  extension.displayName ?? extension.identifier.id,
50
50
  this.productService.nameLong,
51
51
  TargetPlatformToString(await this.getTargetPlatform())
52
- ))} [${( localize(1848, "Learn Why"))}](${learnLink})`));
52
+ ))} [${( localize(1849, "Learn Why"))}](${learnLink})`));
53
53
  }
54
54
  return true;
55
55
  }
@@ -146,7 +146,7 @@ let AbstractExtensionManagementService = class AbstractExtensionManagementServic
146
146
  }
147
147
  async installGalleryExtensions(extensions) {
148
148
  if (!this.galleryService.isEnabled()) {
149
- throw ( new ExtensionManagementError(( localize(1849, "Marketplace is not enabled")), ExtensionManagementErrorCode.NotAllowed));
149
+ throw ( new ExtensionManagementError(( localize(1850, "Marketplace is not enabled")), ExtensionManagementErrorCode.NotAllowed));
150
150
  }
151
151
  const results = [];
152
152
  const installableExtensions = [];
@@ -345,14 +345,21 @@ let AbstractExtensionManagementService = class AbstractExtensionManagementServic
345
345
  }
346
346
  };
347
347
  try {
348
+ const systemExtensions = await this.getInstalled(ExtensionType.System);
348
349
  for (const {
349
350
  manifest,
350
351
  extension,
351
352
  options
352
353
  } of extensions) {
353
- const isApplicationScoped = options.isApplicationScoped || options.isBuiltin || isApplicationScopedExtension(manifest);
354
+ const extensionId = getGalleryExtensionId(manifest.publisher, manifest.name);
355
+ const isSystemExtension = ( systemExtensions.some(e => areSameExtensions(e.identifier, {
356
+ id: extensionId
357
+ })));
358
+ const isBuiltin = options.isBuiltin || isSystemExtension;
359
+ const isApplicationScoped = options.isApplicationScoped || isBuiltin || isApplicationScopedExtension(manifest);
354
360
  const installExtensionTaskOptions = {
355
361
  ...options,
362
+ isBuiltin,
356
363
  isApplicationScoped,
357
364
  profileLocation: isApplicationScoped ? this.userDataProfilesService.defaultProfile.extensionsResource : options.profileLocation ?? this.getCurrentExtensionsManifestLocation(),
358
365
  productVersion: options.productVersion ?? {
@@ -801,7 +808,7 @@ let AbstractExtensionManagementService = class AbstractExtensionManagementServic
801
808
  const extensionsControlManifest = await this.getExtensionsControlManifest();
802
809
  if (isMalicious(extension.identifier, extensionsControlManifest.malicious)) {
803
810
  throw ( new ExtensionManagementError(( localize(
804
- 1850,
811
+ 1851,
805
812
  "Can't install '{0}' extension since it was reported to be problematic.",
806
813
  extension.identifier.id
807
814
  )), ExtensionManagementErrorCode.Malicious));
@@ -821,7 +828,7 @@ let AbstractExtensionManagementService = class AbstractExtensionManagementServic
821
828
  }, CancellationToken.None))[0];
822
829
  if (!compatibleExtension) {
823
830
  throw ( new ExtensionManagementError(( localize(
824
- 1851,
831
+ 1852,
825
832
  "Can't install '{0}' extension since it was deprecated and the replacement extension '{1}' can't be found.",
826
833
  extension.identifier.id,
827
834
  deprecationInfo.extension.id
@@ -831,7 +838,7 @@ let AbstractExtensionManagementService = class AbstractExtensionManagementServic
831
838
  if ((await this.canInstall(extension)) !== true) {
832
839
  const targetPlatform = await this.getTargetPlatform();
833
840
  throw ( new ExtensionManagementError(( localize(
834
- 1847,
841
+ 1848,
835
842
  "The '{0}' extension is not available in {1} for the {2} platform.",
836
843
  extension.identifier.id,
837
844
  this.productService.nameLong,
@@ -846,7 +853,7 @@ let AbstractExtensionManagementService = class AbstractExtensionManagementServic
846
853
  incompatibleApiProposalsMessages
847
854
  )) {
848
855
  throw ( new ExtensionManagementError(( localize(
849
- 1852,
856
+ 1853,
850
857
  "Can't install '{0}' extension. {1}",
851
858
  extension.displayName ?? extension.identifier.id,
852
859
  incompatibleApiProposalsMessages[0]
@@ -854,13 +861,13 @@ let AbstractExtensionManagementService = class AbstractExtensionManagementServic
854
861
  }
855
862
  if (!installPreRelease && extension.hasPreReleaseVersion && extension.properties.isPreReleaseVersion && (await this.galleryService.getExtensions([extension.identifier], CancellationToken.None))[0]) {
856
863
  throw ( new ExtensionManagementError(( localize(
857
- 1853,
864
+ 1854,
858
865
  "Can't install release version of '{0}' extension because it has no release version.",
859
866
  extension.displayName ?? extension.identifier.id
860
867
  )), ExtensionManagementErrorCode.ReleaseVersionNotFound));
861
868
  }
862
869
  throw ( new ExtensionManagementError(( localize(
863
- 1854,
870
+ 1855,
864
871
  "Can't install '{0}' extension because it is not compatible with the current version of {1} (version {2}).",
865
872
  extension.identifier.id,
866
873
  this.productService.nameLong,
@@ -1180,7 +1187,7 @@ let AbstractExtensionManagementService = class AbstractExtensionManagementServic
1180
1187
  if (extensionToUninstall === dependingExtension) {
1181
1188
  if (dependents.length === 1) {
1182
1189
  return localize(
1183
- 1855,
1190
+ 1856,
1184
1191
  "Cannot uninstall '{0}' extension. '{1}' extension depends on this.",
1185
1192
  extensionToUninstall.manifest.displayName || extensionToUninstall.manifest.name,
1186
1193
  dependents[0].manifest.displayName || dependents[0].manifest.name
@@ -1188,7 +1195,7 @@ let AbstractExtensionManagementService = class AbstractExtensionManagementServic
1188
1195
  }
1189
1196
  if (dependents.length === 2) {
1190
1197
  return localize(
1191
- 1856,
1198
+ 1857,
1192
1199
  "Cannot uninstall '{0}' extension. '{1}' and '{2}' extensions depend on this.",
1193
1200
  extensionToUninstall.manifest.displayName || extensionToUninstall.manifest.name,
1194
1201
  dependents[0].manifest.displayName || dependents[0].manifest.name,
@@ -1196,7 +1203,7 @@ let AbstractExtensionManagementService = class AbstractExtensionManagementServic
1196
1203
  );
1197
1204
  }
1198
1205
  return localize(
1199
- 1857,
1206
+ 1858,
1200
1207
  "Cannot uninstall '{0}' extension. '{1}', '{2}' and other extension depend on this.",
1201
1208
  extensionToUninstall.manifest.displayName || extensionToUninstall.manifest.name,
1202
1209
  dependents[0].manifest.displayName || dependents[0].manifest.name,
@@ -1205,7 +1212,7 @@ let AbstractExtensionManagementService = class AbstractExtensionManagementServic
1205
1212
  }
1206
1213
  if (dependents.length === 1) {
1207
1214
  return localize(
1208
- 1858,
1215
+ 1859,
1209
1216
  "Cannot uninstall '{0}' extension . It includes uninstalling '{1}' extension and '{2}' extension depends on this.",
1210
1217
  extensionToUninstall.manifest.displayName || extensionToUninstall.manifest.name,
1211
1218
  dependingExtension.manifest.displayName || dependingExtension.manifest.name,
@@ -1214,7 +1221,7 @@ let AbstractExtensionManagementService = class AbstractExtensionManagementServic
1214
1221
  }
1215
1222
  if (dependents.length === 2) {
1216
1223
  return localize(
1217
- 1859,
1224
+ 1860,
1218
1225
  "Cannot uninstall '{0}' extension. It includes uninstalling '{1}' extension and '{2}' and '{3}' extensions depend on this.",
1219
1226
  extensionToUninstall.manifest.displayName || extensionToUninstall.manifest.name,
1220
1227
  dependingExtension.manifest.displayName || dependingExtension.manifest.name,
@@ -1223,7 +1230,7 @@ let AbstractExtensionManagementService = class AbstractExtensionManagementServic
1223
1230
  );
1224
1231
  }
1225
1232
  return localize(
1226
- 1860,
1233
+ 1861,
1227
1234
  "Cannot uninstall '{0}' extension. It includes uninstalling '{1}' extension and '{2}', '{3}' and other extensions depend on this.",
1228
1235
  extensionToUninstall.manifest.displayName || extensionToUninstall.manifest.name,
1229
1236
  dependingExtension.manifest.displayName || dependingExtension.manifest.name,
@@ -77,14 +77,14 @@ let AllowedExtensionsService = class AllowedExtensionsService extends Disposable
77
77
  query: `@id:${AllowedExtensionsConfigKey}`
78
78
  }).toString());
79
79
  const extensionValue = this._allowedExtensionsConfigValue[id];
80
- const extensionReason = ( new MarkdownString(( localize(1861, "it is not in the [allowed list]({0})", settingsCommandLink))));
80
+ const extensionReason = ( new MarkdownString(( localize(1862, "it is not in the [allowed list]({0})", settingsCommandLink))));
81
81
  if (!isUndefined(extensionValue)) {
82
82
  if (isBoolean(extensionValue)) {
83
83
  return extensionValue ? true : extensionReason;
84
84
  }
85
85
  if (extensionValue === "stable" && prerelease) {
86
86
  return (new MarkdownString(localize(
87
- 1862,
87
+ 1863,
88
88
  "the pre-release versions of this extension are not in the [allowed list]({0})",
89
89
  settingsCommandLink
90
90
  )));
@@ -107,7 +107,7 @@ let AllowedExtensionsService = class AllowedExtensionsService extends Disposable
107
107
  return false;
108
108
  }))) {
109
109
  return (new MarkdownString(localize(
110
- 1863,
110
+ 1864,
111
111
  "the version {0} of this extension is not in the [allowed list]({1})",
112
112
  version,
113
113
  settingsCommandLink
@@ -120,7 +120,7 @@ let AllowedExtensionsService = class AllowedExtensionsService extends Disposable
120
120
  if (!isUndefined(publisherValue)) {
121
121
  if (isBoolean(publisherValue)) {
122
122
  return publisherValue ? true : ( new MarkdownString(( localize(
123
- 1864,
123
+ 1865,
124
124
  "the extensions from this publisher are not in the [allowed list]({1})",
125
125
  publisherKey,
126
126
  settingsCommandLink
@@ -128,7 +128,7 @@ let AllowedExtensionsService = class AllowedExtensionsService extends Disposable
128
128
  }
129
129
  if (publisherValue === "stable" && prerelease) {
130
130
  return (new MarkdownString(localize(
131
- 1865,
131
+ 1866,
132
132
  "the pre-release versions from this publisher are not in the [allowed list]({1})",
133
133
  publisherKey,
134
134
  settingsCommandLink
@@ -567,13 +567,19 @@ let AbstractExtensionGalleryService = class AbstractExtensionGalleryService {
567
567
  try {
568
568
  galleryExtension = await this.getLatestGalleryExtension(extensionInfo, options, resourceApi, extensionGalleryManifest, token);
569
569
  if (isString(galleryExtension)) {
570
- this.telemetryService.publicLog2("galleryService:fallbacktoquery", {
571
- extension: extensionInfo.id,
572
- preRelease: !!extensionInfo.preRelease,
573
- compatible: !!options.compatible,
574
- errorCode: galleryExtension
575
- });
576
- toQuery.push(extensionInfo);
570
+ if (galleryExtension === "LATEST_IS_OUTDATED") {
571
+ this.logService.debug(
572
+ `Skipping query API fallback for extension ${extensionInfo.id} because the latest gallery version is older than the current version`
573
+ );
574
+ } else {
575
+ this.telemetryService.publicLog2("galleryService:fallbacktoquery", {
576
+ extension: extensionInfo.id,
577
+ preRelease: !!extensionInfo.preRelease,
578
+ compatible: !!options.compatible,
579
+ errorCode: galleryExtension
580
+ });
581
+ toQuery.push(extensionInfo);
582
+ }
577
583
  } else {
578
584
  result.push(galleryExtension);
579
585
  }
@@ -619,6 +625,12 @@ let AbstractExtensionGalleryService = class AbstractExtensionGalleryService {
619
625
  allTargetPlatforms
620
626
  );
621
627
  if (!rawGalleryExtensionVersion) {
628
+ if (extensionInfo.currentVersion) {
629
+ const latestVersion = rawGalleryExtension.versions.length > 0 ? rawGalleryExtension.versions[0].version : undefined;
630
+ if (latestVersion && semverExports.lt(latestVersion, extensionInfo.currentVersion)) {
631
+ return "LATEST_IS_OUTDATED";
632
+ }
633
+ }
622
634
  return "NOT_COMPATIBLE";
623
635
  }
624
636
  return toExtension(
@@ -8,6 +8,6 @@ import { RuntimeExtensionsInput } from '@codingame/monaco-vscode-api/vscode/vs/w
8
8
  import { EditorExtensions } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor';
9
9
 
10
10
  ( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(
11
- EditorPaneDescriptor.create(RuntimeExtensionsEditor, RuntimeExtensionsEditor.ID, ( localize(9121, "Running Extensions"))),
11
+ EditorPaneDescriptor.create(RuntimeExtensionsEditor, RuntimeExtensionsEditor.ID, ( localize(9250, "Running Extensions"))),
12
12
  [( new SyncDescriptor(RuntimeExtensionsInput))]
13
13
  );
@@ -13,7 +13,7 @@ let ReportExtensionIssueAction = class ReportExtensionIssueAction extends Action
13
13
  this._id = "workbench.extensions.action.reportExtensionIssue";
14
14
  }
15
15
  static {
16
- this._label = ( localize(9494, "Report Issue"));
16
+ this._label = ( localize(9632, "Report Issue"));
17
17
  }
18
18
  constructor(extension, issueService) {
19
19
  super(
@@ -25,6 +25,7 @@ import { IExtensionManifestPropertiesService } from "@codingame/monaco-vscode-ap
25
25
  import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service";
26
26
  import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
27
27
  import { IProductService } from "@codingame/monaco-vscode-api/vscode/vs/platform/product/common/productService.service";
28
+ import { IChatEntitlementService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/chat/common/chatEntitlementService.service";
28
29
  type WorkspaceType = {
29
30
  readonly virtual: boolean;
30
31
  readonly trusted: boolean;
@@ -57,7 +58,7 @@ export declare class ExtensionEnablementService extends Disposable implements IW
57
58
  private readonly _completionsExtensionId;
58
59
  private readonly _chatExtensionId;
59
60
  private _extensionUnificationEnabled;
60
- constructor(storageService: IStorageService, globalExtensionEnablementService: IGlobalExtensionEnablementService, contextService: IWorkspaceContextService, environmentService: IWorkbenchEnvironmentService, extensionManagementService: IExtensionManagementService, configurationService: IConfigurationService, extensionManagementServerService: IExtensionManagementServerService, userDataSyncEnablementService: IUserDataSyncEnablementService, userDataSyncAccountService: IUserDataSyncAccountService, lifecycleService: ILifecycleService, notificationService: INotificationService, hostService: IHostService, extensionBisectService: IExtensionBisectService, allowedExtensionsService: IAllowedExtensionsService, workspaceTrustManagementService: IWorkspaceTrustManagementService, workspaceTrustRequestService: IWorkspaceTrustRequestService, extensionManifestPropertiesService: IExtensionManifestPropertiesService, instantiationService: IInstantiationService, logService: ILogService, productService: IProductService);
61
+ constructor(storageService: IStorageService, globalExtensionEnablementService: IGlobalExtensionEnablementService, contextService: IWorkspaceContextService, environmentService: IWorkbenchEnvironmentService, extensionManagementService: IExtensionManagementService, configurationService: IConfigurationService, extensionManagementServerService: IExtensionManagementServerService, userDataSyncEnablementService: IUserDataSyncEnablementService, userDataSyncAccountService: IUserDataSyncAccountService, lifecycleService: ILifecycleService, notificationService: INotificationService, hostService: IHostService, extensionBisectService: IExtensionBisectService, allowedExtensionsService: IAllowedExtensionsService, workspaceTrustManagementService: IWorkspaceTrustManagementService, workspaceTrustRequestService: IWorkspaceTrustRequestService, extensionManifestPropertiesService: IExtensionManifestPropertiesService, chatEntitlementService: IChatEntitlementService, instantiationService: IInstantiationService, logService: ILogService, productService: IProductService);
61
62
  private get hasWorkspace();
62
63
  private get allUserExtensionsDisabled();
63
64
  getEnablementState(extension: IExtension): EnablementState;
@@ -36,6 +36,7 @@ import { isString } from '@codingame/monaco-vscode-api/vscode/vs/base/common/typ
36
36
  import { Delayer } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
37
37
  import { IProductService } from '@codingame/monaco-vscode-api/vscode/vs/platform/product/common/productService.service';
38
38
  import { isWeb } from '@codingame/monaco-vscode-api/vscode/vs/base/common/platform';
39
+ import { IChatEntitlementService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/chat/common/chatEntitlementService.service';
39
40
  import Severity from '@codingame/monaco-vscode-api/vscode/vs/base/common/severity';
40
41
 
41
42
  const SOURCE = "IWorkbenchExtensionEnablementService";
@@ -59,6 +60,7 @@ let ExtensionEnablementService = class ExtensionEnablementService extends Dispos
59
60
  workspaceTrustManagementService,
60
61
  workspaceTrustRequestService,
61
62
  extensionManifestPropertiesService,
63
+ chatEntitlementService,
62
64
  instantiationService,
63
65
  logService,
64
66
  productService
@@ -140,8 +142,8 @@ let ExtensionEnablementService = class ExtensionEnablementService extends Dispos
140
142
  }));
141
143
  if (this.allUserExtensionsDisabled) {
142
144
  this.lifecycleService.when(LifecyclePhase.Eventually).then(() => {
143
- this.notificationService.prompt(Severity.Info, ( localize(16001, "All installed extensions are temporarily disabled.")), [{
144
- label: ( localize(16002, "Reload and Enable Extensions")),
145
+ this.notificationService.prompt(Severity.Info, ( localize(16218, "All installed extensions are temporarily disabled.")), [{
146
+ label: ( localize(16219, "Reload and Enable Extensions")),
145
147
  run: () => hostService.reload({
146
148
  disableExtensions: false
147
149
  })
@@ -151,6 +153,47 @@ let ExtensionEnablementService = class ExtensionEnablementService extends Dispos
151
153
  });
152
154
  });
153
155
  }
156
+ if (this._chatExtensionId && !this.environmentService.isSessionsWindow && !this.environmentService.skipBuiltinExtensions?.some(id => id.toLowerCase() === this._chatExtensionId)) {
157
+ const builtinChatExtensionEnablementMigrationKey = "builtinChatExtensionEnablementMigration";
158
+ const builtinChatExtensionEnablementMigration = this.storageService.getBoolean(builtinChatExtensionEnablementMigrationKey, StorageScope.PROFILE) === true;
159
+ if (!builtinChatExtensionEnablementMigration) {
160
+ this.logService.debug("Running builtin chat extension enablement migration");
161
+ this.storageService.store(
162
+ builtinChatExtensionEnablementMigrationKey,
163
+ true,
164
+ StorageScope.PROFILE,
165
+ StorageTarget.MACHINE
166
+ );
167
+ const context = chatEntitlementService.context;
168
+ if (context) {
169
+ if (context.value.state.completed) {
170
+ if (this._isDisabledGlobally({
171
+ id: this._chatExtensionId
172
+ })) {
173
+ if (this.configurationService.getValue("chat.disableAIFeatures") !== true) {
174
+ this.logService.debug("Disabling AI features because builtin chat extension is disabled");
175
+ this.configurationService.updateValue("chat.disableAIFeatures", true).catch(err => this.logService.error(
176
+ "Failed to update chat.disableAIFeatures setting during builtin chat extension enablement migration",
177
+ err
178
+ ));
179
+ }
180
+ }
181
+ } else {
182
+ try {
183
+ this.logService.debug("Disabling builtin chat extension as chat set up is not completed");
184
+ this._disableExtension({
185
+ id: this._chatExtensionId
186
+ });
187
+ } catch (error) {
188
+ this.logService.error(
189
+ "Failed to disable builtin chat extension during enablement migration",
190
+ error
191
+ );
192
+ }
193
+ }
194
+ }
195
+ }
196
+ }
154
197
  }
155
198
  get hasWorkspace() {
156
199
  return this.contextService.getWorkbenchState() !== WorkbenchState.EMPTY;
@@ -196,7 +239,7 @@ let ExtensionEnablementService = class ExtensionEnablementService extends Dispos
196
239
  throwErrorIfCannotChangeEnablement(extension, donotCheckDependencies) {
197
240
  if (isLanguagePackExtension(extension.manifest)) {
198
241
  throw ( new Error(( localize(
199
- 16003,
242
+ 16220,
200
243
  "Cannot change enablement of {0} extension because it contributes language packs.",
201
244
  extension.manifest.displayName || extension.identifier.id
202
245
  ))));
@@ -205,14 +248,14 @@ let ExtensionEnablementService = class ExtensionEnablementService extends Dispos
205
248
  a => a.id === this.userDataSyncAccountService.account.authenticationProviderId
206
249
  ))) {
207
250
  throw ( new Error(( localize(
208
- 16004,
251
+ 16221,
209
252
  "Cannot change enablement {0} extension because Settings Sync depends on it.",
210
253
  extension.manifest.displayName || extension.identifier.id
211
254
  ))));
212
255
  }
213
256
  if (this._isEnabledInEnv(extension)) {
214
257
  throw ( new Error(( localize(
215
- 16005,
258
+ 16222,
216
259
  "Cannot change enablement of {0} extension because it is enabled in environment",
217
260
  extension.manifest.displayName || extension.identifier.id
218
261
  ))));
@@ -223,37 +266,37 @@ let ExtensionEnablementService = class ExtensionEnablementService extends Dispos
223
266
  switch (enablementStateOfExtension) {
224
267
  case EnablementState.DisabledByEnvironment:
225
268
  throw ( new Error(( localize(
226
- 16006,
269
+ 16223,
227
270
  "Cannot change enablement of {0} extension because it is disabled in environment",
228
271
  extension.manifest.displayName || extension.identifier.id
229
272
  ))));
230
273
  case EnablementState.DisabledByMalicious:
231
274
  throw ( new Error(( localize(
232
- 16007,
275
+ 16224,
233
276
  "Cannot change enablement of {0} extension because it is malicious",
234
277
  extension.manifest.displayName || extension.identifier.id
235
278
  ))));
236
279
  case EnablementState.DisabledByVirtualWorkspace:
237
280
  throw ( new Error(( localize(
238
- 16008,
281
+ 16225,
239
282
  "Cannot change enablement of {0} extension because it does not support virtual workspaces",
240
283
  extension.manifest.displayName || extension.identifier.id
241
284
  ))));
242
285
  case EnablementState.DisabledByExtensionKind:
243
286
  throw ( new Error(( localize(
244
- 16009,
287
+ 16226,
245
288
  "Cannot change enablement of {0} extension because of its extension kind",
246
289
  extension.manifest.displayName || extension.identifier.id
247
290
  ))));
248
291
  case EnablementState.DisabledByAllowlist:
249
292
  throw ( new Error(( localize(
250
- 16010,
293
+ 16227,
251
294
  "Cannot change enablement of {0} extension because it is disallowed",
252
295
  extension.manifest.displayName || extension.identifier.id
253
296
  ))));
254
297
  case EnablementState.DisabledByInvalidExtension:
255
298
  throw ( new Error(( localize(
256
- 16011,
299
+ 16228,
257
300
  "Cannot change enablement of {0} extension because of it is invalid",
258
301
  extension.manifest.displayName || extension.identifier.id
259
302
  ))));
@@ -266,7 +309,7 @@ let ExtensionEnablementService = class ExtensionEnablementService extends Dispos
266
309
  continue;
267
310
  }
268
311
  throw ( new Error(( localize(
269
- 16012,
312
+ 16229,
270
313
  "Cannot enable '{0}' extension because it depends on '{1}' extension that cannot be enabled",
271
314
  extension.manifest.displayName || extension.identifier.id,
272
315
  dependency.manifest.displayName || dependency.identifier.id
@@ -276,11 +319,11 @@ let ExtensionEnablementService = class ExtensionEnablementService extends Dispos
276
319
  }
277
320
  throwErrorIfCannotChangeWorkspaceEnablement(extension) {
278
321
  if (!this.hasWorkspace) {
279
- throw ( new Error(( localize(16013, "No workspace."))));
322
+ throw ( new Error(( localize(16230, "No workspace."))));
280
323
  }
281
324
  if (isAuthenticationProviderExtension(extension.manifest)) {
282
325
  throw ( new Error(( localize(
283
- 16014,
326
+ 16231,
284
327
  "Cannot change enablement of {0} extension in workspace because it contributes authentication providers",
285
328
  extension.manifest.displayName || extension.identifier.id
286
329
  ))));
@@ -772,7 +815,7 @@ let ExtensionEnablementService = class ExtensionEnablementService extends Dispos
772
815
  return true;
773
816
  }
774
817
  };
775
- ExtensionEnablementService = ( __decorate([( __param(0, IStorageService)), ( __param(1, IGlobalExtensionEnablementService)), ( __param(2, IWorkspaceContextService)), ( __param(3, IWorkbenchEnvironmentService)), ( __param(4, IExtensionManagementService)), ( __param(5, IConfigurationService)), ( __param(6, IExtensionManagementServerService)), ( __param(7, IUserDataSyncEnablementService)), ( __param(8, IUserDataSyncAccountService)), ( __param(9, ILifecycleService)), ( __param(10, INotificationService)), ( __param(11, IHostService)), ( __param(12, IExtensionBisectService)), ( __param(13, IAllowedExtensionsService)), ( __param(14, IWorkspaceTrustManagementService)), ( __param(15, IWorkspaceTrustRequestService)), ( __param(16, IExtensionManifestPropertiesService)), ( __param(17, IInstantiationService)), ( __param(18, ILogService)), ( __param(19, IProductService))], ExtensionEnablementService));
818
+ ExtensionEnablementService = ( __decorate([( __param(0, IStorageService)), ( __param(1, IGlobalExtensionEnablementService)), ( __param(2, IWorkspaceContextService)), ( __param(3, IWorkbenchEnvironmentService)), ( __param(4, IExtensionManagementService)), ( __param(5, IConfigurationService)), ( __param(6, IExtensionManagementServerService)), ( __param(7, IUserDataSyncEnablementService)), ( __param(8, IUserDataSyncAccountService)), ( __param(9, ILifecycleService)), ( __param(10, INotificationService)), ( __param(11, IHostService)), ( __param(12, IExtensionBisectService)), ( __param(13, IAllowedExtensionsService)), ( __param(14, IWorkspaceTrustManagementService)), ( __param(15, IWorkspaceTrustRequestService)), ( __param(16, IExtensionManifestPropertiesService)), ( __param(17, IChatEntitlementService)), ( __param(18, IInstantiationService)), ( __param(19, ILogService)), ( __param(20, IProductService))], ExtensionEnablementService));
776
819
  let ExtensionsManager = class ExtensionsManager extends Disposable {
777
820
  get extensions() {
778
821
  return this._extensions;
@@ -96,17 +96,17 @@ let ExtensionFeaturesManagementService = class ExtensionFeaturesManagementServic
96
96
  if (feature.access.requireUserConsent) {
97
97
  const extensionDescription = this.extensionService.extensions.find(e => ExtensionIdentifier.equals(e.identifier, extension));
98
98
  const confirmationResult = await this.dialogService.confirm({
99
- title: ( localize(16017, "Access '{0}' Feature", feature.label)),
99
+ title: ( localize(16234, "Access '{0}' Feature", feature.label)),
100
100
  message: ( localize(
101
- 16018,
101
+ 16235,
102
102
  "'{0}' extension would like to access the '{1}' feature.",
103
103
  extensionDescription?.displayName ?? extension._lower,
104
104
  feature.label
105
105
  )),
106
106
  detail: justification ?? feature.description,
107
107
  custom: true,
108
- primaryButton: ( localize(16019, "Allow")),
109
- cancelButton: ( localize(16020, "Don't Allow"))
108
+ primaryButton: ( localize(16236, "Allow")),
109
+ cancelButton: ( localize(16237, "Don't Allow"))
110
110
  });
111
111
  enabled = confirmationResult.confirmed;
112
112
  }
@@ -26,7 +26,7 @@ let ExtensionManagementServerService = class ExtensionManagementServerService {
26
26
  id: "remote",
27
27
  extensionManagementService,
28
28
  get label() {
29
- return labelService.getHostLabel(Schemas.vscodeRemote, remoteAgentConnection.remoteAuthority) || ( localize(16021, "Remote"));
29
+ return labelService.getHostLabel(Schemas.vscodeRemote, remoteAgentConnection.remoteAuthority) || ( localize(16238, "Remote"));
30
30
  }
31
31
  };
32
32
  }
@@ -35,7 +35,7 @@ let ExtensionManagementServerService = class ExtensionManagementServerService {
35
35
  this.webExtensionManagementServer = {
36
36
  id: "web",
37
37
  extensionManagementService,
38
- label: ( localize(16022, "Browser"))
38
+ label: ( localize(16239, "Browser"))
39
39
  };
40
40
  }
41
41
  }
@@ -279,7 +279,7 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
279
279
  getDependentsErrorMessage(extension, dependents) {
280
280
  if (dependents.length === 1) {
281
281
  return localize(
282
- 16023,
282
+ 16240,
283
283
  "Cannot uninstall extension '{0}'. Extension '{1}' depends on this.",
284
284
  extension.manifest.displayName || extension.manifest.name,
285
285
  dependents[0].manifest.displayName || dependents[0].manifest.name
@@ -287,7 +287,7 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
287
287
  }
288
288
  if (dependents.length === 2) {
289
289
  return localize(
290
- 16024,
290
+ 16241,
291
291
  "Cannot uninstall extension '{0}'. Extensions '{1}' and '{2}' depend on this.",
292
292
  extension.manifest.displayName || extension.manifest.name,
293
293
  dependents[0].manifest.displayName || dependents[0].manifest.name,
@@ -295,7 +295,7 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
295
295
  );
296
296
  }
297
297
  return localize(
298
- 16025,
298
+ 16242,
299
299
  "Cannot uninstall extension '{0}'. Extensions '{1}', '{2}' and others depend on this.",
300
300
  extension.manifest.displayName || extension.manifest.name,
301
301
  dependents[0].manifest.displayName || dependents[0].manifest.name,
@@ -407,7 +407,7 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
407
407
  }
408
408
  const manifest = await this.extensionGalleryService.getManifest(gallery, CancellationToken.None);
409
409
  if (!manifest) {
410
- return ( new MarkdownString()).appendText(( localize(16026, "Manifest is not found")));
410
+ return ( new MarkdownString()).appendText(( localize(16243, "Manifest is not found")));
411
411
  }
412
412
  if (this.extensionManagementServerService.remoteExtensionManagementServer && (await this.extensionManagementServerService.remoteExtensionManagementServer.extensionManagementService.canInstall(gallery)) === true && this.extensionManifestPropertiesService.canExecuteOnWorkspace(manifest)) {
413
413
  return true;
@@ -416,7 +416,7 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
416
416
  return true;
417
417
  }
418
418
  return ( new MarkdownString()).appendText(( localize(
419
- 16027,
419
+ 16244,
420
420
  "Cannot install the '{0}' extension because it is not available in this setup.",
421
421
  gallery.displayName || gallery.name
422
422
  )));
@@ -432,7 +432,7 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
432
432
  return true;
433
433
  }
434
434
  return ( new MarkdownString()).appendText(( localize(
435
- 16027,
435
+ 16244,
436
436
  "Cannot install the '{0}' extension because it is not available in this setup.",
437
437
  extension.manifest.displayName ?? extension.identifier.id
438
438
  )));
@@ -469,7 +469,7 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
469
469
  const manifest = await this.extensionGalleryService.getManifest(extension, CancellationToken.None);
470
470
  if (!manifest) {
471
471
  throw ( new Error(( localize(
472
- 16028,
472
+ 16245,
473
473
  "Installing Extension {0} failed: Manifest is not found.",
474
474
  extension.displayName || extension.name
475
475
  ))));
@@ -495,7 +495,7 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
495
495
  const manifest = await this.extensionGalleryService.getManifest(extension, CancellationToken.None);
496
496
  if (!manifest) {
497
497
  throw ( new Error(( localize(
498
- 16028,
498
+ 16245,
499
499
  "Installing Extension {0} failed: Manifest is not found.",
500
500
  extension.displayName || extension.name
501
501
  ))));
@@ -544,7 +544,7 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
544
544
  const manifest = await this.extensionGalleryService.getManifest(gallery, CancellationToken.None);
545
545
  if (!manifest) {
546
546
  throw ( new Error(( localize(
547
- 16028,
547
+ 16245,
548
548
  "Installing Extension {0} failed: Manifest is not found.",
549
549
  gallery.displayName || gallery.name
550
550
  ))));
@@ -659,7 +659,7 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
659
659
  const manifest = await this.extensionGalleryService.getManifest(gallery, CancellationToken.None);
660
660
  if (!manifest) {
661
661
  return Promise.reject(( localize(
662
- 16028,
662
+ 16245,
663
663
  "Installing Extension {0} failed: Manifest is not found.",
664
664
  gallery.displayName || gallery.name
665
665
  )));
@@ -715,7 +715,7 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
715
715
  for (const server of servers) {
716
716
  if (!installableServers.includes(server)) {
717
717
  const error = ( new Error(( localize(
718
- 16029,
718
+ 16246,
719
719
  "Cannot install the '{0}' extension because it is not available in the '{1}' setup.",
720
720
  gallery.displayName || gallery.name,
721
721
  server.label
@@ -740,7 +740,7 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
740
740
  }
741
741
  if (!servers.length) {
742
742
  const error = ( new Error(( localize(
743
- 16027,
743
+ 16244,
744
744
  "Cannot install the '{0}' extension because it is not available in this setup.",
745
745
  gallery.displayName || gallery.name
746
746
  ))));
@@ -780,20 +780,20 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
780
780
  result
781
781
  } = await this.dialogService.prompt({
782
782
  type: Severity.Info,
783
- message: extensions.length === 1 ? ( localize(16030, "Install Extension")) : ( localize(16031, "Install Extensions")),
783
+ message: extensions.length === 1 ? ( localize(16247, "Install Extension")) : ( localize(16248, "Install Extensions")),
784
784
  detail: extensions.length === 1 ? ( localize(
785
- 16032,
785
+ 16249,
786
786
  "Would you like to install and synchronize '{0}' extension across your devices?",
787
787
  extensions[0].displayName
788
788
  )) : ( localize(
789
- 16033,
789
+ 16250,
790
790
  "Would you like to install and synchronize extensions across your devices?"
791
791
  )),
792
792
  buttons: [{
793
- label: ( localize(16034, "&&Install")),
793
+ label: ( localize(16251, "&&Install")),
794
794
  run: () => false
795
795
  }, {
796
- label: ( localize(16035, "Install (Do &&not sync)")),
796
+ label: ( localize(16252, "Install (Do &&not sync)")),
797
797
  run: () => true
798
798
  }],
799
799
  cancelButton: {
@@ -845,7 +845,7 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
845
845
  const manifest = await this.extensionGalleryService.getManifest(extension, CancellationToken.None);
846
846
  if (!manifest) {
847
847
  throw ( new Error(( localize(
848
- 16028,
848
+ 16245,
849
849
  "Installing Extension {0} failed: Manifest is not found.",
850
850
  extension.displayName || extension.name
851
851
  ))));
@@ -886,7 +886,7 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
886
886
  const unverfiiedPublishers = allPublishers.filter(p => !p.publisherDomain?.verified);
887
887
  const verifiedPublishers = allPublishers.filter(p => p.publisherDomain?.verified);
888
888
  const installButton = {
889
- label: allPublishers.length > 1 ? ( localize(16036, "Trust Publishers & &&Install")) : ( localize(16037, "Trust Publisher & &&Install")),
889
+ label: allPublishers.length > 1 ? ( localize(16253, "Trust Publishers & &&Install")) : ( localize(16254, "Trust Publisher & &&Install")),
890
890
  run: () => {
891
891
  this.telemetryService.publicLog2("extensions:trustPublisher", {
892
892
  action: "trust",
@@ -899,7 +899,7 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
899
899
  }
900
900
  };
901
901
  const learnMoreButton = {
902
- label: ( localize(16038, "&&Learn More")),
902
+ label: ( localize(16255, "&&Learn More")),
903
903
  run: () => {
904
904
  this.telemetryService.publicLog2("extensions:trustPublisher", {
905
905
  action: "learn",
@@ -921,16 +921,16 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
921
921
  };
922
922
  const unverifiedLink = "https://aka.ms/vscode-verify-publisher";
923
923
  const title = allPublishers.length === 1 ? ( localize(
924
- 16039,
924
+ 16256,
925
925
  "Do you trust the publisher \"{0}\"?",
926
926
  allPublishers[0].publisherDisplayName
927
927
  )) : allPublishers.length === 2 ? ( localize(
928
- 16040,
928
+ 16257,
929
929
  "Do you trust publishers \"{0}\" and \"{1}\"?",
930
930
  allPublishers[0].publisherDisplayName,
931
931
  allPublishers[1].publisherDisplayName
932
932
  )) : ( localize(
933
- 16041,
933
+ 16258,
934
934
  "Do you trust the publisher \"{0}\" and {1} others?",
935
935
  allPublishers[0].publisherDisplayName,
936
936
  allPublishers.length - 1
@@ -944,7 +944,7 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
944
944
  const manifest = untrustedExtensionManifests[0];
945
945
  if (otherUntrustedPublishers.length) {
946
946
  customMessage.appendMarkdown(( localize(
947
- 16042,
947
+ 16259,
948
948
  "The extension {0} is published by {1}.",
949
949
  `[${extension.displayName}](${extension.detailsLink})`,
950
950
  getPublisherLink(extension)
@@ -957,14 +957,14 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
957
957
  ).toString());
958
958
  if (otherUntrustedPublishers.length === 1) {
959
959
  customMessage.appendMarkdown(( localize(
960
- 16043,
960
+ 16260,
961
961
  "Installing this extension will also install [extensions]({0}) published by {1}.",
962
962
  commandUri,
963
963
  getPublisherLink(otherUntrustedPublishers[0])
964
964
  )));
965
965
  } else {
966
966
  customMessage.appendMarkdown(( localize(
967
- 16044,
967
+ 16261,
968
968
  "Installing this extension will also install [extensions]({0}) published by {1} and {2}.",
969
969
  commandUri,
970
970
  ( otherUntrustedPublishers.slice(0, otherUntrustedPublishers.length - 1).map(p => getPublisherLink(p))).join(", "),
@@ -973,12 +973,12 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
973
973
  }
974
974
  customMessage.appendMarkdown(" ");
975
975
  customMessage.appendMarkdown(( localize(
976
- 16045,
976
+ 16262,
977
977
  "This is the first time you're installing extensions from these publishers."
978
978
  )));
979
979
  } else {
980
980
  customMessage.appendMarkdown(( localize(
981
- 16046,
981
+ 16263,
982
982
  "The extension {0} is published by {1}. This is the first extension you're installing from this publisher.",
983
983
  `[${extension.displayName}](${extension.detailsLink})`,
984
984
  getPublisherLink(extension)
@@ -986,7 +986,7 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
986
986
  }
987
987
  } else {
988
988
  customMessage.appendMarkdown(( localize(
989
- 16047,
989
+ 16264,
990
990
  "This is the first time you're installing extensions from publishers {0} and {1}.",
991
991
  getPublisherLink(allPublishers[0]),
992
992
  getPublisherLink(allPublishers[allPublishers.length - 1])
@@ -996,7 +996,7 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
996
996
  for (const publisher of verifiedPublishers) {
997
997
  customMessage.appendText("\n");
998
998
  const publisherVerifiedMessage = ( localize(
999
- 16048,
999
+ 16265,
1000
1000
  "{0} has verified ownership of {1}.",
1001
1001
  getPublisherLink(publisher),
1002
1002
  `[$(link-external) ${( URI.parse(publisher.publisherDomain.link)).authority}](${publisher.publisherDomain.link})`
@@ -1007,14 +1007,14 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
1007
1007
  customMessage.appendText("\n");
1008
1008
  if (unverfiiedPublishers.length === 1) {
1009
1009
  customMessage.appendMarkdown(`$(${Codicon.unverified.id}) ${( localize(
1010
- 16049,
1010
+ 16266,
1011
1011
  "{0} is [**not** verified]({1}).",
1012
1012
  getPublisherLink(unverfiiedPublishers[0]),
1013
1013
  unverifiedLink
1014
1014
  ))}`);
1015
1015
  } else {
1016
1016
  customMessage.appendMarkdown(`$(${Codicon.unverified.id}) ${( localize(
1017
- 16050,
1017
+ 16267,
1018
1018
  "{0} and {1} are [**not** verified]({2}).",
1019
1019
  ( unverfiiedPublishers.slice(0, unverfiiedPublishers.length - 1).map(p => getPublisherLink(p))).join(", "),
1020
1020
  getPublisherLink(unverfiiedPublishers[unverfiiedPublishers.length - 1]),
@@ -1024,18 +1024,18 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
1024
1024
  }
1025
1025
  } else {
1026
1026
  customMessage.appendText("\n");
1027
- customMessage.appendMarkdown(`$(${Codicon.unverified.id}) ${( localize(16051, "All publishers are [**not** verified]({0}).", unverifiedLink))}`);
1027
+ customMessage.appendMarkdown(`$(${Codicon.unverified.id}) ${( localize(16268, "All publishers are [**not** verified]({0}).", unverifiedLink))}`);
1028
1028
  }
1029
1029
  customMessage.appendText("\n");
1030
1030
  if (allPublishers.length > 1) {
1031
1031
  customMessage.appendMarkdown(( localize(
1032
- 16052,
1032
+ 16269,
1033
1033
  "{0} has no control over the behavior of third-party extensions, including how they manage your personal data. Proceed only if you trust the publishers.",
1034
1034
  this.productService.nameLong
1035
1035
  )));
1036
1036
  } else {
1037
1037
  customMessage.appendMarkdown(( localize(
1038
- 16053,
1038
+ 16270,
1039
1039
  "{0} has no control over the behavior of third-party extensions, including how they manage your personal data. Proceed only if you trust the publisher.",
1040
1040
  this.productService.nameLong
1041
1041
  )));
@@ -1126,21 +1126,21 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
1126
1126
  if (requireTrust || this.extensionManifestPropertiesService.getExtensionUntrustedWorkspaceSupportType(manifest) === false) {
1127
1127
  const buttons = [];
1128
1128
  buttons.push({
1129
- label: ( localize(16054, "Trust Workspace & Install")),
1129
+ label: ( localize(16271, "Trust Workspace & Install")),
1130
1130
  type: "ContinueWithTrust"
1131
1131
  });
1132
1132
  if (!requireTrust) {
1133
1133
  buttons.push({
1134
- label: ( localize(16055, "Install")),
1134
+ label: ( localize(16272, "Install")),
1135
1135
  type: "ContinueWithoutTrust"
1136
1136
  });
1137
1137
  }
1138
1138
  buttons.push({
1139
- label: ( localize(16056, "Learn More")),
1139
+ label: ( localize(16273, "Learn More")),
1140
1140
  type: "Manage"
1141
1141
  });
1142
1142
  const trustState = await this.workspaceTrustRequestService.requestWorkspaceTrust({
1143
- message: ( localize(16057, "Enabling this extension requires a trusted workspace.")),
1143
+ message: ( localize(16274, "Enabling this extension requires a trusted workspace.")),
1144
1144
  buttons
1145
1145
  });
1146
1146
  if (trustState === undefined) {
@@ -1166,7 +1166,7 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
1166
1166
  throw ( new ExtensionManagementError("Not supported in Web", ExtensionManagementErrorCode.Unsupported));
1167
1167
  }
1168
1168
  }
1169
- const productName = ( localize(16058, "{0} for the Web", this.productService.nameLong));
1169
+ const productName = ( localize(16275, "{0} for the Web", this.productService.nameLong));
1170
1170
  const virtualWorkspaceSupport = this.extensionManifestPropertiesService.getExtensionVirtualWorkspaceSupportType(manifest);
1171
1171
  const virtualWorkspaceSupportReason = getWorkspaceSupportTypeMessage(manifest.capabilities?.virtualWorkspaces);
1172
1172
  const hasLimitedSupport = virtualWorkspaceSupport === "limited" || !!virtualWorkspaceSupportReason;
@@ -1174,7 +1174,7 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
1174
1174
  return;
1175
1175
  }
1176
1176
  const limitedSupportMessage = ( localize(
1177
- 16059,
1177
+ 16276,
1178
1178
  "'{0}' has limited functionality in {1}.",
1179
1179
  extension.displayName || extension.identifier.id,
1180
1180
  productName
@@ -1183,18 +1183,18 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
1183
1183
  let buttons = [];
1184
1184
  let detail;
1185
1185
  const installAnywayButton = {
1186
- label: ( localize(16060, "&&Install Anyway")),
1186
+ label: ( localize(16277, "&&Install Anyway")),
1187
1187
  run: () => {}
1188
1188
  };
1189
1189
  const showExtensionsButton = {
1190
- label: ( localize(16061, "&&Show Extensions")),
1190
+ label: ( localize(16278, "&&Show Extensions")),
1191
1191
  run: () => this.instantiationService.invokeFunction(
1192
1192
  accessor => accessor.get(ICommandService).executeCommand("extension.open", extension.identifier.id, "extensionPack")
1193
1193
  )
1194
1194
  };
1195
1195
  if (nonWebExtensions.length && hasLimitedSupport) {
1196
1196
  message = limitedSupportMessage;
1197
- detail = `${virtualWorkspaceSupportReason ? `${virtualWorkspaceSupportReason}\n` : ""}${( localize(16062, "Contains extensions which are not supported."))}`;
1197
+ detail = `${virtualWorkspaceSupportReason ? `${virtualWorkspaceSupportReason}\n` : ""}${( localize(16279, "Contains extensions which are not supported."))}`;
1198
1198
  buttons = [installAnywayButton, showExtensionsButton];
1199
1199
  } else if (hasLimitedSupport) {
1200
1200
  message = limitedSupportMessage;
@@ -1202,7 +1202,7 @@ let ExtensionManagementService = class ExtensionManagementService extends Common
1202
1202
  buttons = [installAnywayButton];
1203
1203
  } else {
1204
1204
  message = ( localize(
1205
- 16063,
1205
+ 16280,
1206
1206
  "'{0}' contains extensions which are not supported in {1}.",
1207
1207
  extension.displayName || extension.identifier.id,
1208
1208
  productName
@@ -1514,7 +1514,7 @@ let WorkspaceExtensionsManagementService = class WorkspaceExtensionsManagementSe
1514
1514
  this.uriIdentityService.extUri.joinPath(extension.location, extension.manifest.main)
1515
1515
  ))) {
1516
1516
  isValid = false;
1517
- validations.push([Severity.Error, ( localize(16064, "Cannot activate because {0} not found", extension.manifest.main))]);
1517
+ validations.push([Severity.Error, ( localize(16281, "Cannot activate because {0} not found", extension.manifest.main))]);
1518
1518
  }
1519
1519
  }
1520
1520
  return {
@@ -1538,6 +1538,7 @@ let WorkspaceExtensionsManagementService = class WorkspaceExtensionsManagementSe
1538
1538
  installedTimestamp: extension.metadata?.installedTimestamp,
1539
1539
  updated: !!extension.metadata?.updated,
1540
1540
  pinned: !!extension.metadata?.pinned,
1541
+ forceAutoUpdate: false,
1541
1542
  isWorkspaceScoped: true,
1542
1543
  private: false,
1543
1544
  source: "resource",
@@ -323,6 +323,7 @@ function toLocalExtension(extension) {
323
323
  targetPlatform: TargetPlatform.WEB,
324
324
  updated: !!metadata.updated,
325
325
  pinned: !!metadata?.pinned,
326
+ forceAutoUpdate: false,
326
327
  private: !!metadata.private,
327
328
  isWorkspaceScoped: false,
328
329
  source: metadata?.source ?? (extension.identifier.uuid ? "gallery" : "resource"),