@opensumi/ide-terminal-next 2.17.8 → 2.18.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/browser/component/tab.item.d.ts.map +1 -1
- package/lib/browser/component/tab.item.js +33 -12
- package/lib/browser/component/tab.item.js.map +1 -1
- package/lib/browser/component/tab.module.less +41 -12
- package/lib/browser/component/tab.view.d.ts.map +1 -1
- package/lib/browser/component/tab.view.js +25 -7
- package/lib/browser/component/tab.view.js.map +1 -1
- package/lib/browser/component/terminal.view.d.ts.map +1 -1
- package/lib/browser/component/terminal.view.js +25 -24
- package/lib/browser/component/terminal.view.js.map +1 -1
- package/lib/browser/contribution/terminal.menu.d.ts.map +1 -1
- package/lib/browser/contribution/terminal.menu.js +3 -4
- package/lib/browser/contribution/terminal.menu.js.map +1 -1
- package/lib/browser/index.d.ts.map +1 -1
- package/lib/browser/index.js +0 -5
- package/lib/browser/index.js.map +1 -1
- package/lib/browser/links/link-manager.d.ts.map +1 -1
- package/lib/browser/links/link-manager.js +11 -12
- package/lib/browser/links/link-manager.js.map +1 -1
- package/lib/browser/links/validated-local-link-provider.d.ts.map +1 -1
- package/lib/browser/links/validated-local-link-provider.js +1 -2
- package/lib/browser/links/validated-local-link-provider.js.map +1 -1
- package/lib/browser/terminal.addon.d.ts.map +1 -1
- package/lib/browser/terminal.addon.js +3 -1
- package/lib/browser/terminal.addon.js.map +1 -1
- package/lib/browser/terminal.api.d.ts +4 -2
- package/lib/browser/terminal.api.d.ts.map +1 -1
- package/lib/browser/terminal.api.js +7 -1
- package/lib/browser/terminal.api.js.map +1 -1
- package/lib/browser/terminal.client.d.ts +7 -4
- package/lib/browser/terminal.client.d.ts.map +1 -1
- package/lib/browser/terminal.client.js +20 -45
- package/lib/browser/terminal.client.js.map +1 -1
- package/lib/browser/terminal.context-menu.d.ts +2 -0
- package/lib/browser/terminal.context-menu.d.ts.map +1 -1
- package/lib/browser/terminal.context-menu.js +23 -4
- package/lib/browser/terminal.context-menu.js.map +1 -1
- package/lib/browser/terminal.controller.d.ts +16 -3
- package/lib/browser/terminal.controller.d.ts.map +1 -1
- package/lib/browser/terminal.controller.js +161 -27
- package/lib/browser/terminal.controller.js.map +1 -1
- package/lib/browser/terminal.input.js +2 -2
- package/lib/browser/terminal.input.js.map +1 -1
- package/lib/browser/terminal.internal.service.d.ts +6 -6
- package/lib/browser/terminal.internal.service.d.ts.map +1 -1
- package/lib/browser/terminal.internal.service.js +4 -23
- package/lib/browser/terminal.internal.service.js.map +1 -1
- package/lib/browser/terminal.profile.d.ts +18 -9
- package/lib/browser/terminal.profile.d.ts.map +1 -1
- package/lib/browser/terminal.profile.internal.d.ts.map +1 -1
- package/lib/browser/terminal.profile.internal.js +4 -6
- package/lib/browser/terminal.profile.internal.js.map +1 -1
- package/lib/browser/terminal.profile.js +59 -9
- package/lib/browser/terminal.profile.js.map +1 -1
- package/lib/browser/terminal.restore.d.ts.map +1 -1
- package/lib/browser/terminal.restore.js +3 -1
- package/lib/browser/terminal.restore.js.map +1 -1
- package/lib/browser/terminal.search.d.ts.map +1 -1
- package/lib/browser/terminal.search.js +6 -0
- package/lib/browser/terminal.search.js.map +1 -1
- package/lib/browser/terminal.service.d.ts +5 -17
- package/lib/browser/terminal.service.d.ts.map +1 -1
- package/lib/browser/terminal.service.js +6 -79
- package/lib/browser/terminal.service.js.map +1 -1
- package/lib/browser/terminal.view.d.ts +5 -3
- package/lib/browser/terminal.view.d.ts.map +1 -1
- package/lib/browser/terminal.view.js +9 -5
- package/lib/browser/terminal.view.js.map +1 -1
- package/lib/browser/xterm.d.ts +2 -1
- package/lib/browser/xterm.d.ts.map +1 -1
- package/lib/browser/xterm.js.map +1 -1
- package/lib/common/api.d.ts +3 -2
- package/lib/common/api.d.ts.map +1 -1
- package/lib/common/client.d.ts +17 -0
- package/lib/common/client.d.ts.map +1 -1
- package/lib/common/client.js +2 -1
- package/lib/common/client.js.map +1 -1
- package/lib/common/controller.d.ts +20 -5
- package/lib/common/controller.d.ts.map +1 -1
- package/lib/common/controller.js.map +1 -1
- package/lib/common/environmentVariable.d.ts +2 -3
- package/lib/common/environmentVariable.d.ts.map +1 -1
- package/lib/common/environmentVariable.js.map +1 -1
- package/lib/common/environmentVariableCollection.d.ts +2 -3
- package/lib/common/environmentVariableCollection.d.ts.map +1 -1
- package/lib/common/environmentVariableCollection.js +2 -2
- package/lib/common/environmentVariableCollection.js.map +1 -1
- package/lib/common/profile.d.ts +6 -9
- package/lib/common/profile.d.ts.map +1 -1
- package/lib/common/profile.js +1 -2
- package/lib/common/profile.js.map +1 -1
- package/lib/common/pty.d.ts +91 -11
- package/lib/common/pty.d.ts.map +1 -1
- package/lib/common/pty.js +40 -1
- package/lib/common/pty.js.map +1 -1
- package/lib/common/render.d.ts +5 -0
- package/lib/common/render.d.ts.map +1 -1
- package/lib/common/render.js.map +1 -1
- package/lib/common/resize.d.ts +2 -0
- package/lib/common/resize.d.ts.map +1 -1
- package/lib/common/service.d.ts +8 -11
- package/lib/common/service.d.ts.map +1 -1
- package/lib/common/service.js.map +1 -1
- package/lib/common/xterm.d.ts +16 -0
- package/lib/common/xterm.d.ts.map +1 -0
- package/lib/common/xterm.js +3 -0
- package/lib/common/xterm.js.map +1 -0
- package/lib/node/index.d.ts.map +1 -1
- package/lib/node/index.js +5 -0
- package/lib/node/index.js.map +1 -1
- package/lib/node/pty.d.ts +9 -5
- package/lib/node/pty.d.ts.map +1 -1
- package/lib/node/pty.js +13 -10
- package/lib/node/pty.js.map +1 -1
- package/lib/node/pty.manager.d.ts +52 -0
- package/lib/node/pty.manager.d.ts.map +1 -0
- package/lib/node/pty.manager.js +149 -0
- package/lib/node/pty.manager.js.map +1 -0
- package/lib/node/pty.manager.remote.d.ts +10 -0
- package/lib/node/pty.manager.remote.d.ts.map +1 -0
- package/lib/node/pty.manager.remote.js +92 -0
- package/lib/node/pty.manager.remote.js.map +1 -0
- package/lib/node/pty.proxy.d.ts +45 -0
- package/lib/node/pty.proxy.d.ts.map +1 -0
- package/lib/node/pty.proxy.js +255 -0
- package/lib/node/pty.proxy.js.map +1 -0
- package/lib/node/pty.proxy.remote.exec.d.ts +2 -0
- package/lib/node/pty.proxy.remote.exec.d.ts.map +1 -0
- package/lib/node/pty.proxy.remote.exec.js +7 -0
- package/lib/node/pty.proxy.remote.exec.js.map +1 -0
- package/lib/node/shell.d.ts +1 -1
- package/lib/node/shell.d.ts.map +1 -1
- package/lib/node/shell.js +14 -15
- package/lib/node/shell.js.map +1 -1
- package/lib/node/terminal.profile.service.d.ts.map +1 -1
- package/lib/node/terminal.profile.service.js +4 -6
- package/lib/node/terminal.profile.service.js.map +1 -1
- package/lib/node/terminal.service.client.d.ts +3 -8
- package/lib/node/terminal.service.client.d.ts.map +1 -1
- package/lib/node/terminal.service.client.js +8 -39
- package/lib/node/terminal.service.client.js.map +1 -1
- package/lib/node/terminal.service.d.ts +3 -2
- package/lib/node/terminal.service.d.ts.map +1 -1
- package/lib/node/terminal.service.js +36 -10
- package/lib/node/terminal.service.js.map +1 -1
- package/package.json +16 -16
- package/lib/browser/terminal.contribution.d.ts +0 -7
- package/lib/browser/terminal.contribution.d.ts.map +0 -1
- package/lib/browser/terminal.contribution.js +0 -32
- package/lib/browser/terminal.contribution.js.map +0 -1
- package/lib/common/menu.d.ts +0 -5
- package/lib/common/menu.d.ts.map +0 -1
- package/lib/common/menu.js +0 -9
- package/lib/common/menu.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opensumi/ide-terminal-next",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.18.0",
|
|
4
4
|
"files": [
|
|
5
5
|
"lib"
|
|
6
6
|
],
|
|
@@ -16,33 +16,33 @@
|
|
|
16
16
|
"url": "git@github.com:opensumi/core.git"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@opensumi/ide-connection": "2.
|
|
20
|
-
"@opensumi/ide-core-common": "2.
|
|
21
|
-
"@opensumi/ide-core-node": "2.
|
|
22
|
-
"@opensumi/ide-file-service": "2.
|
|
19
|
+
"@opensumi/ide-connection": "2.18.0",
|
|
20
|
+
"@opensumi/ide-core-common": "2.18.0",
|
|
21
|
+
"@opensumi/ide-core-node": "2.18.0",
|
|
22
|
+
"@opensumi/ide-file-service": "2.18.0",
|
|
23
23
|
"event-kit": "^2.5.3",
|
|
24
|
-
"node-pty": "0.
|
|
24
|
+
"node-pty": "0.11.0-beta19",
|
|
25
25
|
"os-locale": "^4.0.0",
|
|
26
26
|
"xterm": "4.19.0-beta.15",
|
|
27
27
|
"xterm-addon-fit": "^0.5.0",
|
|
28
28
|
"xterm-addon-search": "0.9.0-beta.16"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@opensumi/ide-components": "2.
|
|
32
|
-
"@opensumi/ide-core-browser": "2.
|
|
31
|
+
"@opensumi/ide-components": "2.18.0",
|
|
32
|
+
"@opensumi/ide-core-browser": "2.18.0",
|
|
33
33
|
"@opensumi/ide-dev-tool": "^1.3.1",
|
|
34
|
-
"@opensumi/ide-editor": "2.
|
|
35
|
-
"@opensumi/ide-main-layout": "2.
|
|
36
|
-
"@opensumi/ide-overlay": "2.
|
|
37
|
-
"@opensumi/ide-status-bar": "2.
|
|
38
|
-
"@opensumi/ide-theme": "2.
|
|
39
|
-
"@opensumi/ide-variable": "2.
|
|
40
|
-
"@opensumi/ide-workspace": "2.
|
|
34
|
+
"@opensumi/ide-editor": "2.18.0",
|
|
35
|
+
"@opensumi/ide-main-layout": "2.18.0",
|
|
36
|
+
"@opensumi/ide-overlay": "2.18.0",
|
|
37
|
+
"@opensumi/ide-status-bar": "2.18.0",
|
|
38
|
+
"@opensumi/ide-theme": "2.18.0",
|
|
39
|
+
"@opensumi/ide-variable": "2.18.0",
|
|
40
|
+
"@opensumi/ide-workspace": "2.18.0",
|
|
41
41
|
"@types/event-kit": "^2.4.0",
|
|
42
42
|
"@types/http-proxy": "^1.17.2",
|
|
43
43
|
"@types/puppeteer": "^2.0.0",
|
|
44
44
|
"http-proxy": "^1.18.0",
|
|
45
45
|
"puppeteer": "^2.0.0"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "1db618dccac9390b4249f79d3dc75c6cc6546c44"
|
|
48
48
|
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { IExtensionTerminalProfile, ITerminalContributions, ITerminalContributionService } from '../common';
|
|
2
|
-
export declare class TerminalContributionService implements ITerminalContributionService {
|
|
3
|
-
private _terminalProfiles;
|
|
4
|
-
get terminalProfiles(): IExtensionTerminalProfile[];
|
|
5
|
-
add(extensionId: string, contributions: ITerminalContributions): void;
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=terminal.contribution.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"terminal.contribution.d.ts","sourceRoot":"","sources":["../../src/browser/terminal.contribution.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,yBAAyB,EACzB,sBAAsB,EACtB,4BAA4B,EAE7B,MAAM,WAAW,CAAC;AAWnB,qBACa,2BAA4B,YAAW,4BAA4B;IAC9E,OAAO,CAAC,iBAAiB,CAAgD;IACzE,IAAI,gBAAgB,gCAEnB;IAED,GAAG,CAAC,WAAW,EAAE,MAAM,EAAE,aAAa,EAAE,sBAAsB;CAS/D"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TerminalContributionService = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const di_1 = require("@opensumi/di");
|
|
6
|
-
const ide_core_common_1 = require("@opensumi/ide-core-common");
|
|
7
|
-
function hasValidTerminalIcon(profile) {
|
|
8
|
-
return (!profile.icon ||
|
|
9
|
-
typeof profile.icon === 'string' ||
|
|
10
|
-
ide_core_common_1.URI.isUri(profile.icon) ||
|
|
11
|
-
('light' in profile.icon && 'dark' in profile.icon && ide_core_common_1.URI.isUri(profile.icon.light) && ide_core_common_1.URI.isUri(profile.icon.dark)));
|
|
12
|
-
}
|
|
13
|
-
let TerminalContributionService = class TerminalContributionService {
|
|
14
|
-
constructor() {
|
|
15
|
-
this._terminalProfiles = new Map();
|
|
16
|
-
}
|
|
17
|
-
get terminalProfiles() {
|
|
18
|
-
return Array.from(this._terminalProfiles.values());
|
|
19
|
-
}
|
|
20
|
-
add(extensionId, contributions) {
|
|
21
|
-
var _a;
|
|
22
|
-
const profiles = ((_a = contributions === null || contributions === void 0 ? void 0 : contributions.profiles) === null || _a === void 0 ? void 0 : _a.filter((p) => hasValidTerminalIcon(p)).map((e) => (Object.assign(Object.assign({}, e), { extensionIdentifier: extensionId })))) || [];
|
|
23
|
-
for (const profile of profiles) {
|
|
24
|
-
this._terminalProfiles.set(profile.id, profile);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
TerminalContributionService = tslib_1.__decorate([
|
|
29
|
-
(0, di_1.Injectable)()
|
|
30
|
-
], TerminalContributionService);
|
|
31
|
-
exports.TerminalContributionService = TerminalContributionService;
|
|
32
|
-
//# sourceMappingURL=terminal.contribution.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"terminal.contribution.js","sourceRoot":"","sources":["../../src/browser/terminal.contribution.ts"],"names":[],"mappings":";;;;AAAA,qCAA0C;AAC1C,+DAAgD;AAShD,SAAS,oBAAoB,CAAC,OAAqC;IACjE,OAAO,CACL,CAAC,OAAO,CAAC,IAAI;QACb,OAAO,OAAO,CAAC,IAAI,KAAK,QAAQ;QAChC,qBAAG,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC;QACvB,CAAC,OAAO,IAAI,OAAO,CAAC,IAAI,IAAI,MAAM,IAAI,OAAO,CAAC,IAAI,IAAI,qBAAG,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,qBAAG,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CACrH,CAAC;AACJ,CAAC;AAGD,IAAa,2BAA2B,GAAxC,MAAa,2BAA2B;IAAxC;QACU,sBAAiB,GAAG,IAAI,GAAG,EAAqC,CAAC;IAc3E,CAAC;IAbC,IAAI,gBAAgB;QAClB,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,iBAAiB,CAAC,MAAM,EAAE,CAAC,CAAC;IACrD,CAAC;IAED,GAAG,CAAC,WAAmB,EAAE,aAAqC;;QAC5D,MAAM,QAAQ,GACZ,CAAA,MAAA,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,QAAQ,0CACnB,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,oBAAoB,CAAC,CAAC,CAAC,EACtC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,iCAAM,CAAC,KAAE,mBAAmB,EAAE,WAAW,IAAG,CAAC,KAAI,EAAE,CAAC;QACpE,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC9B,IAAI,CAAC,iBAAiB,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC;SACjD;IACH,CAAC;CACF,CAAA;AAfY,2BAA2B;IADvC,IAAA,eAAU,GAAE;GACA,2BAA2B,CAevC;AAfY,kEAA2B"}
|
package/lib/common/menu.d.ts
DELETED
package/lib/common/menu.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../src/common/menu.ts"],"names":[],"mappings":"AAAA,oBAAY,MAAM;IAChB,OAAO,YAAY;IACnB,SAAS,cAAc;CACxB"}
|
package/lib/common/menu.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MenuId = void 0;
|
|
4
|
-
var MenuId;
|
|
5
|
-
(function (MenuId) {
|
|
6
|
-
MenuId["TermTab"] = "TermTab";
|
|
7
|
-
MenuId["TermPanel"] = "TermPanel";
|
|
8
|
-
})(MenuId = exports.MenuId || (exports.MenuId = {}));
|
|
9
|
-
//# sourceMappingURL=menu.js.map
|
package/lib/common/menu.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"menu.js","sourceRoot":"","sources":["../../src/common/menu.ts"],"names":[],"mappings":";;;AAAA,IAAY,MAGX;AAHD,WAAY,MAAM;IAChB,6BAAmB,CAAA;IACnB,iCAAuB,CAAA;AACzB,CAAC,EAHW,MAAM,GAAN,cAAM,KAAN,cAAM,QAGjB"}
|