@midscene/cli 1.17.5 → 1.17.7

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/dist/lib/index.js CHANGED
@@ -4588,7 +4588,7 @@ defineYamlBatchTest(test, testOptions);
4588
4588
  var core_ = __webpack_require__("@midscene/core");
4589
4589
  const cli_namespaceObject = require("@midscene/shared/cli");
4590
4590
  var package_namespaceObject = {
4591
- rE: "1.17.5"
4591
+ rE: "1.17.7"
4592
4592
  };
4593
4593
  var external_node_fs_ = __webpack_require__("node:fs");
4594
4594
  var external_node_fs_namespaceObject = /*#__PURE__*/ __webpack_require__.t(external_node_fs_, 2);
@@ -10273,7 +10273,7 @@ Usage:
10273
10273
  type: 'boolean',
10274
10274
  description: 'Whether to dismiss the HarmonyOS keyboard after text input'
10275
10275
  }
10276
- }).version('version', 'Show version number', "1.17.5").help().epilogue(`For complete list of configuration options, please visit:
10276
+ }).version('version', 'Show version number', "1.17.7").help().epilogue(`For complete list of configuration options, please visit:
10277
10277
  • Web options: https://midscenejs.com/automate-with-scripts-in-yaml#the-web-part
10278
10278
  • Android options: https://midscenejs.com/automate-with-scripts-in-yaml#the-android-part
10279
10279
  • HarmonyOS options: https://midscenejs.com/automate-with-scripts-in-yaml#the-harmony-part
@@ -12847,7 +12847,13 @@ Options (login):
12847
12847
  stderr: console.error
12848
12848
  })=>{
12849
12849
  const [, action, ...restArgs] = rawArgs;
12850
- if ('siwc' === action) return runSiwcCommand(restArgs, io);
12850
+ if ('siwc' === action) {
12851
+ (0, model_command_namespaceObject.loadDotenvConfig)({
12852
+ dotenvOverride: false,
12853
+ dotenvDebug: false
12854
+ });
12855
+ return runSiwcCommand(restArgs, io);
12856
+ }
12851
12857
  const withSiwcUsage = (message)=>message.replace(' midscene model verify\n', ' midscene model verify\n midscene model siwc <login|refresh> [options]\n');
12852
12858
  return (0, model_command_namespaceObject.runModelCommand)(rawArgs, {
12853
12859
  loadDotenv: ()=>(0, model_command_namespaceObject.loadDotenvConfig)({