testdriverai 7.9.6-test → 7.9.7-test

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.
@@ -25,9 +25,10 @@
25
25
  * @param {string} [opts.sentryChannel]
26
26
  * @param {Object} opts.ablyToken - Ably token object
27
27
  * @param {string} opts.channelName - Ably channel name
28
+ * @param {string} [opts.sessionId] - Session ID for distributed tracing (traceId = MD5(sessionId))
28
29
  * @returns {Object} Agent config to serialize as JSON
29
30
  */
30
- function buildAgentConfig({ sandboxId, apiRoot, apiKey, sentryDsn, sentryEnvironment, sentryChannel, ablyToken, channelName }) {
31
+ function buildAgentConfig({ sandboxId, apiRoot, apiKey, sentryDsn, sentryEnvironment, sentryChannel, ablyToken, channelName, sessionId }) {
31
32
  return {
32
33
  sandboxId,
33
34
  apiRoot,
@@ -35,6 +36,7 @@ function buildAgentConfig({ sandboxId, apiRoot, apiKey, sentryDsn, sentryEnviron
35
36
  sentryDsn: sentryDsn || undefined,
36
37
  sentryEnvironment: sentryEnvironment || 'production',
37
38
  sentryChannel: sentryChannel || undefined,
39
+ sessionId: sessionId || undefined,
38
40
  ably: {
39
41
  token: ablyToken,
40
42
  channel: channelName,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testdriverai",
3
- "version": "7.9.6-test",
3
+ "version": "7.9.7-test",
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",