testdriverai 5.3.11 → 5.3.13

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 CHANGED
@@ -378,7 +378,7 @@ const runCommand = async (command, depth, shouldSave) => {
378
378
  }
379
379
 
380
380
  if (response && typeof response === "string") {
381
- return await actOnMarkdown(response, depth, true, false);
381
+ return await actOnMarkdown(response, depth, false, false, false);
382
382
  }
383
383
  } catch (error) {
384
384
  return await haveAIResolveError(
@@ -403,6 +403,7 @@ const executeCommands = async (
403
403
  ) => {
404
404
  if (commands?.length) {
405
405
  for (const command of commands) {
406
+
406
407
  if (pushToHistory) {
407
408
  executionHistory[executionHistory.length - 1]?.commands.push(command);
408
409
  }
@@ -738,7 +739,7 @@ const actOnMarkdown = async (
738
739
  depth,
739
740
  pushToHistory = false,
740
741
  dry = false,
741
- shouldSave,
742
+ shouldSave = false,
742
743
  ) => {
743
744
  logger.debug("%j", {
744
745
  message: "actOnMarkdown called",
@@ -55,7 +55,7 @@ app.whenReady().then(() => {
55
55
  width: config.TD_VM_RESOLUTION[0],
56
56
  height: config.TD_VM_RESOLUTION[1],
57
57
  closable: true,
58
- resizable: true,
58
+ resizable: false,
59
59
  // alwaysOnTop: true,
60
60
  show: false,
61
61
  webPreferences: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testdriverai",
3
- "version": "5.3.11",
3
+ "version": "5.3.13",
4
4
  "description": "Next generation autonomous AI agent for end-to-end testing of web & desktop",
5
5
  "main": "index.js",
6
6
  "bin": {