@codingame/monaco-vscode-mcp-service-override 21.3.1 → 21.3.3

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 (26) hide show
  1. package/package.json +15 -15
  2. package/vscode/src/vs/workbench/contrib/mcp/browser/mcp.contribution.js +3 -3
  3. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpAddContextContribution.js +2 -2
  4. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpCommands.js +54 -54
  5. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpElicitationService.js +17 -17
  6. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpLanguageFeatures.js +18 -18
  7. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpMigration.js +5 -5
  8. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpResourceQuickAccess.js +7 -7
  9. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerActions.js +26 -26
  10. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerEditor.js +34 -34
  11. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerEditorInput.js +2 -2
  12. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerIcons.js +4 -4
  13. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerWidgets.js +5 -5
  14. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServersView.js +8 -8
  15. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpWorkbenchService.js +5 -5
  16. package/vscode/src/vs/workbench/contrib/mcp/common/discovery/extensionMcpDiscovery.js +3 -3
  17. package/vscode/src/vs/workbench/contrib/mcp/common/discovery/nativeMcpDiscoveryAbstract.js +1 -1
  18. package/vscode/src/vs/workbench/contrib/mcp/common/mcpContextKeys.js +4 -4
  19. package/vscode/src/vs/workbench/contrib/mcp/common/mcpLanguageModelToolContribution.js +6 -6
  20. package/vscode/src/vs/workbench/contrib/mcp/common/mcpRegistry.js +12 -12
  21. package/vscode/src/vs/workbench/contrib/mcp/common/mcpSamplingLog.js +1 -1
  22. package/vscode/src/vs/workbench/contrib/mcp/common/mcpSamplingService.js +11 -11
  23. package/vscode/src/vs/workbench/contrib/mcp/common/mcpServer.js +9 -9
  24. package/vscode/src/vs/workbench/contrib/mcp/common/mcpServerConnection.js +3 -3
  25. package/vscode/src/vs/workbench/contrib/mcp/common/mcpService.js +3 -3
  26. package/vscode/src/vs/workbench/services/authentication/browser/authenticationMcpService.js +9 -9
@@ -101,7 +101,7 @@ let McpLanguageFeatures = class McpLanguageFeatures extends Disposable {
101
101
  diagnostics.push({
102
102
  severity: MarkerSeverity.Warning,
103
103
  message: ( localize(
104
- 8339,
104
+ 8345,
105
105
  'Variable `{0}` not found, did you mean ${{1}}?',
106
106
  name,
107
107
  getClosestMatchingVariable(name) + (arg ? `:${arg}` : '')
@@ -162,14 +162,14 @@ let McpLanguageFeatures = class McpLanguageFeatures extends Disposable {
162
162
  range,
163
163
  command: {
164
164
  id: McpCommandIds.ShowOutput,
165
- title: '$(error) ' + ( localize(8340, 'Error')),
165
+ title: '$(error) ' + ( localize(8346, 'Error')),
166
166
  arguments: [server.definition.id],
167
167
  },
168
168
  }, {
169
169
  range,
170
170
  command: {
171
171
  id: McpCommandIds.RestartServer,
172
- title: ( localize(8341, "Restart")),
172
+ title: ( localize(8347, "Restart")),
173
173
  arguments: [server.definition.id, { autoTrustChanges: true }],
174
174
  },
175
175
  });
@@ -178,7 +178,7 @@ let McpLanguageFeatures = class McpLanguageFeatures extends Disposable {
178
178
  range,
179
179
  command: {
180
180
  id: McpCommandIds.RestartServer,
181
- title: ( localize(8342, "Debug")),
181
+ title: ( localize(8348, "Debug")),
182
182
  arguments: [server.definition.id, { debug: true, autoTrustChanges: true }],
183
183
  },
184
184
  });
@@ -189,14 +189,14 @@ let McpLanguageFeatures = class McpLanguageFeatures extends Disposable {
189
189
  range,
190
190
  command: {
191
191
  id: McpCommandIds.ShowOutput,
192
- title: '$(loading~spin) ' + ( localize(8343, 'Starting')),
192
+ title: '$(loading~spin) ' + ( localize(8349, 'Starting')),
193
193
  arguments: [server.definition.id],
194
194
  },
195
195
  }, {
196
196
  range,
197
197
  command: {
198
198
  id: McpCommandIds.StopServer,
199
- title: ( localize(8344, "Cancel")),
199
+ title: ( localize(8350, "Cancel")),
200
200
  arguments: [server.definition.id],
201
201
  },
202
202
  });
@@ -206,21 +206,21 @@ let McpLanguageFeatures = class McpLanguageFeatures extends Disposable {
206
206
  range,
207
207
  command: {
208
208
  id: McpCommandIds.ShowOutput,
209
- title: '$(check) ' + ( localize(8345, 'Running')),
209
+ title: '$(check) ' + ( localize(8351, 'Running')),
210
210
  arguments: [server.definition.id],
211
211
  },
212
212
  }, {
213
213
  range,
214
214
  command: {
215
215
  id: McpCommandIds.StopServer,
216
- title: ( localize(8346, "Stop")),
216
+ title: ( localize(8352, "Stop")),
217
217
  arguments: [server.definition.id],
218
218
  },
219
219
  }, {
220
220
  range,
221
221
  command: {
222
222
  id: McpCommandIds.RestartServer,
223
- title: ( localize(8341, "Restart")),
223
+ title: ( localize(8347, "Restart")),
224
224
  arguments: [server.definition.id, { autoTrustChanges: true }],
225
225
  },
226
226
  });
@@ -229,7 +229,7 @@ let McpLanguageFeatures = class McpLanguageFeatures extends Disposable {
229
229
  range,
230
230
  command: {
231
231
  id: McpCommandIds.RestartServer,
232
- title: ( localize(8342, "Debug")),
232
+ title: ( localize(8348, "Debug")),
233
233
  arguments: [server.definition.id, { autoTrustChanges: true, debug: true }],
234
234
  },
235
235
  });
