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