testdriverai 4.0.72 → 4.0.73

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 (3) hide show
  1. package/README.md +1 -1
  2. package/index.js +3 -5
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -81,7 +81,7 @@ If you have multiple monitors, make sure you do this on your primary display.
81
81
 
82
82
  Now, just tell TestDriver what you want it to do. For now, stick with single commands like "click sign up" and "scroll down."
83
83
 
84
- Later, try `/explore` to perform higher level objectives like "complete the onboarding."
84
+ Later, try to perform higher level objectives like "complete the onboarding."
85
85
 
86
86
  ```yaml
87
87
  > Click on sign up
package/index.js CHANGED
@@ -163,7 +163,7 @@ function fileCompleter(line) {
163
163
 
164
164
  function completer(line) {
165
165
  let completions =
166
- "/summarize /save /run /quit /explore /assert /undo /manual".split(" ");
166
+ "/summarize /save /run /quit /assert /undo /manual".split(" ");
167
167
  if (line.startsWith("/run ")) {
168
168
  return fileCompleter(line);
169
169
  } else {
@@ -524,7 +524,7 @@ const generate = async (type, count) => {
524
524
  let list = testPrompt.listsOrdered[0];
525
525
 
526
526
  let contents = list
527
- .map((item, index) => `${index + 1}. /explore ${item}`)
527
+ .map((item, index) => `${index + 1}. ${item}`)
528
528
  .join("\n");
529
529
  fs.writeFileSync(path1, contents);
530
530
  }
@@ -635,8 +635,6 @@ const firstPrompt = async () => {
635
635
  await exit();
636
636
  } else if (input.indexOf("/save") == 0) {
637
637
  await save({ filepath: commands[1] });
638
- } else if (input.indexOf("/explore") == 0) {
639
- await humanInput(commands.slice(1).join(" "), true);
640
638
  } else if (input.indexOf("/undo") == 0) {
641
639
  await undo();
642
640
  } else if (input.indexOf("/assert") == 0) {
@@ -648,7 +646,7 @@ const firstPrompt = async () => {
648
646
  } else if (input.indexOf("/generate") == 0) {
649
647
  await generate(commands[1], commands[2]);
650
648
  } else {
651
- await humanInput(input, false);
649
+ await humanInput(input, true);
652
650
  }
653
651
 
654
652
  setTerminalWindowTransparency(false);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testdriverai",
3
- "version": "4.0.72",
3
+ "version": "4.0.73",
4
4
  "description": "Next generation autonomous AI agent for end-to-end testing of web & desktop",
5
5
  "main": "index.js",
6
6
  "bin": {