@@ -240,7 +240,7 @@ let McpLanguageFeatures = class McpLanguageFeatures extends Disposable {
240
240
  range,
241
241
  command: {
242
242
  id: McpCommandIds.StartServer,
243
- title: '$(debug-start) ' + ( localize(8347, "Start")),
243
+ title: '$(debug-start) ' + ( localize(8353, "Start")),
244
244
  arguments: [server.definition.id, { autoTrustChanges: true }],
245
245
  },
246
246
  });
@@ -249,7 +249,7 @@ let McpLanguageFeatures = class McpLanguageFeatures extends Disposable {
249
249
  range,
250
250
  command: {
251
251
  id: McpCommandIds.StartServer,
252
- title: ( localize(8342, "Debug")),
252
+ title: ( localize(8348, "Debug")),
253
253
  arguments: [server.definition.id, { autoTrustChanges: true, debug: true }],
254
254
  },
255
255
  });
@@ -262,7 +262,7 @@ let McpLanguageFeatures = class McpLanguageFeatures extends Disposable {
262
262
  range,
263
263
  command: {
264
264
  id: '',
265
- title: ( localize(8348, '{0} tools', toolCount)),
265
+ title: ( localize(8354, '{0} tools', toolCount)),
266
266
  }
267
267
  });
268
268
  }
@@ -272,7 +272,7 @@ let McpLanguageFeatures = class McpLanguageFeatures extends Disposable {
272
272
  range,
273
273
  command: {
274
274
  id: McpCommandIds.StartPromptForServer,
275
- title: ( localize(8349, '{0} prompts', promptCount)),
275
+ title: ( localize(8355, '{0} prompts', promptCount)),
276
276
  arguments: [server],
277
277
  }
278
278
  });
@@ -281,7 +281,7 @@ let McpLanguageFeatures = class McpLanguageFeatures extends Disposable {
281
281
  range,
282
282
  command: {
283
283
  id: McpCommandIds.ServerOptions,
284
- title: ( localize(8350, 'More...')),
284
+ title: ( localize(8356, 'More...')),
285
285
  arguments: [server.definition.id],
286
286
  }
287
287
  });
@@ -347,9 +347,9 @@ let McpLanguageFeatures = class McpLanguageFeatures extends Disposable {
347
347
  }
