@theia/remote 1.67.0-next.13 → 1.67.0-next.56

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.
Files changed (144) hide show
  1. package/README.md +1 -1
  2. package/package.json +6 -6
  3. package/src/electron-browser/port-forwarding/port-forwarding-service.ts +1 -1
  4. package/src/electron-browser/port-forwarding/port-forwarding-widget.tsx +1 -1
  5. package/lib/electron-browser/local-backend-services.d.ts +0 -11
  6. package/lib/electron-browser/local-backend-services.d.ts.map +0 -1
  7. package/lib/electron-browser/local-backend-services.js +0 -37
  8. package/lib/electron-browser/local-backend-services.js.map +0 -1
  9. package/lib/electron-browser/port-forwarding/port-forwading-contribution.d.ts +0 -6
  10. package/lib/electron-browser/port-forwarding/port-forwading-contribution.d.ts.map +0 -1
  11. package/lib/electron-browser/port-forwarding/port-forwading-contribution.js +0 -40
  12. package/lib/electron-browser/port-forwarding/port-forwading-contribution.js.map +0 -1
  13. package/lib/electron-browser/port-forwarding/port-forwarding-service.d.ts +0 -20
  14. package/lib/electron-browser/port-forwarding/port-forwarding-service.d.ts.map +0 -1
  15. package/lib/electron-browser/port-forwarding/port-forwarding-service.js +0 -89
  16. package/lib/electron-browser/port-forwarding/port-forwarding-service.js.map +0 -1
  17. package/lib/electron-browser/port-forwarding/port-forwarding-widget.d.ts +0 -17
  18. package/lib/electron-browser/port-forwarding/port-forwarding-widget.d.ts.map +0 -1
  19. package/lib/electron-browser/port-forwarding/port-forwarding-widget.js +0 -125
  20. package/lib/electron-browser/port-forwarding/port-forwarding-widget.js.map +0 -1
  21. package/lib/electron-browser/remote-electron-file-dialog-service.d.ts +0 -14
  22. package/lib/electron-browser/remote-electron-file-dialog-service.d.ts.map +0 -1
  23. package/lib/electron-browser/remote-electron-file-dialog-service.js +0 -50
  24. package/lib/electron-browser/remote-electron-file-dialog-service.js.map +0 -1
  25. package/lib/electron-browser/remote-frontend-contribution.d.ts +0 -26
  26. package/lib/electron-browser/remote-frontend-contribution.d.ts.map +0 -1
  27. package/lib/electron-browser/remote-frontend-contribution.js +0 -160
  28. package/lib/electron-browser/remote-frontend-contribution.js.map +0 -1
  29. package/lib/electron-browser/remote-frontend-module.d.ts +0 -5
  30. package/lib/electron-browser/remote-frontend-module.d.ts.map +0 -1
  31. package/lib/electron-browser/remote-frontend-module.js +0 -70
  32. package/lib/electron-browser/remote-frontend-module.js.map +0 -1
  33. package/lib/electron-browser/remote-registry-contribution.d.ts +0 -19
  34. package/lib/electron-browser/remote-registry-contribution.d.ts.map +0 -1
  35. package/lib/electron-browser/remote-registry-contribution.js +0 -70
  36. package/lib/electron-browser/remote-registry-contribution.js.map +0 -1
  37. package/lib/electron-browser/remote-service.d.ts +0 -6
  38. package/lib/electron-browser/remote-service.d.ts.map +0 -1
  39. package/lib/electron-browser/remote-service.js +0 -33
  40. package/lib/electron-browser/remote-service.js.map +0 -1
  41. package/lib/electron-browser/remote-ssh-contribution.d.ts +0 -23
  42. package/lib/electron-browser/remote-ssh-contribution.d.ts.map +0 -1
  43. package/lib/electron-browser/remote-ssh-contribution.js +0 -183
  44. package/lib/electron-browser/remote-ssh-contribution.js.map +0 -1
  45. package/lib/electron-browser/remote-user-storage-provider.d.ts +0 -21
  46. package/lib/electron-browser/remote-user-storage-provider.d.ts.map +0 -1
  47. package/lib/electron-browser/remote-user-storage-provider.js +0 -75
  48. package/lib/electron-browser/remote-user-storage-provider.js.map +0 -1
  49. package/lib/electron-common/remote-port-forwarding-provider.d.ts +0 -12
  50. package/lib/electron-common/remote-port-forwarding-provider.d.ts.map +0 -1
  51. package/lib/electron-common/remote-port-forwarding-provider.js +0 -21
  52. package/lib/electron-common/remote-port-forwarding-provider.js.map +0 -1
  53. package/lib/electron-common/remote-preferences.d.ts +0 -13
  54. package/lib/electron-common/remote-preferences.d.ts.map +0 -1
  55. package/lib/electron-common/remote-preferences.js +0 -54
  56. package/lib/electron-common/remote-preferences.js.map +0 -1
  57. package/lib/electron-common/remote-ssh-connection-provider.d.ts +0 -16
  58. package/lib/electron-common/remote-ssh-connection-provider.d.ts.map +0 -1
  59. package/lib/electron-common/remote-ssh-connection-provider.js +0 -21
  60. package/lib/electron-common/remote-ssh-connection-provider.js.map +0 -1
  61. package/lib/electron-common/remote-status-service.d.ts +0 -16
  62. package/lib/electron-common/remote-status-service.d.ts.map +0 -1
  63. package/lib/electron-common/remote-status-service.js +0 -21
  64. package/lib/electron-common/remote-status-service.js.map +0 -1
  65. package/lib/electron-node/backend-remote-service-impl.d.ts +0 -12
  66. package/lib/electron-node/backend-remote-service-impl.d.ts.map +0 -1
  67. package/lib/electron-node/backend-remote-service-impl.js +0 -46
  68. package/lib/electron-node/backend-remote-service-impl.js.map +0 -1
  69. package/lib/electron-node/remote-backend-module.d.ts +0 -5
  70. package/lib/electron-node/remote-backend-module.d.ts.map +0 -1
  71. package/lib/electron-node/remote-backend-module.js +0 -83
  72. package/lib/electron-node/remote-backend-module.js.map +0 -1
  73. package/lib/electron-node/remote-connection-service.d.ts +0 -15
  74. package/lib/electron-node/remote-connection-service.d.ts.map +0 -1
  75. package/lib/electron-node/remote-connection-service.js +0 -64
  76. package/lib/electron-node/remote-connection-service.js.map +0 -1
  77. package/lib/electron-node/remote-connection-socket-provider.d.ts +0 -9
  78. package/lib/electron-node/remote-connection-socket-provider.d.ts.map +0 -1
  79. package/lib/electron-node/remote-connection-socket-provider.js +0 -33
  80. package/lib/electron-node/remote-connection-socket-provider.js.map +0 -1
  81. package/lib/electron-node/remote-port-forwarding-provider.d.ts +0 -19
  82. package/lib/electron-node/remote-port-forwarding-provider.d.ts.map +0 -1
  83. package/lib/electron-node/remote-port-forwarding-provider.js +0 -59
  84. package/lib/electron-node/remote-port-forwarding-provider.js.map +0 -1
  85. package/lib/electron-node/remote-proxy-server-provider.d.ts +0 -6
  86. package/lib/electron-node/remote-proxy-server-provider.d.ts.map +0 -1
  87. package/lib/electron-node/remote-proxy-server-provider.js +0 -39
  88. package/lib/electron-node/remote-proxy-server-provider.js.map +0 -1
  89. package/lib/electron-node/remote-status-service.d.ts +0 -8
  90. package/lib/electron-node/remote-status-service.d.ts.map +0 -1
  91. package/lib/electron-node/remote-status-service.js +0 -53
  92. package/lib/electron-node/remote-status-service.js.map +0 -1
  93. package/lib/electron-node/remote-types.d.ts +0 -49
  94. package/lib/electron-node/remote-types.d.ts.map +0 -1
  95. package/lib/electron-node/remote-types.js +0 -18
  96. package/lib/electron-node/remote-types.js.map +0 -1
  97. package/lib/electron-node/setup/app-native-dependency-contribution.d.ts +0 -8
  98. package/lib/electron-node/setup/app-native-dependency-contribution.d.ts.map +0 -1
  99. package/lib/electron-node/setup/app-native-dependency-contribution.js +0 -53
  100. package/lib/electron-node/setup/app-native-dependency-contribution.js.map +0 -1
  101. package/lib/electron-node/setup/main-copy-contribution.d.ts +0 -5
  102. package/lib/electron-node/setup/main-copy-contribution.d.ts.map +0 -1
  103. package/lib/electron-node/setup/main-copy-contribution.js +0 -33
  104. package/lib/electron-node/setup/main-copy-contribution.js.map +0 -1
  105. package/lib/electron-node/setup/remote-copy-contribution.d.ts +0 -13
  106. package/lib/electron-node/setup/remote-copy-contribution.d.ts.map +0 -1
  107. package/lib/electron-node/setup/remote-copy-contribution.js +0 -74
  108. package/lib/electron-node/setup/remote-copy-contribution.js.map +0 -1
  109. package/lib/electron-node/setup/remote-copy-service.d.ts +0 -21
  110. package/lib/electron-node/setup/remote-copy-service.d.ts.map +0 -1
  111. package/lib/electron-node/setup/remote-copy-service.js +0 -120
  112. package/lib/electron-node/setup/remote-copy-service.js.map +0 -1
  113. package/lib/electron-node/setup/remote-native-dependency-contribution.d.ts +0 -36
  114. package/lib/electron-node/setup/remote-native-dependency-contribution.d.ts.map +0 -1
  115. package/lib/electron-node/setup/remote-native-dependency-contribution.js +0 -35
  116. package/lib/electron-node/setup/remote-native-dependency-contribution.js.map +0 -1
  117. package/lib/electron-node/setup/remote-native-dependency-service.d.ts +0 -25
  118. package/lib/electron-node/setup/remote-native-dependency-service.d.ts.map +0 -1
  119. package/lib/electron-node/setup/remote-native-dependency-service.js +0 -116
  120. package/lib/electron-node/setup/remote-native-dependency-service.js.map +0 -1
  121. package/lib/electron-node/setup/remote-node-setup-service.d.ts +0 -23
  122. package/lib/electron-node/setup/remote-node-setup-service.d.ts.map +0 -1
  123. package/lib/electron-node/setup/remote-node-setup-service.js +0 -125
  124. package/lib/electron-node/setup/remote-node-setup-service.js.map +0 -1
  125. package/lib/electron-node/setup/remote-setup-script-service.d.ts +0 -41
  126. package/lib/electron-node/setup/remote-setup-script-service.d.ts.map +0 -1
  127. package/lib/electron-node/setup/remote-setup-script-service.js +0 -125
  128. package/lib/electron-node/setup/remote-setup-script-service.js.map +0 -1
  129. package/lib/electron-node/setup/remote-setup-service.d.ts +0 -36
  130. package/lib/electron-node/setup/remote-setup-service.d.ts.map +0 -1
  131. package/lib/electron-node/setup/remote-setup-service.js +0 -215
  132. package/lib/electron-node/setup/remote-setup-service.js.map +0 -1
  133. package/lib/electron-node/ssh/remote-ssh-connection-provider.d.ts +0 -60
  134. package/lib/electron-node/ssh/remote-ssh-connection-provider.d.ts.map +0 -1
  135. package/lib/electron-node/ssh/remote-ssh-connection-provider.js +0 -394
  136. package/lib/electron-node/ssh/remote-ssh-connection-provider.js.map +0 -1
  137. package/lib/electron-node/ssh/ssh-identity-file-collector.d.ts +0 -13
  138. package/lib/electron-node/ssh/ssh-identity-file-collector.d.ts.map +0 -1
  139. package/lib/electron-node/ssh/ssh-identity-file-collector.js +0 -127
  140. package/lib/electron-node/ssh/ssh-identity-file-collector.js.map +0 -1
  141. package/lib/package.spec.d.ts +0 -1
  142. package/lib/package.spec.d.ts.map +0 -1
  143. package/lib/package.spec.js +0 -26
  144. package/lib/package.spec.js.map +0 -1
