@codingame/monaco-vscode-mcp-service-override 27.0.0 → 28.0.1

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 (39) hide show
  1. package/package.json +2 -2
  2. package/vscode/src/vs/platform/mcp/common/allowedMcpServersService.js +1 -1
  3. package/vscode/src/vs/platform/mcp/common/mcpGalleryService.js +2 -2
  4. package/vscode/src/vs/platform/mcp/common/mcpResourceScannerService.d.ts +1 -0
  5. package/vscode/src/vs/platform/mcp/common/mcpResourceScannerService.js +8 -7
  6. package/vscode/src/vs/workbench/contrib/mcp/browser/mcp.contribution.js +3 -3
  7. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpAddContextContribution.js +2 -2
  8. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpCommands.js +58 -58
  9. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpElicitationService.js +24 -24
  10. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpGatewayService.d.ts +3 -1
  11. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpGatewayService.js +20 -3
  12. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpGatewayToolBrokerContribution.d.ts +2 -1
  13. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpGatewayToolBrokerContribution.js +4 -3
  14. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpLanguageFeatures.js +18 -18
  15. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpMigration.js +4 -4
  16. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpResourceQuickAccess.js +8 -8
  17. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServersView.js +17 -17
  18. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpWorkbenchService.js +8 -8
  19. package/vscode/src/vs/workbench/contrib/mcp/common/discovery/extensionMcpDiscovery.js +4 -4
  20. package/vscode/src/vs/workbench/contrib/mcp/common/discovery/installedMcpServersDiscovery.js +2 -2
  21. package/vscode/src/vs/workbench/contrib/mcp/common/discovery/nativeMcpDiscoveryAbstract.js +1 -1
  22. package/vscode/src/vs/workbench/contrib/mcp/common/discovery/nativeMcpDiscoveryAdapters.js +2 -1
  23. package/vscode/src/vs/workbench/contrib/mcp/common/discovery/pluginMcpDiscovery.js +3 -3
  24. package/vscode/src/vs/workbench/contrib/mcp/common/mcpContextKeys.js +4 -4
  25. package/vscode/src/vs/workbench/contrib/mcp/common/mcpGatewayToolBrokerChannel.d.ts +17 -1
  26. package/vscode/src/vs/workbench/contrib/mcp/common/mcpGatewayToolBrokerChannel.js +121 -21
  27. package/vscode/src/vs/workbench/contrib/mcp/common/mcpLanguageModelToolContribution.js +6 -6
  28. package/vscode/src/vs/workbench/contrib/mcp/common/mcpRegistry.d.ts +5 -1
  29. package/vscode/src/vs/workbench/contrib/mcp/common/mcpRegistry.js +29 -15
  30. package/vscode/src/vs/workbench/contrib/mcp/common/mcpSamplingLog.js +1 -1
  31. package/vscode/src/vs/workbench/contrib/mcp/common/mcpSamplingService.d.ts +1 -0
  32. package/vscode/src/vs/workbench/contrib/mcp/common/mcpSamplingService.js +28 -18
  33. package/vscode/src/vs/workbench/contrib/mcp/common/mcpSandboxService.d.ts +15 -2
  34. package/vscode/src/vs/workbench/contrib/mcp/common/mcpSandboxService.js +174 -22
  35. package/vscode/src/vs/workbench/contrib/mcp/common/mcpServerConnection.d.ts +6 -1
  36. package/vscode/src/vs/workbench/contrib/mcp/common/mcpServerConnection.js +61 -3
  37. package/vscode/src/vs/workbench/contrib/mcp/common/mcpServerRequestHandler.d.ts +3 -2
  38. package/vscode/src/vs/workbench/contrib/mcp/common/mcpServerRequestHandler.js +7 -3
  39. package/vscode/src/vs/workbench/services/authentication/browser/authenticationMcpService.js +9 -9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-mcp-service-override",
3
- "version": "27.0.0",
3
+ "version": "28.0.1",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - mcp service-override",
6
6
  "keywords": [],
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-api": "27.0.0"
18
+ "@codingame/monaco-vscode-api": "28.0.1"
19
19
  },
20
20
  "main": "index.js",
21
21
  "module": "index.js",
