@codingame/monaco-vscode-api 22.1.1 → 22.1.3

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.
@@ -7016,32 +7016,24 @@ class ChatEntitlementsService {
7016
7016
  this.onDidChangeQuotaExceeded = Event.None;
7017
7017
  this.onDidChangeQuotaRemaining = Event.None;
7018
7018
  this.onDidChangeSentiment = Event.None;
7019
+ this.entitlement = ChatEntitlement.Unknown;
7020
+ this.quotas = {};
7021
+ this.sentiment = {
7022
+ installed: false,
7023
+ hidden: true,
7024
+ disabled: true,
7025
+ untrusted: false,
7026
+ later: false,
7027
+ registered: false
7028
+ };
7019
7029
  this.update = unsupported;
7020
- this.entitlementObs = constObservable(ChatEntitlement.Unknown);
7021
- this.sentimentObs = constObservable({});
7030
+ this.entitlementObs = constObservable(this.entitlement);
7031
+ this.sentimentObs = constObservable(this.sentiment);
7022
7032
  this.onDidChangeAnonymous = Event.None;
7023
7033
  this.anonymous = false;
7024
7034
  this.anonymousObs = constObservable(false);
7025
7035
  }
7026
- get entitlement() {
7027
- return unsupported();
7028
- }
7029
- get quotas() {
7030
- return unsupported();
7031
- }
7032
- get sentiment() {
7033
- return unsupported();
7034
- }
7035
7036
  }
7036
- __decorate([
7037
- Unsupported
7038
- ], ChatEntitlementsService.prototype, "entitlement", null);
7039
- __decorate([
7040
- Unsupported
7041
- ], ChatEntitlementsService.prototype, "quotas", null);
7042
- __decorate([
7043
- Unsupported
7044
- ], ChatEntitlementsService.prototype, "sentiment", null);
7045
7037
  __decorate([
7046
7038
  Unsupported
7047
7039
  ], ChatEntitlementsService.prototype, "update", void 0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-api",
3
- "version": "22.1.1",
3
+ "version": "22.1.3",
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": "22.1.1",
19
- "@codingame/monaco-vscode-environment-service-override": "22.1.1",
20
- "@codingame/monaco-vscode-extensions-service-override": "22.1.1",
21
- "@codingame/monaco-vscode-files-service-override": "22.1.1",
22
- "@codingame/monaco-vscode-host-service-override": "22.1.1",
23
- "@codingame/monaco-vscode-layout-service-override": "22.1.1",
24
- "@codingame/monaco-vscode-quickaccess-service-override": "22.1.1",
18
+ "@codingame/monaco-vscode-base-service-override": "22.1.3",
19
+ "@codingame/monaco-vscode-environment-service-override": "22.1.3",
20
+ "@codingame/monaco-vscode-extensions-service-override": "22.1.3",
21
+ "@codingame/monaco-vscode-files-service-override": "22.1.3",
22
+ "@codingame/monaco-vscode-host-service-override": "22.1.3",
23
+ "@codingame/monaco-vscode-layout-service-override": "22.1.3",
24
+ "@codingame/monaco-vscode-quickaccess-service-override": "22.1.3",
25
25
  "@vscode/iconv-lite-umd": "0.7.0",
26
26
  "dompurify": "3.2.7",
27
27
  "jschardet": "3.1.4",
package/services.js CHANGED
@@ -403,10 +403,10 @@ export { IInlineCompletionsUnificationService } from './vscode/src/vs/workbench/
403
403
  export { IMcpGalleryManifestService } from './vscode/src/vs/platform/mcp/common/mcpGalleryManifest.service.js';
404
404
  export { IDataChannelService } from './vscode/src/vs/platform/dataChannel/common/dataChannel.service.js';
405
405
 
406
- if (window.monacoVscodeApiBuildId != null && window.monacoVscodeApiBuildId !== "1.105.0-03b9e0d3-1727-4c8c-9c99-22af73b81b6f") {
407
- throw new Error(`Another version of monaco-vscode-api has already been loaded. Trying to load ${"1.105.0-03b9e0d3-1727-4c8c-9c99-22af73b81b6f"}, ${window.monacoVscodeApiBuildId} is already loaded`);
406
+ if (window.monacoVscodeApiBuildId != null && window.monacoVscodeApiBuildId !== "1.105.0-ead3bf38-2ced-47ac-aa64-b5d108d09558") {
407
+ throw new Error(`Another version of monaco-vscode-api has already been loaded. Trying to load ${"1.105.0-ead3bf38-2ced-47ac-aa64-b5d108d09558"}, ${window.monacoVscodeApiBuildId} is already loaded`);
408
408
  }
409
- window.monacoVscodeApiBuildId = "1.105.0-03b9e0d3-1727-4c8c-9c99-22af73b81b6f";
409
+ window.monacoVscodeApiBuildId = "1.105.0-ead3bf38-2ced-47ac-aa64-b5d108d09558";
410
410
  function registerCommands(options) {
411
411
  function asMenuId(menu) {
412
412
  switch (menu) {
@@ -6,7 +6,7 @@ var product = {
6
6
  quality: 'stable',
7
7
  version: '1.105.0',
8
8
  commit: '03c265b1adee71ac88f833e065f7bb956b60550a',
9
- date: '2025-10-23T12:29:38.675Z',
9
+ date: '2025-10-24T08:45:08.589Z',
10
10
  ...(globalThis._VSCODE_PRODUCT_JSON ?? {})
11
11
  };
12
12
 
@@ -891,7 +891,7 @@ class Extension {
891
891
  this.#originExtensionId = originExtensionId;
892
892
  this.#identifier = description.identifier;
893
893
  this.id = description.identifier.value;
894
- this.isBuiltin = description.isBuiltin;
894
+ this.isBuiltin = description.isBuiltin || description.isUserBuiltin;
895
895
  this.extensionUri = description.extensionLocation;
896
896
  this.extensionPath = normalize(originalFSPath(description.extensionLocation));
897
897
  this.packageJSON = description;