@@ -1,21 +0,0 @@
1
- import { FileService } from '@theia/filesystem/lib/browser/file-service';
2
- import { FileSystemProvider } from '@theia/filesystem/lib/common/files';
3
- import { UserStorageContribution } from '@theia/userstorage/lib/browser/user-storage-contribution';
4
- import { RemoteStatusService } from '../electron-common/remote-status-service';
5
- import { LocalRemoteFileSystemProvider } from './local-backend-services';
6
- import { Deferred } from '@theia/core/lib/common/promise-util';
7
- import { URI } from '@theia/core';
8
- import { EnvVariablesServer } from '@theia/core/lib/common/env-variables';
9
- /**
10
- * This overide is to have remote connections still use settings, keymaps, etc. from the local machine.
11
- */
12
- export declare class RemoteUserStorageContribution extends UserStorageContribution {
13
- protected readonly remoteStatusService: RemoteStatusService;
14
- protected readonly localRemoteFileSystemProvider: LocalRemoteFileSystemProvider;
15
- protected readonly localEnvironments: EnvVariablesServer;
16
- isRemoteConnection: Deferred<boolean>;
17
- protected init(): void;
18
- protected getDelegate(service: FileService): Promise<FileSystemProvider>;
19
- protected getCongigDirUri(): Promise<URI>;
20
- }
21
- //# sourceMappingURL=remote-user-storage-provider.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"remote-user-storage-provider.d.ts","sourceRoot":"","sources":["../../src/electron-browser/remote-user-storage-provider.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,WAAW,EAAE,MAAM,4CAA4C,CAAC;AACzE,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AACxE,OAAO,EAAE,uBAAuB,EAAE,MAAM,0DAA0D,CAAC;AACnG,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAC/E,OAAO,EAA2B,6BAA6B,EAAE,MAAM,0BAA0B,CAAC;AAClG,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAC/D,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAG1E;;GAEG;AACH,qBACa,6BAA8B,SAAQ,uBAAuB;IAEtE,SAAS,CAAC,QAAQ,CAAC,mBAAmB,EAAE,mBAAmB,CAAC;IAG5D,SAAS,CAAC,QAAQ,CAAC,6BAA6B,EAAE,6BAA6B,CAAC;IAGhF,SAAS,CAAC,QAAQ,CAAC,iBAAiB,EAAE,kBAAkB,CAAC;IAEzD,kBAAkB,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAkB;IAGvD,SAAS,CAAC,IAAI,IAAI,IAAI;cAOG,WAAW,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO,CAAC,kBAAkB,CAAC;cAM9D,eAAe,IAAI,OAAO,CAAC,GAAG,CAAC;CAM3D"}
@@ -1,75 +0,0 @@
1
- "use strict";
2
- // *****************************************************************************
3
- // Copyright (C) 2024 TypeFox and others.
4
- //
5
- // This program and the accompanying materials are made available under the
6
- // terms of the Eclipse Public License v. 2.0 which is available at
7
- // http://www.eclipse.org/legal/epl-2.0.
8
- //
9
- // This Source Code may also be made available under the following Secondary
10
- // Licenses when the conditions for such availability set forth in the Eclipse
11
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
- // with the GNU Classpath Exception which is available at
13
- // https://www.gnu.org/software/classpath/license.html.
14
- //
15
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
- // *****************************************************************************
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.RemoteUserStorageContribution = void 0;
19
- const tslib_1 = require("tslib");
20
- const inversify_1 = require("@theia/core/shared/inversify");
21
- const user_storage_contribution_1 = require("@theia/userstorage/lib/browser/user-storage-contribution");
22
- const remote_status_service_1 = require("../electron-common/remote-status-service");
23
- const local_backend_services_1 = require("./local-backend-services");
24
- const promise_util_1 = require("@theia/core/lib/common/promise-util");
25
- const core_1 = require("@theia/core");
26
- const env_variables_1 = require("@theia/core/lib/common/env-variables");
27
- const electron_local_ws_connection_source_1 = require("@theia/core/lib/electron-browser/messaging/electron-local-ws-connection-source");
28
- /**
29
- * This overide is to have remote connections still use settings, keymaps, etc. from the local machine.
30
- */
31
- let RemoteUserStorageContribution = class RemoteUserStorageContribution extends user_storage_contribution_1.UserStorageContribution {
32
- constructor() {
33
- super(...arguments);
34
- this.isRemoteConnection = new promise_util_1.Deferred();
35
- }
36
- init() {
37
- const port = (0, electron_local_ws_connection_source_1.getCurrentPort)();
38
- if (port) {
39
- this.remoteStatusService.getStatus(Number(port)).then(status => this.isRemoteConnection.resolve(status.alive));
40
- }
41
- }
42
- async getDelegate(service) {
43
- return await this.isRemoteConnection.promise ?
44
- this.localRemoteFileSystemProvider
45
- : service.activateProvider('file');
46
- }
47
- async getCongigDirUri() {
48
- return await this.isRemoteConnection.promise ?
49
- new core_1.URI(await this.localEnvironments.getConfigDirUri())
50
- : super.getCongigDirUri();
51
- }
52
- };
53
- exports.RemoteUserStorageContribution = RemoteUserStorageContribution;
54
- tslib_1.__decorate([
55
- (0, inversify_1.inject)(remote_status_service_1.RemoteStatusService),
56
- tslib_1.__metadata("design:type", Object)
57
- ], RemoteUserStorageContribution.prototype, "remoteStatusService", void 0);
58
- tslib_1.__decorate([
59
- (0, inversify_1.inject)(local_backend_services_1.LocalRemoteFileSystemProvider),
60
- tslib_1.__metadata("design:type", local_backend_services_1.LocalRemoteFileSystemProvider)
61
- ], RemoteUserStorageContribution.prototype, "localRemoteFileSystemProvider", void 0);
62
- tslib_1.__decorate([
63
- (0, inversify_1.inject)(local_backend_services_1.LocalEnvVariablesServer),
64
- tslib_1.__metadata("design:type", Object)
65
- ], RemoteUserStorageContribution.prototype, "localEnvironments", void 0);
66
- tslib_1.__decorate([
67
- (0, inversify_1.postConstruct)(),
68
- tslib_1.__metadata("design:type", Function),
69
- tslib_1.__metadata("design:paramtypes", []),
70
- tslib_1.__metadata("design:returntype", void 0)
71
- ], RemoteUserStorageContribution.prototype, "init", null);
72
- exports.RemoteUserStorageContribution = RemoteUserStorageContribution = tslib_1.__decorate([
73
- (0, inversify_1.injectable)()
74
- ], RemoteUserStorageContribution);
75
- //# sourceMappingURL=remote-user-storage-provider.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"remote-user-storage-provider.js","sourceRoot":"","sources":["../../src/electron-browser/remote-user-storage-provider.ts"],"names":[],"mappings":";AAAA,gFAA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AEnB;IADlB,IAAA,kBAAM,EAAC,2CAAmB,CAAC;;0EACgC;AAGzC;IADlB,IAAA,kBAAM,EAAC,sDAA6B,CAAC;sCACY,sDAA6B;oFAAC;AAG7D;IADlB,IAAA,kBAAM,EAAC,gDAAuB,CAAC;;wEACyB;AAK/C;IADT,IAAA,yBAAa,GAAE;;;;yDAMf;wCAlBQ,6BAA6B;IADzC,IAAA,sBAAU,GAAE;GACA,6BAA6B,CAgCzC"}
@@ -1,12 +0,0 @@
1
- export declare const RemoteRemotePortForwardingProviderPath = "/remote/port-forwarding";
2
- export declare const RemotePortForwardingProvider: unique symbol;
3
- export interface ForwardedPort {
4
- port: number;
5
- address?: string;
6
- }
7
- export interface RemotePortForwardingProvider {
8
- forwardPort(connectionPort: number, portToForward: ForwardedPort): Promise<void>;
9
- portRemoved(port: ForwardedPort): Promise<void>;
10
- getForwardedPorts(): Promise<ForwardedPort[]>;
11
- }
12
- //# sourceMappingURL=remote-port-forwarding-provider.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"remote-port-forwarding-provider.d.ts","sourceRoot":"","sources":["../../src/electron-common/remote-port-forwarding-provider.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,sCAAsC,4BAA4B,CAAC;AAEhF,eAAO,MAAM,4BAA4B,eAAwC,CAAC;AAElF,MAAM,WAAW,aAAa;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,4BAA4B;IACzC,WAAW,CAAC,cAAc,EAAE,MAAM,EAAE,aAAa,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACjF,WAAW,CAAC,IAAI,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAChD,iBAAiB,IAAI,OAAO,CAAC,aAAa,EAAE,CAAC,CAAA;CAChD"}
@@ -1,21 +0,0 @@
1
- "use strict";
2
- // *****************************************************************************
3
- // Copyright (C) 2024 TypeFox and others.
4
- //
5
- // This program and the accompanying materials are made available under the
6
- // terms of the Eclipse Public License v. 2.0 which is available at
7
- // http://www.eclipse.org/legal/epl-2.0.
8
- //
9
- // This Source Code may also be made available under the following Secondary
10
- // Licenses when the conditions for such availability set forth in the Eclipse
11
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
- // with the GNU Classpath Exception which is available at
13
- // https://www.gnu.org/software/classpath/license.html.
14
- //
15
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
- // *****************************************************************************
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.RemotePortForwardingProvider = exports.RemoteRemotePortForwardingProviderPath = void 0;
19
- exports.RemoteRemotePortForwardingProviderPath = '/remote/port-forwarding';
20
- exports.RemotePortForwardingProvider = Symbol('RemoteSSHConnectionProvider');
21
- //# sourceMappingURL=remote-port-forwarding-provider.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"remote-port-forwarding-provider.js","sourceRoot":"","sources":["../../src/electron-common/remote-port-forwarding-provider.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,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;;;AAEnE,QAAA,sCAAsC,GAAG,yBAAyB,CAAC;AAEnE,QAAA,4BAA4B,GAAG,MAAM,CAAC,6BAA6B,CAAC,CAAC"}
@@ -1,13 +0,0 @@
1
- import { interfaces } from '@theia/core/shared/inversify';
2
- import { PreferenceProxy } from '@theia/core/lib/common/preferences/preference-proxy';
3
- import { PreferenceSchema } from '@theia/core/lib/common/preferences/preference-schema';
4
- export declare const RemotePreferenceSchema: PreferenceSchema;
5
- export interface RemoteConfiguration {
6
- 'remote.nodeDownloadTemplate': string;
7
- 'remote.ssh.configFile': string;
8
- }
9
- export declare const RemotePreferenceContribution: unique symbol;
10
- export declare const RemotePreferences: unique symbol;
11
- export type RemotePreferences = PreferenceProxy<RemoteConfiguration>;
12
- export declare function bindRemotePreferences(bind: interfaces.Bind): void;
13
- //# sourceMappingURL=remote-preferences.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"remote-preferences.d.ts","sourceRoot":"","sources":["../../src/electron-common/remote-preferences.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,qDAAqD,CAAC;AAGtF,OAAO,EAA0B,gBAAgB,EAAE,MAAM,sDAAsD,CAAC;AAShH,eAAO,MAAM,sBAAsB,EAAE,gBAmBpC,CAAC;AAEF,MAAM,WAAW,mBAAmB;IAChC,6BAA6B,EAAE,MAAM,CAAC;IACtC,uBAAuB,EAAE,MAAM,CAAC;CACnC;AAED,eAAO,MAAM,4BAA4B,eAAyC,CAAC;AACnF,eAAO,MAAM,iBAAiB,eAAsC,CAAC;AACrE,MAAM,MAAM,iBAAiB,GAAG,eAAe,CAAC,mBAAmB,CAAC,CAAC;AAErE,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,UAAU,CAAC,IAAI,GAAG,IAAI,CAOjE"}
@@ -1,54 +0,0 @@
1
- "use strict";
2
- // *****************************************************************************
3
- // Copyright (C) 2023 TypeFox and others.
4
- //
5
- // This program and the accompanying materials are made available under the
6
- // terms of the Eclipse Public License v. 2.0 which is available at
7
- // http://www.eclipse.org/legal/epl-2.0.
8
- //
9
- // This Source Code may also be made available under the following Secondary
10
- // Licenses when the conditions for such availability set forth in the Eclipse
11
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
- // with the GNU Classpath Exception which is available at
13
- // https://www.gnu.org/software/classpath/license.html.
14
- //
15
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
- // *****************************************************************************
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.bindRemotePreferences = exports.RemotePreferences = exports.RemotePreferenceContribution = exports.RemotePreferenceSchema = void 0;
19
- const core_1 = require("@theia/core");
20
- const nls_1 = require("@theia/core/lib/common/nls");
21
- const injectable_preference_proxy_1 = require("@theia/core/lib/common/preferences/injectable-preference-proxy");
22
- const preference_schema_1 = require("@theia/core/lib/common/preferences/preference-schema");
23
- const nodeDownloadTemplateParts = [
24
- nls_1.nls.localize('theia/remote/nodeDownloadTemplateVersion', '`{version}` for the used node version'),
25
- nls_1.nls.localize('theia/remote/nodeDownloadTemplateOS', '`{os}` for the remote operating system. Either `win`, `linux` or `darwin`.'),
26
- nls_1.nls.localize('theia/remote/nodeDownloadTemplateArch', '`{arch}` for the remote system architecture.'),
27
- nls_1.nls.localize('theia/remote/nodeDownloadTemplateExt', '`{ext}` for the file extension. Either `zip`, `tar.xz` or `tar.xz`, depending on the operating system.')
28
- ];
29
- exports.RemotePreferenceSchema = {
30
- properties: {
31
- 'remote.nodeDownloadTemplate': {
32
- type: 'string',
33
- default: '',
34
- markdownDescription: nls_1.nls.localize('theia/remote/nodeDownloadTemplate', 'Controls the template used to download the node.js binaries for the remote backend. Points to the official node.js website by default. Uses multiple placeholders:') + '\n- ' + nodeDownloadTemplateParts.join('\n- ')
35
- },
36
- 'remote.ssh.configFile': {
37
- type: 'string',
38
- default: core_1.OS.backend.isWindows ? '${env:USERPROFILE}\\.ssh\\config' : '${env:HOME}/.ssh/config',
39
- markdownDescription: nls_1.nls.localize('theia/remote/ssh/configFile', 'Remote SSH Config file')
40
- },
41
- }
42
- };
43
- exports.RemotePreferenceContribution = Symbol('RemotePreferenceContribution');
44
- exports.RemotePreferences = Symbol('GettingStartedPreferences');
45
- function bindRemotePreferences(bind) {
46
- bind(exports.RemotePreferences).toDynamicValue(ctx => {
47
- const factory = ctx.container.get(injectable_preference_proxy_1.PreferenceProxyFactory);
48
- return factory(exports.RemotePreferenceSchema);
49
- }).inSingletonScope();
50
- bind(exports.RemotePreferenceContribution).toConstantValue({ schema: exports.RemotePreferenceSchema });
51
- bind(preference_schema_1.PreferenceContribution).toService(exports.RemotePreferenceContribution);
52
- }
53
- exports.bindRemotePreferences = bindRemotePreferences;
54
- //# sourceMappingURL=remote-preferences.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"remote-preferences.js","sourceRoot":"","sources":["../../src/electron-common/remote-preferences.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,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,sCAAiC;AAGjC,oDAAiD;AACjD,gHAAwG;AACxG,4FAAgH;AAEhH,MAAM,yBAAyB,GAAG;IAC9B,SAAG,CAAC,QAAQ,CAAC,0CAA0C,EAAE,uCAAuC,CAAC;IACjG,SAAG,CAAC,QAAQ,CAAC,qCAAqC,EAAE,4EAA4E,CAAC;IACjI,SAAG,CAAC,QAAQ,CAAC,uCAAuC,EAAE,8CAA8C,CAAC;IACrG,SAAG,CAAC,QAAQ,CAAC,sCAAsC,EAAE,wGAAwG,CAAC;CACjK,CAAC;AAEW,QAAA,sBAAsB,GAAqB;IACpD,UAAU,EAAE;QACR,6BAA6B,EAAE;YAC3B,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;YACX,mBAAmB,EAAE,SAAG,CAAC,QAAQ,CAC7B,mCAAmC,EACnC,oKAAoK,CACvK,GAAG,MAAM,GAAG,yBAAyB,CAAC,IAAI,CAAC,MAAM,CAAC;SACtD;QACD,uBAAuB,EAAE;YACrB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,SAAE,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,kCAAkC,CAAC,CAAC,CAAC,yBAAyB;YAC9F,mBAAmB,EAAE,SAAG,CAAC,QAAQ,CAC7B,6BAA6B,EAC7B,wBAAwB,CAC3B;SACJ;KACJ;CACJ,CAAC;AAOW,QAAA,4BAA4B,GAAG,MAAM,CAAC,8BAA8B,CAAC,CAAC;AACtE,QAAA,iBAAiB,GAAG,MAAM,CAAC,2BAA2B,CAAC,CAAC;AAGrE,SAAgB,qBAAqB,CAAC,IAAqB;IACvD,IAAI,CAAC,yBAAiB,CAAC,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE;QACzC,MAAM,OAAO,GAAG,GAAG,CAAC,SAAS,CAAC,GAAG,CAAyB,oDAAsB,CAAC,CAAC;QAClF,OAAO,OAAO,CAAC,8BAAsB,CAAC,CAAC;IAC3C,CAAC,CAAC,CAAC,gBAAgB,EAAE,CAAC;IACtB,IAAI,CAAC,oCAA4B,CAAC,CAAC,eAAe,CAAC,EAAE,MAAM,EAAE,8BAAsB,EAAE,CAAC,CAAC;IACvF,IAAI,CAAC,0CAAsB,CAAC,CAAC,SAAS,CAAC,oCAA4B,CAAC,CAAC;AACzE,CAAC;AAPD,sDAOC"}
@@ -1,16 +0,0 @@
1
- import * as SshConfig from 'ssh-config';
2
- export declare const RemoteSSHConnectionProviderPath = "/remote/ssh";
3
- export declare const RemoteSSHConnectionProvider: unique symbol;
4
- export interface RemoteSSHConnectionProviderOptions {
5
- user: string;
6
- host: string;
7
- nodeDownloadTemplate?: string;
8
- customConfigFile?: string;
9
- }
10
- export type SSHConfig = Array<SshConfig.Line>;
11
- export interface RemoteSSHConnectionProvider {
12
- establishConnection(options: RemoteSSHConnectionProviderOptions): Promise<string>;
13
- getSSHConfig(customConfigFile?: string): Promise<SSHConfig>;
14
- matchSSHConfigHost(host: string, user?: string, customConfigFile?: string): Promise<Record<string, string | string[]> | undefined>;
15
- }
16
- //# sourceMappingURL=remote-ssh-connection-provider.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"remote-ssh-connection-provider.d.ts","sourceRoot":"","sources":["../../src/electron-common/remote-ssh-connection-provider.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,SAAS,MAAM,YAAY,CAAC;AAExC,eAAO,MAAM,+BAA+B,gBAAgB,CAAC;AAE7D,eAAO,MAAM,2BAA2B,eAAwC,CAAC;AAEjF,MAAM,WAAW,kCAAkC;IAC/C,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,MAAM,SAAS,GAAG,KAAK,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;AAE9C,MAAM,WAAW,2BAA2B;IACxC,mBAAmB,CAAC,OAAO,EAAE,kCAAkC,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAClF,YAAY,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC;IAC5D,kBAAkB,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,EAAE,gBAAgB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC,GAAG,SAAS,CAAC,CAAC;CACtI"}
@@ -1,21 +0,0 @@
1
- "use strict";
2
- // *****************************************************************************
3
- // Copyright (C) 2023 TypeFox and others.
4
- //
5
- // This program and the accompanying materials are made available under the
6
- // terms of the Eclipse Public License v. 2.0 which is available at
7
- // http://www.eclipse.org/legal/epl-2.0.
8
- //
9
- // This Source Code may also be made available under the following Secondary
10
- // Licenses when the conditions for such availability set forth in the Eclipse
11
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
- // with the GNU Classpath Exception which is available at
13
- // https://www.gnu.org/software/classpath/license.html.
14
- //
15
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
- // *****************************************************************************
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.RemoteSSHConnectionProvider = exports.RemoteSSHConnectionProviderPath = void 0;
19
- exports.RemoteSSHConnectionProviderPath = '/remote/ssh';
20
- exports.RemoteSSHConnectionProvider = Symbol('RemoteSSHConnectionProvider');
21
- //# sourceMappingURL=remote-ssh-connection-provider.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"remote-ssh-connection-provider.js","sourceRoot":"","sources":["../../src/electron-common/remote-ssh-connection-provider.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,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;;;AAInE,QAAA,+BAA+B,GAAG,aAAa,CAAC;AAEhD,QAAA,2BAA2B,GAAG,MAAM,CAAC,6BAA6B,CAAC,CAAC"}
@@ -1,16 +0,0 @@
1
- export type RemoteStatus = RemoteConnectedStatus | RemoteDisconnectedStatus;
2
- export interface RemoteDisconnectedStatus {
3
- alive: false;
4
- }
5
- export interface RemoteConnectedStatus {
6
- alive: true;
7
- type: string;
8
- name: string;
9
- }
10
- export declare const RemoteStatusServicePath = "/remote/status";
11
- export declare const RemoteStatusService: unique symbol;
12
- export interface RemoteStatusService {
13
- getStatus(localPort: number): Promise<RemoteStatus>;
14
- connectionClosed(localPort: number): Promise<void>;
15
- }
16
- //# sourceMappingURL=remote-status-service.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"remote-status-service.d.ts","sourceRoot":"","sources":["../../src/electron-common/remote-status-service.ts"],"names":[],"mappings":"AAgBA,MAAM,MAAM,YAAY,GAAG,qBAAqB,GAAG,wBAAwB,CAAC;AAE5E,MAAM,WAAW,wBAAwB;IACrC,KAAK,EAAE,KAAK,CAAC;CAChB;AAED,MAAM,WAAW,qBAAqB;IAClC,KAAK,EAAE,IAAI,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,uBAAuB,mBAAmB,CAAC;AAExD,eAAO,MAAM,mBAAmB,eAAgC,CAAC;AAEjE,MAAM,WAAW,mBAAmB;IAChC,SAAS,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;IAEpD,gBAAgB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACtD"}
@@ -1,21 +0,0 @@
1
- "use strict";
2
- // *****************************************************************************
3
- // Copyright (C) 2023 TypeFox and others.
4
- //
5
- // This program and the accompanying materials are made available under the
6
- // terms of the Eclipse Public License v. 2.0 which is available at
7
- // http://www.eclipse.org/legal/epl-2.0.
8
- //
9
- // This Source Code may also be made available under the following Secondary
10
- // Licenses when the conditions for such availability set forth in the Eclipse
11
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
- // with the GNU Classpath Exception which is available at
13
- // https://www.gnu.org/software/classpath/license.html.
14
- //
15
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
- // *****************************************************************************
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.RemoteStatusService = exports.RemoteStatusServicePath = void 0;
19
- exports.RemoteStatusServicePath = '/remote/status';
20
- exports.RemoteStatusService = Symbol('RemoteStatusService');
21
- //# sourceMappingURL=remote-status-service.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"remote-status-service.js","sourceRoot":"","sources":["../../src/electron-common/remote-status-service.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,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;;;AAcnE,QAAA,uBAAuB,GAAG,gBAAgB,CAAC;AAE3C,QAAA,mBAAmB,GAAG,MAAM,CAAC,qBAAqB,CAAC,CAAC"}
@@ -1,12 +0,0 @@
1
- /// <reference types="yargs" />
2
- import { CliContribution } from '@theia/core/lib/node';
3
- import { Arguments, Argv } from '@theia/core/shared/yargs';
4
- import { BackendRemoteService } from '@theia/core/lib/node/remote/backend-remote-service';
5
- export declare const REMOTE_START = "remote";
6
- export declare class BackendRemoteServiceImpl extends BackendRemoteService implements CliContribution {
7
- protected isRemote: boolean;
8
- configure(conf: Argv): void;
9
- setArguments(args: Arguments): void;
10
- isRemoteServer(): boolean;
11
- }
12
- //# sourceMappingURL=backend-remote-service-impl.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"backend-remote-service-impl.d.ts","sourceRoot":"","sources":["../../src/electron-node/backend-remote-service-impl.ts"],"names":[],"mappings":";AAgBA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEvD,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,oDAAoD,CAAC;AAE1F,eAAO,MAAM,YAAY,WAAW,CAAC;AAErC,qBACa,wBAAyB,SAAQ,oBAAqB,YAAW,eAAe;IAEzF,SAAS,CAAC,QAAQ,EAAE,OAAO,CAAS;IAEpC,SAAS,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI;IAQ3B,YAAY,CAAC,IAAI,EAAE,SAAS,GAAG,IAAI;IAI1B,cAAc,IAAI,OAAO;CAIrC"}
@@ -1,46 +0,0 @@
1
- "use strict";
2
- // *****************************************************************************
3
- // Copyright (C) 2023 TypeFox and others.
4
- //
5
- // This program and the accompanying materials are made available under the
6
- // terms of the Eclipse Public License v. 2.0 which is available at
7
- // http://www.eclipse.org/legal/epl-2.0.
8
- //
9
- // This Source Code may also be made available under the following Secondary
10
- // Licenses when the conditions for such availability set forth in the Eclipse
11
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
- // with the GNU Classpath Exception which is available at
13
- // https://www.gnu.org/software/classpath/license.html.
14
- //
15
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
- // *****************************************************************************
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.BackendRemoteServiceImpl = exports.REMOTE_START = void 0;
19
- const tslib_1 = require("tslib");
20
- const inversify_1 = require("@theia/core/shared/inversify");
21
- const backend_remote_service_1 = require("@theia/core/lib/node/remote/backend-remote-service");
22
- exports.REMOTE_START = 'remote';
23
- let BackendRemoteServiceImpl = class BackendRemoteServiceImpl extends backend_remote_service_1.BackendRemoteService {
24
- constructor() {
25
- super(...arguments);
26
- this.isRemote = false;
27
- }
28
- configure(conf) {
29
- conf.option(exports.REMOTE_START, {
30
- description: 'Starts the server as an endpoint for a remote connection (i.e. through SSH)',
31
- type: 'boolean',
32
- default: false
33
- });
34
- }
35
- setArguments(args) {
36
- this.isRemote = Boolean(args[exports.REMOTE_START]);
37
- }
38
- isRemoteServer() {
39
- return this.isRemote;
40
- }
41
- };
42
- exports.BackendRemoteServiceImpl = BackendRemoteServiceImpl;
43
- exports.BackendRemoteServiceImpl = BackendRemoteServiceImpl = tslib_1.__decorate([
44
- (0, inversify_1.injectable)()
45
- ], BackendRemoteServiceImpl);
46
- //# sourceMappingURL=backend-remote-service-impl.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"backend-remote-service-impl.js","sourceRoot":"","sources":["../../src/electron-node/backend-remote-service-impl.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,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;;;;AAGhF,4DAA0D;AAE1D,+FAA0F;AAE7E,QAAA,YAAY,GAAG,QAAQ,CAAC;AAG9B,IAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,6CAAoB;IAA3D;;QAEO,aAAQ,GAAY,KAAK,CAAC;IAkBxC,CAAC;IAhBG,SAAS,CAAC,IAAU;QAChB,IAAI,CAAC,MAAM,CAAC,oBAAY,EAAE;YACtB,WAAW,EAAE,6EAA6E;YAC1F,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,KAAK;SACjB,CAAC,CAAC;IACP,CAAC;IAED,YAAY,CAAC,IAAe;QACxB,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC,oBAAY,CAAC,CAAC,CAAC;IAChD,CAAC;IAEQ,cAAc;QACnB,OAAO,IAAI,CAAC,QAAQ,CAAC;IACzB,CAAC;CAEJ,CAAA;AApBY,4DAAwB;mCAAxB,wBAAwB;IADpC,IAAA,sBAAU,GAAE;GACA,wBAAwB,CAoBpC"}
@@ -1,5 +0,0 @@
1
- import { ContainerModule } from '@theia/core/shared/inversify';
2
- export declare const remoteConnectionModule: ContainerModule;
3
- declare const _default: ContainerModule;
4
- export default _default;
5
- //# sourceMappingURL=remote-backend-module.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"remote-backend-module.d.ts","sourceRoot":"","sources":["../../src/electron-node/remote-backend-module.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AA4B/D,eAAO,MAAM,sBAAsB,iBAQjC,CAAC;;AAEH,wBAkCG"}
@@ -1,83 +0,0 @@
1
- "use strict";
2
- // *****************************************************************************
3
- // Copyright (C) 2023 TypeFox and others.
4
- //
5
- // This program and the accompanying materials are made available under the
6
- // terms of the Eclipse Public License v. 2.0 which is available at
7
- // http://www.eclipse.org/legal/epl-2.0.
8
- //
9
- // This Source Code may also be made available under the following Secondary
10
- // Licenses when the conditions for such availability set forth in the Eclipse
11
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
- // with the GNU Classpath Exception which is available at
13
- // https://www.gnu.org/software/classpath/license.html.
14
- //
15
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
- // *****************************************************************************
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.remoteConnectionModule = void 0;
19
- const inversify_1 = require("@theia/core/shared/inversify");
20
- const node_1 = require("@theia/core/lib/node");
21
- const remote_connection_service_1 = require("./remote-connection-service");
22
- const remote_proxy_server_provider_1 = require("./remote-proxy-server-provider");
23
- const remote_connection_socket_provider_1 = require("./remote-connection-socket-provider");
24
- const connection_container_module_1 = require("@theia/core/lib/node/messaging/connection-container-module");
25
- const remote_ssh_connection_provider_1 = require("../electron-common/remote-ssh-connection-provider");
26
- const remote_ssh_connection_provider_2 = require("./ssh/remote-ssh-connection-provider");
27
- const ssh_identity_file_collector_1 = require("./ssh/ssh-identity-file-collector");
28
- const remote_copy_service_1 = require("./setup/remote-copy-service");
29
- const remote_setup_service_1 = require("./setup/remote-setup-service");
30
- const remote_native_dependency_service_1 = require("./setup/remote-native-dependency-service");
31
- const backend_remote_service_impl_1 = require("./backend-remote-service-impl");
32
- const backend_remote_service_1 = require("@theia/core/lib/node/remote/backend-remote-service");
33
- const remote_node_setup_service_1 = require("./setup/remote-node-setup-service");
34
- const remote_setup_script_service_1 = require("./setup/remote-setup-script-service");
35
- const remote_status_service_1 = require("../electron-common/remote-status-service");
36
- const remote_status_service_2 = require("./remote-status-service");
37
- const core_1 = require("@theia/core");
38
- const remote_copy_contribution_1 = require("./setup/remote-copy-contribution");
39
- const remote_copy_contribution_2 = require("@theia/core/lib/node/remote/remote-copy-contribution");
40
- const main_copy_contribution_1 = require("./setup/main-copy-contribution");
41
- const remote_native_dependency_contribution_1 = require("./setup/remote-native-dependency-contribution");
42
- const app_native_dependency_contribution_1 = require("./setup/app-native-dependency-contribution");
43
- const remote_port_forwarding_provider_1 = require("./remote-port-forwarding-provider");
44
- const remote_port_forwarding_provider_2 = require("../electron-common/remote-port-forwarding-provider");
45
- const remote_preferences_1 = require("../electron-common/remote-preferences");
46
- exports.remoteConnectionModule = connection_container_module_1.ConnectionContainerModule.create(({ bind, bindBackendService }) => {
47
- bind(remote_ssh_connection_provider_2.RemoteSSHConnectionProviderImpl).toSelf().inSingletonScope();
48
- bind(remote_ssh_connection_provider_1.RemoteSSHConnectionProvider).toService(remote_ssh_connection_provider_2.RemoteSSHConnectionProviderImpl);
49
- bindBackendService(remote_ssh_connection_provider_1.RemoteSSHConnectionProviderPath, remote_ssh_connection_provider_1.RemoteSSHConnectionProvider);
50
- bind(remote_port_forwarding_provider_1.RemotePortForwardingProviderImpl).toSelf().inSingletonScope();
51
- bind(remote_port_forwarding_provider_2.RemotePortForwardingProvider).toService(remote_port_forwarding_provider_1.RemotePortForwardingProviderImpl);
52
- bindBackendService(remote_port_forwarding_provider_2.RemoteRemotePortForwardingProviderPath, remote_port_forwarding_provider_2.RemotePortForwardingProvider);
53
- });
54
- exports.default = new inversify_1.ContainerModule((bind, _unbind, _isBound, rebind) => {
55
- bind(remote_proxy_server_provider_1.RemoteProxyServerProvider).toSelf().inSingletonScope();
56
- bind(remote_connection_socket_provider_1.RemoteConnectionSocketProvider).toSelf().inSingletonScope();
57
- bind(remote_connection_service_1.RemoteConnectionService).toSelf().inSingletonScope();
58
- bind(node_1.BackendApplicationContribution).toService(remote_connection_service_1.RemoteConnectionService);
59
- bind(remote_status_service_2.RemoteStatusServiceImpl).toSelf().inSingletonScope();
60
- bind(remote_status_service_1.RemoteStatusService).toService(remote_status_service_2.RemoteStatusServiceImpl);
61
- bind(core_1.ConnectionHandler).toDynamicValue(ctx => new core_1.RpcConnectionHandler(remote_status_service_1.RemoteStatusServicePath, () => ctx.container.get(remote_status_service_1.RemoteStatusService))).inSingletonScope();
62
- bind(remote_copy_service_1.RemoteCopyService).toSelf().inSingletonScope();
63
- bind(remote_setup_service_1.RemoteSetupService).toSelf().inSingletonScope();
64
- bind(remote_node_setup_service_1.RemoteNodeSetupService).toSelf().inSingletonScope();
65
- bind(remote_setup_script_service_1.RemoteWindowsScriptStrategy).toSelf().inSingletonScope();
66
- bind(remote_setup_script_service_1.RemotePosixScriptStrategy).toSelf().inSingletonScope();
67
- bind(remote_setup_script_service_1.RemoteSetupScriptService).toSelf().inSingletonScope();
68
- bind(remote_native_dependency_service_1.RemoteNativeDependencyService).toSelf().inSingletonScope();
69
- bind(remote_copy_contribution_1.RemoteCopyRegistryImpl).toSelf().inSingletonScope();
70
- (0, core_1.bindContributionProvider)(bind, remote_copy_contribution_2.RemoteCopyContribution);
71
- (0, core_1.bindContributionProvider)(bind, remote_native_dependency_contribution_1.RemoteNativeDependencyContribution);
72
- bind(main_copy_contribution_1.MainCopyContribution).toSelf().inSingletonScope();
73
- bind(remote_copy_contribution_2.RemoteCopyContribution).toService(main_copy_contribution_1.MainCopyContribution);
74
- bind(app_native_dependency_contribution_1.AppNativeDependencyContribution).toSelf().inSingletonScope();
75
- bind(remote_native_dependency_contribution_1.RemoteNativeDependencyContribution).toService(app_native_dependency_contribution_1.AppNativeDependencyContribution);
76
- bind(connection_container_module_1.ConnectionContainerModule).toConstantValue(exports.remoteConnectionModule);
77
- bind(backend_remote_service_impl_1.BackendRemoteServiceImpl).toSelf().inSingletonScope();
78
- rebind(backend_remote_service_1.BackendRemoteService).toService(backend_remote_service_impl_1.BackendRemoteServiceImpl);
79
- bind(node_1.CliContribution).toService(backend_remote_service_impl_1.BackendRemoteServiceImpl);
80
- bind(ssh_identity_file_collector_1.SSHIdentityFileCollector).toSelf().inSingletonScope();
81
- (0, remote_preferences_1.bindRemotePreferences)(bind);
82
- });
83
- //# sourceMappingURL=remote-backend-module.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"remote-backend-module.js","sourceRoot":"","sources":["../../src/electron-node/remote-backend-module.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,w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ACzD,IAAA,+BAAwB,EAAC,IAAI,EAAE,iDAAsB,CAAC,CAAC;IACvD,IAAA,+BAAwB,EAAC,IAAI,EAAE,0EAAkC,CAAC,CAAC;IACnE,IAAI,CAAC,6CAAoB,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;IACvD,IAAI,CAAC,iDAAsB,CAAC,CAAC,SAAS,CAAC,6CAAoB,CAAC,CAAC;IAC7D,IAAI,CAAC,oEAA+B,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;IAClE,IAAI,CAAC,0EAAkC,CAAC,CAAC,SAAS,CAAC,oEAA+B,CAAC,CAAC;IAEpF,IAAI,CAAC,uDAAyB,CAAC,CAAC,eAAe,CAAC,8BAAsB,CAAC,CAAC;IAExE,IAAI,CAAC,sDAAwB,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;IAC3D,MAAM,CAAC,6CAAoB,CAAC,CAAC,SAAS,CAAC,sDAAwB,CAAC,CAAC;IACjE,IAAI,CAAC,sBAAe,CAAC,CAAC,SAAS,CAAC,sDAAwB,CAAC,CAAC;IAE1D,IAAI,CAAC,sDAAwB,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;IAC3D,IAAA,0CAAqB,EAAC,IAAI,CAAC,CAAC;AAChC,CAAC,CAAC,CAAC"}
@@ -1,15 +0,0 @@
1
- import { RemoteConnection } from './remote-types';
2
- import { Disposable } from '@theia/core';
3
- import { RemoteCopyService } from './setup/remote-copy-service';
4
- import { BackendApplicationContribution } from '@theia/core/lib/node';
5
- import { RemoteSetupService } from './setup/remote-setup-service';
6
- export declare class RemoteConnectionService implements BackendApplicationContribution {
7
- protected readonly copyService: RemoteCopyService;
8
- protected readonly remoteSetupService: RemoteSetupService;
9
- protected readonly connections: Map<string, RemoteConnection>;
10
- getConnection(id: string): RemoteConnection | undefined;
11
- getConnectionFromPort(port: number): RemoteConnection | undefined;
12
- register(connection: RemoteConnection): Disposable;
13
- onStop(): void;
14
- }
15
- //# sourceMappingURL=remote-connection-service.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"remote-connection-service.d.ts","sourceRoot":"","sources":["../../src/electron-node/remote-connection-service.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,8BAA8B,EAAE,MAAM,sBAAsB,CAAC;AACtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAElE,qBACa,uBAAwB,YAAW,8BAA8B;IAG1E,SAAS,CAAC,QAAQ,CAAC,WAAW,EAAE,iBAAiB,CAAC;IAIlD,SAAS,CAAC,QAAQ,CAAC,kBAAkB,EAAE,kBAAkB,CAAC;IAE1D,SAAS,CAAC,QAAQ,CAAC,WAAW,gCAAuC;IAErE,aAAa,CAAC,EAAE,EAAE,MAAM,GAAG,gBAAgB,GAAG,SAAS;IAIvD,qBAAqB,CAAC,IAAI,EAAE,MAAM,GAAG,gBAAgB,GAAG,SAAS;IAIjE,QAAQ,CAAC,UAAU,EAAE,gBAAgB,GAAG,UAAU;IAOlD,MAAM,IAAI,IAAI;CASjB"}
@@ -1,64 +0,0 @@
1
- "use strict";
2
- // *****************************************************************************
3
- // Copyright (C) 2023 TypeFox and others.
4
- //
5
- // This program and the accompanying materials are made available under the
6
- // terms of the Eclipse Public License v. 2.0 which is available at
7
- // http://www.eclipse.org/legal/epl-2.0.
8
- //
9
- // This Source Code may also be made available under the following Secondary
10
- // Licenses when the conditions for such availability set forth in the Eclipse
11
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
- // with the GNU Classpath Exception which is available at
13
- // https://www.gnu.org/software/classpath/license.html.
14
- //
15
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
- // *****************************************************************************
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.RemoteConnectionService = void 0;
19
- const tslib_1 = require("tslib");
20
- const inversify_1 = require("@theia/core/shared/inversify");
21
- const core_1 = require("@theia/core");
22
- const remote_copy_service_1 = require("./setup/remote-copy-service");
23
- const remote_setup_service_1 = require("./setup/remote-setup-service");
24
- let RemoteConnectionService = class RemoteConnectionService {
25
- constructor() {
26
- this.connections = new Map();
27
- }
28
- getConnection(id) {
29
- return this.connections.get(id);
30
- }
31
- getConnectionFromPort(port) {
32
- return Array.from(this.connections.values()).find(connection => connection.localPort === port);
33
- }
34
- register(connection) {
35
- this.connections.set(connection.id, connection);
36
- return core_1.Disposable.create(() => {
37
- this.connections.delete(connection.id);
38
- });
39
- }
40
- onStop() {
41
- for (const connection of this.connections.values()) {
42
- if (connection.disposeSync) {
43
- connection.disposeSync();
44
- }
45
- else {
46
- connection.dispose();
47
- }
48
- ;
49
- }
50
- }
51
- };
52
- exports.RemoteConnectionService = RemoteConnectionService;
53
- tslib_1.__decorate([
54
- (0, inversify_1.inject)(remote_copy_service_1.RemoteCopyService),
55
- tslib_1.__metadata("design:type", remote_copy_service_1.RemoteCopyService)
56
- ], RemoteConnectionService.prototype, "copyService", void 0);
57
- tslib_1.__decorate([
58
- (0, inversify_1.inject)(remote_setup_service_1.RemoteSetupService),
59
- tslib_1.__metadata("design:type", remote_setup_service_1.RemoteSetupService)
60
- ], RemoteConnectionService.prototype, "remoteSetupService", void 0);
61
- exports.RemoteConnectionService = RemoteConnectionService = tslib_1.__decorate([
62
- (0, inversify_1.injectable)()
63
- ], RemoteConnectionService);
64
- //# sourceMappingURL=remote-connection-service.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"remote-connection-service.js","sourceRoot":"","sources":["../../src/electron-node/remote-connection-service.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCA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,uCAAiB;4DAAC;AAI/B;IADlB,IAAA,kBAAM,EAAC,yCAAkB,CAAC;sCACY,yCAAkB;mEAAC;kCAPjD,uBAAuB;IADnC,IAAA,sBAAU,GAAE;GACA,uBAAuB,CAmCnC"}
@@ -1,9 +0,0 @@
1
- import { Socket } from 'socket.io-client';
2
- export interface RemoteProxySocketProviderOptions {
3
- port: number;
4
- path: string;
5
- }
6
- export declare class RemoteConnectionSocketProvider {
7
- getProxySocket(options: RemoteProxySocketProviderOptions): Socket;
8
- }
9
- //# sourceMappingURL=remote-connection-socket-provider.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"remote-connection-socket-provider.d.ts","sourceRoot":"","sources":["../../src/electron-node/remote-connection-socket-provider.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAM,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE9C,MAAM,WAAW,gCAAgC;IAC7C,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,qBACa,8BAA8B;IAEvC,cAAc,CAAC,OAAO,EAAE,gCAAgC,GAAG,MAAM;CAMpE"}