@browserbasehq/stagehand 1.0.1

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/package.json ADDED
@@ -0,0 +1,70 @@
1
+ {
2
+ "name": "@browserbasehq/stagehand",
3
+ "version": "1.0.1",
4
+ "description": "An AI web browsing framework focused on simplicity and extensibility.",
5
+ "main": "./dist/index.js",
6
+ "module": "./dist/index.js",
7
+ "scripts": {
8
+ "2048": "npm run build-dom-scripts && tsx examples/2048.ts",
9
+ "example": "npm run build-dom-scripts && tsx examples/example.ts",
10
+ "debug-url": "npm run build-dom-scripts && tsx examples/debugUrl.ts",
11
+ "format": "prettier --write .",
12
+ "cache:clear": "rm -rf .cache",
13
+ "evals": "npm run build-dom-scripts && npx braintrust eval evals/index.eval.ts",
14
+ "build-dom-scripts": "mkdir -p ./lib/dom/build && mkdir -p ./dist/dom/build && esbuild ./lib/dom/*.ts --bundle --outdir=./dist/dom/build",
15
+ "bundle-dom-scripts": "esbuild ./lib/dom/index.ts --bundle --outfile=./lib/dom/bundle.js --platform=browser --target=es2015 --minify",
16
+ "build": "npm run build-dom-scripts && tsup lib/index.ts",
17
+ "release": "changeset publish"
18
+ },
19
+ "files": [
20
+ "dist/**",
21
+ "patches/**"
22
+ ],
23
+ "keywords": [],
24
+ "author": "Paul Klein IV",
25
+ "license": "MIT",
26
+ "devDependencies": {
27
+ "@changesets/changelog-github": "^0.5.0",
28
+ "@changesets/cli": "^2.27.9",
29
+ "@types/cheerio": "^0.22.35",
30
+ "@types/express": "^4.17.21",
31
+ "@types/node": "^20.11.30",
32
+ "autoevals": "^0.0.64",
33
+ "braintrust": "^0.0.127",
34
+ "cheerio": "^1.0.0",
35
+ "esbuild": "^0.21.4",
36
+ "express": "^4.21.0",
37
+ "multer": "^1.4.5-lts.1",
38
+ "prettier": "^3.2.5",
39
+ "tsup": "^8.1.0",
40
+ "tsx": "^4.10.5",
41
+ "typescript": "^5.2.2"
42
+ },
43
+ "peerDependencies": {
44
+ "@playwright/test": "^1.42.1",
45
+ "deepmerge": "^4.3.1",
46
+ "dotenv": "^16.4.5",
47
+ "openai": "^4.62.1",
48
+ "zod": "^3.23.8"
49
+ },
50
+ "dependencies": {
51
+ "@anthropic-ai/sdk": "^0.27.3",
52
+ "anthropic": "^0.0.0",
53
+ "anthropic-ai": "^0.0.10",
54
+ "sharp": "^0.33.5",
55
+ "zod-to-json-schema": "^3.23.3"
56
+ },
57
+ "directories": {
58
+ "doc": "docs",
59
+ "example": "examples",
60
+ "lib": "lib"
61
+ },
62
+ "repository": {
63
+ "type": "git",
64
+ "url": "git+https://github.com/browserbase/stagehand.git"
65
+ },
66
+ "bugs": {
67
+ "url": "https://github.com/browserbase/stagehand/issues"
68
+ },
69
+ "homepage": "https://github.com/browserbase/stagehand#readme"
70
+ }