testdriverai 4.1.45 → 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.
- package/agent.js +3 -3
- 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
|
|
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
|
|
958
|
+
if (shouldExit) {
|
|
959
959
|
await summarize();
|
|
960
960
|
await exit(false);
|
|
961
961
|
}
|