@browserbasehq/stagehand 2.5.8 → 2.5.9
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 +1 -1
- package/dist/index.js +2 -2
- package/dist/lib/version.d.ts +1 -1
- package/package.json +10 -15
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { z, ZodType, ZodError } from 'zod/v3';
|
|
|
2
2
|
import Browserbase from '@browserbasehq/sdk';
|
|
3
3
|
import { Client } from '@modelcontextprotocol/sdk/dist/esm/client';
|
|
4
4
|
import { generateObject, generateText, streamText, streamObject, experimental_generateImage, embed, embedMany, experimental_transcribe, experimental_generateSpeech, LanguageModel, ToolSet } from 'ai';
|
|
5
|
-
import { Cookie,
|
|
5
|
+
import { Cookie, Browser as Browser$1, BrowserContext as BrowserContext$1, Page as Page$1, PageScreenshotOptions, Frame, CDPSession } from 'playwright';
|
|
6
6
|
import { ClientOptions as ClientOptions$2 } from '@anthropic-ai/sdk';
|
|
7
7
|
import { ClientOptions as ClientOptions$1 } from 'openai';
|
|
8
8
|
import { ClientOptions as ClientOptions$3, Client as Client$1 } from '@modelcontextprotocol/sdk/client/index.js';
|
package/dist/index.js
CHANGED
|
@@ -495,7 +495,7 @@ var StagehandFunctionName = /* @__PURE__ */ ((StagehandFunctionName2) => {
|
|
|
495
495
|
})(StagehandFunctionName || {});
|
|
496
496
|
|
|
497
497
|
// lib/version.ts
|
|
498
|
-
var STAGEHAND_VERSION = "2.5.
|
|
498
|
+
var STAGEHAND_VERSION = "2.5.9";
|
|
499
499
|
|
|
500
500
|
// types/stagehandErrors.ts
|
|
501
501
|
var StagehandError = class extends Error {
|
|
@@ -8275,7 +8275,7 @@ function loadSetting({
|
|
|
8275
8275
|
}
|
|
8276
8276
|
return settingValue;
|
|
8277
8277
|
}
|
|
8278
|
-
var validatorSymbol = Symbol.for("vercel.ai.validator");
|
|
8278
|
+
var validatorSymbol = /* @__PURE__ */ Symbol.for("vercel.ai.validator");
|
|
8279
8279
|
function validator(validate) {
|
|
8280
8280
|
return { [validatorSymbol]: true, validate };
|
|
8281
8281
|
}
|
package/dist/lib/version.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@browserbasehq/stagehand",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.9",
|
|
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",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"@changesets/changelog-github": "^0.5.0",
|
|
19
19
|
"@changesets/cli": "^2.27.9",
|
|
20
20
|
"@eslint/js": "^9.16.0",
|
|
21
|
-
"@langchain/core": "^0.3.
|
|
22
|
-
"@langchain/openai": "^0.4.
|
|
21
|
+
"@langchain/core": "^0.3.80",
|
|
22
|
+
"@langchain/openai": "^0.4.9",
|
|
23
23
|
"@playwright/test": "^1.42.1",
|
|
24
24
|
"@types/adm-zip": "^0.5.7",
|
|
25
25
|
"@types/cheerio": "^0.22.35",
|
|
@@ -28,18 +28,18 @@
|
|
|
28
28
|
"@types/ws": "^8.5.13",
|
|
29
29
|
"adm-zip": "^0.5.16",
|
|
30
30
|
"autoevals": "^0.0.64",
|
|
31
|
-
"braintrust": "^0.
|
|
31
|
+
"braintrust": "^0.4.10",
|
|
32
32
|
"chalk": "^5.4.1",
|
|
33
|
-
"cheerio": "^1.
|
|
33
|
+
"cheerio": "^1.2.0",
|
|
34
34
|
"chromium-bidi": "^0.10.0",
|
|
35
|
-
"esbuild": "^0.
|
|
35
|
+
"esbuild": "^0.25.10",
|
|
36
36
|
"eslint": "^9.16.0",
|
|
37
37
|
"express": "^4.21.0",
|
|
38
38
|
"globals": "^15.13.0",
|
|
39
39
|
"multer": "^1.4.5-lts.1",
|
|
40
40
|
"prettier": "^3.2.5",
|
|
41
41
|
"string-comparison": "^1.3.0",
|
|
42
|
-
"tsup": "^8.
|
|
42
|
+
"tsup": "^8.5.1",
|
|
43
43
|
"tsx": "^4.10.5",
|
|
44
44
|
"typescript": "^5.2.2",
|
|
45
45
|
"typescript-eslint": "^8.17.0"
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"@anthropic-ai/sdk": "0.39.0",
|
|
54
54
|
"@browserbasehq/sdk": "^2.4.0",
|
|
55
|
-
"@google/genai": "^1.
|
|
56
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
55
|
+
"@google/genai": "^1.52.0",
|
|
56
|
+
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
57
57
|
"ai": "^4.3.9",
|
|
58
58
|
"devtools-protocol": "^0.0.1464554",
|
|
59
59
|
"fetch-cookie": "^3.1.0",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"pino": "^9.6.0",
|
|
62
62
|
"pino-pretty": "^13.0.0",
|
|
63
63
|
"playwright": "^1.52.0",
|
|
64
|
-
"ws": "^8.
|
|
64
|
+
"ws": "^8.21.0",
|
|
65
65
|
"zod-to-json-schema": "^3.23.5"
|
|
66
66
|
},
|
|
67
67
|
"optionalDependencies": {
|
|
@@ -79,7 +79,6 @@
|
|
|
79
79
|
"ollama-ai-provider": "^1.2.0"
|
|
80
80
|
},
|
|
81
81
|
"directories": {
|
|
82
|
-
"doc": "docs",
|
|
83
82
|
"example": "examples",
|
|
84
83
|
"lib": "lib"
|
|
85
84
|
},
|
|
@@ -91,9 +90,6 @@
|
|
|
91
90
|
"url": "https://github.com/browserbase/stagehand/issues"
|
|
92
91
|
},
|
|
93
92
|
"homepage": "https://stagehand.dev",
|
|
94
|
-
"overrides": {
|
|
95
|
-
"whatwg-url": "^14.0.0"
|
|
96
|
-
},
|
|
97
93
|
"scripts": {
|
|
98
94
|
"example": "pnpm --filter @browserbasehq/stagehand-examples run start",
|
|
99
95
|
"format": "prettier --write .",
|
|
@@ -101,7 +97,6 @@
|
|
|
101
97
|
"prettier:fix": "prettier --write .",
|
|
102
98
|
"eslint": "eslint .",
|
|
103
99
|
"cache:clear": "rm -rf .cache",
|
|
104
|
-
"docs": "pnpm --filter @browserbasehq/stagehand-docs run dev",
|
|
105
100
|
"evals": "tsx scripts/run-evals.ts",
|
|
106
101
|
"evals:legacy": "tsx scripts/run-evals.ts",
|
|
107
102
|
"e2e": "pnpm run build && cd evals/deterministic && playwright test --config=e2e.playwright.config.ts",
|