@codingame/monaco-vscode-authentication-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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-authentication-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 - authentication 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",
@@ -16,8 +16,8 @@ class ManageAccountPreferencesForExtensionAction extends Action2 {
16
16
  constructor() {
17
17
  super({
18
18
  id: "_manageAccountPreferencesForExtension",
19
- title: ( localize2(4530, "Manage Extension Account Preferences...")),
20
- category: ( localize2(4531, "Accounts")),
19
+ title: ( localize2(4535, "Manage Extension Account Preferences...")),
20
+ category: ( localize2(4536, "Accounts")),
21
21
  f1: true,
22
22
  menu: [{
23
23
  id: MenuId.AccountsContext,
@@ -56,8 +56,8 @@ let ManageAccountPreferenceForExtensionActionImpl = class ManageAccountPreferenc
56
56
  label: ext.displayName ?? ext.name,
57
57
  id: ext.identifier.value
58
58
  }))), {
59
- placeHolder: ( localize(4532, "Select an extension to manage account preferences for")),
60
- title: ( localize(4533, "Manage Extension Account Preferences"))
59
+ placeHolder: ( localize(4537, "Select an extension to manage account preferences for")),
60
+ title: ( localize(4538, "Manage Extension Account Preferences"))
61
61
  });
62
62
  extensionId = result?.id;
63
63
  }
@@ -72,7 +72,7 @@ let ManageAccountPreferenceForExtensionActionImpl = class ManageAccountPreferenc
72
72
  const extensionQuery = this._authenticationQueryService.extension(extensionId);
73
73
  const providersWithAccess = await extensionQuery.getProvidersWithAccess();
74
74
  if (!providersWithAccess.length) {
75
- await this._dialogService.info(( localize(4534, "This extension has not used any accounts yet.")));
75
+ await this._dialogService.info(( localize(4539, "This extension has not used any accounts yet.")));
76
76
  return;
77
77
  }
78
78
  providerId = providersWithAccess[0];
@@ -82,10 +82,10 @@ let ManageAccountPreferenceForExtensionActionImpl = class ManageAccountPreferenc
82
82
  id: providerId
83
83
  }))), {
84
84
  placeHolder: ( localize(
85
- 4535,
85
+ 4540,
86
86
  "Select an authentication provider to manage account preferences for"
87
87
  )),
88
- title: ( localize(4533, "Manage Extension Account Preferences"))
88
+ title: ( localize(4538, "Manage Extension Account Preferences"))
89
89
  });
90
90
  if (!result) {
91
91
  return;
@@ -108,7 +108,7 @@ let ManageAccountPreferenceForExtensionActionImpl = class ManageAccountPreferenc
108
108
  items.push({
109
109
  providerId,
110
110
  scopes: lastUsedScopes,
111
- label: ( localize(4536, "Use a new account..."))
111
+ label: ( localize(4541, "Use a new account..."))
112
112
  });
113
113
  }
114
114
  }
@@ -134,12 +134,12 @@ let ManageAccountPreferenceForExtensionActionImpl = class ManageAccountPreferenc
134
134
  disposableStore.dispose();
135
135
  }));
136
136
  picker.placeholder = ( localize(
137
- 4537,
137
+ 4542,
138
138
  "Manage '{0}' account preferences for {1}...",
139
139
  extensionLabel,
140
140
  providerLabel
141
141
  ));
142
- picker.title = ( localize(4538, "'{0}' Account Preferences For This Workspace", extensionLabel));
142
+ picker.title = ( localize(4543, "'{0}' Account Preferences For This Workspace", extensionLabel));
143
143
  picker.sortByLabel = false;
144
144
  disposableStore.add(picker.onDidAccept(async () => {
145
145
  picker.hide();
@@ -152,7 +152,7 @@ let ManageAccountPreferenceForExtensionActionImpl = class ManageAccountPreferenc
152
152
  label: a.label,
153
153
  account: a,
154
154
  providerId,
155
- description: ( localize(4539, "Current account")),
155
+ description: ( localize(4544, "Current account")),
156
156
  picked: true
157
157
  } : {
158
158
  label: a.label,
@@ -161,7 +161,7 @@ let ManageAccountPreferenceForExtensionActionImpl = class ManageAccountPreferenc
161
161
  }));
162
162
  }
