@midscene/cli 1.0.1-beta-20251021060907.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/es/index.mjs CHANGED
@@ -3024,7 +3024,7 @@ var __webpack_modules__ = {
3024
3024
  "./src/index.ts": function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
3025
3025
  var main = __webpack_require__("../../node_modules/.pnpm/dotenv@16.4.5/node_modules/dotenv/lib/main.js");
3026
3026
  var main_default = /*#__PURE__*/ __webpack_require__.n(main);
3027
- var package_namespaceObject = JSON.parse('{"i8":"1.0.1-beta-20251021060907.0"}');
3027
+ var package_namespaceObject = JSON.parse('{"i8":"1.0.1-beta-20251024063839.0"}');
3028
3028
  class Node {
3029
3029
  value;
3030
3030
  next;
@@ -3230,6 +3230,7 @@ var __webpack_modules__ = {
3230
3230
  var _yamlScript_agent2;
3231
3231
  const androidTarget = clonedYamlScript.android;
3232
3232
  const agent = await agentFromAdbDevice(null == androidTarget ? void 0 : androidTarget.deviceId, {
3233
+ ...androidTarget,
3233
3234
  cache: processCacheConfig(null == (_yamlScript_agent2 = yamlScript.agent) ? void 0 : _yamlScript_agent2.cache, fileName)
3234
3235
  });
3235
3236
  if (null == androidTarget ? void 0 : androidTarget.launch) await agent.launch(androidTarget.launch);
@@ -3243,10 +3244,11 @@ var __webpack_modules__ = {
3243
3244
  };
3244
3245
  }
3245
3246
  if (void 0 !== clonedYamlScript.ios) {
3247
+ var _yamlScript_agent3;
3246
3248
  const iosTarget = clonedYamlScript.ios;
3247
3249
  const agent = await agentFromWebDriverAgent({
3248
- wdaPort: null == iosTarget ? void 0 : iosTarget.wdaPort,
3249
- wdaHost: null == iosTarget ? void 0 : iosTarget.wdaHost
3250
+ ...iosTarget,
3251
+ cache: processCacheConfig(null == (_yamlScript_agent3 = yamlScript.agent) ? void 0 : _yamlScript_agent3.cache, fileName)
3250
3252
  });
3251
3253
  if (null == iosTarget ? void 0 : iosTarget.launch) await agent.launch(iosTarget.launch);
3252
3254
  freeFn.push({
@@ -3259,7 +3261,7 @@ var __webpack_modules__ = {
3259
3261
  };
3260
3262
  }
3261
3263
  if (void 0 !== clonedYamlScript.interface) {
3262
- var _yamlScript_agent3;
3264
+ var _yamlScript_agent4;
3263
3265
  const interfaceTarget = clonedYamlScript.interface;
3264
3266
  const moduleSpecifier = interfaceTarget.module;
3265
3267
  let finalModuleSpecifier;
@@ -3275,7 +3277,7 @@ var __webpack_modules__ = {
3275
3277
  debug('creating agent from device', device);
3276
3278
  const agent = createAgent(device, {
3277
3279
  ...yamlScript.agent,
3278
- cache: processCacheConfig(null == (_yamlScript_agent3 = yamlScript.agent) ? void 0 : _yamlScript_agent3.cache, fileName)
3280
+ cache: processCacheConfig(null == (_yamlScript_agent4 = yamlScript.agent) ? void 0 : _yamlScript_agent4.cache, fileName)
3279
3281
  });
3280
3282
  freeFn.push({
3281
3283
  name: 'destroy_general_interface_agent',
@@ -11903,7 +11905,7 @@ Usage:
11903
11905
  type: 'string',
11904
11906
  description: 'Override WebDriverAgent host for iOS environments.'
11905
11907
  }
11906
- }).version('version', 'Show version number', "1.0.1-beta-20251021060907.0").help().wrap(yargs().terminalWidth());
11908
+ }).version('version', 'Show version number', "1.0.1-beta-20251024063839.0").help().wrap(yargs().terminalWidth());
11907
11909
  const argv = await args.argv;
11908
11910
  cli_utils_debug('argv', argv);
11909
11911
  const transformedArgv = {