@browserbasehq/stagehand 3.0.7-alpha-d4b5bd4f5798221f3106b630a4a36e7acb36c113 → 3.0.7-alpha-cadd192066c8aa5d19bb4d5daa630ed5981b5d7e

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/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { EventEmitter } from 'events';
1
2
  import { ZodTypeAny, z, ZodObject, ZodRawShape, ZodError } from 'zod';
2
3
  import * as z3 from 'zod/v3';
3
4
  import { ClientOptions as ClientOptions$2 } from '@anthropic-ai/sdk';
@@ -2196,6 +2197,11 @@ declare class V3 {
2196
2197
  private observeHandler;
2197
2198
  private ctx;
2198
2199
  llmClient: LLMClient;
2200
+ /**
2201
+ * Event bus for internal communication.
2202
+ * Emits events like 'screenshot' when screenshots are captured during agent execution.
2203
+ */
2204
+ readonly bus: EventEmitter;
2199
2205
  private modelName;
2200
2206
  private modelClientOptions;
2201
2207
  private llmProvider;