@midscene/cli 1.8.10-beta-20260603081456.0 → 1.8.11

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.
@@ -3321,23 +3321,6 @@ defineYamlBatchTest(${JSON.stringify(testOptions, null, 2)});
3321
3321
  freeFn
3322
3322
  };
3323
3323
  }
3324
- if (void 0 !== clonedYamlScript.harmony) {
3325
- const harmonyTarget = clonedYamlScript.harmony;
3326
- const { agentFromHdcDevice } = await import("@midscene/harmony");
3327
- const agent = await agentFromHdcDevice(harmonyTarget?.deviceId, {
3328
- ...harmonyTarget,
3329
- ...buildAgentOptions(clonedYamlScript.agent, preference.reportFileName, fileName)
3330
- });
3331
- if (harmonyTarget?.launch) await agent.launch(harmonyTarget.launch);
3332
- freeFn.push({
3333
- name: 'destroy_harmony_agent',
3334
- fn: ()=>agent.destroy()
3335
- });
3336
- return {
3337
- agent,
3338
- freeFn
3339
- };
3340
- }
3341
3324
  if (void 0 !== clonedYamlScript.computer) {
3342
3325
  const computerTarget = clonedYamlScript.computer;
3343
3326
  const { agentForComputer } = await import("@midscene/computer");
@@ -3380,7 +3363,7 @@ defineYamlBatchTest(${JSON.stringify(testOptions, null, 2)});
3380
3363
  freeFn
3381
3364
  };
3382
3365
  }
3383
- throw new Error('No valid interface configuration found in the yaml script, should be either "web", "android", "ios", "harmony", "computer", or "interface"');
3366
+ throw new Error('No valid interface configuration found in the yaml script, should be either "web", "android", "ios", "computer", or "interface"');
3384
3367
  }, void 0, file);
3385
3368
  return player;
3386
3369
  }