@codingame/monaco-vscode-api 28.3.0 → 28.4.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-api",
3
- "version": "28.3.0",
3
+ "version": "28.4.0",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor",
6
6
  "keywords": [],
@@ -15,13 +15,13 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-base-service-override": "28.3.0",
19
- "@codingame/monaco-vscode-environment-service-override": "28.3.0",
20
- "@codingame/monaco-vscode-extensions-service-override": "28.3.0",
21
- "@codingame/monaco-vscode-files-service-override": "28.3.0",
22
- "@codingame/monaco-vscode-host-service-override": "28.3.0",
23
- "@codingame/monaco-vscode-layout-service-override": "28.3.0",
24
- "@codingame/monaco-vscode-quickaccess-service-override": "28.3.0",
18
+ "@codingame/monaco-vscode-base-service-override": "28.4.0",
19
+ "@codingame/monaco-vscode-environment-service-override": "28.4.0",
20
+ "@codingame/monaco-vscode-extensions-service-override": "28.4.0",
21
+ "@codingame/monaco-vscode-files-service-override": "28.4.0",
22
+ "@codingame/monaco-vscode-host-service-override": "28.4.0",
23
+ "@codingame/monaco-vscode-layout-service-override": "28.4.0",
24
+ "@codingame/monaco-vscode-quickaccess-service-override": "28.4.0",
25
25
  "@vscode/iconv-lite-umd": "0.7.1",
26
26
  "dompurify": "3.3.3",
27
27
  "jschardet": "3.1.4",
package/services.js CHANGED
@@ -426,10 +426,10 @@ export { IGitService } from './vscode/src/vs/workbench/contrib/git/common/gitSer
426
426
  export { IWorkbenchMcpGatewayService } from './vscode/src/vs/workbench/contrib/mcp/common/mcpGatewayService.service.js';
427
427
  export { IMcpSandboxService } from './vscode/src/vs/workbench/contrib/mcp/common/mcpSandboxService.service.js';
428
428
 
429
- if (window.monacoVscodeApiBuildId != null && window.monacoVscodeApiBuildId !== "1.111.0-11334de0-5a64-463f-9590-c915fe7707ae") {
430
- throw new Error(`Another version of monaco-vscode-api has already been loaded. Trying to load ${"1.111.0-11334de0-5a64-463f-9590-c915fe7707ae"}, ${window.monacoVscodeApiBuildId} is already loaded`);
429
+ if (window.monacoVscodeApiBuildId != null && window.monacoVscodeApiBuildId !== "1.111.0-1152d7ad-c69c-4084-8371-a4cec2b011d5") {
430
+ throw new Error(`Another version of monaco-vscode-api has already been loaded. Trying to load ${"1.111.0-1152d7ad-c69c-4084-8371-a4cec2b011d5"}, ${window.monacoVscodeApiBuildId} is already loaded`);
431
431
  }
432
- window.monacoVscodeApiBuildId = "1.111.0-11334de0-5a64-463f-9590-c915fe7707ae";
432
+ window.monacoVscodeApiBuildId = "1.111.0-1152d7ad-c69c-4084-8371-a4cec2b011d5";
433
433
  function registerCommands(options) {
434
434
  function asMenuId(menu) {
435
435
  switch (menu) {
@@ -1267,21 +1267,38 @@ export interface IChatParticipantContribution {
1267
1267
  id: string;
1268
1268
  name: string;
1269
1269
  fullName: string;
1270
+ when?: string;
1270
1271
  description?: string;
1271
1272
  isDefault?: boolean;
1273
+ isSticky?: boolean;
1274
+ sampleRequest?: string;
1272
1275
  commands?: {
1273
1276
  name: string;
1274
1277
  }[];
1278
+ locations?: string[];
1275
1279
  modes: string[];
1280
+ disambiguation?: {
1281
+ category: string;
1282
+ categoryName?: string /** Deprecated */;
1283
+ description: string;
1284
+ examples: string[];
1285
+ }[];
1276
1286
  }
1277
1287
  export interface IToolContribution {
1278
1288
  name: string;
1279
1289
  displayName: string;
1280
1290
  modelDescription: string;
1281
- userDescription?: string;
1282
1291
  toolReferenceName?: string;
1292
+ legacyToolReferenceFullNames?: string[];
1293
+ icon?: string | {
1294
+ light: string;
1295
+ dark: string;
1296
+ };
1297
+ when?: string;
1298
+ tags?: string[];
1299
+ userDescription?: string;
1300
+ inputSchema?: IJSONSchema;
1283
1301
  canBeReferencedInPrompt?: boolean;
1284
- inputSchema?: object;
1285
1302
  }
1286
1303
  export interface IToolSetContribution {
1287
1304
  name: string;
@@ -6,7 +6,7 @@ var product = {
6
6
  quality: 'stable',
7
7
  version: '1.111.0',
8
8
  commit: 'ce099c1ed25d9eb3076c11e4a280f3eb52b4fbeb',
9
- date: '2026-03-19T11:46:18.558Z',
9
+ date: '2026-03-23T12:09:33.177Z',
10
10
  ...(globalThis._VSCODE_PRODUCT_JSON ?? {})
11
11
  };
12
12
 
@@ -206,6 +206,10 @@ export interface IWorkbenchConstructionOptions {
206
206
  * Note: This will not install extensions if not installed.
207
207
  */
208
208
  readonly enabledExtensions?: readonly ExtensionId[];
209
+ /**
210
+ * List of extensions to be disabled if they are installed.
211
+ */
212
+ readonly disabledExtensions?: boolean | string[];
209
213
  /**
210
214
  * Additional domains allowed to open from the workbench without the
211
215
  * link protection popup.
@@ -50,7 +50,7 @@ export declare class BrowserWorkbenchEnvironmentService implements IBrowserWorkb
50
50
  get extensionEnabledProposedApi(): string[] | undefined;
51
51
  get debugRenderer(): boolean;
52
52
  get enableSmokeTestDriver(): boolean | undefined;
53
- get disableExtensions(): boolean;
53
+ get disableExtensions(): boolean | string[];
54
54
  get enableExtensions(): readonly string[] | undefined;
55
55
  get webviewExternalEndpoint(): string;
56
56
  get extensionTelemetryLogResource(): URI;
@@ -142,7 +142,7 @@ class BrowserWorkbenchEnvironmentService {
142
142
  return this.options.developmentOptions?.enableSmokeTestDriver;
143
143
  }
144
144
  get disableExtensions() {
145
- return this.payload?.get("disableExtensions") === "true";
145
+ return this.payload?.get("disableExtensions") === "true" ? true : this.options.disabledExtensions ?? false;
146
146
  }
147
147
  get enableExtensions() {
148
148
  return this.options.enabledExtensions;