@browserbasehq/stagehand 2.4.3 → 2.4.4-alpha-ade59cb92bc33bd5ae7f0ec6f8e7d4bc9a4b92ba

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.js CHANGED
@@ -675,7 +675,7 @@ ${goal}
675
675
  }
676
676
 
677
677
  // lib/version.ts
678
- var STAGEHAND_VERSION = "2.4.3";
678
+ var STAGEHAND_VERSION = "2.4.4-alpha-ade59cb92bc33bd5ae7f0ec6f8e7d4bc9a4b92ba";
679
679
 
680
680
  // types/stagehandErrors.ts
681
681
  var StagehandError = class extends Error {
@@ -22633,6 +22633,7 @@ var Stagehand3 = class {
22633
22633
  this.verbose = verbose != null ? verbose : 0;
22634
22634
  this.stagehandLogger.setVerbosity(this.verbose);
22635
22635
  this.modelName = modelName != null ? modelName : DEFAULT_MODEL_NAME;
22636
+ this.usingAPI = useAPI;
22636
22637
  let modelApiKey;
22637
22638
  if (!(modelClientOptions == null ? void 0 : modelClientOptions.apiKey)) {
22638
22639
  if (LLMProvider.getModelProvider(this.modelName) === "aisdk") {
@@ -22675,7 +22676,6 @@ var Stagehand3 = class {
22675
22676
  this.browserbaseSessionCreateParams = browserbaseSessionCreateParams;
22676
22677
  this.browserbaseSessionID = browserbaseSessionID;
22677
22678
  this.userProvidedInstructions = systemPrompt;
22678
- this.usingAPI = useAPI;
22679
22679
  if (this.usingAPI && env === "LOCAL") {
22680
22680
  this.usingAPI = false;
22681
22681
  } else if (this.usingAPI && this.llmClient && !["openai", "anthropic", "google", "aisdk"].includes(this.llmClient.type)) {
@@ -2,4 +2,4 @@
2
2
  * AUTO-GENERATED — DO NOT EDIT BY HAND
3
3
  * Run `pnpm run gen-version` to refresh.
4
4
  */
5
- export declare const STAGEHAND_VERSION: "2.4.3";
5
+ export declare const STAGEHAND_VERSION: "2.4.4-alpha-ade59cb92bc33bd5ae7f0ec6f8e7d4bc9a4b92ba";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@browserbasehq/stagehand",
3
- "version": "2.4.3",
3
+ "version": "2.4.4-alpha-ade59cb92bc33bd5ae7f0ec6f8e7d4bc9a4b92ba",
4
4
  "description": "An AI web browsing framework focused on simplicity and extensibility.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",