@codingame/monaco-vscode-api 28.3.1 → 28.4.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-api",
3
- "version": "28.3.1",
3
+ "version": "28.4.1",
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.1",
19
- "@codingame/monaco-vscode-environment-service-override": "28.3.1",
20
- "@codingame/monaco-vscode-extensions-service-override": "28.3.1",
21
- "@codingame/monaco-vscode-files-service-override": "28.3.1",
22
- "@codingame/monaco-vscode-host-service-override": "28.3.1",
23
- "@codingame/monaco-vscode-layout-service-override": "28.3.1",
24
- "@codingame/monaco-vscode-quickaccess-service-override": "28.3.1",
18
+ "@codingame/monaco-vscode-base-service-override": "28.4.1",
19
+ "@codingame/monaco-vscode-environment-service-override": "28.4.1",
20
+ "@codingame/monaco-vscode-extensions-service-override": "28.4.1",
21
+ "@codingame/monaco-vscode-files-service-override": "28.4.1",
22
+ "@codingame/monaco-vscode-host-service-override": "28.4.1",
23
+ "@codingame/monaco-vscode-layout-service-override": "28.4.1",
24
+ "@codingame/monaco-vscode-quickaccess-service-override": "28.4.1",
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-3b5f125b-468e-481d-849e-dbea82b8e761") {
430
- throw new Error(`Another version of monaco-vscode-api has already been loaded. Trying to load ${"1.111.0-3b5f125b-468e-481d-849e-dbea82b8e761"}, ${window.monacoVscodeApiBuildId} is already loaded`);
429
+ if (window.monacoVscodeApiBuildId != null && window.monacoVscodeApiBuildId !== "1.111.0-2dee5d3f-f01e-4021-a522-94178ab6b891") {
430
+ throw new Error(`Another version of monaco-vscode-api has already been loaded. Trying to load ${"1.111.0-2dee5d3f-f01e-4021-a522-94178ab6b891"}, ${window.monacoVscodeApiBuildId} is already loaded`);
431
431
  }
432
- window.monacoVscodeApiBuildId = "1.111.0-3b5f125b-468e-481d-849e-dbea82b8e761";
432
+ window.monacoVscodeApiBuildId = "1.111.0-2dee5d3f-f01e-4021-a522-94178ab6b891";
433
433
  function registerCommands(options) {
434
434
  function asMenuId(menu) {
435
435
  switch (menu) {
@@ -6,7 +6,7 @@ var product = {
6
6
  quality: 'stable',
7
7
  version: '1.111.0',
8
8
  commit: 'ce099c1ed25d9eb3076c11e4a280f3eb52b4fbeb',
9
- date: '2026-03-20T17:04:39.767Z',
9
+ date: '2026-03-23T16:01:01.202Z',
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;