163
163
  _handleNoAccounts(picker) {
164
- picker.validationMessage = ( localize(4540, "No accounts are currently used by this extension."));
164
+ picker.validationMessage = ( localize(4545, "No accounts are currently used by this extension."));
165
165
  picker.buttons = [this._quickInputService.backButton];
166
166
  picker.show();
167
167
  return Event.filter(picker.onDidTriggerButton, e => e === this._quickInputService.backButton)(() => this.run());
@@ -16,8 +16,8 @@ class ManageAccountPreferencesForMcpServerAction extends Action2 {
16
16
  constructor() {
17
17
  super({
18
18
  id: "_manageAccountPreferencesForMcpServer",
19
- title: ( localize2(4541, "Manage MCP Server Account Preferences")),
20
- category: ( localize2(4542, "Accounts")),
19
+ title: ( localize2(4546, "Manage MCP Server Account Preferences")),
20
+ category: ( localize2(4547, "Accounts")),
21
21
  f1: false
22
22
  });
23
23
  }
@@ -53,7 +53,7 @@ let ManageAccountPreferenceForMcpServerActionImpl = class ManageAccountPreferenc
53
53
  const mcpServerQuery = this._authenticationQueryService.mcpServer(mcpServerId);
54
54
  const providersWithAccess = await mcpServerQuery.getProvidersWithAccess();
55
55
  if (!providersWithAccess.length) {
56
- await this._dialogService.info(( localize(4543, "This MCP server has not used any accounts yet.")));
56
+ await this._dialogService.info(( localize(4548, "This MCP server has not used any accounts yet.")));
57
57
  return;
58
58
  }
59
59
  providerId = providersWithAccess[0];
@@ -63,10 +63,10 @@ let ManageAccountPreferenceForMcpServerActionImpl = class ManageAccountPreferenc
63
63
  id: providerId
64
64
  }))), {
65
65
  placeHolder: ( localize(
66
- 4544,
66
+ 4549,
67
67
  "Select an authentication provider to manage account preferences for"
68
68
  )),
69
- title: ( localize(4545, "Manage MCP Server Account Preferences"))
69
+ title: ( localize(4550, "Manage MCP Server Account Preferences"))
70
70
  });
71
71
  if (!result) {
72
72
  return;
@@ -89,7 +89,7 @@ let ManageAccountPreferenceForMcpServerActionImpl = class ManageAccountPreferenc
89
89
  items.push({
90
90
  providerId: providerId,
91
91
  scopes: lastUsedScopes,
92
- label: ( localize(4546, "Use a new account..."))
92
+ label: ( localize(4551, "Use a new account..."))
93
93
  });
94
94
  }
95
95
  }
@@ -110,12 +110,12 @@ let ManageAccountPreferenceForMcpServerActionImpl = class ManageAccountPreferenc
110
110
  disposableStore.dispose();
111
111
  }));
112
112
  picker.placeholder = ( localize(
113
- 4547,
113
+ 4552,
114
114
  "Manage '{0}' account preferences for {1}...",
115
115
  mcpServerLabel,
116
116
  providerLabel
117
117
  ));
118
- picker.title = ( localize(4548, "'{0}' Account Preferences For This Workspace", mcpServerLabel));
118
+ picker.title = ( localize(4553, "'{0}' Account Preferences For This Workspace", mcpServerLabel));
119
119
  picker.sortByLabel = false;
120
120
  disposableStore.add(picker.onDidAccept(async () => {
121
121
  picker.hide();
@@ -128,7 +128,7 @@ let ManageAccountPreferenceForMcpServerActionImpl = class ManageAccountPreferenc
128
128
  label: a.label,
129
129
  account: a,
130
130
  providerId,
131
- description: ( localize(4549, "Current account")),
131
+ description: ( localize(4554, "Current account")),
132
132
  picked: true
133
133
  } : {
134
134
  label: a.label,
@@ -137,7 +137,7 @@ let ManageAccountPreferenceForMcpServerActionImpl = class ManageAccountPreferenc
137
137
  }));
138
138
  }
