testdriverai 7.6.0-test.0 → 7.6.0-test.1

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/CHANGELOG.md CHANGED
@@ -1,3 +1,14 @@
1
+ ## 7.6.0-test.1 (2026-03-12)
2
+
3
+ 🔧 Maintenance
4
+
5
+ - Improve CI/CD workflow reliability and testing coverage [SDK] (eb86a515)
6
+ - Update MCP server implementation for better stability [SDK] (eb86a515)
7
+
8
+ 📝 Documentation
9
+
10
+ - Add new visual documentation for content parsing functionality [SDK] (eb86a515)
11
+
1
12
  ## 7.6.0-test.0 (2026-03-12)
2
13
 
3
14
  ## ✨ Features
@@ -23,9 +23,11 @@ import { sessionManager } from "./session.js";
23
23
  // Sentry
24
24
  // =============================================================================
25
25
  // Read version from main package.json (../../package.json from mcp-server/dist/)
26
- const packageJsonPath = path.join(path.dirname(fileURLToPath(import.meta.url)), "..", "..", "package.json");
27
- const packageJson = JSON.parse(fs.readFileSync(packageJsonPath, "utf-8"));
26
+ const sdkRoot = path.join(path.dirname(fileURLToPath(import.meta.url)), "..", "..");
27
+ const packageJson = JSON.parse(fs.readFileSync(path.join(sdkRoot, "package.json"), "utf-8"));
28
28
  const version = packageJson.version || "1.0.0";
29
+ const channelConfig = JSON.parse(fs.readFileSync(path.join(sdkRoot, "channel.json"), "utf-8"));
30
+ const releaseChannel = channelConfig.active || "dev";
29
31
  const isSentryEnabled = () => {
30
32
  if (process.env.TD_TELEMETRY === "false") {
31
33
  return false;
@@ -37,7 +39,7 @@ if (isSentryEnabled()) {
37
39
  Sentry.init({
38
40
  dsn: process.env.SENTRY_DSN ||
39
41
  "https://452bd5a00dbd83a38ee8813e11c57694@o4510262629236736.ingest.us.sentry.io/4510480443637760",
40
- environment: "mcp",
42
+ environment: releaseChannel,
41
43
  release: version,
42
44
  sampleRate: 1.0,
43
45
  tracesSampleRate: 1.0,
@@ -30,9 +30,11 @@ import { sessionManager, type SessionState } from "./session.js";
30
30
  // =============================================================================
31
31
 
32
32
  // Read version from main package.json (../../package.json from mcp-server/dist/)
33
- const packageJsonPath = path.join(path.dirname(fileURLToPath(import.meta.url)), "..", "..", "package.json");
34
- const packageJson = JSON.parse(fs.readFileSync(packageJsonPath, "utf-8"));
33
+ const sdkRoot = path.join(path.dirname(fileURLToPath(import.meta.url)), "..", "..");
34
+ const packageJson = JSON.parse(fs.readFileSync(path.join(sdkRoot, "package.json"), "utf-8"));
35
35
  const version = packageJson.version || "1.0.0";
36
+ const channelConfig = JSON.parse(fs.readFileSync(path.join(sdkRoot, "channel.json"), "utf-8"));
37
+ const releaseChannel = channelConfig.active || "dev";
36
38
 
37
39
  const isSentryEnabled = () => {
38
40
  if (process.env.TD_TELEMETRY === "false") {
@@ -47,7 +49,7 @@ if (isSentryEnabled()) {
47
49
  dsn:
48
50
  process.env.SENTRY_DSN ||
49
51
  "https://452bd5a00dbd83a38ee8813e11c57694@o4510262629236736.ingest.us.sentry.io/4510480443637760",
50
- environment: "mcp",
52
+ environment: releaseChannel,
51
53
  release: version,
52
54
  sampleRate: 1.0,
53
55
  tracesSampleRate: 1.0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testdriverai",
3
- "version": "7.6.0-test.0",
3
+ "version": "7.6.0-test.1",
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
@@ -1910,7 +1910,7 @@ class TestDriverSDK {
1910
1910
  // Add web log tracking with domain wildcard pattern, then start dashcam
1911
1911
  if (this.dashcamEnabled) {
1912
1912
  const domainPattern = this._getUrlDomainPattern(url);
1913
- // await this.dashcam.addWebLog(domainPattern, "Web Logs");
1913
+ await this.dashcam.addWebLog(domainPattern, "Web Logs");
1914
1914
 
1915
1915
  // Start dashcam recording after logs are configured
1916
1916
  if (!(await this.dashcam.isRecording())) {
@@ -2477,7 +2477,7 @@ with zipfile.ZipFile(io.BytesIO(zip_data)) as zf:
2477
2477
  const pattern = this._provisionedChromeUrl
2478
2478
  ? this._getUrlDomainPattern(this._provisionedChromeUrl)
2479
2479
  : "**";
2480
- // await this.dashcam.addWebLog(pattern, "Web Logs");
2480
+ await this.dashcam.addWebLog(pattern, "Web Logs");
2481
2481
  }
2482
2482
 
2483
2483
  // Start recording if not already recording