testdriverai 4.0.2 → 4.0.4

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/index.js CHANGED
@@ -95,6 +95,11 @@ console.log('')
95
95
 
96
96
  if (a.command !== 'run') {
97
97
  speak('Howdy! I am TestDriver version ' + package.version);
98
+
99
+ console.log(chalk.red('Warning!') + chalk.dim(' TestDriver sends screenshots of the desktop to our API.'));
100
+ console.log(chalk.dim('https://docs.testdriver.ai/security-and-privacy/agent'));
101
+ console.log('')
102
+
98
103
  }
99
104
 
100
105
  // individual run ID for this session
@@ -822,7 +827,7 @@ const embed = async (file, depth) => {
822
827
  // await sdk.auth();
823
828
 
824
829
  let win = await system.activeWin();
825
- terminalApp = win.owner.name;
830
+ terminalApp = win?.owner?.name || "";
826
831
 
827
832
  // should be start of new session
828
833
  sessionRes = await sdk.req('session/start', {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testdriverai",
3
- "version": "4.0.2",
3
+ "version": "4.0.4",
4
4
  "description": "Next generation autonomous AI agent for end-to-end testing of web & desktop",
5
5
  "main": "index.js",
6
6
  "bin": {
package/subimage/index.js CHANGED
File without changes