testdriverai 4.1.46 → 4.1.47

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.
Files changed (2) hide show
  1. package/agent.js +3 -3
  2. package/package.json +1 -1
package/agent.js CHANGED
@@ -704,7 +704,7 @@ const firstPrompt = async () => {
704
704
  } else if (input.indexOf("/manual") == 0) {
705
705
  await manualInput(commands.slice(1).join(" "));
706
706
  } else if (input.indexOf("/run") == 0) {
707
- await run(commands[1], commands[2], commands[3]);
707
+ await run(commands[1], commands[2] == "true", commands[3] == "true");
708
708
  } else if (input.indexOf("/generate") == 0) {
709
709
  await generate(commands[1], commands[2]);
710
710
  } else {
@@ -948,14 +948,14 @@ ${yaml.dump(step)}
948
948
  await actOnMarkdown(markdown, 0, true);
949
949
  }
950
950
 
951
- if (shouldSave || shouldSave == "true") {
951
+ if (shouldSave) {
952
952
  await save({ filepath: file });
953
953
  }
954
954
 
955
955
  setTerminalWindowTransparency(false);
956
956
  emitter.emit(events.interactive, true);
957
957
 
958
- if (shouldExit || shouldExit == "true") {
958
+ if (shouldExit) {
959
959
  await summarize();
960
960
  await exit(false);
961
961
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testdriverai",
3
- "version": "4.1.46",
3
+ "version": "4.1.47",
4
4
  "description": "Next generation autonomous AI agent for end-to-end testing of web & desktop",
5
5
  "main": "index.js",
6
6
  "bin": {