@testdriverai/agent 7.11.188-test → 7.11.189-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.
@@ -43,9 +43,11 @@ const createSandbox = function (emitter, analytics, sessionInstance) {
43
43
  this._sandboxId = null;
44
44
  this._disconnectedAt = null; // tracks when Realtime connection dropped (for timeout extension on reconnect)
45
45
 
46
- // Rate limiting state for Ably publishes (Ably limits to 50 msg/sec per connection)
46
+ // Ably enforces `channel.maxRate` (50 msg/sec) across *every* publisher
47
+ // on the session channel, not per connection. The SDK, the runner
48
+ // (20/sec), and the API all share it, so the SDK takes 25/sec.
47
49
  this._publishLastTime = 0;
48
- this._publishMinIntervalMs = 25; // 40 msg/sec max, safely under Ably's 50 limit
50
+ this._publishMinIntervalMs = 40;
49
51
  this._publishCount = 0;
50
52
  this._publishWindowStart = Date.now();
51
53
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@testdriverai/agent",
3
- "version": "7.11.188-test",
3
+ "version": "7.11.189-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",