@midscene/cli 1.0.1-beta-20251022061922.0 → 1.0.1-beta-20251024063839.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/dist/lib/index.js CHANGED
@@ -3015,7 +3015,7 @@ var __webpack_modules__ = {
3015
3015
  var external_node_path_default = /*#__PURE__*/ __webpack_require__.n(external_node_path_namespaceObject);
3016
3016
  var main = __webpack_require__("../../node_modules/.pnpm/dotenv@16.4.5/node_modules/dotenv/lib/main.js");
3017
3017
  var main_default = /*#__PURE__*/ __webpack_require__.n(main);
3018
- var package_namespaceObject = JSON.parse('{"i8":"1.0.1-beta-20251022061922.0"}');
3018
+ var package_namespaceObject = JSON.parse('{"i8":"1.0.1-beta-20251024063839.0"}');
3019
3019
  const yaml_namespaceObject = require("@midscene/core/yaml");
3020
3020
  const common_namespaceObject = require("@midscene/shared/common");
3021
3021
  const external_lodash_merge_namespaceObject = require("lodash.merge");
@@ -3237,6 +3237,7 @@ var __webpack_modules__ = {
3237
3237
  var _yamlScript_agent2;
3238
3238
  const androidTarget = clonedYamlScript.android;
3239
3239
  const agent = await (0, android_namespaceObject.agentFromAdbDevice)(null == androidTarget ? void 0 : androidTarget.deviceId, {
3240
+ ...androidTarget,
3240
3241
  cache: (0, utils_namespaceObject.processCacheConfig)(null == (_yamlScript_agent2 = yamlScript.agent) ? void 0 : _yamlScript_agent2.cache, fileName)
3241
3242
  });
3242
3243
  if (null == androidTarget ? void 0 : androidTarget.launch) await agent.launch(androidTarget.launch);
@@ -3250,10 +3251,11 @@ var __webpack_modules__ = {
3250
3251
  };
3251
3252
  }
3252
3253
  if (void 0 !== clonedYamlScript.ios) {
3254
+ var _yamlScript_agent3;
3253
3255
  const iosTarget = clonedYamlScript.ios;
3254
3256
  const agent = await (0, ios_namespaceObject.agentFromWebDriverAgent)({
3255
- wdaPort: null == iosTarget ? void 0 : iosTarget.wdaPort,
3256
- wdaHost: null == iosTarget ? void 0 : iosTarget.wdaHost
3257
+ ...iosTarget,
3258
+ cache: (0, utils_namespaceObject.processCacheConfig)(null == (_yamlScript_agent3 = yamlScript.agent) ? void 0 : _yamlScript_agent3.cache, fileName)
3257
3259
  });
3258
3260
  if (null == iosTarget ? void 0 : iosTarget.launch) await agent.launch(iosTarget.launch);
3259
3261
  freeFn.push({
@@ -3266,7 +3268,7 @@ var __webpack_modules__ = {
3266
3268
  };
3267
3269
  }
3268
3270
  if (void 0 !== clonedYamlScript.interface) {
3269
- var _yamlScript_agent3;
3271
+ var _yamlScript_agent4;
3270
3272
  const interfaceTarget = clonedYamlScript.interface;
3271
3273
  const moduleSpecifier = interfaceTarget.module;
3272
3274
  let finalModuleSpecifier;
@@ -3282,7 +3284,7 @@ var __webpack_modules__ = {
3282
3284
  debug('creating agent from device', device);
3283
3285
  const agent = (0, agent_namespaceObject.createAgent)(device, {
3284
3286
  ...yamlScript.agent,
3285
- cache: (0, utils_namespaceObject.processCacheConfig)(null == (_yamlScript_agent3 = yamlScript.agent) ? void 0 : _yamlScript_agent3.cache, fileName)
3287
+ cache: (0, utils_namespaceObject.processCacheConfig)(null == (_yamlScript_agent4 = yamlScript.agent) ? void 0 : _yamlScript_agent4.cache, fileName)
3286
3288
  });
3287
3289
  freeFn.push({
3288
3290
  name: 'destroy_general_interface_agent',
@@ -11918,7 +11920,7 @@ Usage:
11918
11920
  type: 'string',
11919
11921
  description: 'Override WebDriverAgent host for iOS environments.'
11920
11922
  }
11921
- }).version('version', 'Show version number', "1.0.1-beta-20251022061922.0").help().wrap(yargs().terminalWidth());
11923
+ }).version('version', 'Show version number', "1.0.1-beta-20251024063839.0").help().wrap(yargs().terminalWidth());
11922
11924
  const argv = await args.argv;
11923
11925
  cli_utils_debug('argv', argv);
11924
11926
  const transformedArgv = {