testdriverai 4.0.39 → 4.0.40

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/index.js +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -588,7 +588,7 @@ const firstPrompt = async (text) => {
588
588
  } else if (input.indexOf('/quit') == 0) {
589
589
  await exit();
590
590
  } else if (input.indexOf('/save') == 0) {
591
- await save({ filepath: commands[0] });
591
+ await save({ filepath: commands[1] });
592
592
  } else if (input.indexOf('/explore') == 0) {
593
593
  await humanInput(commands.slice(1).join(' '), true)
594
594
  } else if (input.indexOf('/undo') == 0) {
@@ -808,7 +808,7 @@ ${yaml.dump(step)}
808
808
  }
809
809
 
810
810
  if (overwrite) {
811
- await save(file);
811
+ await save({ filepath: file });
812
812
  }
813
813
 
814
814
  setTerminalWindowTransparency(false);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testdriverai",
3
- "version": "4.0.39",
3
+ "version": "4.0.40",
4
4
  "description": "Next generation autonomous AI agent for end-to-end testing of web & desktop",
5
5
  "main": "index.js",
6
6
  "bin": {