@@ -27,7 +27,7 @@ let AllowedMcpServersService = class AllowedMcpServersService extends Disposable
27
27
  query: `@id:${mcpAccessConfig}`
28
28
  }).toString());
29
29
  return (new MarkdownString(localize(
30
- 2033,
30
+ 2035,
31
31
  "Model Context Protocol servers are disabled in the Editor. Please check your [settings]({0}).",
32
32
  settingsCommandLink
33
33
  )));
@@ -456,7 +456,7 @@ let McpGalleryService = class McpGalleryService extends Disposable {
456
456
  async getReadme(gallery, token) {
457
457
  const readmeUrl = gallery.readmeUrl;
458
458
  if (!readmeUrl) {
459
- return Promise.resolve(( localize(2034, "No README available")));
459
+ return Promise.resolve(( localize(2036, "No README available")));
460
460
  }
461
461
  const uri = ( URI.parse(readmeUrl));
462
462
  if (uri.scheme === Schemas.file) {
@@ -468,7 +468,7 @@ let McpGalleryService = class McpGalleryService extends Disposable {
468
468
  }
469
469
  }
470
470
  if (uri.authority !== "raw.githubusercontent.com") {
471
- return ( new MarkdownString(( localize(2035, "You can find information about this server [here]({0})", readmeUrl)))).value;
471
+ return ( new MarkdownString(( localize(2037, "You can find information about this server [here]({0})", readmeUrl)))).value;
472
472
  }
473
473
  const context = await this.requestService.request({
474
474
  type: "GET",
@@ -22,6 +22,7 @@ export declare class McpResourceScannerService extends Disposable implements IMc
22
22
  constructor(fileService: IFileService, uriIdentityService: IUriIdentityService);
23
23
  scanMcpServers(mcpResource: URI, target?: McpResourceTarget): Promise<IScannedMcpServers>;
24
24
  addMcpServers(servers: IInstallableMcpServer[], mcpResource: URI, target?: McpResourceTarget): Promise<void>;
25
+ updateSandboxConfig(updateFn: (data: IScannedMcpServers) => IScannedMcpServers, mcpResource: URI, target?: McpResourceTarget): Promise<void>;
25
26
  removeMcpServers(serverNames: string[], mcpResource: URI, target?: McpResourceTarget): Promise<void>;
26
27
  private withProfileMcpServers;
27
28
  private writeScannedMcpServers;
@@ -47,6 +47,9 @@ let McpResourceScannerService = class McpResourceScannerService extends Disposab
47
47
  };
48
48
  });
49
49
  }
