@meetopenbot/stagehand 1.0.1 → 1.0.2
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 +4 -0
- package/dist/index.js +2 -2
- package/package.json +16 -10
package/dist/index.d.ts
ADDED
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meetopenbot/stagehand",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Stagehand AI browser automation plugin for OpenBot",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -8,27 +8,33 @@
|
|
|
8
8
|
"access": "public"
|
|
9
9
|
},
|
|
10
10
|
"exports": {
|
|
11
|
-
".":
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"import": "./dist/index.js",
|
|
14
|
+
"default": "./dist/index.js"
|
|
15
|
+
}
|
|
12
16
|
},
|
|
13
17
|
"files": [
|
|
14
18
|
"dist"
|
|
15
19
|
],
|
|
16
|
-
"scripts": {
|
|
17
|
-
"build": "esbuild index.ts --bundle --platform=node --target=node18 --format=esm --packages=external --outfile=dist/index.js",
|
|
18
|
-
"postinstall": "playwright install chromium --with-deps || playwright install chromium || true",
|
|
19
|
-
"prepublishOnly": "npm run build"
|
|
20
|
-
},
|
|
21
20
|
"engines": {
|
|
22
21
|
"node": ">=18"
|
|
23
22
|
},
|
|
24
23
|
"dependencies": {
|
|
25
24
|
"@browserbasehq/stagehand": "^3.3.0",
|
|
26
|
-
"@meetopenbot/plugin-sdk": "^0.1.2",
|
|
27
25
|
"playwright": "^1.52.0",
|
|
28
|
-
"zod": "^4.3.5"
|
|
26
|
+
"zod": "^4.3.5",
|
|
27
|
+
"@meetopenbot/plugin-sdk": "^0.2.0"
|
|
29
28
|
},
|
|
30
29
|
"devDependencies": {
|
|
31
30
|
"@types/node": "^20.10.1",
|
|
32
31
|
"esbuild": "^0.21.0"
|
|
32
|
+
},
|
|
33
|
+
"types": "./dist/index.d.ts",
|
|
34
|
+
"scripts": {
|
|
35
|
+
"build": "esbuild index.ts --bundle --platform=node --target=node18 --format=esm --packages=external --outfile=dist/index.js && node ../../scripts/write-plugin-declaration.mjs",
|
|
36
|
+
"setup:browser": "playwright install chromium",
|
|
37
|
+
"dev": "esbuild index.ts --bundle --platform=node --target=node18 --format=esm --packages=external --outfile=dist/index.js --watch",
|
|
38
|
+
"typecheck": "tsc --noEmit --allowImportingTsExtensions --module ESNext --moduleResolution Bundler --target ES2022 --skipLibCheck index.ts"
|
|
33
39
|
}
|
|
34
|
-
}
|
|
40
|
+
}
|