@theia/plugin-ext 1.45.0 → 1.46.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/lib/common/plugin-api-rpc.d.ts +9 -4
- package/lib/common/plugin-api-rpc.d.ts.map +1 -1
- package/lib/common/plugin-api-rpc.js +3 -1
- package/lib/common/plugin-api-rpc.js.map +1 -1
- package/lib/common/plugin-ext-api-contribution.d.ts +35 -5
- package/lib/common/plugin-ext-api-contribution.d.ts.map +1 -1
- package/lib/common/plugin-ext-api-contribution.js.map +1 -1
- package/lib/common/plugin-protocol.d.ts +5 -2
- package/lib/common/plugin-protocol.d.ts.map +1 -1
- package/lib/common/plugin-protocol.js +1 -0
- package/lib/common/plugin-protocol.js.map +1 -1
- package/lib/common/proxy-handler.d.ts +7 -0
- package/lib/common/proxy-handler.d.ts.map +1 -1
- package/lib/common/proxy-handler.js +5 -1
- package/lib/common/proxy-handler.js.map +1 -1
- package/lib/common/rpc-protocol.d.ts +10 -0
- package/lib/common/rpc-protocol.d.ts.map +1 -1
- package/lib/common/rpc-protocol.js +32 -3
- package/lib/common/rpc-protocol.js.map +1 -1
- package/lib/hosted/browser/hosted-plugin.d.ts +16 -74
- package/lib/hosted/browser/hosted-plugin.d.ts.map +1 -1
- package/lib/hosted/browser/hosted-plugin.js +41 -314
- package/lib/hosted/browser/hosted-plugin.js.map +1 -1
- package/lib/hosted/browser/worker/debug-stub.d.ts +2 -2
- package/lib/hosted/browser/worker/debug-stub.d.ts.map +1 -1
- package/lib/hosted/browser/worker/debug-stub.js +3 -3
- package/lib/hosted/browser/worker/debug-stub.js.map +1 -1
- package/lib/hosted/browser/worker/worker-env-ext.d.ts +1 -2
- package/lib/hosted/browser/worker/worker-env-ext.d.ts.map +1 -1
- package/lib/hosted/browser/worker/worker-env-ext.js +18 -4
- package/lib/hosted/browser/worker/worker-env-ext.js.map +1 -1
- package/lib/hosted/browser/worker/worker-main.js +20 -32
- package/lib/hosted/browser/worker/worker-main.js.map +1 -1
- package/lib/hosted/browser/worker/worker-plugin-module.d.ts +5 -0
- package/lib/hosted/browser/worker/worker-plugin-module.d.ts.map +1 -0
- package/lib/hosted/browser/worker/worker-plugin-module.js +71 -0
- package/lib/hosted/browser/worker/worker-plugin-module.js.map +1 -0
- package/lib/hosted/common/hosted-plugin.d.ts +97 -0
- package/lib/hosted/common/hosted-plugin.d.ts.map +1 -0
- package/lib/hosted/common/hosted-plugin.js +408 -0
- package/lib/hosted/common/hosted-plugin.js.map +1 -0
- package/lib/hosted/node/hosted-plugin-process.d.ts +1 -1
- package/lib/hosted/node/hosted-plugin-process.d.ts.map +1 -1
- package/lib/hosted/node/hosted-plugin-process.js +2 -2
- package/lib/hosted/node/hosted-plugin-process.js.map +1 -1
- package/lib/hosted/node/plugin-ext-hosted-backend-module.d.ts.map +1 -1
- package/lib/hosted/node/plugin-ext-hosted-backend-module.js +2 -0
- package/lib/hosted/node/plugin-ext-hosted-backend-module.js.map +1 -1
- package/lib/hosted/node/plugin-host-module.d.ts +5 -0
- package/lib/hosted/node/plugin-host-module.d.ts.map +1 -0
- package/lib/hosted/node/plugin-host-module.js +68 -0
- package/lib/hosted/node/plugin-host-module.js.map +1 -0
- package/lib/hosted/node/plugin-host-rpc.d.ts +93 -7
- package/lib/hosted/node/plugin-host-rpc.d.ts.map +1 -1
- package/lib/hosted/node/plugin-host-rpc.js +202 -53
- package/lib/hosted/node/plugin-host-rpc.js.map +1 -1
- package/lib/hosted/node/plugin-host.js +6 -5
- package/lib/hosted/node/plugin-host.js.map +1 -1
- package/lib/hosted/node/plugin-reader.d.ts.map +1 -1
- package/lib/hosted/node/plugin-reader.js +3 -0
- package/lib/hosted/node/plugin-reader.js.map +1 -1
- package/lib/hosted/node/plugin-service.d.ts +8 -0
- package/lib/hosted/node/plugin-service.d.ts.map +1 -1
- package/lib/hosted/node/plugin-service.js +14 -4
- package/lib/hosted/node/plugin-service.js.map +1 -1
- package/lib/hosted/node/scanners/file-plugin-uri-factory.js +1 -1
- package/lib/hosted/node/scanners/file-plugin-uri-factory.js.map +1 -1
- package/lib/hosted/node/scanners/scanner-theia.d.ts +17 -3
- package/lib/hosted/node/scanners/scanner-theia.d.ts.map +1 -1
- package/lib/hosted/node/scanners/scanner-theia.js +48 -19
- package/lib/hosted/node/scanners/scanner-theia.js.map +1 -1
- package/lib/main/browser/authentication-main.d.ts.map +1 -1
- package/lib/main/browser/authentication-main.js +3 -1
- package/lib/main/browser/authentication-main.js.map +1 -1
- package/lib/main/browser/env-main.d.ts +1 -10
- package/lib/main/browser/env-main.d.ts.map +1 -1
- package/lib/main/browser/env-main.js +2 -21
- package/lib/main/browser/env-main.js.map +1 -1
- package/lib/main/browser/menus/menus-contribution-handler.d.ts.map +1 -1
- package/lib/main/browser/menus/menus-contribution-handler.js +6 -3
- package/lib/main/browser/menus/menus-contribution-handler.js.map +1 -1
- package/lib/main/browser/menus/plugin-menu-command-adapter.js +1 -1
- package/lib/main/browser/menus/plugin-menu-command-adapter.js.map +1 -1
- package/lib/main/browser/message-registry-main.d.ts +6 -4
- package/lib/main/browser/message-registry-main.d.ts.map +1 -1
- package/lib/main/browser/message-registry-main.js +7 -19
- package/lib/main/browser/message-registry-main.js.map +1 -1
- package/lib/main/browser/notebooks/renderers/cell-output-webview.d.ts +1 -0
- package/lib/main/browser/notebooks/renderers/cell-output-webview.d.ts.map +1 -1
- package/lib/main/browser/notebooks/renderers/cell-output-webview.js +23 -22
- package/lib/main/browser/notebooks/renderers/cell-output-webview.js.map +1 -1
- package/lib/main/browser/notebooks/renderers/output-webview-internal.d.ts.map +1 -1
- package/lib/main/browser/notebooks/renderers/output-webview-internal.js +22 -14
- package/lib/main/browser/notebooks/renderers/output-webview-internal.js.map +1 -1
- package/lib/main/browser/notebooks/renderers/webview-communication.d.ts +2 -1
- package/lib/main/browser/notebooks/renderers/webview-communication.d.ts.map +1 -1
- package/lib/main/browser/notification-main.d.ts +2 -14
- package/lib/main/browser/notification-main.d.ts.map +1 -1
- package/lib/main/browser/notification-main.js +3 -52
- package/lib/main/browser/notification-main.js.map +1 -1
- package/lib/main/browser/terminal-main.d.ts +1 -1
- package/lib/main/browser/terminal-main.d.ts.map +1 -1
- package/lib/main/browser/terminal-main.js +2 -2
- package/lib/main/browser/terminal-main.js.map +1 -1
- package/lib/main/browser/view/plugin-view-registry.d.ts.map +1 -1
- package/lib/main/browser/view/plugin-view-registry.js +5 -2
- package/lib/main/browser/view/plugin-view-registry.js.map +1 -1
- package/lib/main/browser/webview/webview-context-keys.d.ts +5 -1
- package/lib/main/browser/webview/webview-context-keys.d.ts.map +1 -1
- package/lib/main/browser/webview/webview-context-keys.js +13 -4
- package/lib/main/browser/webview/webview-context-keys.js.map +1 -1
- package/lib/main/browser/webview/webview-widget-factory.d.ts.map +1 -1
- package/lib/main/browser/webview/webview-widget-factory.js +2 -1
- package/lib/main/browser/webview/webview-widget-factory.js.map +1 -1
- package/lib/main/browser/webview/webview.d.ts +1 -0
- package/lib/main/browser/webview/webview.d.ts.map +1 -1
- package/lib/main/browser/webview/webview.js +1 -0
- package/lib/main/browser/webview/webview.js.map +1 -1
- package/lib/main/browser/webviews-main.d.ts.map +1 -1
- package/lib/main/browser/webviews-main.js +7 -2
- package/lib/main/browser/webviews-main.js.map +1 -1
- package/lib/main/common/basic-message-registry-main.d.ts +14 -0
- package/lib/main/common/basic-message-registry-main.d.ts.map +1 -0
- package/lib/main/common/basic-message-registry-main.js +50 -0
- package/lib/main/common/basic-message-registry-main.js.map +1 -0
- package/lib/main/common/basic-notification-main.d.ts +19 -0
- package/lib/main/common/basic-notification-main.d.ts.map +1 -0
- package/lib/main/common/basic-notification-main.js +75 -0
- package/lib/main/common/basic-notification-main.js.map +1 -0
- package/lib/main/common/env-main.d.ts +11 -0
- package/lib/main/common/env-main.d.ts.map +1 -0
- package/lib/main/common/env-main.js +40 -0
- package/lib/main/common/env-main.js.map +1 -0
- package/lib/main/node/handlers/plugin-theia-directory-handler.d.ts +8 -3
- package/lib/main/node/handlers/plugin-theia-directory-handler.d.ts.map +1 -1
- package/lib/main/node/handlers/plugin-theia-directory-handler.js +38 -20
- package/lib/main/node/handlers/plugin-theia-directory-handler.js.map +1 -1
- package/lib/main/node/handlers/plugin-theia-file-handler.js +1 -1
- package/lib/main/node/handlers/plugin-theia-file-handler.js.map +1 -1
- package/lib/main/node/plugin-deployer-impl.d.ts.map +1 -1
- package/lib/main/node/plugin-deployer-impl.js +5 -1
- package/lib/main/node/plugin-deployer-impl.js.map +1 -1
- package/lib/main/node/plugins-key-value-storage.js +1 -1
- package/lib/main/node/plugins-key-value-storage.js.map +1 -1
- package/lib/plugin/clipboard-ext.d.ts +3 -2
- package/lib/plugin/clipboard-ext.d.ts.map +1 -1
- package/lib/plugin/clipboard-ext.js +28 -4
- package/lib/plugin/clipboard-ext.js.map +1 -1
- package/lib/plugin/debug/debug-ext.d.ts +3 -1
- package/lib/plugin/debug/debug-ext.d.ts.map +1 -1
- package/lib/plugin/debug/debug-ext.js +31 -4
- package/lib/plugin/debug/debug-ext.js.map +1 -1
- package/lib/plugin/documents.js +2 -2
- package/lib/plugin/documents.js.map +1 -1
- package/lib/plugin/editors-and-documents.d.ts +1 -2
- package/lib/plugin/editors-and-documents.d.ts.map +1 -1
- package/lib/plugin/editors-and-documents.js +21 -4
- package/lib/plugin/editors-and-documents.js.map +1 -1
- package/lib/plugin/env.d.ts +6 -2
- package/lib/plugin/env.d.ts.map +1 -1
- package/lib/plugin/env.js +37 -4
- package/lib/plugin/env.js.map +1 -1
- package/lib/plugin/localization-ext.d.ts +3 -2
- package/lib/plugin/localization-ext.d.ts.map +1 -1
- package/lib/plugin/localization-ext.js +30 -4
- package/lib/plugin/localization-ext.js.map +1 -1
- package/lib/plugin/message-registry.d.ts +2 -1
- package/lib/plugin/message-registry.d.ts.map +1 -1
- package/lib/plugin/message-registry.js +28 -4
- package/lib/plugin/message-registry.js.map +1 -1
- package/lib/plugin/node/debug/debug.spec.js +21 -1
- package/lib/plugin/node/debug/debug.spec.js.map +1 -1
- package/lib/plugin/node/env-node-ext.d.ts +1 -6
- package/lib/plugin/node/env-node-ext.d.ts.map +1 -1
- package/lib/plugin/node/env-node-ext.js +18 -10
- package/lib/plugin/node/env-node-ext.js.map +1 -1
- package/lib/plugin/node/plugin-container-module.d.ts +75 -0
- package/lib/plugin/node/plugin-container-module.d.ts.map +1 -0
- package/lib/plugin/node/plugin-container-module.js +115 -0
- package/lib/plugin/node/plugin-container-module.js.map +1 -0
- package/lib/plugin/notebook/notebook-kernels.d.ts.map +1 -1
- package/lib/plugin/notebook/notebook-kernels.js +0 -1
- package/lib/plugin/notebook/notebook-kernels.js.map +1 -1
- package/lib/plugin/plugin-context.d.ts.map +1 -1
- package/lib/plugin/plugin-context.js +9 -1
- package/lib/plugin/plugin-context.js.map +1 -1
- package/lib/plugin/plugin-manager.d.ts +26 -17
- package/lib/plugin/plugin-manager.d.ts.map +1 -1
- package/lib/plugin/plugin-manager.js +107 -37
- package/lib/plugin/plugin-manager.js.map +1 -1
- package/lib/plugin/plugin-storage.d.ts +11 -3
- package/lib/plugin/plugin-storage.d.ts.map +1 -1
- package/lib/plugin/plugin-storage.js +25 -5
- package/lib/plugin/plugin-storage.js.map +1 -1
- package/lib/plugin/preference-registry.d.ts +3 -2
- package/lib/plugin/preference-registry.d.ts.map +1 -1
- package/lib/plugin/preference-registry.js +35 -5
- package/lib/plugin/preference-registry.js.map +1 -1
- package/lib/plugin/preference-registry.spec.js +8 -1
- package/lib/plugin/preference-registry.spec.js.map +1 -1
- package/lib/plugin/quick-open.js +3 -3
- package/lib/plugin/quick-open.js.map +1 -1
- package/lib/plugin/secrets-ext.d.ts +16 -7
- package/lib/plugin/secrets-ext.d.ts.map +1 -1
- package/lib/plugin/secrets-ext.js +23 -3
- package/lib/plugin/secrets-ext.js.map +1 -1
- package/lib/plugin/terminal-ext.d.ts +1 -1
- package/lib/plugin/terminal-ext.d.ts.map +1 -1
- package/lib/plugin/terminal-ext.js +26 -6
- package/lib/plugin/terminal-ext.js.map +1 -1
- package/lib/plugin/types-impl.d.ts +22 -2
- package/lib/plugin/types-impl.d.ts.map +1 -1
- package/lib/plugin/types-impl.js +22 -6
- package/lib/plugin/types-impl.js.map +1 -1
- package/lib/plugin/webview-views.d.ts.map +1 -1
- package/lib/plugin/webview-views.js +2 -1
- package/lib/plugin/webview-views.js.map +1 -1
- package/lib/plugin/webviews.d.ts +7 -5
- package/lib/plugin/webviews.d.ts.map +1 -1
- package/lib/plugin/webviews.js +46 -12
- package/lib/plugin/webviews.js.map +1 -1
- package/lib/plugin/workspace.d.ts +4 -3
- package/lib/plugin/workspace.d.ts.map +1 -1
- package/lib/plugin/workspace.js +40 -6
- package/lib/plugin/workspace.js.map +1 -1
- package/package.json +29 -29
- package/src/common/plugin-api-rpc.ts +10 -6
- package/src/common/plugin-ext-api-contribution.ts +38 -5
- package/src/common/plugin-protocol.ts +7 -2
- package/src/common/proxy-handler.ts +14 -1
- package/src/common/rpc-protocol.ts +41 -3
- package/src/hosted/browser/hosted-plugin.ts +47 -337
- package/src/hosted/browser/worker/debug-stub.ts +4 -3
- package/src/hosted/browser/worker/worker-env-ext.ts +5 -4
- package/src/hosted/browser/worker/worker-main.ts +103 -115
- package/src/hosted/browser/worker/worker-plugin-module.ts +73 -0
- package/src/hosted/common/hosted-plugin.ts +456 -0
- package/src/hosted/node/hosted-plugin-process.ts +4 -4
- package/src/hosted/node/plugin-ext-hosted-backend-module.ts +3 -1
- package/src/hosted/node/plugin-host-module.ts +69 -0
- package/src/hosted/node/plugin-host-rpc.ts +232 -73
- package/src/hosted/node/plugin-host.ts +9 -7
- package/src/hosted/node/plugin-reader.ts +3 -0
- package/src/hosted/node/plugin-service.ts +21 -4
- package/src/hosted/node/scanners/file-plugin-uri-factory.ts +1 -1
- package/src/hosted/node/scanners/scanner-theia.ts +46 -12
- package/src/main/browser/authentication-main.ts +3 -1
- package/src/main/browser/env-main.ts +1 -28
- package/src/main/browser/menus/menus-contribution-handler.ts +8 -3
- package/src/main/browser/menus/plugin-menu-command-adapter.ts +1 -1
- package/src/main/browser/message-registry-main.ts +10 -23
- package/src/main/browser/notebooks/renderers/cell-output-webview.tsx +26 -24
- package/src/main/browser/notebooks/renderers/output-webview-internal.ts +22 -13
- package/src/main/browser/notebooks/renderers/webview-communication.ts +2 -1
- package/src/main/browser/notification-main.ts +4 -64
- package/src/main/browser/terminal-main.ts +2 -2
- package/src/main/browser/view/plugin-view-registry.ts +6 -3
- package/src/main/browser/webview/webview-context-keys.ts +17 -4
- package/src/main/browser/webview/webview-widget-factory.ts +2 -1
- package/src/main/browser/webview/webview.ts +2 -0
- package/src/main/browser/webviews-main.ts +7 -2
- package/src/main/common/basic-message-registry-main.ts +53 -0
- package/src/main/common/basic-notification-main.ts +86 -0
- package/src/main/common/env-main.ts +44 -0
- package/src/main/node/handlers/plugin-theia-directory-handler.ts +38 -16
- package/src/main/node/handlers/plugin-theia-file-handler.ts +1 -1
- package/src/main/node/plugin-deployer-impl.ts +5 -1
- package/src/main/node/plugins-key-value-storage.ts +1 -1
- package/src/plugin/clipboard-ext.ts +9 -3
- package/src/plugin/debug/debug-ext.ts +11 -2
- package/src/plugin/documents.ts +2 -2
- package/src/plugin/editors-and-documents.ts +5 -3
- package/src/plugin/env.ts +19 -3
- package/src/plugin/localization-ext.ts +8 -3
- package/src/plugin/message-registry.ts +7 -2
- package/src/plugin/node/debug/debug.spec.ts +5 -1
- package/src/plugin/node/env-node-ext.ts +5 -10
- package/src/plugin/node/plugin-container-module.ts +165 -0
- package/src/plugin/notebook/notebook-kernels.ts +0 -1
- package/src/plugin/plugin-context.ts +11 -2
- package/src/plugin/plugin-manager.ts +99 -45
- package/src/plugin/plugin-storage.ts +22 -4
- package/src/plugin/preference-registry.spec.ts +6 -1
- package/src/plugin/preference-registry.ts +11 -5
- package/src/plugin/quick-open.ts +3 -3
- package/src/plugin/secrets-ext.ts +25 -5
- package/src/plugin/terminal-ext.ts +5 -3
- package/src/plugin/types-impl.ts +30 -2
- package/src/plugin/webview-views.ts +2 -1
- package/src/plugin/webviews.ts +22 -13
- package/src/plugin/workspace.ts +14 -4
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { EnvExtImpl } from '../../../plugin/env';
|
|
2
|
-
import { RPCProtocol } from '../../../common/rpc-protocol';
|
|
3
2
|
/**
|
|
4
3
|
* Worker specific implementation not returning any FileSystem details
|
|
5
4
|
* Extending the common class
|
|
6
5
|
*/
|
|
7
6
|
export declare class WorkerEnvExtImpl extends EnvExtImpl {
|
|
8
|
-
constructor(
|
|
7
|
+
constructor();
|
|
9
8
|
/**
|
|
10
9
|
* Throw error for app-root as there is no filesystem in worker context
|
|
11
10
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"worker-env-ext.d.ts","sourceRoot":"","sources":["../../../../src/hosted/browser/worker/worker-env-ext.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"worker-env-ext.d.ts","sourceRoot":"","sources":["../../../../src/hosted/browser/worker/worker-env-ext.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD;;;GAGG;AACH,qBACa,gBAAiB,SAAQ,UAAU;;IAM5C;;OAEG;IACH,IAAa,OAAO,IAAI,MAAM,CAE7B;IAED,IAAI,eAAe,IAAI,OAAO,CAE7B;CAEJ"}
|
|
@@ -14,16 +14,26 @@
|
|
|
14
14
|
//
|
|
15
15
|
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
16
16
|
// *****************************************************************************
|
|
17
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
21
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22
|
+
};
|
|
23
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
24
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
25
|
+
};
|
|
17
26
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
27
|
exports.WorkerEnvExtImpl = void 0;
|
|
28
|
+
const inversify_1 = require("@theia/core/shared/inversify");
|
|
19
29
|
const env_1 = require("../../../plugin/env");
|
|
20
30
|
/**
|
|
21
31
|
* Worker specific implementation not returning any FileSystem details
|
|
22
32
|
* Extending the common class
|
|
23
33
|
*/
|
|
24
|
-
class WorkerEnvExtImpl extends env_1.EnvExtImpl {
|
|
25
|
-
constructor(
|
|
26
|
-
super(
|
|
34
|
+
let WorkerEnvExtImpl = class WorkerEnvExtImpl extends env_1.EnvExtImpl {
|
|
35
|
+
constructor() {
|
|
36
|
+
super();
|
|
27
37
|
}
|
|
28
38
|
/**
|
|
29
39
|
* Throw error for app-root as there is no filesystem in worker context
|
|
@@ -34,6 +44,10 @@ class WorkerEnvExtImpl extends env_1.EnvExtImpl {
|
|
|
34
44
|
get isNewAppInstall() {
|
|
35
45
|
return false;
|
|
36
46
|
}
|
|
37
|
-
}
|
|
47
|
+
};
|
|
48
|
+
WorkerEnvExtImpl = __decorate([
|
|
49
|
+
(0, inversify_1.injectable)(),
|
|
50
|
+
__metadata("design:paramtypes", [])
|
|
51
|
+
], WorkerEnvExtImpl);
|
|
38
52
|
exports.WorkerEnvExtImpl = WorkerEnvExtImpl;
|
|
39
53
|
//# sourceMappingURL=worker-env-ext.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"worker-env-ext.js","sourceRoot":"","sources":["../../../../src/hosted/browser/worker/worker-env-ext.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,+CAA+C;AAC/C,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF
|
|
1
|
+
{"version":3,"file":"worker-env-ext.js","sourceRoot":"","sources":["../../../../src/hosted/browser/worker/worker-env-ext.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,+CAA+C;AAC/C,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;;;;;;;;;AAEhF,4DAA0D;AAC1D,6CAAiD;AAEjD;;;GAGG;AAEH,IAAa,gBAAgB,GAA7B,MAAa,gBAAiB,SAAQ,gBAAU;IAE5C;QACI,KAAK,EAAE,CAAC;IACZ,CAAC;IAED;;OAEG;IACH,IAAa,OAAO;QAChB,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;IAC9D,CAAC;IAED,IAAI,eAAe;QACf,OAAO,KAAK,CAAC;IACjB,CAAC;CAEJ,CAAA;AAjBY,gBAAgB;IAD5B,IAAA,sBAAU,GAAE;;GACA,gBAAgB,CAiB5B;AAjBY,4CAAgB"}
|
|
@@ -17,8 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
// *****************************************************************************
|
|
18
18
|
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
19
19
|
require("reflect-metadata");
|
|
20
|
-
const
|
|
21
|
-
const uint8_array_message_buffer_1 = require("@theia/core/lib/common/message-rpc/uint8-array-message-buffer");
|
|
20
|
+
const inversify_1 = require("@theia/core/shared/inversify");
|
|
22
21
|
const plugin_api_rpc_1 = require("../../../common/plugin-api-rpc");
|
|
23
22
|
const plugin_protocol_1 = require("../../../common/plugin-protocol");
|
|
24
23
|
const rpc_protocol_1 = require("../../../common/rpc-protocol");
|
|
@@ -29,30 +28,17 @@ const plugin_context_1 = require("../../../plugin/plugin-context");
|
|
|
29
28
|
const plugin_manager_1 = require("../../../plugin/plugin-manager");
|
|
30
29
|
const plugin_storage_1 = require("../../../plugin/plugin-storage");
|
|
31
30
|
const preference_registry_1 = require("../../../plugin/preference-registry");
|
|
32
|
-
const secrets_ext_1 = require("../../../plugin/secrets-ext");
|
|
33
|
-
const terminal_ext_1 = require("../../../plugin/terminal-ext");
|
|
34
31
|
const webviews_1 = require("../../../plugin/webviews");
|
|
35
32
|
const workspace_1 = require("../../../plugin/workspace");
|
|
36
|
-
const debug_stub_1 = require("./debug-stub");
|
|
37
33
|
const plugin_manifest_loader_1 = require("./plugin-manifest-loader");
|
|
38
|
-
const
|
|
34
|
+
const env_1 = require("../../../plugin/env");
|
|
35
|
+
const debug_ext_1 = require("../../../plugin/debug/debug-ext");
|
|
39
36
|
const localization_ext_1 = require("../../../plugin/localization-ext");
|
|
37
|
+
const worker_plugin_module_1 = require("./worker-plugin-module");
|
|
40
38
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
41
39
|
const ctx = self;
|
|
42
40
|
const pluginsApiImpl = new Map();
|
|
43
41
|
const pluginsModulesNames = new Map();
|
|
44
|
-
const channel = new channel_1.BasicChannel(() => {
|
|
45
|
-
const writeBuffer = new uint8_array_message_buffer_1.Uint8ArrayWriteBuffer();
|
|
46
|
-
writeBuffer.onCommit(buffer => {
|
|
47
|
-
ctx.postMessage(buffer);
|
|
48
|
-
});
|
|
49
|
-
return writeBuffer;
|
|
50
|
-
});
|
|
51
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
52
|
-
addEventListener('message', (message) => {
|
|
53
|
-
channel.onMessageEmitter.fire(() => new uint8_array_message_buffer_1.Uint8ArrayReadBuffer(message.data));
|
|
54
|
-
});
|
|
55
|
-
const rpc = new rpc_protocol_1.RPCProtocolImpl(channel);
|
|
56
42
|
const scripts = new Set();
|
|
57
43
|
function initialize(contextPath, pluginMetadata) {
|
|
58
44
|
const path = '/context/' + contextPath;
|
|
@@ -61,19 +47,11 @@ function initialize(contextPath, pluginMetadata) {
|
|
|
61
47
|
scripts.add(path);
|
|
62
48
|
}
|
|
63
49
|
}
|
|
64
|
-
const
|
|
65
|
-
|
|
66
|
-
const
|
|
67
|
-
const
|
|
68
|
-
|
|
69
|
-
const preferenceRegistryExt = new preference_registry_1.PreferenceRegistryExtImpl(rpc, workspaceExt);
|
|
70
|
-
const debugExt = (0, debug_stub_1.createDebugExtStub)(rpc);
|
|
71
|
-
const clipboardExt = new clipboard_ext_1.ClipboardExt(rpc);
|
|
72
|
-
const webviewExt = new webviews_1.WebviewsExtImpl(rpc, workspaceExt);
|
|
73
|
-
const secretsExt = new secrets_ext_1.SecretsExtImpl(rpc);
|
|
74
|
-
const localizationExt = new localization_ext_1.LocalizationExtImpl(rpc);
|
|
75
|
-
const terminalService = new terminal_ext_1.TerminalServiceExtImpl(rpc);
|
|
76
|
-
const pluginManager = new plugin_manager_1.PluginManagerExtImpl({
|
|
50
|
+
const container = new inversify_1.Container();
|
|
51
|
+
container.load(worker_plugin_module_1.default);
|
|
52
|
+
const rpc = container.get(rpc_protocol_1.RPCProtocolImpl);
|
|
53
|
+
const pluginManager = container.get(plugin_manager_1.PluginManagerExtImpl);
|
|
54
|
+
pluginManager.setPluginHost({
|
|
77
55
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
78
56
|
loadPlugin(plugin) {
|
|
79
57
|
if (plugin.pluginPath) {
|
|
@@ -162,7 +140,17 @@ const pluginManager = new plugin_manager_1.PluginManagerExtImpl({
|
|
|
162
140
|
}
|
|
163
141
|
}
|
|
164
142
|
}
|
|
165
|
-
}
|
|
143
|
+
});
|
|
144
|
+
const envExt = container.get(env_1.EnvExtImpl);
|
|
145
|
+
const debugExt = container.get(debug_ext_1.DebugExtImpl);
|
|
146
|
+
const preferenceRegistryExt = container.get(preference_registry_1.PreferenceRegistryExtImpl);
|
|
147
|
+
const editorsAndDocuments = container.get(editors_and_documents_1.EditorsAndDocumentsExtImpl);
|
|
148
|
+
const workspaceExt = container.get(workspace_1.WorkspaceExtImpl);
|
|
149
|
+
const messageRegistryExt = container.get(message_registry_1.MessageRegistryExt);
|
|
150
|
+
const clipboardExt = container.get(clipboard_ext_1.ClipboardExt);
|
|
151
|
+
const webviewExt = container.get(webviews_1.WebviewsExtImpl);
|
|
152
|
+
const localizationExt = container.get(localization_ext_1.LocalizationExtImpl);
|
|
153
|
+
const storageProxy = container.get(plugin_storage_1.KeyValueStorageProxy);
|
|
166
154
|
const apiFactory = (0, plugin_context_1.createAPIFactory)(rpc, pluginManager, envExt, debugExt, preferenceRegistryExt, editorsAndDocuments, workspaceExt, messageRegistryExt, clipboardExt, webviewExt, localizationExt);
|
|
167
155
|
let defaultApi;
|
|
168
156
|
const handler = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"worker-main.js","sourceRoot":"","sources":["../../../../src/hosted/browser/worker/worker-main.ts"],"names":[],"mappings":";;AAAA,gFAAgF;AAChF,+CAA+C;AAC/C,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;AAChF,6DAA6D;AAC7D,4BAA0B;AAC1B,
|
|
1
|
+
{"version":3,"file":"worker-main.js","sourceRoot":"","sources":["../../../../src/hosted/browser/worker/worker-main.ts"],"names":[],"mappings":";;AAAA,gFAAgF;AAChF,+CAA+C;AAC/C,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAA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,OAAO,SAAS,KAAK,QAAQ,IAAI,OAAO,SAAS,CAAC,SAAS,KAAK,QAAQ,IAAI,SAAS,CAAC,SAAS,CAAC,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE;QAC1H,OAAO,IAAI,CAAC;KACf;IAED,OAAO,KAAK,CAAC;AACjB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"worker-plugin-module.d.ts","sourceRoot":"","sources":["../../../../src/hosted/browser/worker/worker-plugin-module.ts"],"names":[],"mappings":"AAgBA,OAAO,kBAAkB,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;;AAwB/D,wBA+BG"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
// *****************************************************************************
|
|
4
|
+
// Copyright (C) 2024 EclipseSource and others.
|
|
5
|
+
//
|
|
6
|
+
// This program and the accompanying materials are made available under the
|
|
7
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
8
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
9
|
+
//
|
|
10
|
+
// This Source Code may also be made available under the following Secondary
|
|
11
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
12
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
13
|
+
// with the GNU Classpath Exception which is available at
|
|
14
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
15
|
+
//
|
|
16
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
17
|
+
// *****************************************************************************
|
|
18
|
+
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
19
|
+
require("reflect-metadata");
|
|
20
|
+
const inversify_1 = require("@theia/core/shared/inversify");
|
|
21
|
+
const channel_1 = require("@theia/core/lib/common/message-rpc/channel");
|
|
22
|
+
const uint8_array_message_buffer_1 = require("@theia/core/lib/common/message-rpc/uint8-array-message-buffer");
|
|
23
|
+
const plugin_api_rpc_1 = require("../../../common/plugin-api-rpc");
|
|
24
|
+
const rpc_protocol_1 = require("../../../common/rpc-protocol");
|
|
25
|
+
const clipboard_ext_1 = require("../../../plugin/clipboard-ext");
|
|
26
|
+
const editors_and_documents_1 = require("../../../plugin/editors-and-documents");
|
|
27
|
+
const message_registry_1 = require("../../../plugin/message-registry");
|
|
28
|
+
const plugin_manager_1 = require("../../../plugin/plugin-manager");
|
|
29
|
+
const plugin_storage_1 = require("../../../plugin/plugin-storage");
|
|
30
|
+
const preference_registry_1 = require("../../../plugin/preference-registry");
|
|
31
|
+
const secrets_ext_1 = require("../../../plugin/secrets-ext");
|
|
32
|
+
const terminal_ext_1 = require("../../../plugin/terminal-ext");
|
|
33
|
+
const webviews_1 = require("../../../plugin/webviews");
|
|
34
|
+
const workspace_1 = require("../../../plugin/workspace");
|
|
35
|
+
const debug_stub_1 = require("./debug-stub");
|
|
36
|
+
const env_1 = require("../../../plugin/env");
|
|
37
|
+
const worker_env_ext_1 = require("./worker-env-ext");
|
|
38
|
+
const debug_ext_1 = require("../../../plugin/debug/debug-ext");
|
|
39
|
+
const localization_ext_1 = require("../../../plugin/localization-ext");
|
|
40
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
41
|
+
const ctx = self;
|
|
42
|
+
exports.default = new inversify_1.ContainerModule(bind => {
|
|
43
|
+
const channel = new channel_1.BasicChannel(() => {
|
|
44
|
+
const writeBuffer = new uint8_array_message_buffer_1.Uint8ArrayWriteBuffer();
|
|
45
|
+
writeBuffer.onCommit(buffer => {
|
|
46
|
+
ctx.postMessage(buffer);
|
|
47
|
+
});
|
|
48
|
+
return writeBuffer;
|
|
49
|
+
});
|
|
50
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
51
|
+
addEventListener('message', (message) => {
|
|
52
|
+
channel.onMessageEmitter.fire(() => new uint8_array_message_buffer_1.Uint8ArrayReadBuffer(message.data));
|
|
53
|
+
});
|
|
54
|
+
const rpc = new rpc_protocol_1.RPCProtocolImpl(channel);
|
|
55
|
+
bind(rpc_protocol_1.RPCProtocol).toConstantValue(rpc);
|
|
56
|
+
bind(plugin_manager_1.PluginManagerExtImpl).toSelf().inSingletonScope();
|
|
57
|
+
bind(env_1.EnvExtImpl).to(worker_env_ext_1.WorkerEnvExtImpl).inSingletonScope();
|
|
58
|
+
bind(plugin_api_rpc_1.LocalizationExt).to(localization_ext_1.LocalizationExtImpl).inSingletonScope();
|
|
59
|
+
bind(plugin_storage_1.KeyValueStorageProxy).toSelf().inSingletonScope();
|
|
60
|
+
bind(secrets_ext_1.SecretsExtImpl).toSelf().inSingletonScope();
|
|
61
|
+
bind(preference_registry_1.PreferenceRegistryExtImpl).toSelf().inSingletonScope();
|
|
62
|
+
bind(debug_ext_1.DebugExtImpl).toDynamicValue(({ container }) => (0, debug_stub_1.createDebugExtStub)(container))
|
|
63
|
+
.inSingletonScope();
|
|
64
|
+
bind(editors_and_documents_1.EditorsAndDocumentsExtImpl).toSelf().inSingletonScope();
|
|
65
|
+
bind(workspace_1.WorkspaceExtImpl).toSelf().inSingletonScope();
|
|
66
|
+
bind(message_registry_1.MessageRegistryExt).toSelf().inSingletonScope();
|
|
67
|
+
bind(clipboard_ext_1.ClipboardExt).toSelf().inSingletonScope();
|
|
68
|
+
bind(webviews_1.WebviewsExtImpl).toSelf().inSingletonScope();
|
|
69
|
+
bind(terminal_ext_1.TerminalServiceExtImpl).toSelf().inSingletonScope();
|
|
70
|
+
});
|
|
71
|
+
//# sourceMappingURL=worker-plugin-module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"worker-plugin-module.js","sourceRoot":"","sources":["../../../../src/hosted/browser/worker/worker-plugin-module.ts"],"names":[],"mappings":";;AAAA,gFAAgF;AAChF,+CAA+C;AAC/C,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E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AC;IACvD,IAAI,CAAC,gBAAU,CAAC,CAAC,EAAE,CAAC,iCAAgB,CAAC,CAAC,gBAAgB,EAAE,CAAC;IACzD,IAAI,CAAC,gCAAe,CAAC,CAAC,EAAE,CAAC,sCAAmB,CAAC,CAAC,gBAAgB,EAAE,CAAC;IACjE,IAAI,CAAC,qCAAoB,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;IACvD,IAAI,CAAC,4BAAc,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;IACjD,IAAI,CAAC,+CAAyB,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;IAC5D,IAAI,CAAC,wBAAY,CAAC,CAAC,cAAc,CAAC,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,IAAA,+BAAkB,EAAC,SAAS,CAAC,CAAC;SAC9E,gBAAgB,EAAE,CAAC;IACxB,IAAI,CAAC,kDAA0B,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;IAC7D,IAAI,CAAC,4BAAgB,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;IACnD,IAAI,CAAC,qCAAkB,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;IACrD,IAAI,CAAC,4BAAY,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;IAC/C,IAAI,CAAC,0BAAe,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;IAClD,IAAI,CAAC,qCAAsB,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;AAC7D,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/// <reference types="lodash" />
|
|
2
|
+
import { interfaces } from '@theia/core/shared/inversify';
|
|
3
|
+
import { PluginMetadata, HostedPluginServer, DeployedPlugin, PluginServer, PluginIdentifiers } from '../../common/plugin-protocol';
|
|
4
|
+
import { AbstractPluginManagerExt } from '../../common/plugin-api-rpc';
|
|
5
|
+
import { Disposable, DisposableCollection, Emitter, ILogger, ContributionProvider, RpcProxy } from '@theia/core';
|
|
6
|
+
import { MainPluginApiProvider } from '../../common/plugin-ext-api-contribution';
|
|
7
|
+
import { PluginPathsService } from '../../main/common/plugin-paths-protocol';
|
|
8
|
+
import { Deferred } from '@theia/core/lib/common/promise-util';
|
|
9
|
+
import { EnvVariablesServer } from '@theia/core/lib/common/env-variables';
|
|
10
|
+
import { Measurement, Stopwatch } from '@theia/core/lib/common';
|
|
11
|
+
export declare type PluginHost = 'frontend' | string;
|
|
12
|
+
export declare const ALL_ACTIVATION_EVENT = "*";
|
|
13
|
+
export declare function isConnectionScopedBackendPlugin(plugin: DeployedPlugin): boolean;
|
|
14
|
+
export declare abstract class AbstractHostedPluginSupport<PM extends AbstractPluginManagerExt<any>, HPS extends HostedPluginServer | RpcProxy<HostedPluginServer>> {
|
|
15
|
+
protected readonly clientId: string;
|
|
16
|
+
protected container: interfaces.Container;
|
|
17
|
+
protected readonly logger: ILogger;
|
|
18
|
+
protected readonly server: HPS;
|
|
19
|
+
protected readonly mainPluginApiProviders: ContributionProvider<MainPluginApiProvider>;
|
|
20
|
+
protected readonly pluginServer: PluginServer;
|
|
21
|
+
protected readonly pluginPathsService: PluginPathsService;
|
|
22
|
+
protected readonly envServer: EnvVariablesServer;
|
|
23
|
+
protected readonly stopwatch: Stopwatch;
|
|
24
|
+
protected theiaReadyPromise: Promise<unknown>;
|
|
25
|
+
protected readonly managers: Map<string, PM>;
|
|
26
|
+
protected readonly contributions: Map<`${string}.${string}`, PluginContributions>;
|
|
27
|
+
protected readonly activationEvents: Set<string>;
|
|
28
|
+
protected readonly onDidChangePluginsEmitter: Emitter<void>;
|
|
29
|
+
readonly onDidChangePlugins: import("@theia/core").Event<void>;
|
|
30
|
+
protected readonly deferredWillStart: Deferred<void>;
|
|
31
|
+
/**
|
|
32
|
+
* Resolves when the initial plugins are loaded and about to be started.
|
|
33
|
+
*/
|
|
34
|
+
get willStart(): Promise<void>;
|
|
35
|
+
protected readonly deferredDidStart: Deferred<void>;
|
|
36
|
+
/**
|
|
37
|
+
* Resolves when the initial plugins are started.
|
|
38
|
+
*/
|
|
39
|
+
get didStart(): Promise<void>;
|
|
40
|
+
constructor(clientId: string);
|
|
41
|
+
protected init(): void;
|
|
42
|
+
protected abstract createTheiaReadyPromise(): Promise<unknown>;
|
|
43
|
+
get plugins(): PluginMetadata[];
|
|
44
|
+
getPlugin(id: PluginIdentifiers.UnversionedId): DeployedPlugin | undefined;
|
|
45
|
+
/** do not call it, except from the plugin frontend contribution */
|
|
46
|
+
onStart(container: interfaces.Container): void;
|
|
47
|
+
protected afterStart(): void;
|
|
48
|
+
protected loadQueue: Promise<void>;
|
|
49
|
+
load: import("lodash").DebouncedFuncLeading<() => Promise<void>>;
|
|
50
|
+
protected runOperation(operation: () => Promise<void>): Promise<void>;
|
|
51
|
+
protected doLoad(): Promise<void>;
|
|
52
|
+
protected beforeSyncPlugins(toDisconnect: DisposableCollection): Promise<void>;
|
|
53
|
+
protected beforeLoadContributions(toDisconnect: DisposableCollection): Promise<void>;
|
|
54
|
+
protected afterLoadContributions(toDisconnect: DisposableCollection): Promise<void>;
|
|
55
|
+
/**
|
|
56
|
+
* Sync loaded and deployed plugins:
|
|
57
|
+
* - undeployed plugins are unloaded
|
|
58
|
+
* - newly deployed plugins are initialized
|
|
59
|
+
*/
|
|
60
|
+
protected syncPlugins(): Promise<void>;
|
|
61
|
+
/**
|
|
62
|
+
* Accept a deployed plugin to load in this host, or reject it, or adapt it for loading.
|
|
63
|
+
* The result may be a boolean to accept (`true`) or reject (`false`) the plugin as is,
|
|
64
|
+
* or else an adaptation of the original `plugin` to load in its stead.
|
|
65
|
+
*/
|
|
66
|
+
protected abstract acceptPlugin(plugin: DeployedPlugin): boolean | DeployedPlugin;
|
|
67
|
+
/**
|
|
68
|
+
* Always synchronous in order to simplify handling disconnections.
|
|
69
|
+
* @throws never
|
|
70
|
+
*/
|
|
71
|
+
protected loadContributions(toDisconnect: DisposableCollection): Map<PluginHost, PluginContributions[]>;
|
|
72
|
+
protected abstract handleContributions(plugin: DeployedPlugin): Disposable;
|
|
73
|
+
protected startPlugins(contributionsByHost: Map<PluginHost, PluginContributions[]>, toDisconnect: DisposableCollection): Promise<void>;
|
|
74
|
+
protected abstract obtainManager(host: string, hostContributions: PluginContributions[], toDisconnect: DisposableCollection): Promise<PM | undefined>;
|
|
75
|
+
protected abstract getStoragePath(): Promise<string | undefined>;
|
|
76
|
+
protected abstract getHostGlobalStoragePath(): Promise<string>;
|
|
77
|
+
activateByEvent(activationEvent: string): Promise<void>;
|
|
78
|
+
activatePlugin(id: string): Promise<void>;
|
|
79
|
+
protected handlePluginStarted(manager: PM, plugin: DeployedPlugin): void;
|
|
80
|
+
protected measure(name: string): Measurement;
|
|
81
|
+
protected getPluginCount(plugins: number): string;
|
|
82
|
+
}
|
|
83
|
+
export declare class PluginContributions extends DisposableCollection {
|
|
84
|
+
readonly plugin: DeployedPlugin;
|
|
85
|
+
constructor(plugin: DeployedPlugin);
|
|
86
|
+
state: PluginContributions.State;
|
|
87
|
+
}
|
|
88
|
+
export declare namespace PluginContributions {
|
|
89
|
+
enum State {
|
|
90
|
+
INITIALIZING = 0,
|
|
91
|
+
LOADING = 1,
|
|
92
|
+
LOADED = 2,
|
|
93
|
+
STARTING = 3,
|
|
94
|
+
STARTED = 4
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
//# sourceMappingURL=hosted-plugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hosted-plugin.d.ts","sourceRoot":"","sources":["../../../src/hosted/common/hosted-plugin.ts"],"names":[],"mappings":";AAwBA,OAAO,EAAsB,UAAU,EAAwB,MAAM,8BAA8B,CAAC;AACpG,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,cAAc,EAAE,YAAY,EAAE,iBA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