@midscene/cli 1.18.0 → 1.18.2-beta-20261119143629.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/README.md +1 -1
- package/dist/es/index.mjs +8 -10
- package/dist/es/index.mjs.map +1 -1
- package/dist/lib/index.js +8 -10
- package/dist/lib/index.js.map +1 -1
- package/package.json +11 -11
package/dist/lib/index.js
CHANGED
|
@@ -4394,9 +4394,7 @@ defineYamlBatchTest(test, testOptions);
|
|
|
4394
4394
|
"use strict";
|
|
4395
4395
|
var core_ = __webpack_require__("@midscene/core");
|
|
4396
4396
|
const cli_namespaceObject = require("@midscene/shared/cli");
|
|
4397
|
-
var package_namespaceObject = {
|
|
4398
|
-
rE: "1.18.0"
|
|
4399
|
-
};
|
|
4397
|
+
var package_namespaceObject = JSON.parse('{"rE":"1.18.2-beta-20261119143629.0"}');
|
|
4400
4398
|
var external_node_fs_ = __webpack_require__("node:fs");
|
|
4401
4399
|
var external_node_fs_namespaceObject = /*#__PURE__*/ __webpack_require__.t(external_node_fs_, 2);
|
|
4402
4400
|
var external_node_path_ = __webpack_require__("node:path");
|
|
@@ -9454,7 +9452,7 @@ defineYamlBatchTest(test, testOptions);
|
|
|
9454
9452
|
const args = yargs(hideBin(process.argv)).parserConfiguration({
|
|
9455
9453
|
'dot-notation': true
|
|
9456
9454
|
}).usage(`Midscene legacy YAML runner executes tasks/flow scripts with AI.
|
|
9457
|
-
Homepage: https://midscenejs.com
|
|
9455
|
+
Homepage: https://www.midscenejs.com
|
|
9458
9456
|
Github: https://github.com/web-infra-dev/midscene
|
|
9459
9457
|
|
|
9460
9458
|
Usage:
|
|
@@ -9520,11 +9518,11 @@ Usage:
|
|
|
9520
9518
|
type: 'boolean',
|
|
9521
9519
|
description: 'Whether to dismiss the HarmonyOS keyboard after text input'
|
|
9522
9520
|
}
|
|
9523
|
-
}).version('version', 'Show version number', "1.18.0").help().epilogue(`For complete list of configuration options, please visit:
|
|
9524
|
-
• Web options: https://midscenejs.com/automate-with-scripts-in-yaml#the-web-part
|
|
9525
|
-
• Android options: https://midscenejs.com/automate-with-scripts-in-yaml#the-android-part
|
|
9526
|
-
• HarmonyOS options: https://midscenejs.com/automate-with-scripts-in-yaml#the-harmony-part
|
|
9527
|
-
• iOS options: https://midscenejs.com/automate-with-scripts-in-yaml#the-ios-part
|
|
9521
|
+
}).version('version', 'Show version number', "1.18.2-beta-20261119143629.0").help().epilogue(`For complete list of configuration options, please visit:
|
|
9522
|
+
• Web options: https://www.midscenejs.com/automate-with-scripts-in-yaml#the-web-target-part
|
|
9523
|
+
• Android options: https://www.midscenejs.com/automate-with-scripts-in-yaml#the-android-part
|
|
9524
|
+
• HarmonyOS options: https://www.midscenejs.com/automate-with-scripts-in-yaml#the-harmony-part
|
|
9525
|
+
• iOS options: https://www.midscenejs.com/automate-with-scripts-in-yaml#the-ios-part
|
|
9528
9526
|
|
|
9529
9527
|
Examples:
|
|
9530
9528
|
$0 script.yaml --web.user-agent "Custom Agent" --web.viewport-width 1920
|
|
@@ -12606,7 +12604,7 @@ Options (login):
|
|
|
12606
12604
|
const welcome = `\nWelcome to @midscene/cli v${package_namespaceObject.rE}\n`;
|
|
12607
12605
|
console.log(welcome);
|
|
12608
12606
|
if (options.url) {
|
|
12609
|
-
console.error("the cli mode is no longer supported, please use yaml file instead. See https://midscenejs.com/automate-with-scripts-in-yaml for more information. Sorry for the inconvenience.");
|
|
12607
|
+
console.error("the cli mode is no longer supported, please use yaml file instead. See https://www.midscenejs.com/automate-with-scripts-in-yaml for more information. Sorry for the inconvenience.");
|
|
12610
12608
|
process.exit(1);
|
|
12611
12609
|
}
|
|
12612
12610
|
const configFile = options.config;
|