@codingame/monaco-vscode-api 22.1.0 → 22.1.2
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/missing-services.js +12 -20
- package/package.json +8 -8
- package/services.js +3 -3
- package/vscode/src/vs/platform/product/common/product.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.d.ts +1 -0
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +1 -0
- package/vscode-dts/vscode.d.ts +5 -0
package/missing-services.js
CHANGED
|
@@ -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(
|
|
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.
|
|
3
|
+
"version": "22.1.2",
|
|
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.
|
|
19
|
-
"@codingame/monaco-vscode-environment-service-override": "22.1.
|
|
20
|
-
"@codingame/monaco-vscode-extensions-service-override": "22.1.
|
|
21
|
-
"@codingame/monaco-vscode-files-service-override": "22.1.
|
|
22
|
-
"@codingame/monaco-vscode-host-service-override": "22.1.
|
|
23
|
-
"@codingame/monaco-vscode-layout-service-override": "22.1.
|
|
24
|
-
"@codingame/monaco-vscode-quickaccess-service-override": "22.1.
|
|
18
|
+
"@codingame/monaco-vscode-base-service-override": "22.1.2",
|
|
19
|
+
"@codingame/monaco-vscode-environment-service-override": "22.1.2",
|
|
20
|
+
"@codingame/monaco-vscode-extensions-service-override": "22.1.2",
|
|
21
|
+
"@codingame/monaco-vscode-files-service-override": "22.1.2",
|
|
22
|
+
"@codingame/monaco-vscode-host-service-override": "22.1.2",
|
|
23
|
+
"@codingame/monaco-vscode-layout-service-override": "22.1.2",
|
|
24
|
+
"@codingame/monaco-vscode-quickaccess-service-override": "22.1.2",
|
|
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-
|
|
407
|
-
throw new Error(`Another version of monaco-vscode-api has already been loaded. Trying to load ${"1.105.0-
|
|
406
|
+
if (window.monacoVscodeApiBuildId != null && window.monacoVscodeApiBuildId !== "1.105.0-38fcfd5d-6e5e-4a9a-8118-7f958e51707b") {
|
|
407
|
+
throw new Error(`Another version of monaco-vscode-api has already been loaded. Trying to load ${"1.105.0-38fcfd5d-6e5e-4a9a-8118-7f958e51707b"}, ${window.monacoVscodeApiBuildId} is already loaded`);
|
|
408
408
|
}
|
|
409
|
-
window.monacoVscodeApiBuildId = "1.105.0-
|
|
409
|
+
window.monacoVscodeApiBuildId = "1.105.0-38fcfd5d-6e5e-4a9a-8118-7f958e51707b";
|
|
410
410
|
function registerCommands(options) {
|
|
411
411
|
function asMenuId(menu) {
|
|
412
412
|
switch (menu) {
|
|
@@ -156,6 +156,7 @@ export declare class Extension<T extends object | null | undefined> implements v
|
|
|
156
156
|
readonly packageJSON: IExtensionDescription;
|
|
157
157
|
readonly extensionKind: vscode.ExtensionKind;
|
|
158
158
|
readonly isFromDifferentExtensionHost: boolean;
|
|
159
|
+
readonly isBuiltin: boolean;
|
|
159
160
|
constructor(extensionService: IExtHostExtensionService, originExtensionId: ExtensionIdentifier, description: IExtensionDescription, kind: ExtensionKind, isFromDifferentExtensionHost: boolean);
|
|
160
161
|
get isActive(): boolean;
|
|
161
162
|
get exports(): T;
|
|
@@ -891,6 +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
895
|
this.extensionUri = description.extensionLocation;
|
|
895
896
|
this.extensionPath = normalize(originalFSPath(description.extensionLocation));
|
|
896
897
|
this.packageJSON = description;
|
package/vscode-dts/vscode.d.ts
CHANGED
|
@@ -8311,6 +8311,11 @@ declare module 'vscode' {
|
|
|
8311
8311
|
*/
|
|
8312
8312
|
extensionKind: ExtensionKind;
|
|
8313
8313
|
|
|
8314
|
+
/**
|
|
8315
|
+
* `true` if the extension is a built-in extension.
|
|
8316
|
+
*/
|
|
8317
|
+
isBuiltin: boolean;
|
|
8318
|
+
|
|
8314
8319
|
/**
|
|
8315
8320
|
* The public API exported by this extension (return value of `activate`).
|
|
8316
8321
|
* It is an invalid action to access this field before this extension has been activated.
|