@mablhq/mabl-cli 2.72.12 → 2.72.18
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/browserLauncher/index.js +3 -3
- package/commands/mcp/mcp_cmds/start.js +10 -3
- package/commands/mcp/mcp_cmds/tools/createTest.js +28 -0
- package/commands/mcp/mcp_cmds/tools/getCredentials.js +41 -0
- package/commands/mcp/mcp_cmds/tools/getWorkspaces.js +51 -0
- package/commands/mcp/mcp_cmds/tools/index.js +6 -0
- package/commands/mcp/mcp_cmds/tools/runTest.js +6 -1
- package/commands/mcp/mcp_cmds/tools/switchWorkspace.js +42 -0
- package/execution/index.js +2 -2
- package/mablscript/steps/EchoStep.js +2 -3
- package/package.json +7 -5
- package/providers/cliConfigProvider.js +2 -2
- package/proxy/index.js +1 -1
- package/upload/index.js +1 -1
|
@@ -30,15 +30,14 @@ class EchoStep extends MablStepV2_1.MablStepV2 {
|
|
|
30
30
|
static fromLegacyMablscript(args, _actions) {
|
|
31
31
|
const stepDescriptor = {
|
|
32
32
|
actionCode: EchoStep.actionCode,
|
|
33
|
-
value:
|
|
33
|
+
value: args[0],
|
|
34
34
|
};
|
|
35
35
|
const step = new EchoStep(stepDescriptor);
|
|
36
36
|
step.actions = _actions;
|
|
37
37
|
return step;
|
|
38
38
|
}
|
|
39
39
|
toMablscript() {
|
|
40
|
-
|
|
41
|
-
return `echo("${(0, domUtil_1.escapeMablscriptString)(stringEchoValue)}")`;
|
|
40
|
+
return `echo("${(0, domUtil_1.escapeMablscriptString)(this.echoValue)}")`;
|
|
42
41
|
}
|
|
43
42
|
getInputVariables() {
|
|
44
43
|
return MablAction_1.MablAction.findUniqueVariableReferencesInValue(this.echoValue);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mablhq/mabl-cli",
|
|
3
|
-
"version": "2.72.
|
|
3
|
+
"version": "2.72.18",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "The official mabl command line interface tool",
|
|
6
6
|
"main": "index.js",
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@aws-crypto/crc32c": "5.1.0",
|
|
24
|
+
"@devicefarmer/adbkit-apkreader": "3.2.4",
|
|
24
25
|
"@google-cloud/storage": "7.17.0",
|
|
25
26
|
"@mablhq/newman-reporter-mabl-console": "0.4.2",
|
|
26
27
|
"@mablhq/playwright-reporter": "0.5.9",
|
|
@@ -29,6 +30,7 @@
|
|
|
29
30
|
"@plist/parse": "1.1.0",
|
|
30
31
|
"@types/adm-zip": "0.5.5",
|
|
31
32
|
"@types/estree": "1.0.5",
|
|
33
|
+
"@types/finalhandler": "1.2.4",
|
|
32
34
|
"@xmldom/xmldom": "0.8.10",
|
|
33
35
|
"adm-zip": "0.5.10",
|
|
34
36
|
"agent-base": "6.0.2",
|
|
@@ -86,10 +88,10 @@
|
|
|
86
88
|
"query-string": "6.14.1",
|
|
87
89
|
"range_check": "2.0.4",
|
|
88
90
|
"retry": "0.13.1",
|
|
89
|
-
"sanitize-html": "2.
|
|
90
|
-
"serve-handler": "6.1.
|
|
91
|
+
"sanitize-html": "2.17.0",
|
|
92
|
+
"serve-handler": "6.1.6",
|
|
91
93
|
"set-cookie-parser": "2.5.1",
|
|
92
|
-
"simple-update-notifier": "
|
|
94
|
+
"simple-update-notifier": "2.0.0",
|
|
93
95
|
"socks-proxy-agent": "6.1.1",
|
|
94
96
|
"stoppable": "1.1.0",
|
|
95
97
|
"strip-ansi": "6.0.0",
|
|
@@ -98,7 +100,7 @@
|
|
|
98
100
|
"tough-cookie": "4.0.0",
|
|
99
101
|
"triple-beam": "1.3.0",
|
|
100
102
|
"uuid": "9.0.0",
|
|
101
|
-
"webdriverio": "8.
|
|
103
|
+
"webdriverio": "8.46.0",
|
|
102
104
|
"winston": "3.13.0",
|
|
103
105
|
"winston-transport": "4.7.0",
|
|
104
106
|
"xpath": "0.0.32",
|
|
@@ -138,8 +138,8 @@ function copyConf(confFrom, confTo) {
|
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
140
|
class CliConfigProvider {
|
|
141
|
-
static setWorkspace(
|
|
142
|
-
return setValue(WORKSPACE,
|
|
141
|
+
static setWorkspace(workspace) {
|
|
142
|
+
return setValue(WORKSPACE, workspace);
|
|
143
143
|
}
|
|
144
144
|
static clearWorkspace() {
|
|
145
145
|
return clearValue(WORKSPACE);
|