@codingame/monaco-vscode-mcp-service-override 25.0.1 → 25.1.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-mcp-service-override",
|
|
3
|
-
"version": "25.
|
|
3
|
+
"version": "25.1.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": "25.
|
|
18
|
+
"@codingame/monaco-vscode-api": "25.1.1"
|
|
19
19
|
},
|
|
20
20
|
"main": "index.js",
|
|
21
21
|
"module": "index.js",
|
|
@@ -112,7 +112,7 @@ let AuthenticationMcpService = class AuthenticationMcpService extends Disposable
|
|
|
112
112
|
numberOfRequests += ( Object.keys(accessRequest)).length;
|
|
113
113
|
});
|
|
114
114
|
if (numberOfRequests > 0) {
|
|
115
|
-
const badge = ( new NumberBadge(numberOfRequests, () => ( localize(
|
|
115
|
+
const badge = ( new NumberBadge(numberOfRequests, () => ( localize(13725, "Sign in requested"))));
|
|
116
116
|
this._accountBadgeDisposable.value = this.activityService.showAccountsActivity({ badge });
|
|
117
117
|
}
|
|
118
118
|
}
|
|
@@ -173,7 +173,7 @@ let AuthenticationMcpService = class AuthenticationMcpService extends Disposable
|
|
|
173
173
|
const { result } = await this.dialogService.prompt({
|
|
174
174
|
type: Severity.Info,
|
|
175
175
|
message: ( localize(
|
|
176
|
-
|
|
176
|
+
13726,
|
|
177
177
|
"The MCP server '{0}' wants to access the {1} account '{2}'.",
|
|
178
178
|
mcpServerName,
|
|
179
179
|
provider.label,
|
|
@@ -181,11 +181,11 @@ let AuthenticationMcpService = class AuthenticationMcpService extends Disposable
|
|
|
181
181
|
)),
|
|
182
182
|
buttons: [
|
|
183
183
|
{
|
|
184
|
-
label: ( localize(
|
|
184
|
+
label: ( localize(13727, "&&Allow")),
|
|
185
185
|
run: () => SessionPromptChoice.Allow
|
|
186
186
|
},
|
|
187
187
|
{
|
|
188
|
-
label: ( localize(
|
|
188
|
+
label: ( localize(13728, "&&Deny")),
|
|
189
189
|
run: () => SessionPromptChoice.Deny
|
|
190
190
|
}
|
|
191
191
|
],
|
|
@@ -221,16 +221,16 @@ let AuthenticationMcpService = class AuthenticationMcpService extends Disposable
|
|
|
221
221
|
items.push({ label: account.label, account });
|
|
222
222
|
}
|
|
223
223
|
});
|
|
224
|
-
items.push({ label: ( localize(
|
|
224
|
+
items.push({ label: ( localize(13729, "Sign in to another account")) });
|
|
225
225
|
quickPick.items = items;
|
|
226
226
|
quickPick.title = ( localize(
|
|
227
|
-
|
|
227
|
+
13730,
|
|
228
228
|
"The MCP server '{0}' wants to access a {1} account",
|
|
229
229
|
mcpServerName,
|
|
230
230
|
this._authenticationService.getProvider(providerId).label
|
|
231
231
|
));
|
|
232
232
|
quickPick.placeholder = ( localize(
|
|
233
|
-
|
|
233
|
+
13731,
|
|
234
234
|
"Select an account for '{0}' to use or Esc to cancel",
|
|
235
235
|
mcpServerName
|
|
236
236
|
));
|
|
@@ -302,7 +302,7 @@ let AuthenticationMcpService = class AuthenticationMcpService extends Disposable
|
|
|
302
302
|
group: '3_accessRequests',
|
|
303
303
|
command: {
|
|
304
304
|
id: `${providerId}${mcpServerId}Access`,
|
|
305
|
-
title: ( localize(
|
|
305
|
+
title: ( localize(13732, "Grant access to {0} for {1}... (1)", provider.label, mcpServerName))
|
|
306
306
|
}
|
|
307
307
|
}));
|
|
308
308
|
const accessCommand = CommandsRegistry.registerCommand({
|
|
@@ -346,7 +346,7 @@ let AuthenticationMcpService = class AuthenticationMcpService extends Disposable
|
|
|
346
346
|
group: '2_signInRequests',
|
|
347
347
|
command: {
|
|
348
348
|
id: commandId,
|
|
349
|
-
title: ( localize(
|
|
349
|
+
title: ( localize(13733, "Sign in with {0} to use {1} (1)", provider.label, mcpServerName))
|
|
350
350
|
}
|
|
351
351
|
}));
|
|
352
352
|
const signInCommand = CommandsRegistry.registerCommand({
|