348
348
  function pushAnnotation(savedId, offset, saved) {
349
349
  const tooltip = ( new MarkdownString([
350
- markdownCommandLink({ id: McpCommandIds.EditStoredInput, title: ( localize(8351, 'Edit')), arguments: [savedId, model.uri, mcpConfigurationSection, inConfig.target] }),
351
- markdownCommandLink({ id: McpCommandIds.RemoveStoredInput, title: ( localize(8352, 'Clear')), arguments: [inConfig.scope, savedId] }),
352
- markdownCommandLink({ id: McpCommandIds.RemoveStoredInput, title: ( localize(8353, 'Clear All')), arguments: [inConfig.scope] }),
350
+ markdownCommandLink({ id: McpCommandIds.EditStoredInput, title: ( localize(8357, 'Edit')), arguments: [savedId, model.uri, mcpConfigurationSection, inConfig.target] }),
351
+ markdownCommandLink({ id: McpCommandIds.RemoveStoredInput, title: ( localize(8358, 'Clear')), arguments: [inConfig.scope, savedId] }),
352
+ markdownCommandLink({ id: McpCommandIds.RemoveStoredInput, title: ( localize(8359, 'Clear All')), arguments: [inConfig.scope] }),
353
353
  ].join(' | '), { isTrusted: true }));
354
354
  const hint = {
355
355
  label: '= ' + (saved.input?.type === 'promptString' && saved.input.password ? '*'.repeat(10) : (saved.value || '')),
@@ -86,19 +86,19 @@ let McpConfigMigrationContribution = class McpConfigMigrationContribution extend
86
86
  showMcpConfigErrorNotification(isRemote) {
87
87
  const message = isRemote
88
88
  ? ( localize(
89
- 8354,
89
+ 8360,
90
90
  'MCP servers should no longer be configured in remote user settings. Use the dedicated MCP configuration instead.'
91
91
  ))
92
92
  : ( localize(
93
- 8355,
93
+ 8361,
94
94
  'MCP servers should no longer be configured in user settings. Use the dedicated MCP configuration instead.'
95
95
  ));
96
96
  const openConfigLabel = isRemote
97
- ? ( localize(8356, 'Open Remote User MCP Configuration'))
98
- : ( localize(8357, 'Open User MCP Configuration'));
97
+ ? ( localize(8362, 'Open Remote User MCP Configuration'))
98
+ : ( localize(8363, 'Open User MCP Configuration'));
99
99
  const commandId = isRemote ? McpCommandIds.OpenRemoteUserMcp : McpCommandIds.OpenUserMcp;
100
100
  this.notificationService.prompt(Severity.Error, message, [{
101
- label: ( localize(8358, 'Update Now')),
101
+ label: ( localize(8364, 'Update Now')),
102
102
  run: async () => {
103
103
  await this.migrateMcpConfig();
104
104
  await this.commandService.executeCommand(commandId);
@@ -39,7 +39,7 @@ let McpResourcePickHelper = class McpResourcePickHelper {
39
39
  id: resource.template.template,
40
40
  label: resource.title || resource.name,
41
41
  description: resource.description,
42
- detail: ( localize(8369, 'Resource template: {0}', resource.template.template)),
42
+ detail: ( localize(8375, 'Resource template: {0}', resource.template.template)),
43
43
  };
44
44
  }
45
45
  return {
@@ -117,7 +117,7 @@ let McpResourcePickHelper = class McpResourcePickHelper {
117
117
  return uri;
118
118
  }
119
119
  this._notificationService.warn(( localize(
120
- 8370,
120
+ 8376,
121
121
  "The resource {0} was not found.",
122
122
  (McpResourceURI.toServer(uri).resourceURL.toString())
123
123
  )));
@@ -158,13 +158,13 @@ let McpResourcePickHelper = class McpResourcePickHelper {
158
158
  }
159
159
  }
160
160
  let placeholder = ( localize(
161
- 8371,
161
+ 8377,
162
162
  "Value for ${0} in {1}",
163
163
  variable.name.toUpperCase(),
164
164
  rt.template.resolve(variablesWithPlaceholders).replaceAll('%24', '$')
165
165
  ));
166
166
  if (variable.optional) {
167
- placeholder += ' (' + ( localize(8372, "Optional")) + ')';
167
+ placeholder += ' (' + ( localize(8378, "Optional")) + ')';
168
168
  }
169
169
  input.placeholder = placeholder;
170
170
  input.value = '';
@@ -177,7 +177,7 @@ let McpResourcePickHelper = class McpResourcePickHelper {
177
177
  items.unshift({ id: currentID, label: value });
178
178
  }
179
179
  else if (variable.optional) {
180
- items.unshift({ id: currentID, label: ( localize(8373, "<Empty>")) });
180
+ items.unshift({ id: currentID, label: ( localize(8379, "<Empty>")) });
181
181
  }
182
182
  input.items = items;
183
183
  };
@@ -325,7 +325,7 @@ let AbstractMcpResourceAccessPick = class AbstractMcpResourceAccessPick {
325
325
  picker.canAcceptInBackground = true;
326
326
  picker.busy = true;
327
327
  picker.keepScrollPosition = true;
328
- const attachButton = ( localize(8374, "Attach to chat"));
328
+ const attachButton = ( localize(8380, "Attach to chat"));
329
329
  const helper = this._instantiationService.createInstance(McpResourcePickHelper);
330
330
  if (this._scopeTo) {
331
331
  helper.explicitServers = [this._scopeTo];
@@ -389,7 +389,7 @@ let McpResourceQuickPick = class McpResourceQuickPick extends AbstractMcpResourc
389
389
  async pick(token = CancellationToken.None) {
390
390
  const store = ( new DisposableStore());
391
391
  const qp = store.add(this._quickInputService.createQuickPick({ useSeparators: true }));
392
- qp.placeholder = ( localize(8375, "Search for resources"));
392
+ qp.placeholder = ( localize(8381, "Search for resources"));
393
393
  store.add(this.applyToPick(qp, token));
394
394
  store.add(qp.onDidHide(() => store.dispose()));
395
395
  qp.show();
@@ -92,7 +92,7 @@ let InstallAction = class InstallAction extends McpServerAction {
92
92
  static { this.CLASS = `${this.LABEL_ACTION_CLASS} prominent install`; }
93
93
  static { this.HIDE = `${this.CLASS} hide`; }
94
94
  constructor(editor, mcpWorkbenchService, telemetryService, mcpService) {
95
- super('extensions.install', ( localize(8376, "Install")), InstallAction_1.CLASS, false);
95
+ super('extensions.install', ( localize(8382, "Install")), InstallAction_1.CLASS, false);
96
96
  this.editor = editor;
97
97
  this.mcpWorkbenchService = mcpWorkbenchService;
98
98
  this.telemetryService = telemetryService;
@@ -118,7 +118,7 @@ let InstallAction = class InstallAction extends McpServerAction {
118
118
  if (!this.editor) {
119
119
  this.mcpWorkbenchService.open(this.mcpServer);
120
120
  alert(( localize(
121
- 8377,
121
+ 8383,
122
122
  "Installing MCP Server {0} started. An editor is now open with more details on this MCP Server",
123
123
  this.mcpServer.label
124
124
  )));
@@ -136,7 +136,7 @@ InstallAction = InstallAction_1 = ( __decorate([
136
136
  ( __param(3, IMcpService))
137
137
  ], InstallAction));
138
138
  class InstallingLabelAction extends McpServerAction {
139
- static { this.LABEL = ( localize(8378, "Installing")); }
139
+ static { this.LABEL = ( localize(8384, "Installing")); }
140
140
  static { this.CLASS = `${McpServerAction.LABEL_ACTION_CLASS} install installing`; }
141
141
  constructor() {
142
142
  super('extension.installing', InstallingLabelAction.LABEL, InstallingLabelAction.CLASS, false);
@@ -150,7 +150,7 @@ let UninstallAction = class UninstallAction extends McpServerAction {
150
150
  static { this.CLASS = `${this.LABEL_ACTION_CLASS} prominent uninstall`; }
151
151
  static { this.HIDE = `${this.CLASS} hide`; }
152
152
  constructor(mcpWorkbenchService) {
153
- super('extensions.uninstall', ( localize(8379, "Uninstall")), UninstallAction_1.CLASS, false);
153
+ super('extensions.uninstall', ( localize(8385, "Uninstall")), UninstallAction_1.CLASS, false);
154
154
  this.mcpWorkbenchService = mcpWorkbenchService;
155
155
  this.update();
156
156
  }
@@ -169,7 +169,7 @@ let UninstallAction = class UninstallAction extends McpServerAction {
169
169
  }
170
170
  this.class = UninstallAction_1.CLASS;
171
171
  this.enabled = true;
172
- this.label = ( localize(8379, "Uninstall"));
172
+ this.label = ( localize(8385, "Uninstall"));
173
173
  }
174
174
  async run() {
175
175
  if (!this.mcpServer) {
@@ -189,7 +189,7 @@ let ManageMcpServerAction = class ManageMcpServerAction extends DropDownAction {
189
189
  constructor(isEditorAction, instantiationService) {
190
190
  super(ManageMcpServerAction_1.ID, '', '', true, instantiationService);
191
191
  this.isEditorAction = isEditorAction;
192
- this.tooltip = ( localize(8380, "Manage"));
192
+ this.tooltip = ( localize(8386, "Manage"));
193
193
  this.update();
194
194
  }
195
195
  async getActionGroups() {
@@ -248,7 +248,7 @@ let StartServerAction = class StartServerAction extends McpServerAction {
248
248
  static { this.CLASS = `${this.LABEL_ACTION_CLASS} prominent start`; }
249
249
  static { this.HIDE = `${this.CLASS} hide`; }
250
250
  constructor(mcpService) {
251
- super('extensions.start', ( localize(8381, "Start Server")), StartServerAction_1.CLASS, false);
251
+ super('extensions.start', ( localize(8387, "Start Server")), StartServerAction_1.CLASS, false);
252
252
  this.mcpService = mcpService;
253
253
  this.update();
254
254
  }
@@ -265,7 +265,7 @@ let StartServerAction = class StartServerAction extends McpServerAction {
265
265
  }
266
266
  this.class = StartServerAction_1.CLASS;
267
267
  this.enabled = true;
268
- this.label = ( localize(8381, "Start Server"));
268
+ this.label = ( localize(8387, "Start Server"));
269
269
  }
270
270
  async run() {
271
271
  const server = this.getServer();
@@ -293,7 +293,7 @@ let StopServerAction = class StopServerAction extends McpServerAction {
293
293
  static { this.CLASS = `${this.LABEL_ACTION_CLASS} prominent stop`; }
294
294
  static { this.HIDE = `${this.CLASS} hide`; }
295
295
  constructor(mcpService) {
296
- super('extensions.stop', ( localize(8382, "Stop Server")), StopServerAction_1.CLASS, false);
296
+ super('extensions.stop', ( localize(8388, "Stop Server")), StopServerAction_1.CLASS, false);
297
297
  this.mcpService = mcpService;
298
298
  this.update();
299
299
  }
@@ -310,7 +310,7 @@ let StopServerAction = class StopServerAction extends McpServerAction {
310
310
  }
311
311
  this.class = StopServerAction_1.CLASS;
312
312
  this.enabled = true;
313
- this.label = ( localize(8382, "Stop Server"));
313
+ this.label = ( localize(8388, "Stop Server"));
314
314
  }
315
315
  async run() {
316
316
  const server = this.getServer();
@@ -337,7 +337,7 @@ let RestartServerAction = class RestartServerAction extends McpServerAction {
337
337
  static { this.CLASS = `${this.LABEL_ACTION_CLASS} prominent restart`; }
338
338
  static { this.HIDE = `${this.CLASS} hide`; }
339
339
  constructor(mcpService) {
340
- super('extensions.restart', ( localize(8383, "Restart Server")), RestartServerAction_1.CLASS, false);
340
+ super('extensions.restart', ( localize(8389, "Restart Server")), RestartServerAction_1.CLASS, false);
341
341
  this.mcpService = mcpService;
342
342
  this.update();
343
343
  }
@@ -354,7 +354,7 @@ let RestartServerAction = class RestartServerAction extends McpServerAction {
354
354
  }
355
355
  this.class = RestartServerAction_1.CLASS;
356
356
  this.enabled = true;
357
- this.label = ( localize(8383, "Restart Server"));
357
+ this.label = ( localize(8389, "Restart Server"));
358
358
  }
359
359
  async run() {
360
360
  const server = this.getServer();
@@ -382,10 +382,10 @@ let AuthServerAction = class AuthServerAction extends McpServerAction {
382
382
  static { AuthServerAction_1 = this; }
383
383
  static { this.CLASS = `${this.LABEL_ACTION_CLASS} prominent account`; }
384
384
  static { this.HIDE = `${this.CLASS} hide`; }
385
- static { this.SIGN_OUT = ( localize(8384, 'Sign Out')); }
386
- static { this.DISCONNECT = ( localize(8385, 'Disconnect Account')); }
385
+ static { this.SIGN_OUT = ( localize(8390, 'Sign Out')); }
386
+ static { this.DISCONNECT = ( localize(8391, 'Disconnect Account')); }
387
387
  constructor(mcpService, _authenticationQueryService, _authenticationService) {
388
- super('extensions.restart', ( localize(8383, "Restart Server")), RestartServerAction.CLASS, false);
388
+ super('extensions.restart', ( localize(8389, "Restart Server")), RestartServerAction.CLASS, false);
389
389
  this.mcpService = mcpService;
390
390
  this._authenticationQueryService = _authenticationQueryService;
391
391
  this._authenticationService = _authenticationService;
@@ -474,7 +474,7 @@ let ShowServerOutputAction = class ShowServerOutputAction extends McpServerActio
474
474
  static { this.CLASS = `${this.LABEL_ACTION_CLASS} prominent output`; }
475
475
  static { this.HIDE = `${this.CLASS} hide`; }
476
476
  constructor(mcpService) {
477
- super('extensions.output', ( localize(8386, "Show Output")), ShowServerOutputAction_1.CLASS, false);
477
+ super('extensions.output', ( localize(8392, "Show Output")), ShowServerOutputAction_1.CLASS, false);
478
478
  this.mcpService = mcpService;
479
479
  this.update();
480
480
  }
@@ -487,7 +487,7 @@ let ShowServerOutputAction = class ShowServerOutputAction extends McpServerActio
487
487
  }
488
488
  this.class = ShowServerOutputAction_1.CLASS;
489
489
  this.enabled = true;
490
- this.label = ( localize(8386, "Show Output"));
490
+ this.label = ( localize(8392, "Show Output"));
491
491
  }
492
492
  async run() {
493
493
  const server = this.getServer();
@@ -514,7 +514,7 @@ let ShowServerConfigurationAction = class ShowServerConfigurationAction extends
514
514
  static { this.CLASS = `${this.LABEL_ACTION_CLASS} prominent config`; }
515
515
  static { this.HIDE = `${this.CLASS} hide`; }
516
516
  constructor(mcpWorkbenchService) {
517
- super('extensions.config', ( localize(8387, "Show Configuration")), ShowServerConfigurationAction_1.CLASS, false);
517
+ super('extensions.config', ( localize(8393, "Show Configuration")), ShowServerConfigurationAction_1.CLASS, false);
518
518
  this.mcpWorkbenchService = mcpWorkbenchService;
519
519
  this.update();
520
520
  }
@@ -542,7 +542,7 @@ let ShowServerJsonConfigurationAction = class ShowServerJsonConfigurationAction
542
542
  static { this.CLASS = `${this.LABEL_ACTION_CLASS} prominent config`; }
543
543
  static { this.HIDE = `${this.CLASS} hide`; }
544
544
  constructor(mcpService, mcpRegistry, editorService) {
545
- super('extensions.jsonConfig', ( localize(8388, "Show Configuration (JSON)")), ShowServerJsonConfigurationAction_1.CLASS, false);
545
+ super('extensions.jsonConfig', ( localize(8394, "Show Configuration (JSON)")), ShowServerJsonConfigurationAction_1.CLASS, false);
546
546
  this.mcpService = mcpService;
547
547
  this.mcpRegistry = mcpRegistry;
548
548
  this.editorService = editorService;
@@ -594,7 +594,7 @@ let ConfigureModelAccessAction = class ConfigureModelAccessAction extends McpSer
594
594
  static { this.CLASS = `${this.LABEL_ACTION_CLASS} prominent config`; }
595
595
  static { this.HIDE = `${this.CLASS} hide`; }
596
596
  constructor(mcpService, commandService) {
597
- super('extensions.config', ( localize(8389, 'Configure Model Access')), ConfigureModelAccessAction_1.CLASS, false);
597
+ super('extensions.config', ( localize(8395, 'Configure Model Access')), ConfigureModelAccessAction_1.CLASS, false);
598
598
  this.mcpService = mcpService;
599
599
  this.commandService = commandService;
600
600
  this.update();
@@ -608,7 +608,7 @@ let ConfigureModelAccessAction = class ConfigureModelAccessAction extends McpSer
608
608
  }
609
609
  this.class = ConfigureModelAccessAction_1.CLASS;
610
610
  this.enabled = true;
611
- this.label = ( localize(8389, 'Configure Model Access'));
611
+ this.label = ( localize(8395, 'Configure Model Access'));
612
612
  }
613
613
  async run() {
614
614
  const server = this.getServer();
@@ -636,7 +636,7 @@ let ShowSamplingRequestsAction = class ShowSamplingRequestsAction extends McpSer
636
636
  static { this.CLASS = `${this.LABEL_ACTION_CLASS} prominent config`; }
637
637
  static { this.HIDE = `${this.CLASS} hide`; }
638
638
  constructor(mcpService, samplingService, editorService) {
639
- super('extensions.config', ( localize(8390, 'Show Sampling Requests')), ShowSamplingRequestsAction_1.CLASS, false);
639
+ super('extensions.config', ( localize(8396, 'Show Sampling Requests')), ShowSamplingRequestsAction_1.CLASS, false);
640
640
  this.mcpService = mcpService;
641
641
  this.samplingService = samplingService;
642
642
  this.editorService = editorService;
@@ -666,7 +666,7 @@ let ShowSamplingRequestsAction = class ShowSamplingRequestsAction extends McpSer
666
666
  this.editorService.openEditor({
667
667
  resource: undefined,
668
668
  contents: this.samplingService.getLogText(server),
669
- label: ( localize(8391, 'MCP Sampling: {0}', server.definition.label)),
669
+ label: ( localize(8397, 'MCP Sampling: {0}', server.definition.label)),
670
670
  });
671
671
  }
672
672
  getServer() {
@@ -689,7 +689,7 @@ let BrowseResourcesAction = class BrowseResourcesAction extends McpServerAction
689
689
  static { this.CLASS = `${this.LABEL_ACTION_CLASS} prominent config`; }
690
690
  static { this.HIDE = `${this.CLASS} hide`; }
691
691
  constructor(mcpService, commandService) {
692
- super('extensions.config', ( localize(8392, 'Browse Resources')), BrowseResourcesAction_1.CLASS, false);
692
+ super('extensions.config', ( localize(8398, 'Browse Resources')), BrowseResourcesAction_1.CLASS, false);
693
693
  this.mcpService = mcpService;
694
694
  this.commandService = commandService;
695
695
  this.update();
@@ -769,14 +769,14 @@ let McpServerStatusAction = class McpServerStatusAction extends McpServerAction
769
769
  )).toString());
770
770
  if (this.configurationService.getValue(mcpAccessConfig) === McpAccessValue.None) {
771
771
  this.updateStatus({ icon: warningIcon, message: ( new MarkdownString(( localize(
772
- 8393,
772
+ 8399,
773
773
  "This MCP Server is disabled because MCP servers are configured to be disabled in the Editor. Please check your [settings]({0}).",
774
774
  settingsCommandLink
775
775
  )))) }, true);
776
776
  }
777
777
  else {
778
778
  this.updateStatus({ icon: warningIcon, message: ( new MarkdownString(( localize(
779
- 8394,
779
+ 8400,
780
780
  "This MCP Server is disabled because it is configured to be disabled in the Editor. Please check your [settings]({0}).",
781
781
  settingsCommandLink
782
782
  )))) }, true);