50
+ async updateSandboxConfig(updateFn, mcpResource, target) {
51
+ await this.withProfileMcpServers(mcpResource, target, updateFn);
52
+ }
50
53
  async removeMcpServers(serverNames, mcpResource, target) {
51
54
  await this.withProfileMcpServers(mcpResource, target, scannedMcpServers => {
52
55
  for (const serverName of serverNames) {
@@ -102,7 +105,7 @@ let McpResourceScannerService = class McpResourceScannerService extends Disposab
102
105
  });
103
106
  }
104
107
  async writeScannedMcpServers(mcpResource, scannedMcpServers) {
105
- if ((scannedMcpServers.servers && ( Object.keys(scannedMcpServers.servers)).length > 0) || (scannedMcpServers.inputs && scannedMcpServers.inputs.length > 0)) {
108
+ if ((scannedMcpServers.servers && ( Object.keys(scannedMcpServers.servers)).length > 0) || (scannedMcpServers.inputs && scannedMcpServers.inputs.length > 0) || scannedMcpServers.sandbox !== undefined) {
106
109
  await this.fileService.writeFile(
107
110
  mcpResource,
108
111
  VSBuffer.fromString(JSON.stringify(scannedMcpServers, null, "\t"))
@@ -155,7 +158,7 @@ let McpResourceScannerService = class McpResourceScannerService extends Disposab
155
158
  if (servers.length > 0) {
156
159
  userMcpServers.servers = {};
157
160
  for (const [serverName, server] of servers) {
158
- userMcpServers.servers[serverName] = this.sanitizeServer(server, scannedMcpServers.sandbox);
161
+ userMcpServers.servers[serverName] = this.sanitizeServer(server);
159
162
  }
160
163
  }
161
164
  return userMcpServers;
@@ -169,12 +172,13 @@ let McpResourceScannerService = class McpResourceScannerService extends Disposab
169
172
  if (servers.length > 0) {
170
173
  scannedMcpServers.servers = {};
171
174
  for (const [serverName, config] of servers) {
172
- scannedMcpServers.servers[serverName] = this.sanitizeServer(config, scannedWorkspaceFolderMcpServers.sandbox);
175
+ const serverConfig = this.sanitizeServer(config);
176
+ scannedMcpServers.servers[serverName] = serverConfig;
173
177
  }
174
178
  }
175
179
  return scannedMcpServers;
176
180
  }
177
- sanitizeServer(serverOrConfig, sandbox) {
181
+ sanitizeServer(serverOrConfig) {
178
182
  let server;
179
183
  if (serverOrConfig.config) {
180
184
  const oldScannedMcpServer = serverOrConfig;
@@ -189,9 +193,6 @@ let McpResourceScannerService = class McpResourceScannerService extends Disposab
189
193
  if (server.type === undefined || (server.type !== McpServerType.REMOTE && server.type !== McpServerType.LOCAL)) {
190
194
  server.type = server.command ? McpServerType.LOCAL : McpServerType.REMOTE;
191
195
  }
192
- if (sandbox && server.type === McpServerType.LOCAL && !server.sandbox && server.sandboxEnabled) {
193
- server.sandbox = sandbox;
194
- }
195
196
  return server;
196
197
  }
197
198
  getResourceAccessQueue(file) {
@@ -115,16 +115,16 @@ registerWorkbenchContribution2(
115
115
  const jsonRegistry = ( Registry.as(Extensions.JSONContribution));
116
116
  jsonRegistry.registerSchema(mcpSchemaId, mcpServerSchema);
117
117
  ( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(
118
- EditorPaneDescriptor.create(McpServerEditor, McpServerEditor.ID, ( localize(9908, "MCP Server"))),
118
+ EditorPaneDescriptor.create(McpServerEditor, McpServerEditor.ID, ( localize(10094, "MCP Server"))),
119
119
  [( new SyncDescriptor(McpServerEditorInput))]
120
120
  );
121
121
  ( Registry.as(Extensions$1.Quickaccess)).registerQuickAccessProvider({
122
122
  ctor: McpResourceQuickAccess,
123
123
  prefix: McpResourceQuickAccess.PREFIX,
124
124
  when: ChatContextKeys.enabled,
125
- placeholder: ( localize(9909, "Filter to an MCP resource")),
125
+ placeholder: ( localize(10095, "Filter to an MCP resource")),
126
126
  helpEntries: [{
127
- description: ( localize(9910, "MCP Server Resources")),
127
+ description: ( localize(10096, "MCP Server Resources")),
128
128
  commandId: McpCommandIds.AddConfiguration
129
129
  }]
130
130
  });
@@ -43,7 +43,7 @@ let McpAddContextContribution = class McpAddContextContribution extends Disposab
43
43
  _registerAddContextMenu() {
44
44
  this._addContextMenu.value = this._chatContextPickService.registerChatContextItem({
45
45
  type: "pickerPick",
46
- label: ( localize(9911, "MCP Resources...")),
46
+ label: ( localize(10097, "MCP Resources...")),
47
47
  icon: Codicon.mcp,
48
48
  isEnabled(widget) {
49
49
  return !!widget.attachmentCapabilities.supportsMCPAttachments;
@@ -51,7 +51,7 @@ let McpAddContextContribution = class McpAddContextContribution extends Disposab
51
51
  asPicker: () => {
52
52
  const helper = this._instantiationService.createInstance(McpResourcePickHelper);
53
53
  return {
54
- placeholder: ( localize(9912, "Select MCP Resource...")),
54
+ placeholder: ( localize(10098, "Select MCP Resource...")),
55
55
  picks: (_query, token) => this._getResourcePicks(token, helper),
56
56
  goBack: () => {
57
57
  return helper.navigateBack();
@@ -78,7 +78,7 @@ class ListMcpServerCommand extends Action2 {
78
78
  constructor() {
79
79
  super({
80
80
  id: McpCommandIds.ListServer,
81
- title: ( localize2(9913, "List Servers")),
81
+ title: ( localize2(10099, "List Servers")),
82
82
  icon: Codicon.server,
83
83
  category,
84
84
  f1: true,
@@ -99,7 +99,7 @@ class ListMcpServerCommand extends Action2 {
99
99
  const pick = quickInput.createQuickPick({
100
100
  useSeparators: true
101
101
  });
102
- pick.placeholder = ( localize(9914, "Select an MCP Server"));
102
+ pick.placeholder = ( localize(10100, "Select an MCP Server"));
103
103
  mcpService.activateCollections();
104
104
  store.add(pick);
105
105
  store.add(autorun(reader => {
@@ -109,8 +109,8 @@ class ListMcpServerCommand extends Action2 {
109
109
  const firstRun = pick.items.length === 0;
110
110
  pick.items = [{
111
111
  id: "$add",
112
- label: ( localize(9915, "Add Server")),
113
- description: ( localize(9916, "Add a new server configuration")),
112
+ label: ( localize(10101, "Add Server")),
113
+ description: ( localize(10102, "Add a new server configuration")),
114
114
  alwaysShow: true,
115
115
  iconClass: ThemeIcon.asClassName(Codicon.add)
116
116
  }, ...( Object.values(servers)).filter(s => s.length).flatMap(servers => [{
@@ -148,7 +148,7 @@ class McpConfirmationServerOptionsCommand extends Action2 {
148
148
  constructor() {
149
149
  super({
150
150
  id: McpCommandIds.ServerOptionsInConfirmation,
151
- title: ( localize2(9917, "Server Options")),
151
+ title: ( localize2(10103, "Server Options")),
152
152
  category,
153
153
  icon: Codicon.settingsGear,
154
154
  f1: false,
@@ -179,7 +179,7 @@ class McpServerOptionsCommand extends Action2 {
179
179
  constructor() {
180
180
  super({
181
181
  id: McpCommandIds.ServerOptions,
182
- title: ( localize2(9917, "Server Options")),
182
+ title: ( localize2(10103, "Server Options")),
183
183
  category,
184
184
  f1: false
185
185
  });
@@ -203,20 +203,20 @@ class McpServerOptionsCommand extends Action2 {
203
203
  const serverState = server.connectionState.get();
204
204
  items.push({
205
205
  type: "separator",
206
- label: ( localize(9918, "Status"))
206
+ label: ( localize(10104, "Status"))
207
207
  });
208
208
  if (McpConnectionState.canBeStarted(serverState.state)) {
209
209
  items.push({
210
- label: ( localize(9919, "Start Server")),
210
+ label: ( localize(10105, "Start Server")),
211
211
  action: "start"
212
212
  });
213
213
  } else {
214
214
  items.push({
215
- label: ( localize(9920, "Stop Server")),
215
+ label: ( localize(10106, "Stop Server")),
216
216
  action: "stop"
217
217
  });
218
218
  items.push({
219
- label: ( localize(9921, "Restart Server")),
219
+ label: ( localize(10107, "Restart Server")),
220
220
  action: "restart"
221
221
  });
222
222
  }
@@ -224,26 +224,26 @@ class McpServerOptionsCommand extends Action2 {
224
224
  const configTarget = serverDefinition?.presentation?.origin || collection?.presentation?.origin;
225
225
  if (configTarget) {
226
226
  items.push({
227
- label: ( localize(9922, "Show Configuration")),
227
+ label: ( localize(10108, "Show Configuration")),
228
228
  action: "config"
229
229
  });
230
230
  }
231
231
  items.push({
232
- label: ( localize(9923, "Show Output")),
232
+ label: ( localize(10109, "Show Output")),
233
233
  action: "showOutput"
234
234
  });
235
235
  items.push({
236
236
  type: "separator",
237
- label: ( localize(9924, "Sampling"))
237
+ label: ( localize(10110, "Sampling"))
238
238
  }, {
239
- label: ( localize(9925, "Configure Model Access")),
240
- description: ( localize(9926, "Set the models the server can use via MCP sampling")),
239
+ label: ( localize(10111, "Configure Model Access")),
240
+ description: ( localize(10112, "Set the models the server can use via MCP sampling")),
241
241
  action: "configSampling"
242
242
  });
243
243
  if (samplingService.hasLogs(server)) {
244
244
  items.push({
245
- label: ( localize(9927, "Show Sampling Requests")),
246
- description: ( localize(9928, "Show the sampling requests for this server")),
245
+ label: ( localize(10113, "Show Sampling Requests")),
246
+ description: ( localize(10114, "Show the sampling requests for this server")),
247
247
  action: "samplingLog"
248
248
  });
249
249
  }
@@ -251,15 +251,15 @@ class McpServerOptionsCommand extends Action2 {
251
251
  if (capabilities === undefined || (capabilities & McpCapability.Resources)) {
252
252
  items.push({
253
253
  type: "separator",
254
- label: ( localize(9929, "Resources"))
254
+ label: ( localize(10115, "Resources"))
255
255
  });
256
256
  items.push({
257
- label: ( localize(9930, "Browse Resources")),
257
+ label: ( localize(10116, "Browse Resources")),
258
258
  action: "resources"
259
259
  });
260
260
  }
261
261
  const pick = await quickInputService.pick(items, {
262
- placeHolder: ( localize(9931, "Select action for '{0}'", server.definition.label))
262
+ placeHolder: ( localize(10117, "Select action for '{0}'", server.definition.label))
263
263
  });
264
264
  if (!pick) {
265
265
  return;
@@ -307,7 +307,7 @@ class McpServerOptionsCommand extends Action2 {
307
307
  editorService.openEditor({
308
308
  resource: undefined,
309
309
  contents: samplingService.getLogText(server),
310
- label: ( localize(9932, "MCP Sampling: {0}", server.definition.label))
310
+ label: ( localize(10118, "MCP Sampling: {0}", server.definition.label))
311
311
  });
312
312
  break;
313
313
  default:
@@ -324,14 +324,14 @@ class McpServerOptionsCommand extends Action2 {
324
324
  if (accountQuery.entities().getEntityCount().total > 1) {
325
325
  result.push({
326
326
  action: "disconnect",
327
- label: ( localize(9933, "Disconnect Account")),
327
+ label: ( localize(10119, "Disconnect Account")),
328
328
  description: `(${accountName})`,
329
329
  accountQuery
330
330
  });
331
331
  } else {
332
332
  result.push({
333
333
  action: "signout",
334
- label: ( localize(9934, "Sign Out")),
334
+ label: ( localize(10120, "Sign Out")),
335
335
  description: `(${accountName})`,
336
336
  accountQuery
337
337
  });
@@ -506,17 +506,17 @@ let MCPServerActionRendering = class MCPServerActionRendering extends Disposable
506
506
  let markdown;
507
507
  if (state === DisplayedState.NewTools) {
508
508
  markdown = ( new MarkdownString(single ? ( localize(
509
- 9935,
509
+ 10121,
510
510
  "MCP server {0} has been updated and may have new tools available.",
511
511
  names
512
512
  )) : ( localize(
513
- 9936,
513
+ 10122,
514
514
  "MCP servers have been updated and may have new tools available:\n\n{0}",
515
515
  names
516
516
  ))));
517
517
  } else if (state === DisplayedState.Error) {
518
- markdown = ( new MarkdownString(single ? ( localize(9937, "MCP server {0} was unable to start successfully.", names)) : ( localize(
519
- 9938,
518
+ markdown = ( new MarkdownString(single ? ( localize(10123, "MCP server {0} was unable to start successfully.", names)) : ( localize(
519
+ 10124,
520
520
  "Multiple MCP servers were unable to start successfully:\n\n{0}",
521
521
  names
522
522
  ))));
@@ -543,7 +543,7 @@ let MCPServerActionRendering = class MCPServerActionRendering extends Disposable
543
543
  const divider = $("hr.mcp-hover-divider");
544
544
  container.appendChild(divider);
545
545
  const checkboxContainer = $("div.mcp-hover-setting");
546
- const settingLabelStr = ( localize(9939, "Automatically start MCP servers when sending a chat message"));
546
+ const settingLabelStr = ( localize(10125, "Automatically start MCP servers when sending a chat message"));
547
547
  const checkbox = store.add(( new Checkbox(settingLabelStr, config.get() !== McpAutoStartValue.Never, {
548
548
  ...defaultCheckboxStyles
549
549
  })));
@@ -571,11 +571,11 @@ let MCPServerActionRendering = class MCPServerActionRendering extends Disposable
571
571
  } = displayedStateCurrent.get()
572
572
  ) {
573
573
  if (state === DisplayedState.NewTools) {
574
- return localize(9940, "New tools available ({0})", servers.length || 1);
574
+ return localize(10126, "New tools available ({0})", servers.length || 1);
575
575
  } else if (state === DisplayedState.Error) {
576
- return localize(9941, "Error loading {0} tool(s)", servers.length || 1);
576
+ return localize(10127, "Error loading {0} tool(s)", servers.length || 1);
577
577
  } else if (state === DisplayedState.Refreshing) {
578
- return localize(9942, "Discovering tools...");
578
+ return localize(10128, "Discovering tools...");
579
579
  } else {
580
580
  return null;
581
581
  }
@@ -593,7 +593,7 @@ class ResetMcpTrustCommand extends Action2 {
593
593
  constructor() {
594
594
  super({
595
595
  id: McpCommandIds.ResetTrust,
596
- title: ( localize2(9943, "Reset Trust")),
596
+ title: ( localize2(10129, "Reset Trust")),
597
597
  category,
598
598
  f1: true,
599
599
  precondition: ( ContextKeyExpr.and(McpContextKeys.toolsCount.greater(0), ( ChatContextKeys.Setup.hidden.negate())))
@@ -608,7 +608,7 @@ class ResetMcpCachedTools extends Action2 {
608
608
  constructor() {
609
609
  super({
610
610
  id: McpCommandIds.ResetCachedTools,
611
- title: ( localize2(9944, "Reset Cached Tools")),
611
+ title: ( localize2(10130, "Reset Cached Tools")),
612
612
  category,
613
613
  f1: true,
614
614
  precondition: ( ContextKeyExpr.and(McpContextKeys.toolsCount.greater(0), ( ChatContextKeys.Setup.hidden.negate())))
@@ -623,9 +623,9 @@ class AddConfigurationAction extends Action2 {
623
623
  constructor() {
624
624
  super({
625
625
  id: McpCommandIds.AddConfiguration,
626
- title: ( localize2(9945, "Add Server...")),
626
+ title: ( localize2(10131, "Add Server...")),
627
627
  metadata: {
628
- description: ( localize2(9946, "Installs a new Model Context protocol to the mcp.json settings"))
628
+ description: ( localize2(10132, "Installs a new Model Context protocol to the mcp.json settings"))
629
629
  },
630
630
  category,
631
631
  f1: true,
@@ -647,9 +647,9 @@ class InstallFromManifestAction extends Action2 {
647
647
  constructor() {
648
648
  super({
649
649
  id: McpCommandIds.InstallFromManifest,
650
- title: ( localize2(9947, "Install Server from Manifest...")),
650
+ title: ( localize2(10133, "Install Server from Manifest...")),
651
651
  metadata: {
652
- description: ( localize2(9948, "Install an MCP server from a JSON manifest file"))
652
+ description: ( localize2(10134, "Install an MCP server from a JSON manifest file"))
653
653
  },
654
654
  category,
655
655
  f1: true,
@@ -665,7 +665,7 @@ class RemoveStoredInput extends Action2 {
665
665
  constructor() {
666
666
  super({
667
667
  id: McpCommandIds.RemoveStoredInput,
668
- title: ( localize2(9944, "Reset Cached Tools")),
668
+ title: ( localize2(10130, "Reset Cached Tools")),
669
669
  category,
670
670
  f1: false
671
671
  });
@@ -678,7 +678,7 @@ class EditStoredInput extends Action2 {
678
678
  constructor() {
679
679
  super({
680
680
  id: McpCommandIds.EditStoredInput,
681
- title: ( localize2(9949, "Edit Stored Input")),
681
+ title: ( localize2(10135, "Edit Stored Input")),
682
682
  category,
683
683
  f1: false
684
684
  });
@@ -692,7 +692,7 @@ class ShowConfiguration extends Action2 {
692
692
  constructor() {
693
693
  super({
694
694
  id: McpCommandIds.ShowConfiguration,
695
- title: ( localize2(9950, "Show Configuration")),
695
+ title: ( localize2(10136, "Show Configuration")),
696
696
  category,
697
697
  f1: false
698
698
  });
@@ -722,7 +722,7 @@ class ShowOutput extends Action2 {
722
722
  constructor() {
723
723
  super({
724
724
  id: McpCommandIds.ShowOutput,
725
- title: ( localize2(9951, "Show Output")),
725
+ title: ( localize2(10137, "Show Output")),
726
726
  category,
727
727
  f1: false
728
728
  });
@@ -735,7 +735,7 @@ class RestartServer extends Action2 {
735
735
  constructor() {
736
736
  super({
737
737
  id: McpCommandIds.RestartServer,
738
- title: ( localize2(9952, "Restart Server")),
738
+ title: ( localize2(10138, "Restart Server")),
739
739
  category,
740
740
  f1: false
741
741
  });
@@ -754,7 +754,7 @@ class StartServer extends Action2 {
754
754
  constructor() {
755
755
  super({
756
756
  id: McpCommandIds.StartServer,
757
- title: ( localize2(9953, "Start Server")),
757
+ title: ( localize2(10139, "Start Server")),
758
758
  category,
759
759
  f1: false
760
760
  });
@@ -779,7 +779,7 @@ class StopServer extends Action2 {
779
779
  constructor() {
780
780
  super({
781
781
  id: McpCommandIds.StopServer,
782
- title: ( localize2(9954, "Stop Server")),
782
+ title: ( localize2(10140, "Stop Server")),
783
783
  category,
784
784
  f1: false
785
785
  });
@@ -793,8 +793,8 @@ class McpBrowseCommand extends Action2 {
793
793
  constructor() {
794
794
  super({
795
795
  id: McpCommandIds.Browse,
796
- title: ( localize2(9955, "MCP Servers")),
797
- tooltip: ( localize2(9956, "Browse MCP Servers")),
796
+ title: ( localize2(10141, "MCP Servers")),
797
+ tooltip: ( localize2(10142, "Browse MCP Servers")),
798
798
  category,
799
799
  icon: Codicon.search,
800
800
  precondition: ( ChatContextKeys.Setup.hidden.negate()),
@@ -817,7 +817,7 @@ class McpBrowseCommand extends Action2 {
817
817
  MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
818
818
  command: {
819
819
  id: McpCommandIds.Browse,
820
- title: ( localize2(9957, "Browse MCP Servers")),
820
+ title: ( localize2(10143, "Browse MCP Servers")),
821
821
  category,
822
822
  precondition: ( ChatContextKeys.Setup.hidden.negate())
823
823
  }
@@ -826,7 +826,7 @@ class ShowInstalledMcpServersCommand extends Action2 {
826
826
  constructor() {
827
827
  super({
828
828
  id: McpCommandIds.ShowInstalled,
829
- title: ( localize2(9958, "Show Installed Servers")),
829
+ title: ( localize2(10144, "Show Installed Servers")),
830
830
  category,
831
831
  precondition: ( ContextKeyExpr.and(HasInstalledMcpServersContext, ( ChatContextKeys.Setup.hidden.negate()))),
832
832
  f1: true
@@ -844,7 +844,7 @@ class ShowInstalledMcpServersCommand extends Action2 {
844
844
  MenuRegistry.appendMenuItem(CHAT_CONFIG_MENU_ID, {
845
845
  command: {
846
846
  id: McpCommandIds.ShowInstalled,
847
- title: ( localize2(9959, "MCP Servers"))
847
+ title: ( localize2(10145, "MCP Servers"))
848
848
  },
849
849
  when: ( ContextKeyExpr.and(ChatContextKeys.enabled, ( ContextKeyExpr.equals("view", ChatViewId)))),
850
850
  order: 10,
@@ -869,7 +869,7 @@ class OpenUserMcpResourceCommand extends OpenMcpResourceCommand {
869
869
  constructor() {
870
870
  super({
871
871
  id: McpCommandIds.OpenUserMcp,
872
- title: ( localize2(9960, "Open User Configuration")),
872
+ title: ( localize2(10146, "Open User Configuration")),
873
873
  category,
874
874
  f1: true,
875
875
  precondition: ( ChatContextKeys.Setup.hidden.negate())
@@ -884,7 +884,7 @@ class OpenRemoteUserMcpResourceCommand extends OpenMcpResourceCommand {
884
884
  constructor() {
885
885
  super({
886
886
  id: McpCommandIds.OpenRemoteUserMcp,
887
- title: ( localize2(9961, "Open Remote User Configuration")),
887
+ title: ( localize2(10147, "Open Remote User Configuration")),
888
888
  category,
889
889
  f1: true,
890
890
  precondition: ( ContextKeyExpr.and(( ChatContextKeys.Setup.hidden.negate()), ( RemoteNameContext.notEqualsTo(""))))
@@ -901,7 +901,7 @@ class OpenWorkspaceFolderMcpResourceCommand extends Action2 {
901
901
  constructor() {
902
902
  super({
903
903
  id: McpCommandIds.OpenWorkspaceFolderMcp,
904
- title: ( localize2(9962, "Open Workspace Folder MCP Configuration")),
904
+ title: ( localize2(10148, "Open Workspace Folder MCP Configuration")),
905
905
  category,
906
906
  f1: true,
907
907
  precondition: ( ContextKeyExpr.and(( ChatContextKeys.Setup.hidden.negate()), ( WorkspaceFolderCountContext.notEqualsTo(0))))
@@ -924,7 +924,7 @@ class OpenWorkspaceMcpResourceCommand extends Action2 {
924
924
  constructor() {
925
925
  super({
926
926
  id: McpCommandIds.OpenWorkspaceMcp,
927
- title: ( localize2(9963, "Open Workspace MCP Configuration")),
927
+ title: ( localize2(10149, "Open Workspace MCP Configuration")),
928
928
  category,
929
929
  f1: true,
930
930
  precondition: ( ContextKeyExpr.and(( ChatContextKeys.Setup.hidden.negate()), ( WorkbenchStateContext.isEqualTo("workspace"))))
@@ -945,7 +945,7 @@ class McpBrowseResourcesCommand extends Action2 {
945
945
  constructor() {
946
946
  super({
947
947
  id: McpCommandIds.BrowseResources,
948
- title: ( localize2(9964, "Browse Resources...")),
948
+ title: ( localize2(10150, "Browse Resources...")),
949
949
  category,
950
950
  precondition: ( ContextKeyExpr.and(McpContextKeys.serverCount.greater(0), ( ChatContextKeys.Setup.hidden.negate()))),
951
951
  f1: true
@@ -963,7 +963,7 @@ class McpConfigureSamplingModels extends Action2 {
963
963
  constructor() {
964
964
  super({
965
965
  id: McpCommandIds.ConfigureSamplingModels,
966
- title: ( localize2(9965, "Configure SamplingModel")),
966
+ title: ( localize2(10151, "Configure SamplingModel")),
967
967
  category
968
968
  });
969
969
  }
@@ -989,7 +989,7 @@ class McpConfigureSamplingModels extends Action2 {
989
989
  );
990
990
  const picked = await quickInputService.pick(allItems, {
991
991
  placeHolder: ( localize(
992
- 9966,
992
+ 10152,
993
993
  "Pick the models {0} can access via MCP sampling",
994
994
  server.definition.label
995
995
  )),
@@ -1005,7 +1005,7 @@ class McpStartPromptingServerCommand extends Action2 {
1005
1005
  constructor() {
1006
1006
  super({
1007
1007
  id: McpCommandIds.StartPromptForServer,
1008
- title: ( localize2(9967, "Start Prompting Server")),
1008
+ title: ( localize2(10153, "Start Prompting Server")),
1009
1009
  category,
1010
1010
  f1: false
1011
1011
  });
@@ -1035,7 +1035,7 @@ class McpSkipCurrentAutostartCommand extends Action2 {
1035
1035
  constructor() {
1036
1036
  super({
1037
1037
  id: McpCommandIds.SkipCurrentAutostart,
1038
- title: ( localize2(9968, "Skip Current Autostart")),
1038
+ title: ( localize2(10154, "Skip Current Autostart")),
1039
1039
  category,
1040
1040
  f1: false
1041
1041
  });