testdriverai 7.9.58-test → 7.9.59-canary

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/package.json +1 -1
  2. package/sdk.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testdriverai",
3
- "version": "7.9.58-test",
3
+ "version": "7.9.59-canary",
4
4
  "description": "Next generation autonomous AI agent for end-to-end testing of web & desktop",
5
5
  "main": "sdk.js",
6
6
  "types": "sdk.d.ts",
package/sdk.js CHANGED
@@ -3850,7 +3850,7 @@ CAPTCHA_SOLVER_EOF`,
3850
3850
  const apiKey = this.config?.TD_API_KEY || '';
3851
3851
  const maskedKey = apiKey.length > 4 ? '***' + apiKey.slice(-4) : '(not set)';
3852
3852
  const env = process.env.TD_CHANNEL || process.env.TD_ENV || 'unknown';
3853
- const os = this.agent?.options?.os || process.env.TD_OS || 'linux';
3853
+ const os = this.os || this.agent?.cliArgs?.options?.os || process.env.TD_OS || 'linux';
3854
3854
  const sdkVersion = require('./package.json').version;
3855
3855
 
3856
3856
  // Always print local config immediately