139
139
  _handleNoAccounts(picker) {
140
- picker.validationMessage = ( localize(4550, "No accounts are currently used by this MCP server."));
140
+ picker.validationMessage = ( localize(4555, "No accounts are currently used by this MCP server."));
141
141
  picker.buttons = [this._quickInputService.backButton];
142
142
  picker.show();
143
143
  return Event.filter(picker.onDidTriggerButton, e => e === this._quickInputService.backButton)(() => this.run());
@@ -16,8 +16,8 @@ class ManageAccountsAction extends Action2 {
16
16
  constructor() {
17
17
  super({
18
18
  id: "workbench.action.manageAccounts",
19
- title: ( localize2(4551, "Manage Accounts")),
20
- category: ( localize2(4552, "Accounts")),
19
+ title: ( localize2(4556, "Manage Accounts")),
20
+ category: ( localize2(4557, "Accounts")),
21
21
  f1: true
22
22
  });
23
23
  }
@@ -41,11 +41,11 @@ let ManageAccountsActionImpl = class ManageAccountsActionImpl {
41
41
  this.productService = productService;
42
42
  }
43
43
  async run() {
44
- const placeHolder = ( localize(4553, "Select an account to manage"));
44
+ const placeHolder = ( localize(4558, "Select an account to manage"));
45
45
  const accounts = await this.listAccounts();
46
46
  if (!accounts.length) {
47
47
  await this.quickInputService.pick([{
48
- label: ( localize(4554, "There are no active accounts."))
48
+ label: ( localize(4559, "There are no active accounts."))
49
49
  }], {
50
50
  placeHolder
51
51
  });
@@ -98,11 +98,11 @@ let ManageAccountsActionImpl = class ManageAccountsActionImpl {
98
98
  } = account;
99
99
  const store = ( new DisposableStore());
100
100
  const quickPick = store.add(this.quickInputService.createQuickPick());
101
- quickPick.title = ( localize(4555, "Manage '{0}'", accountLabel));
102
- quickPick.placeholder = ( localize(4556, "Select an action"));
101
+ quickPick.title = ( localize(4560, "Manage '{0}'", accountLabel));
102
+ quickPick.placeholder = ( localize(4561, "Select an action"));
103
103
  quickPick.buttons = [this.quickInputService.backButton];
104
104
  const items = [{
105
- label: ( localize(4557, "Manage Trusted Extensions")),
105
+ label: ( localize(4562, "Manage Trusted Extensions")),
106
106
  action: () => this.commandService.executeCommand("_manageTrustedExtensionsForAccount", {
107
107
  providerId,
108
108
  accountLabel
@@ -110,7 +110,7 @@ let ManageAccountsActionImpl = class ManageAccountsActionImpl {
110
110
  }];
111
111
  if (canUseMcp) {
112
112
  items.push({
113
- label: ( localize(4558, "Manage Trusted MCP Servers")),
113
+ label: ( localize(4563, "Manage Trusted MCP Servers")),
114
114
  action: () => this.commandService.executeCommand("_manageTrustedMCPServersForAccount", {
115
115
  providerId,
116
116
  accountLabel
@@ -119,7 +119,7 @@ let ManageAccountsActionImpl = class ManageAccountsActionImpl {
119
119
  }
120
120
  if (await canSignOut()) {
121
121
  items.push({
122
- label: ( localize(4559, "Sign Out")),
122
+ label: ( localize(4564, "Sign Out")),
123
123
  action: () => this.commandService.executeCommand("_signOutOfAccount", {
124
124
  providerId,
125
125
  accountLabel
@@ -13,8 +13,8 @@ class RemoveDynamicAuthenticationProvidersAction extends Action2 {
13
13
  constructor() {
14
14
  super({
15
15
  id: RemoveDynamicAuthenticationProvidersAction.ID,
16
- title: ( localize2(4560, "Remove Dynamic Authentication Providers")),
17
- category: ( localize2(4561, "Authentication")),
16
+ title: ( localize2(4565, "Remove Dynamic Authentication Providers")),
17
+ category: ( localize2(4566, "Authentication")),
18
18
  f1: true
19
19
  });
20
20
  }
@@ -25,16 +25,16 @@ class RemoveDynamicAuthenticationProvidersAction extends Action2 {
25
25
  const dialogService = accessor.get(IDialogService);
26
26
  const interactedProviders = dynamicAuthStorageService.getInteractedProviders();
27
27
  if (interactedProviders.length === 0) {
28
- await dialogService.info(( localize(4562, "No dynamic authentication providers")), ( localize(4563, "No dynamic authentication providers have been used yet.")));
28
+ await dialogService.info(( localize(4567, "No dynamic authentication providers")), ( localize(4568, "No dynamic authentication providers have been used yet.")));
29
29
  return;
30
30
  }
31
31
  const items = ( interactedProviders.map(provider => ({
32
32
  label: provider.label,
33
- description: ( localize(4564, "Client ID: {0}", provider.clientId)),
33
+ description: ( localize(4569, "Client ID: {0}", provider.clientId)),
34
34
  provider
35
35
  })));
36
36
  const selected = await quickInputService.pick(items, {
37
- placeHolder: ( localize(4565, "Select a dynamic authentication provider to remove")),
37
+ placeHolder: ( localize(4570, "Select a dynamic authentication provider to remove")),
38
38
  canPickMany: true
39
39
  });
40
40
  if (!selected || selected.length === 0) {
@@ -42,11 +42,11 @@ class RemoveDynamicAuthenticationProvidersAction extends Action2 {
42
42
  }
43
43
  const providerNames = ( selected.map(item => item.provider.label)).join(", ");
44
44
  const message = selected.length === 1 ? ( localize(
45
- 4566,
45
+ 4571,
46
46
  "Are you sure you want to remove the dynamic authentication provider \"{0}\"?",
47
47
  providerNames
48
48
  )) : ( localize(
49
- 4567,
49
+ 4572,
50
50
  "Are you sure you want to remove {0} dynamic authentication providers: {1}?",
51
51
  selected.length,
52
52
  providerNames
@@ -54,10 +54,10 @@ class RemoveDynamicAuthenticationProvidersAction extends Action2 {
54
54
  const result = await dialogService.confirm({
55
55
  message,
56
56
  detail: ( localize(
57
- 4568,
57
+ 4573,
58
58
  "This will remove all stored authentication data for the selected provider(s). You will need to re-authenticate if you use these providers again."
59
59
  )),
60
- primaryButton: ( localize(4569, "Remove")),
60
+ primaryButton: ( localize(4574, "Remove")),
61
61
  type: "warning"
62
62
  });
63
63
  if (!result.confirmed) {
@@ -19,8 +19,8 @@ class ManageTrustedExtensionsForAccountAction extends Action2 {
19
19
  constructor() {
20
20
  super({
21
21
  id: "_manageTrustedExtensionsForAccount",
22
- title: ( localize2(4570, "Manage Trusted Extensions For Account")),
23
- category: ( localize2(4571, "Accounts")),
22
+ title: ( localize2(4575, "Manage Trusted Extensions For Account")),
23
+ category: ( localize2(4576, "Accounts")),
24
24
  f1: true
25
25
  });
26
26
  }
@@ -47,11 +47,11 @@ let ManageTrustedExtensionsForAccountActionImpl = class ManageTrustedExtensionsF
47
47
  this._commandService = _commandService;
48
48
  this._extensionsWorkbenchService = _extensionsWorkbenchService;
49
49
  this._viewDetailsButton = {
50
- tooltip: ( localize(4572, "View extension details")),
50
+ tooltip: ( localize(4577, "View extension details")),
51
51
  iconClass: ThemeIcon.asClassName(Codicon.info)
52
52
  };
53
53
  this._managePreferencesButton = {
54
- tooltip: ( localize(4573, "Manage account preferences for this extension")),
54
+ tooltip: ( localize(4578, "Manage account preferences for this extension")),
55
55
  iconClass: ThemeIcon.asClassName(Codicon.settingsGear)
56
56
  };
57
57
  }
@@ -75,7 +75,7 @@ let ManageTrustedExtensionsForAccountActionImpl = class ManageTrustedExtensionsF
75
75
  }
76
76
  const accounts = await this._getAllAvailableAccounts();
77
77
  const pick = await this._quickInputService.pick(accounts, {
78
- placeHolder: ( localize(4574, "Pick an account to manage trusted extensions for")),
78
+ placeHolder: ( localize(4579, "Pick an account to manage trusted extensions for")),
79
79
  matchOnDescription: true
80
80
  });
81
81
  return pick ? this._authenticationQueryService.provider(pick.providerId).account(pick.label) : undefined;
@@ -117,7 +117,7 @@ let ManageTrustedExtensionsForAccountActionImpl = class ManageTrustedExtensionsF
117
117
  };
118
118
  }));
119
119
  if (!filteredExtensions.length) {
120
- this._dialogService.info(( localize(4575, "This account has not been used by any extensions.")));
120
+ this._dialogService.info(( localize(4580, "This account has not been used by any extensions.")));
121
121
  return [];
122
122
  }
123
123
  const trustedExtensions = filteredExtensions.filter(e => e.trusted);
@@ -126,17 +126,17 @@ let ManageTrustedExtensionsForAccountActionImpl = class ManageTrustedExtensionsF
126
126
  const _toQuickPickItem = this._toQuickPickItem.bind(this);
127
127
  return [...( otherExtensions.sort(sortByLastUsed).map(_toQuickPickItem)), {
128
128
  type: "separator",
129
- label: ( localize(4576, "Trusted by Microsoft"))
129
+ label: ( localize(4581, "Trusted by Microsoft"))
130
130
  }, ...( trustedExtensions.sort(sortByLastUsed).map(_toQuickPickItem))];
131
131
  }
132
132
  _toQuickPickItem(extension) {
133
133
  const lastUsed = extension.lastUsed;
134
- const description = lastUsed ? ( localize(4577, "Last used this account {0}", fromNow(lastUsed, true))) : ( localize(4578, "Has not used this account"));
134
+ const description = lastUsed ? ( localize(4582, "Last used this account {0}", fromNow(lastUsed, true))) : ( localize(4583, "Has not used this account"));
135
135
  let tooltip;
136
136
  let disabled;
137
137
  if (extension.trusted) {
138
138
  tooltip = ( localize(
139
- 4579,
139
+ 4584,
140
140
  "This extension is trusted by Microsoft and\nalways has access to this account"
141
141
  ));
142
142
  disabled = true;
@@ -158,10 +158,10 @@ let ManageTrustedExtensionsForAccountActionImpl = class ManageTrustedExtensionsF
158
158
  }));
159
159
  quickPick.canSelectMany = true;
160
160
  quickPick.customButton = true;
161
- quickPick.customLabel = ( localize(4580, "Cancel"));
161
+ quickPick.customLabel = ( localize(4585, "Cancel"));
162
162
  quickPick.customButtonSecondary = true;
163
- quickPick.title = ( localize(4581, "Manage Trusted Extensions"));
164
- quickPick.placeholder = ( localize(4582, "Choose which extensions can access this account"));
163
+ quickPick.title = ( localize(4586, "Manage Trusted Extensions"));
164
+ quickPick.placeholder = ( localize(4587, "Choose which extensions can access this account"));
165
165
  disposableStore.add(quickPick.onDidAccept(() => {
166
166
  const updatedAllowedList = ( quickPick.items.filter(item => item.type !== "separator").map(i => i.extension));
167
167
  const allowedExtensionsSet = ( new Set(( quickPick.selectedItems.map(i => i.extension))));
@@ -19,8 +19,8 @@ class ManageTrustedMcpServersForAccountAction extends Action2 {
19
19
  constructor() {
20
20
  super({
21
21
  id: "_manageTrustedMCPServersForAccount",
22
- title: ( localize2(4583, "Manage Trusted MCP Servers For Account")),
23
- category: ( localize2(4584, "Accounts")),
22
+ title: ( localize2(4588, "Manage Trusted MCP Servers For Account")),
23
+ category: ( localize2(4589, "Accounts")),
24
24
  f1: true,
25
25
  precondition: ( ChatContextKeys.Setup.hidden.negate())
26
26
  });
@@ -66,7 +66,7 @@ let ManageTrustedMcpServersForAccountActionImpl = class ManageTrustedMcpServersF
66
66
  }
67
67
  const accounts = await this._getAllAvailableAccounts();
68
68
  const pick = await this._quickInputService.pick(accounts, {
69
- placeHolder: ( localize(4585, "Pick an account to manage trusted MCP servers for")),
69
+ placeHolder: ( localize(4590, "Pick an account to manage trusted MCP servers for")),
70
70
  matchOnDescription: true
71
71
  });
72
72
  return pick ? this._authenticationQueryService.provider(pick.providerId).account(pick.label) : undefined;
@@ -103,7 +103,7 @@ let ManageTrustedMcpServersForAccountActionImpl = class ManageTrustedMcpServersF
103
103
  };
104
104
  }));
105
105
  if (!filteredMcpServers.length) {
106
- this._dialogService.info(( localize(4586, "This account has not been used by any MCP servers.")));
106
+ this._dialogService.info(( localize(4591, "This account has not been used by any MCP servers.")));
107
107
  return [];
108
108
  }
109
109
  const trustedServers = filteredMcpServers.filter(s => s.trusted);
@@ -111,17 +111,17 @@ let ManageTrustedMcpServersForAccountActionImpl = class ManageTrustedMcpServersF
111
111
  const sortByLastUsed = (a, b) => (b.lastUsed || 0) - (a.lastUsed || 0);
112
112
  return [...( otherServers.sort(sortByLastUsed).map(this._toQuickPickItem)), {
113
113
  type: "separator",
114
- label: ( localize(4587, "Trusted by Microsoft"))
114
+ label: ( localize(4592, "Trusted by Microsoft"))
115
115
  }, ...( trustedServers.sort(sortByLastUsed).map(this._toQuickPickItem))];
116
116
  }
117
117
  _toQuickPickItem(mcpServer) {
118
118
  const lastUsed = mcpServer.lastUsed;
119
- const description = lastUsed ? ( localize(4588, "Last used this account {0}", fromNow(lastUsed, true))) : ( localize(4589, "Has not used this account"));
119
+ const description = lastUsed ? ( localize(4593, "Last used this account {0}", fromNow(lastUsed, true))) : ( localize(4594, "Has not used this account"));
120
120
  let tooltip;
121
121
  let disabled;
122
122
  if (mcpServer.trusted) {
123
123
  tooltip = ( localize(
124
- 4590,
124
+ 4595,
125
125
  "This MCP server is trusted by Microsoft and\nalways has access to this account"
126
126
  ));
127
127
  disabled = true;
@@ -133,7 +133,7 @@ let ManageTrustedMcpServersForAccountActionImpl = class ManageTrustedMcpServersF
133
133
  tooltip,
134
134
  disabled,
135
135
  buttons: [{
136
- tooltip: ( localize(4591, "Manage account preferences for this MCP server")),
136
+ tooltip: ( localize(4596, "Manage account preferences for this MCP server")),
137
137
  iconClass: ThemeIcon.asClassName(Codicon.settingsGear)
138
138
  }],
139
139
  picked: mcpServer.allowed === undefined || mcpServer.allowed
@@ -146,10 +146,10 @@ let ManageTrustedMcpServersForAccountActionImpl = class ManageTrustedMcpServersF
146
146
  }));
147
147
  quickPick.canSelectMany = true;
148
148
  quickPick.customButton = true;
149
- quickPick.customLabel = ( localize(4592, "Cancel"));
149
+ quickPick.customLabel = ( localize(4597, "Cancel"));
150
150
  quickPick.customButtonSecondary = true;
151
- quickPick.title = ( localize(4593, "Manage Trusted MCP Servers"));
152
- quickPick.placeholder = ( localize(4594, "Choose which MCP servers can access this account"));
151
+ quickPick.title = ( localize(4598, "Manage Trusted MCP Servers"));
152
+ quickPick.placeholder = ( localize(4599, "Choose which MCP servers can access this account"));
153
153
  disposableStore.add(quickPick.onDidAccept(() => {
154
154
  quickPick.hide();
155
155
  const allServers = ( quickPick.items.filter(item => item.type !== "separator").map(i => i.mcpServer));
@@ -11,7 +11,7 @@ class SignOutOfAccountAction extends Action2 {
11
11
  constructor() {
12
12
  super({
13
13
  id: "_signOutOfAccount",
14
- title: ( localize(4595, "Sign out of account")),
14
+ title: ( localize(4600, "Sign out of account")),
15
15
  f1: false
16
16
  });
17
17
  }
@@ -39,12 +39,12 @@ class SignOutOfAccountAction extends Action2 {
39
39
  } = await dialogService.confirm({
40
40
  type: Severity.Info,
41
41
  message: accountUsages.length ? ( localize(
42
- 4596,
42
+ 4601,
43
43
  "The account '{0}' has been used by: \n\n{1}\n\n Sign out from these extensions?",
44
44
  accountLabel,
45
45
  ( accountUsages.map(usage => usage.extensionName)).join("\n")
46
- )) : ( localize(4597, "Sign out of '{0}'?", accountLabel)),
47
- primaryButton: ( localize(4598, "&&Sign Out"))
46
+ )) : ( localize(4602, "Sign out of '{0}'?", accountLabel)),
47
+ primaryButton: ( localize(4603, "&&Sign Out"))
48
48
  });
49
49
  if (confirmed) {
50
50
  const removeSessionPromises = ( sessions.map(session => authenticationService.removeSession(providerId, session.id)));
@@ -41,7 +41,7 @@ class AuthenticationDataRenderer extends Disposable {
41
41
  dispose: () => {}
42
42
  };
43
43
  }
44
- const headers = [( localize(4599, "Label")), ( localize(4600, "ID")), ( localize(4601, "MCP Authorization Servers"))];
44
+ const headers = [( localize(4604, "Label")), ( localize(4605, "ID")), ( localize(4606, "MCP Authorization Servers"))];
45
45
  const rows = ( authentication.sort((a, b) => a.label.localeCompare(b.label)).map(auth => {
46
46
  return [auth.label, auth.id, (auth.authorizationServerGlobs ?? []).join(",\n")];
47
47
  }));
@@ -56,7 +56,7 @@ class AuthenticationDataRenderer extends Disposable {
56
56
  }
57
57
  const extensionFeature = ( Registry.as(Extensions.ExtensionFeaturesRegistry)).registerExtensionFeature({
58
58
  id: "authentication",
59
- label: ( localize(4602, "Authentication")),
59
+ label: ( localize(4607, "Authentication")),
60
60
  access: {
61
61
  canToggle: false
62
62
  },
@@ -121,7 +121,7 @@ let AuthenticationExtensionsService = class AuthenticationExtensionsService exte
121
121
  numberOfRequests += ( Object.keys(accessRequest)).length;
122
122
  });
123
123
  if (numberOfRequests > 0) {
124
- const badge = ( new NumberBadge(numberOfRequests, () => ( localize(15217, "Sign in requested"))));
124
+ const badge = ( new NumberBadge(numberOfRequests, () => ( localize(15415, "Sign in requested"))));
125
125
  this._accountBadgeDisposable.value = this.activityService.showAccountsActivity({
126
126
  badge
127
127
  });
@@ -201,17 +201,17 @@ let AuthenticationExtensionsService = class AuthenticationExtensionsService exte
201
201
  } = await this.dialogService.prompt({
202
202
  type: Severity.Info,
203
203
  message: ( localize(
204
- 15218,
204
+ 15416,
205
205
  "The extension '{0}' wants to access the {1} account '{2}'.",
206
206
  extensionName,
207
207
  provider.label,
208
208
  accountName
209
209
  )),
210
210
  buttons: [{
211
- label: ( localize(15219, "&&Allow")),
211
+ label: ( localize(15417, "&&Allow")),
212
212
  run: () => SessionPromptChoice.Allow
213
213
  }, {
214
- label: ( localize(15220, "&&Deny")),
214
+ label: ( localize(15418, "&&Deny")),
215
215
  run: () => SessionPromptChoice.Deny
216
216
  }],
217
217
  cancelButton: {
@@ -259,17 +259,17 @@ let AuthenticationExtensionsService = class AuthenticationExtensionsService exte
259
259
  }
260
260
  });
261
261
  items.push({
262
- label: ( localize(15221, "Sign in to another account"))
262
+ label: ( localize(15419, "Sign in to another account"))
263
263
  });
264
264
  quickPick.items = items;
265
265
  quickPick.title = ( localize(
266
- 15222,
266
+ 15420,
267
267
  "The extension '{0}' wants to access a {1} account",
268
268
  extensionName,
269
269
  this._authenticationService.getProvider(providerId).label
270
270
  ));
271
271
  quickPick.placeholder = ( localize(
272
- 15223,
272
+ 15421,
273
273
  "Select an account for '{0}' to use or Esc to cancel",
274
274
  extensionName
275
275
  ));
@@ -361,7 +361,7 @@ let AuthenticationExtensionsService = class AuthenticationExtensionsService exte
361
361
  group: "3_accessRequests",
362
362
  command: {
363
363
  id: `${providerId}${extensionId}Access`,
364
- title: ( localize(15224, "Grant access to {0} for {1}... (1)", provider.label, extensionName))
364
+ title: ( localize(15422, "Grant access to {0} for {1}... (1)", provider.label, extensionName))
365
365
  }
366
366
  }));
367
367
  const accessCommand = CommandsRegistry.registerCommand({
@@ -405,7 +405,7 @@ let AuthenticationExtensionsService = class AuthenticationExtensionsService exte
405
405
  group: "2_signInRequests",
406
406
  command: {
407
407
  id: commandId,
408
- title: ( localize(15225, "Sign in with {0} to use {1} (1)", provider.label, extensionName))
408
+ title: ( localize(15423, "Sign in with {0} to use {1} (1)", provider.label, extensionName))
409
409
  }
410
410
  }));
411
411
  const signInCommand = CommandsRegistry.registerCommand({