@mastra/stagehand 0.3.3 → 0.3.4-alpha.0
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/LICENSE.md +6 -4
- package/dist/index.d.cts +12 -12
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +12 -12
- package/dist/index.d.ts.map +1 -1
- package/package.json +7 -8
- package/CHANGELOG.md +0 -341
package/LICENSE.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
Portions of this software are licensed as follows:
|
|
2
2
|
|
|
3
|
-
- All content that resides under any directory named
|
|
3
|
+
- All content that resides under any directory named `ee/` within this
|
|
4
4
|
repository, including but not limited to:
|
|
5
|
-
-
|
|
6
|
-
-
|
|
7
|
-
|
|
5
|
+
- `@mastra/core/auth/ee`
|
|
6
|
+
- `@mastra/core/agent-builder/ee`
|
|
7
|
+
- `@mastra/editor/ee`
|
|
8
|
+
|
|
9
|
+
is licensed under the license defined in [`ee/LICENSE`](https://github.com/mastra-ai/mastra/blob/main/ee/LICENSE).
|
|
8
10
|
|
|
9
11
|
- All third-party components incorporated into the Mastra Software are
|
|
10
12
|
licensed under the original license provided by the owner of the
|
package/dist/index.d.cts
CHANGED
|
@@ -37,8 +37,8 @@ type ObserveInput = z.output<typeof observeInputSchema>;
|
|
|
37
37
|
declare const navigateInputSchema: z.ZodObject<{
|
|
38
38
|
url: z.ZodString;
|
|
39
39
|
waitUntil: z.ZodOptional<z.ZodEnum<{
|
|
40
|
-
load: "load";
|
|
41
40
|
domcontentloaded: "domcontentloaded";
|
|
41
|
+
load: "load";
|
|
42
42
|
networkidle: "networkidle";
|
|
43
43
|
}>>;
|
|
44
44
|
}, z.core.$strip>;
|
|
@@ -53,10 +53,10 @@ type CloseInput = z.output<typeof closeInputSchema>;
|
|
|
53
53
|
*/
|
|
54
54
|
declare const tabsInputSchema: z.ZodObject<{
|
|
55
55
|
action: z.ZodEnum<{
|
|
56
|
+
close: "close";
|
|
56
57
|
list: "list";
|
|
57
58
|
new: "new";
|
|
58
59
|
switch: "switch";
|
|
59
|
-
close: "close";
|
|
60
60
|
}>;
|
|
61
61
|
index: z.ZodOptional<z.ZodNumber>;
|
|
62
62
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -89,17 +89,17 @@ declare const stagehandSchemas: {
|
|
|
89
89
|
readonly navigate: z.ZodObject<{
|
|
90
90
|
url: z.ZodString;
|
|
91
91
|
waitUntil: z.ZodOptional<z.ZodEnum<{
|
|
92
|
-
load: "load";
|
|
93
92
|
domcontentloaded: "domcontentloaded";
|
|
93
|
+
load: "load";
|
|
94
94
|
networkidle: "networkidle";
|
|
95
95
|
}>>;
|
|
96
96
|
}, z.core.$strip>;
|
|
97
97
|
readonly tabs: z.ZodObject<{
|
|
98
98
|
action: z.ZodEnum<{
|
|
99
|
+
close: "close";
|
|
99
100
|
list: "list";
|
|
100
101
|
new: "new";
|
|
101
102
|
switch: "switch";
|
|
102
|
-
close: "close";
|
|
103
103
|
}>;
|
|
104
104
|
index: z.ZodOptional<z.ZodNumber>;
|
|
105
105
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -178,13 +178,13 @@ declare class StagehandThreadManager extends ThreadManager<V3> {
|
|
|
178
178
|
* Stagehand Tool Constants
|
|
179
179
|
*/
|
|
180
180
|
declare const STAGEHAND_TOOLS: {
|
|
181
|
-
readonly ACT:
|
|
182
|
-
readonly EXTRACT:
|
|
183
|
-
readonly OBSERVE:
|
|
184
|
-
readonly NAVIGATE:
|
|
185
|
-
readonly TABS:
|
|
186
|
-
readonly CLOSE:
|
|
187
|
-
readonly SCREENSHOT:
|
|
181
|
+
readonly ACT: 'stagehand_act';
|
|
182
|
+
readonly EXTRACT: 'stagehand_extract';
|
|
183
|
+
readonly OBSERVE: 'stagehand_observe';
|
|
184
|
+
readonly NAVIGATE: 'stagehand_navigate';
|
|
185
|
+
readonly TABS: 'stagehand_tabs';
|
|
186
|
+
readonly CLOSE: 'stagehand_close';
|
|
187
|
+
readonly SCREENSHOT: 'stagehand_screenshot';
|
|
188
188
|
};
|
|
189
189
|
type StagehandToolName = (typeof STAGEHAND_TOOLS)[keyof typeof STAGEHAND_TOOLS];
|
|
190
190
|
//#endregion
|
|
@@ -202,7 +202,7 @@ type ModelConfiguration = ModelConfiguration$1;
|
|
|
202
202
|
* can reject a bad provider up front. Keep in sync with `AISDKProviders` in
|
|
203
203
|
* `@browserbasehq/stagehand`.
|
|
204
204
|
*/
|
|
205
|
-
declare const STAGEHAND_MODEL_PROVIDERS: readonly [
|
|
205
|
+
declare const STAGEHAND_MODEL_PROVIDERS: readonly ['anthropic', 'azure', 'bedrock', 'cerebras', 'deepseek', 'gateway', 'google', 'groq', 'mistral', 'ollama', 'openai', 'perplexity', 'togetherai', 'vertex', 'xai'];
|
|
206
206
|
/**
|
|
207
207
|
* Stagehand-specific configuration fields.
|
|
208
208
|
*/
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/schemas.ts","../src/thread-manager.ts","../src/tools/constants.ts","../src/types.ts","../src/stagehand-browser.ts","../src/utils.ts","../src/tools/index.ts"],"mappings":";;;;;;;;cAgBa,gBAAc,EAAA;;;;;GAQzB,EAAA,KAAA;KACU,WAAW,EAAE,cAAc;;;;cAK1B,oBAAkB,EAAA;;;;GAO7B,EAAA,KAAA;KACU,eAAe,EAAE,cAAc;;;;cAK9B,oBAAkB,EAAA;;;;GAS7B,EAAA,KAAA;KACU,eAAe,EAAE,cAAc;;;;cAS9B,qBAAmB,EAAA;;;;;;;GAM9B,EAAA,KAAA;KACU,gBAAgB,EAAE,cAAc;;;;cAK/B,kBAAgB,EAAA,cAAA,EAAA,KAAA;KACjB,aAAa,EAAE,cAAc;;;;cAK5B,iBAAe,EAAA;;;;;;;;;GAuBxB,EAAA,KAAA;KACQ,YAAY,EAAE,cAAc;;;;cAS3B,uBAAqB,EAAA;;GAKhC,EAAA,KAAA;KACU,kBAAkB,EAAE,cAAc;cAMjC
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/schemas.ts","../src/thread-manager.ts","../src/tools/constants.ts","../src/types.ts","../src/stagehand-browser.ts","../src/utils.ts","../src/tools/index.ts"],"mappings":"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"}
|
package/dist/index.d.ts
CHANGED
|
@@ -37,8 +37,8 @@ type ObserveInput = z.output<typeof observeInputSchema>;
|
|
|
37
37
|
declare const navigateInputSchema: z.ZodObject<{
|
|
38
38
|
url: z.ZodString;
|
|
39
39
|
waitUntil: z.ZodOptional<z.ZodEnum<{
|
|
40
|
-
load: "load";
|
|
41
40
|
domcontentloaded: "domcontentloaded";
|
|
41
|
+
load: "load";
|
|
42
42
|
networkidle: "networkidle";
|
|
43
43
|
}>>;
|
|
44
44
|
}, z.core.$strip>;
|
|
@@ -53,10 +53,10 @@ type CloseInput = z.output<typeof closeInputSchema>;
|
|
|
53
53
|
*/
|
|
54
54
|
declare const tabsInputSchema: z.ZodObject<{
|
|
55
55
|
action: z.ZodEnum<{
|
|
56
|
+
close: "close";
|
|
56
57
|
list: "list";
|
|
57
58
|
new: "new";
|
|
58
59
|
switch: "switch";
|
|
59
|
-
close: "close";
|
|
60
60
|
}>;
|
|
61
61
|
index: z.ZodOptional<z.ZodNumber>;
|
|
62
62
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -89,17 +89,17 @@ declare const stagehandSchemas: {
|
|
|
89
89
|
readonly navigate: z.ZodObject<{
|
|
90
90
|
url: z.ZodString;
|
|
91
91
|
waitUntil: z.ZodOptional<z.ZodEnum<{
|
|
92
|
-
load: "load";
|
|
93
92
|
domcontentloaded: "domcontentloaded";
|
|
93
|
+
load: "load";
|
|
94
94
|
networkidle: "networkidle";
|
|
95
95
|
}>>;
|
|
96
96
|
}, z.core.$strip>;
|
|
97
97
|
readonly tabs: z.ZodObject<{
|
|
98
98
|
action: z.ZodEnum<{
|
|
99
|
+
close: "close";
|
|
99
100
|
list: "list";
|
|
100
101
|
new: "new";
|
|
101
102
|
switch: "switch";
|
|
102
|
-
close: "close";
|
|
103
103
|
}>;
|
|
104
104
|
index: z.ZodOptional<z.ZodNumber>;
|
|
105
105
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -178,13 +178,13 @@ declare class StagehandThreadManager extends ThreadManager<V3> {
|
|
|
178
178
|
* Stagehand Tool Constants
|
|
179
179
|
*/
|
|
180
180
|
declare const STAGEHAND_TOOLS: {
|
|
181
|
-
readonly ACT:
|
|
182
|
-
readonly EXTRACT:
|
|
183
|
-
readonly OBSERVE:
|
|
184
|
-
readonly NAVIGATE:
|
|
185
|
-
readonly TABS:
|
|
186
|
-
readonly CLOSE:
|
|
187
|
-
readonly SCREENSHOT:
|
|
181
|
+
readonly ACT: 'stagehand_act';
|
|
182
|
+
readonly EXTRACT: 'stagehand_extract';
|
|
183
|
+
readonly OBSERVE: 'stagehand_observe';
|
|
184
|
+
readonly NAVIGATE: 'stagehand_navigate';
|
|
185
|
+
readonly TABS: 'stagehand_tabs';
|
|
186
|
+
readonly CLOSE: 'stagehand_close';
|
|
187
|
+
readonly SCREENSHOT: 'stagehand_screenshot';
|
|
188
188
|
};
|
|
189
189
|
type StagehandToolName = (typeof STAGEHAND_TOOLS)[keyof typeof STAGEHAND_TOOLS];
|
|
190
190
|
//#endregion
|
|
@@ -202,7 +202,7 @@ type ModelConfiguration = ModelConfiguration$1;
|
|
|
202
202
|
* can reject a bad provider up front. Keep in sync with `AISDKProviders` in
|
|
203
203
|
* `@browserbasehq/stagehand`.
|
|
204
204
|
*/
|
|
205
|
-
declare const STAGEHAND_MODEL_PROVIDERS: readonly [
|
|
205
|
+
declare const STAGEHAND_MODEL_PROVIDERS: readonly ['anthropic', 'azure', 'bedrock', 'cerebras', 'deepseek', 'gateway', 'google', 'groq', 'mistral', 'ollama', 'openai', 'perplexity', 'togetherai', 'vertex', 'xai'];
|
|
206
206
|
/**
|
|
207
207
|
* Stagehand-specific configuration fields.
|
|
208
208
|
*/
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/schemas.ts","../src/thread-manager.ts","../src/tools/constants.ts","../src/types.ts","../src/stagehand-browser.ts","../src/utils.ts","../src/tools/index.ts"],"mappings":";;;;;;;;cAgBa,gBAAc,EAAA;;;;;GAQzB,EAAA,KAAA;KACU,WAAW,EAAE,cAAc;;;;cAK1B,oBAAkB,EAAA;;;;GAO7B,EAAA,KAAA;KACU,eAAe,EAAE,cAAc;;;;cAK9B,oBAAkB,EAAA;;;;GAS7B,EAAA,KAAA;KACU,eAAe,EAAE,cAAc;;;;cAS9B,qBAAmB,EAAA;;;;;;;GAM9B,EAAA,KAAA;KACU,gBAAgB,EAAE,cAAc;;;;cAK/B,kBAAgB,EAAA,cAAA,EAAA,KAAA;KACjB,aAAa,EAAE,cAAc;;;;cAK5B,iBAAe,EAAA;;;;;;;;;GAuBxB,EAAA,KAAA;KACQ,YAAY,EAAE,cAAc;;;;cAS3B,uBAAqB,EAAA;;GAKhC,EAAA,KAAA;KACU,kBAAkB,EAAE,cAAc;cAMjC
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/schemas.ts","../src/thread-manager.ts","../src/tools/constants.ts","../src/types.ts","../src/stagehand-browser.ts","../src/utils.ts","../src/tools/index.ts"],"mappings":"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"}
|
package/package.json
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/stagehand",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.4-alpha.0",
|
|
4
4
|
"description": "AI-powered browser automation for Mastra agents using Stagehand",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
7
|
-
"dist"
|
|
8
|
-
"CHANGELOG.md"
|
|
7
|
+
"dist"
|
|
9
8
|
],
|
|
10
9
|
"main": "dist/index.js",
|
|
11
10
|
"types": "dist/index.d.ts",
|
|
@@ -32,13 +31,13 @@
|
|
|
32
31
|
"@vitest/ui": "4.1.10",
|
|
33
32
|
"eslint": "^10.7.0",
|
|
34
33
|
"tsdown": "0.22.9",
|
|
35
|
-
"typescript": "^
|
|
34
|
+
"typescript": "^7.0.2",
|
|
36
35
|
"vitest": "4.1.10",
|
|
37
36
|
"zod": "^4.4.3",
|
|
38
|
-
"@internal/browser-test-utils": "0.0.
|
|
39
|
-
"@internal/
|
|
40
|
-
"@
|
|
41
|
-
"@
|
|
37
|
+
"@internal/browser-test-utils": "0.0.48",
|
|
38
|
+
"@internal/lint": "0.0.129",
|
|
39
|
+
"@internal/types-builder": "0.0.104",
|
|
40
|
+
"@mastra/core": "1.64.0-alpha.2"
|
|
42
41
|
},
|
|
43
42
|
"peerDependencies": {
|
|
44
43
|
"@mastra/core": ">=1.22.0-0 <2.0.0-0",
|
package/CHANGELOG.md
DELETED
|
@@ -1,341 +0,0 @@
|
|
|
1
|
-
# @mastra/stagehand
|
|
2
|
-
|
|
3
|
-
## 0.3.3
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
7
|
-
- Fixed browser close tracking so agent-initiated Stagehand shutdowns are reported accurately. ([#21452](https://github.com/mastra-ai/mastra/pull/21452))
|
|
8
|
-
|
|
9
|
-
- Updated dependencies [[`088e41e`](https://github.com/mastra-ai/mastra/commit/088e41e434ed05f2c674b254f1034ec46a57a7be), [`aa3e7be`](https://github.com/mastra-ai/mastra/commit/aa3e7be30f8addb0278ea74429f4df054517a287), [`d118873`](https://github.com/mastra-ai/mastra/commit/d118873cfd5074b1f814a1c169a97ca7a3a29174), [`b2f0013`](https://github.com/mastra-ai/mastra/commit/b2f0013375588d40c03c13e843b99c0ff8872ca5), [`3b541ae`](https://github.com/mastra-ai/mastra/commit/3b541ae5d410c52b80a7e381d84d021cddb9a449), [`79dd7c2`](https://github.com/mastra-ai/mastra/commit/79dd7c261ee6be1fafedd4651959394db21d2cba), [`90822db`](https://github.com/mastra-ai/mastra/commit/90822dba08fb2169c518e4a6d7f127c098eb46b8), [`898bba4`](https://github.com/mastra-ai/mastra/commit/898bba46d4806dd255a44e5dc3a3d5827eaefdfe), [`b9a28ec`](https://github.com/mastra-ai/mastra/commit/b9a28ecf7acdc0cb7a543d5b660f9fbee301df9a), [`f9aab1c`](https://github.com/mastra-ai/mastra/commit/f9aab1cfc3fda03238a7fd7bd8b794e07497878c), [`3700208`](https://github.com/mastra-ai/mastra/commit/37002080c7838267803a7e579a7d58b908d62f36), [`e31421b`](https://github.com/mastra-ai/mastra/commit/e31421bc9c11c03c6e74f447ecb5820000e2b9d7), [`8b7131e`](https://github.com/mastra-ai/mastra/commit/8b7131eb0407f58f5205e68fb27b81f026488f28), [`161258b`](https://github.com/mastra-ai/mastra/commit/161258b3473a6d0fce00a43cab59d119a49a232f), [`aece0e7`](https://github.com/mastra-ai/mastra/commit/aece0e7cb124ae1eb1230689b887f5554b9a0bf0), [`ae79e34`](https://github.com/mastra-ai/mastra/commit/ae79e34c0bd8674fc24c7524217bfc4a051c6136), [`59d8898`](https://github.com/mastra-ai/mastra/commit/59d8898c8cb48b342fe5bcb5eee803cc8cc95060), [`a6c4399`](https://github.com/mastra-ai/mastra/commit/a6c4399763590b3dae21a2c81826e89a3b1deee4), [`a40f915`](https://github.com/mastra-ai/mastra/commit/a40f9157690d89ef13ce825cc88e30be581de5d4), [`8ea8038`](https://github.com/mastra-ai/mastra/commit/8ea80386fde53d26e2c0b2060c53bc9bd9be10f3), [`be31796`](https://github.com/mastra-ai/mastra/commit/be3179624ad5f77cff5fa342cd08046bf7605283), [`79c4f82`](https://github.com/mastra-ai/mastra/commit/79c4f8295f568752eeadf8a9b50010a7d9ec06ae), [`7dafa4f`](https://github.com/mastra-ai/mastra/commit/7dafa4f670fb16ec8ff07349645a00ca12bc5794)]:
|
|
10
|
-
- @mastra/core@1.59.0
|
|
11
|
-
|
|
12
|
-
## 0.3.3-alpha.0
|
|
13
|
-
|
|
14
|
-
### Patch Changes
|
|
15
|
-
|
|
16
|
-
- Fixed browser close tracking so agent-initiated Stagehand shutdowns are reported accurately. ([#21452](https://github.com/mastra-ai/mastra/pull/21452))
|
|
17
|
-
|
|
18
|
-
- Updated dependencies [[`59d8898`](https://github.com/mastra-ai/mastra/commit/59d8898c8cb48b342fe5bcb5eee803cc8cc95060), [`a40f915`](https://github.com/mastra-ai/mastra/commit/a40f9157690d89ef13ce825cc88e30be581de5d4)]:
|
|
19
|
-
- @mastra/core@1.59.0-alpha.5
|
|
20
|
-
|
|
21
|
-
## 0.3.2
|
|
22
|
-
|
|
23
|
-
### Patch Changes
|
|
24
|
-
|
|
25
|
-
- Honor a `'window'` viewport where the provider can support it. Agent Browser and the browser viewer disable viewport emulation so the page tracks the real window; Stagehand does the same when connecting over CDP and falls back to the default size for a locally launched browser, which always applies its own viewport. ([#21010](https://github.com/mastra-ai/mastra/pull/21010))
|
|
26
|
-
|
|
27
|
-
- Added a `STAGEHAND_MODEL_PROVIDERS` export listing the model providers Stagehand can resolve, so callers can validate a model before starting a browser: ([#20993](https://github.com/mastra-ai/mastra/pull/20993))
|
|
28
|
-
|
|
29
|
-
```ts
|
|
30
|
-
import { STAGEHAND_MODEL_PROVIDERS } from '@mastra/stagehand';
|
|
31
|
-
|
|
32
|
-
const [provider] = 'anthropic/claude-sonnet-4-5'.split('/');
|
|
33
|
-
const supported = STAGEHAND_MODEL_PROVIDERS.includes(provider);
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
- Updated dependencies [[`e7109ee`](https://github.com/mastra-ai/mastra/commit/e7109ee6f731bacc79c885906f3c7dca8d8f013a), [`b8ce7ec`](https://github.com/mastra-ai/mastra/commit/b8ce7ec96e39343c6c2f36d12d68a9ad816c09f7), [`2e4624e`](https://github.com/mastra-ai/mastra/commit/2e4624edb6917e61249cb60ee377735e7af7e4a9), [`45a9147`](https://github.com/mastra-ai/mastra/commit/45a914741f578754d79d8b7de7b4e4f304d8e14a), [`a3a3624`](https://github.com/mastra-ai/mastra/commit/a3a3624f646b98e409424d8defccbd334da9e8b8), [`6246914`](https://github.com/mastra-ai/mastra/commit/62469146636911f3cbbe0880bd011c6a897a59a7), [`6445eba`](https://github.com/mastra-ai/mastra/commit/6445eba6020abac681aba1cc9289f446cb400cbe), [`86b7b77`](https://github.com/mastra-ai/mastra/commit/86b7b777980d30f66e1fd134a37d2af4c22e54cc), [`1c75e32`](https://github.com/mastra-ai/mastra/commit/1c75e32f7fc0b9fb6f548b4407feaec8a1440212), [`296dc9a`](https://github.com/mastra-ai/mastra/commit/296dc9af29f3616e786c7825ec32e0df92d754c5), [`f59032a`](https://github.com/mastra-ai/mastra/commit/f59032a73699443555a08a479e7ac578975784f2), [`cdd5c33`](https://github.com/mastra-ai/mastra/commit/cdd5c33ac6c7118a9f139e6dc0e14e6a8ae31658), [`3f73c07`](https://github.com/mastra-ai/mastra/commit/3f73c076727e8c36b4fff7a1b40290fb68957fa8), [`772c0c8`](https://github.com/mastra-ai/mastra/commit/772c0c897cec383258de2e6178147f8014767c7b), [`d7cf7fa`](https://github.com/mastra-ai/mastra/commit/d7cf7fafc1ae1b50bd8462dd0e6c671a8606db93), [`7c1ebb1`](https://github.com/mastra-ai/mastra/commit/7c1ebb15690c4b3f0eabb19077cf8af573311e57), [`0f9a448`](https://github.com/mastra-ai/mastra/commit/0f9a448502157e59f7b76f24360ad497168f5ef8), [`578bf2e`](https://github.com/mastra-ai/mastra/commit/578bf2e6a88e9d5b8bf502204e15a95dfbb679ae), [`c47165c`](https://github.com/mastra-ai/mastra/commit/c47165c983c87594c6952f1fd2fa51a90205034c), [`289f4ce`](https://github.com/mastra-ai/mastra/commit/289f4ce16e3293370440172132c52ee787cbc09f), [`df31eb0`](https://github.com/mastra-ai/mastra/commit/df31eb0c7087d782a0d9346e467f9a4af4b0eef6), [`9571e3a`](https://github.com/mastra-ai/mastra/commit/9571e3a06ed2c5220196460bf82a2129255c3a8b), [`4f16ff8`](https://github.com/mastra-ai/mastra/commit/4f16ff824bf2f9b0ddc93f210477c10c8a4fb1ab), [`b4c89b4`](https://github.com/mastra-ai/mastra/commit/b4c89b4371b0c86da57403ad1a3b3ef0681f3128), [`e6534fa`](https://github.com/mastra-ai/mastra/commit/e6534fab031216f6cb48c4c9907cbfdce9d60bc6), [`210cb7a`](https://github.com/mastra-ai/mastra/commit/210cb7a167998c7bbf72cb3b93e6eb0563330239), [`06b2d87`](https://github.com/mastra-ai/mastra/commit/06b2d87e63bcdd0ed59215c6789692b9b12de376), [`1c67d85`](https://github.com/mastra-ai/mastra/commit/1c67d85e9da8285662f4dbbf47e0378c3fee0747), [`ac01d63`](https://github.com/mastra-ai/mastra/commit/ac01d6355974aec73fdb8781449ed12bac582094), [`80a3324`](https://github.com/mastra-ai/mastra/commit/80a33245d3110204de6f56d61211523ffe338692), [`e44e8f3`](https://github.com/mastra-ai/mastra/commit/e44e8f370b66c339ddcaba946d33da6d3c3f06cd), [`d9d2881`](https://github.com/mastra-ai/mastra/commit/d9d2881ede6dd6c023d144215fc812062aed0890), [`a810a05`](https://github.com/mastra-ai/mastra/commit/a810a058f62ad407cfc1701e0be36ae91145d7cf), [`ba24be6`](https://github.com/mastra-ai/mastra/commit/ba24be662439c331ab23a600041f93803c89eca8), [`842b5fe`](https://github.com/mastra-ai/mastra/commit/842b5fe22b6a7fa811bd14e48eb9af523ac989f2), [`990611b`](https://github.com/mastra-ai/mastra/commit/990611ba76eb876d86c9c594371ae5f02f94b432), [`80bdf3a`](https://github.com/mastra-ai/mastra/commit/80bdf3ae16ade6ff63bde0cb16fa2df8ab7dd4dd), [`c967a5e`](https://github.com/mastra-ai/mastra/commit/c967a5eec150c5dc5418c4a4388982d1fb7ad27c), [`dc4a25d`](https://github.com/mastra-ai/mastra/commit/dc4a25d41af4e2fe97a816070eaec6aa963ab53b), [`9ba1247`](https://github.com/mastra-ai/mastra/commit/9ba12470c77f1c03642d720ce67e517e878f666e), [`fd96298`](https://github.com/mastra-ai/mastra/commit/fd96298a8367622f4ebfcaa97b5b6c1fbbd14564), [`66bbfb5`](https://github.com/mastra-ai/mastra/commit/66bbfb5f05b473d39f88c0e4a481ccac41634f3a), [`dc4a25d`](https://github.com/mastra-ai/mastra/commit/dc4a25d41af4e2fe97a816070eaec6aa963ab53b), [`f8da216`](https://github.com/mastra-ai/mastra/commit/f8da21633e7eb0e31c9ce0fc30567870d19416d3), [`4a09a9c`](https://github.com/mastra-ai/mastra/commit/4a09a9c0474ef643558fcb5f0edc542b82f1cab0), [`5f798b3`](https://github.com/mastra-ai/mastra/commit/5f798b3362e9bdf4d690f85245606e146eef60b9), [`6a84954`](https://github.com/mastra-ai/mastra/commit/6a84954a2667f85b6d59da652dab1bbff007ccb0), [`1e83a47`](https://github.com/mastra-ai/mastra/commit/1e83a4734ab61ba5926af6793e3569a78b72ed37), [`52d8ef0`](https://github.com/mastra-ai/mastra/commit/52d8ef03801f1deb7ee48532fc4190dd4a33916c), [`cdd5c33`](https://github.com/mastra-ai/mastra/commit/cdd5c33ac6c7118a9f139e6dc0e14e6a8ae31658), [`7fdcaa6`](https://github.com/mastra-ai/mastra/commit/7fdcaa66105d64290f9b14432a12ec99f39c4d3a), [`d6c56f9`](https://github.com/mastra-ai/mastra/commit/d6c56f951db3213330b98b0abafa9778c8770e58), [`e08e789`](https://github.com/mastra-ai/mastra/commit/e08e789c1bf4cd2fe46363f7a4728536ceccc9bd), [`bf936e2`](https://github.com/mastra-ai/mastra/commit/bf936e2c89b2ff0dad5695b873ddc009ba96d41e), [`7fb580a`](https://github.com/mastra-ai/mastra/commit/7fb580ac73fbcacf2ff00872a3395f73ae1b9fa5), [`ed5d606`](https://github.com/mastra-ai/mastra/commit/ed5d606739c5e3fbdfa9f272df7809aa5ab43b1d), [`f53d5bd`](https://github.com/mastra-ai/mastra/commit/f53d5bd4885b29e4ac29a428a6044088ea8d6aa3), [`32980a3`](https://github.com/mastra-ai/mastra/commit/32980a3e2413d0274ac244d32c37d910edc13f00), [`01a2943`](https://github.com/mastra-ai/mastra/commit/01a2943a7d886edefdff072bfa51f055bab54437), [`82e3365`](https://github.com/mastra-ai/mastra/commit/82e3365ef7c9bf7bee2e7a7029035ea262d68895), [`6104347`](https://github.com/mastra-ai/mastra/commit/61043473ba6bfd0a25156824e853e13165562e6c), [`35cc901`](https://github.com/mastra-ai/mastra/commit/35cc90102cf834a84827acaf9eee0b6d6d1e2a3b), [`a8b4cf0`](https://github.com/mastra-ai/mastra/commit/a8b4cf02823cffebc4751a53337dfacf097c1ae1), [`9571e3a`](https://github.com/mastra-ai/mastra/commit/9571e3a06ed2c5220196460bf82a2129255c3a8b), [`333785c`](https://github.com/mastra-ai/mastra/commit/333785c93cbb01e42c60167e995457c28897ddbf), [`bda2235`](https://github.com/mastra-ai/mastra/commit/bda22353ee28f2df0eaea555f7cae1549f979c0b), [`efd5c81`](https://github.com/mastra-ai/mastra/commit/efd5c81cc25fde3c2ddd86fc1178deb4ec176e19), [`1b482c2`](https://github.com/mastra-ai/mastra/commit/1b482c2d89244dd758c41e5f927a2b44041388d2), [`45bfb88`](https://github.com/mastra-ai/mastra/commit/45bfb88fd52f1dd3be20e2a38905777c96499c90), [`ff28284`](https://github.com/mastra-ai/mastra/commit/ff2828416f14daff9d956e6a352fdaa23c950979), [`4bcdfaf`](https://github.com/mastra-ai/mastra/commit/4bcdfaf0eac3199d7cb171b0a19a92c9c341eea4), [`e3b9307`](https://github.com/mastra-ai/mastra/commit/e3b9307098daefbfae2a52ae2ef51bc9fc701190), [`d6834c5`](https://github.com/mastra-ai/mastra/commit/d6834c5a7866b16734d23900163c2414ed70d791), [`f33264f`](https://github.com/mastra-ai/mastra/commit/f33264f517ae603279afd5c4251e2b40f6dd3618), [`689f2c4`](https://github.com/mastra-ai/mastra/commit/689f2c4b6c0835fe455702b01d21daa8abcd9331), [`fcd0667`](https://github.com/mastra-ai/mastra/commit/fcd0667a4e378be35c9a1b1eb19cce78fbfd7282), [`cfd0d9e`](https://github.com/mastra-ai/mastra/commit/cfd0d9ec77ec3c69dd96f79cdb579e03d79f22ce), [`acc3513`](https://github.com/mastra-ai/mastra/commit/acc3513b19f79bf0a7ec2998694580edca54086c), [`1670533`](https://github.com/mastra-ai/mastra/commit/1670533986f6bacf567746245348125e3a106448), [`a7eb4a1`](https://github.com/mastra-ai/mastra/commit/a7eb4a11450f6170274ed5141bffe821d4fdd5a6), [`0976933`](https://github.com/mastra-ai/mastra/commit/0976933142333ec78451feef265b68bcb45aa5e7), [`242b945`](https://github.com/mastra-ai/mastra/commit/242b94558777bfbdeb42cbfea84afff0b6ad0633), [`c52d346`](https://github.com/mastra-ai/mastra/commit/c52d3462ec831a5d95926ecd3d3373f5928ad2e5), [`af4636a`](https://github.com/mastra-ai/mastra/commit/af4636a74463275d71c1d13a38f7d2b738f128bf), [`01a2943`](https://github.com/mastra-ai/mastra/commit/01a2943a7d886edefdff072bfa51f055bab54437), [`2eabc09`](https://github.com/mastra-ai/mastra/commit/2eabc097d86d52fbd0123da36a7c874154cc384f), [`0023e79`](https://github.com/mastra-ai/mastra/commit/0023e7919431078280abd11c89d1edeae35fcc69), [`c2ad51e`](https://github.com/mastra-ai/mastra/commit/c2ad51e2467f901eecba8c9f4a45e22a50bd7c18), [`25ca73d`](https://github.com/mastra-ai/mastra/commit/25ca73d25dee7ce9f0ca72939e3a505c4db7257e), [`2f9ef3f`](https://github.com/mastra-ai/mastra/commit/2f9ef3f4ca06fc2dcdd5088c26b7f4da6a016791), [`e7eefcb`](https://github.com/mastra-ai/mastra/commit/e7eefcb162cda7c493e8c3bf43050ead0efbcb2c), [`fea5cae`](https://github.com/mastra-ai/mastra/commit/fea5caedc7e2cfea51784a15e015952692027abf), [`4d7aca2`](https://github.com/mastra-ai/mastra/commit/4d7aca2fe75f225c83d1502d63079568e6ec163f), [`e1cead1`](https://github.com/mastra-ai/mastra/commit/e1cead17b5f3653cf00d2f90cc19b113119c02ba), [`01a2943`](https://github.com/mastra-ai/mastra/commit/01a2943a7d886edefdff072bfa51f055bab54437), [`d9d93b2`](https://github.com/mastra-ai/mastra/commit/d9d93b25e4a65ad5fa153fa35be7ed149c8d587f), [`c4ec889`](https://github.com/mastra-ai/mastra/commit/c4ec889561c0264c43f66d04d587bee4ce35e792), [`4b59f78`](https://github.com/mastra-ai/mastra/commit/4b59f786cbc9a7d1ef07a07517dbd4b96865e99d), [`eeae63e`](https://github.com/mastra-ai/mastra/commit/eeae63e7fbe8e1f237adc69bca6e2ac13c5ca907), [`3dc97ea`](https://github.com/mastra-ai/mastra/commit/3dc97ea415fad353b48a13095fad1835933cc12a), [`94e7ae9`](https://github.com/mastra-ai/mastra/commit/94e7ae970b37c888cd1244ef013292639a2fe6d1), [`e6a2860`](https://github.com/mastra-ai/mastra/commit/e6a2860649cc51f87d32d78b766ae2126446ba07), [`7010c5d`](https://github.com/mastra-ai/mastra/commit/7010c5d15728bf9c5dfe4fb6b1bf80ce23bf143a), [`bab06b1`](https://github.com/mastra-ai/mastra/commit/bab06b18923873a584bdfc71a6b4ec7fb4727fb7), [`3d01cd3`](https://github.com/mastra-ai/mastra/commit/3d01cd387321b6f9c5cac31d487c84bf51b19c78), [`7bf3086`](https://github.com/mastra-ai/mastra/commit/7bf308663f0115ca74ad20554ade740f06640859), [`4c186a0`](https://github.com/mastra-ai/mastra/commit/4c186a017275f45e6ed4c09de0f89550e2d09e8c), [`b0fa077`](https://github.com/mastra-ai/mastra/commit/b0fa077bcbc9b08551846fe372a0d3d15b71ed72), [`0282e16`](https://github.com/mastra-ai/mastra/commit/0282e16115538c8e9b248b90f0748eb01cb5dc98), [`a8dd139`](https://github.com/mastra-ai/mastra/commit/a8dd1391a9fe9a6632c25809ef236980afa9a020), [`6a667b4`](https://github.com/mastra-ai/mastra/commit/6a667b4b7cd6a93fe41fcdd357b08c5a8c09b9ab), [`9be8878`](https://github.com/mastra-ai/mastra/commit/9be8878dcf0388e84fc4873e0eec27bd49b881a4), [`e5786be`](https://github.com/mastra-ai/mastra/commit/e5786be02bb903073082bd9d6da880ebaacc343f), [`2440e09`](https://github.com/mastra-ai/mastra/commit/2440e096ea6c2def1ccc1eb2d0f3f5b88c4af940), [`2093fbd`](https://github.com/mastra-ai/mastra/commit/2093fbd53bb744bae19ec89f6d73db9a66fbe8a7), [`a59049b`](https://github.com/mastra-ai/mastra/commit/a59049b1652a13efff66ac826326b5ed9a550342), [`7bd85ea`](https://github.com/mastra-ai/mastra/commit/7bd85ea7588b71c25ce9f4019c88f8539be5dcbc), [`83fa004`](https://github.com/mastra-ai/mastra/commit/83fa0044bfda8b703a83883dbd8bef204844d13f), [`a463cdf`](https://github.com/mastra-ai/mastra/commit/a463cdf1c95c3059e70f0bff27959e8558bb899d), [`e7a5da4`](https://github.com/mastra-ai/mastra/commit/e7a5da4ef8e4dd452d2f232961b4e682a85ffe43), [`7b4393d`](https://github.com/mastra-ai/mastra/commit/7b4393d557411fdcf07b0e30e5acaf7cc85154ae), [`0ea6b80`](https://github.com/mastra-ai/mastra/commit/0ea6b8001408ce02b56e8be0536b0fd8cbaf8ad2)]:
|
|
37
|
-
- @mastra/core@1.58.0
|
|
38
|
-
|
|
39
|
-
## 0.3.2-alpha.1
|
|
40
|
-
|
|
41
|
-
### Patch Changes
|
|
42
|
-
|
|
43
|
-
- Honor a `'window'` viewport where the provider can support it. Agent Browser and the browser viewer disable viewport emulation so the page tracks the real window; Stagehand does the same when connecting over CDP and falls back to the default size for a locally launched browser, which always applies its own viewport. ([#21010](https://github.com/mastra-ai/mastra/pull/21010))
|
|
44
|
-
|
|
45
|
-
- Updated dependencies [[`f59032a`](https://github.com/mastra-ai/mastra/commit/f59032a73699443555a08a479e7ac578975784f2), [`bf936e2`](https://github.com/mastra-ai/mastra/commit/bf936e2c89b2ff0dad5695b873ddc009ba96d41e)]:
|
|
46
|
-
- @mastra/core@1.58.0-alpha.6
|
|
47
|
-
|
|
48
|
-
## 0.3.2-alpha.0
|
|
49
|
-
|
|
50
|
-
### Patch Changes
|
|
51
|
-
|
|
52
|
-
- Added a `STAGEHAND_MODEL_PROVIDERS` export listing the model providers Stagehand can resolve, so callers can validate a model before starting a browser: ([#20993](https://github.com/mastra-ai/mastra/pull/20993))
|
|
53
|
-
|
|
54
|
-
```ts
|
|
55
|
-
import { STAGEHAND_MODEL_PROVIDERS } from '@mastra/stagehand';
|
|
56
|
-
|
|
57
|
-
const [provider] = 'anthropic/claude-sonnet-4-5'.split('/');
|
|
58
|
-
const supported = STAGEHAND_MODEL_PROVIDERS.includes(provider);
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
## 0.3.1
|
|
62
|
-
|
|
63
|
-
### Patch Changes
|
|
64
|
-
|
|
65
|
-
- Fixed local model execution in `StagehandBrowser` by forwarding the `experimental` and `disableAPI` options. ([#19479](https://github.com/mastra-ai/mastra/pull/19479))
|
|
66
|
-
|
|
67
|
-
```ts
|
|
68
|
-
new StagehandBrowser({
|
|
69
|
-
scope: 'shared',
|
|
70
|
-
experimental: true,
|
|
71
|
-
disableAPI: true,
|
|
72
|
-
});
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
- Updated dependencies [[`ec857fc`](https://github.com/mastra-ai/mastra/commit/ec857fc79c264b53b38e16478c789b7177f2ad59), [`d7385ad`](https://github.com/mastra-ai/mastra/commit/d7385ad9e88f9e4f33d15c0ec0bfebedde0cbc2e), [`41a5392`](https://github.com/mastra-ai/mastra/commit/41a5392d9f6c5e18d6b227f0fc0ddf49c50774e9), [`3d6e539`](https://github.com/mastra-ai/mastra/commit/3d6e539272eb2ea0407034605ee1906b3be06b39), [`1426af2`](https://github.com/mastra-ai/mastra/commit/1426af24975879c000d13ac75673f630fcc970c1), [`a40adeb`](https://github.com/mastra-ai/mastra/commit/a40adeb222b961a56a58af56a106106525721b74), [`8a0d145`](https://github.com/mastra-ai/mastra/commit/8a0d145aadbdf7278665aceaaec364b35dd9bd94), [`bd2f1d2`](https://github.com/mastra-ai/mastra/commit/bd2f1d274d05e60e2366f005ea0d94d5cea0d5ff), [`e1f2fae`](https://github.com/mastra-ai/mastra/commit/e1f2faebaf048c3d4c2e2c01d293767c195d5794), [`63aa799`](https://github.com/mastra-ai/mastra/commit/63aa799c6b44eacc7806cda6846b7c5bbee06b37), [`b7e79c3`](https://github.com/mastra-ai/mastra/commit/b7e79c3c02ac5cd415db34ba0975ceafc1464333), [`675fbff`](https://github.com/mastra-ai/mastra/commit/675fbff84d3274391b33e852f76083c38a5514e5), [`da009e1`](https://github.com/mastra-ai/mastra/commit/da009e1aacd89ed94b8d1b2af09c9d4fe7c4db49), [`3b77e77`](https://github.com/mastra-ai/mastra/commit/3b77e7704936522e4769d29de1b5ea6901f302bd), [`c7d30cd`](https://github.com/mastra-ai/mastra/commit/c7d30cd86009c407df91105591f03cd6e3d2854d), [`21a0eb8`](https://github.com/mastra-ai/mastra/commit/21a0eb86746ba0b703acea360d4f84c6a5a493f2), [`8b20926`](https://github.com/mastra-ai/mastra/commit/8b20926cd59e2ba3d66458e062fa0e6e2ada3e68), [`975295d`](https://github.com/mastra-ai/mastra/commit/975295d418552f0d46a59edfef4c3ee555f9930a), [`73db8db`](https://github.com/mastra-ai/mastra/commit/73db8db90d69ab6153c7942749f624db0d96952d), [`6b1bf3b`](https://github.com/mastra-ai/mastra/commit/6b1bf3b9494bd51aa8f654c68c9355d6046fa2a1), [`35c2181`](https://github.com/mastra-ai/mastra/commit/35c2181e6a50e47c90ba36260db7c9723d54696f), [`0a2c22c`](https://github.com/mastra-ai/mastra/commit/0a2c22c902604439ec490319e14c17f331e0c84c), [`4cfdd64`](https://github.com/mastra-ai/mastra/commit/4cfdd645794feaea0c4ea711e70ecdfbef0c5b8e), [`b75d749`](https://github.com/mastra-ai/mastra/commit/b75d749621ff5d17e86bcb4ee809d301fb4f7cf3), [`821648b`](https://github.com/mastra-ai/mastra/commit/821648bf2871ef840100c7bacbecf676010bd12a), [`de86fd7`](https://github.com/mastra-ai/mastra/commit/de86fd7119f0438381d1a642e3d258143c0b9c29), [`2745031`](https://github.com/mastra-ai/mastra/commit/2745031d1d4a4978f037092da371428c32e2842a), [`b4b7ea8`](https://github.com/mastra-ai/mastra/commit/b4b7ea8733f033fc441ea47ed03f6afb17ec2248), [`3a8024c`](https://github.com/mastra-ai/mastra/commit/3a8024ce615f8aa89479c0d71fe61d10bb0040be), [`35865a5`](https://github.com/mastra-ai/mastra/commit/35865a53e194aa9634d6a70a97010e7a6b9d58b1), [`74faf8b`](https://github.com/mastra-ai/mastra/commit/74faf8bd9c1018f2492653c06b1e25fc8300e9e6), [`ef03fbc`](https://github.com/mastra-ai/mastra/commit/ef03fbcc556bcbc04c9b3d06fab88771ecaa043c), [`675fbff`](https://github.com/mastra-ai/mastra/commit/675fbff84d3274391b33e852f76083c38a5514e5), [`70687f7`](https://github.com/mastra-ai/mastra/commit/70687f7e495a322a02070b4a67cb0c77a5ca91ec), [`1fadac4`](https://github.com/mastra-ai/mastra/commit/1fadac44537caeefe81f9f775ae2f2f3d94e9069), [`73db8db`](https://github.com/mastra-ai/mastra/commit/73db8db90d69ab6153c7942749f624db0d96952d), [`76b7181`](https://github.com/mastra-ai/mastra/commit/76b71810366e6d90b9d3973149d1c7ba3659ffb9), [`792ec9a`](https://github.com/mastra-ai/mastra/commit/792ec9a0869bab8274cf5e0ed2840738737a1607), [`712b864`](https://github.com/mastra-ai/mastra/commit/712b864aa1ed12b14c54390ec17b69de163c37f7), [`85e4fb5`](https://github.com/mastra-ai/mastra/commit/85e4fb50087a81c74df3a762f53b56373db0b912), [`0c0e8d7`](https://github.com/mastra-ai/mastra/commit/0c0e8d7becd4d1445c656b78d5d845f606c1ff9d), [`a7bbe77`](https://github.com/mastra-ai/mastra/commit/a7bbe773577f60bc4761b534ef7ec6b476332dad), [`72e437c`](https://github.com/mastra-ai/mastra/commit/72e437c515942c80b9def5b026e0bdee61b469d9), [`8f7a5de`](https://github.com/mastra-ai/mastra/commit/8f7a5dedc246cdc938bb65516703cf9b27b03756), [`a7bbe77`](https://github.com/mastra-ai/mastra/commit/a7bbe773577f60bc4761b534ef7ec6b476332dad), [`11f6cd9`](https://github.com/mastra-ai/mastra/commit/11f6cd96fe42582403416608beb212cc1a2cc79e), [`ef03c0c`](https://github.com/mastra-ai/mastra/commit/ef03c0cfc62367a458e4cc56462e2148b35681c5), [`4fb4d88`](https://github.com/mastra-ai/mastra/commit/4fb4d881bc107acee13890ad4d78661016c510ed), [`4e68363`](https://github.com/mastra-ai/mastra/commit/4e683634f94ebd062d26a3bb6093a8dfc7263d37), [`c328769`](https://github.com/mastra-ai/mastra/commit/c3287698ff8ef98dba86d415faa566fa3e5f4d56), [`9f7c67a`](https://github.com/mastra-ai/mastra/commit/9f7c67abeeb52c41c51a9b5edee60b62afe7cd8d), [`3b65e68`](https://github.com/mastra-ai/mastra/commit/3b65e68d7f1c771c7a70eea42d83fefdd28cad88), [`4eba27a`](https://github.com/mastra-ai/mastra/commit/4eba27adcf60f991df0e62f94b3e75b4e67f3b4b), [`c701be3`](https://github.com/mastra-ai/mastra/commit/c701be32d7d9aa94a66da8c6cc38dcac6856f464), [`db650ce`](https://github.com/mastra-ai/mastra/commit/db650ce490348914e85b93651d83acdf8f2a4c31), [`232fcbc`](https://github.com/mastra-ai/mastra/commit/232fcbc14fce625dd672ba043329c0b732c62be2), [`6354eeb`](https://github.com/mastra-ai/mastra/commit/6354eeb32efa9f5f68f51dda394e90e2ee76f1fb), [`a8799bb`](https://github.com/mastra-ai/mastra/commit/a8799bb8e44f4a60d01e4e2acd3448ff80bf14f8), [`3d6e539`](https://github.com/mastra-ai/mastra/commit/3d6e539272eb2ea0407034605ee1906b3be06b39), [`e3868e2`](https://github.com/mastra-ai/mastra/commit/e3868e22babfffd0133771669ca724501c2dd58e), [`9251370`](https://github.com/mastra-ai/mastra/commit/9251370ad413af464aa22d7566338bec5613e8de), [`3491666`](https://github.com/mastra-ai/mastra/commit/34916663c4fdd43b48c21f4ab2d5fb6dcccc94f9), [`c0bec73`](https://github.com/mastra-ai/mastra/commit/c0bec732c93d1a22ae5e51ed66cf8cacca8bd6a6)]:
|
|
76
|
-
- @mastra/core@1.52.0
|
|
77
|
-
|
|
78
|
-
## 0.3.1-alpha.0
|
|
79
|
-
|
|
80
|
-
### Patch Changes
|
|
81
|
-
|
|
82
|
-
- Fixed local model execution in `StagehandBrowser` by forwarding the `experimental` and `disableAPI` options. ([#19479](https://github.com/mastra-ai/mastra/pull/19479))
|
|
83
|
-
|
|
84
|
-
```ts
|
|
85
|
-
new StagehandBrowser({
|
|
86
|
-
scope: 'shared',
|
|
87
|
-
experimental: true,
|
|
88
|
-
disableAPI: true,
|
|
89
|
-
});
|
|
90
|
-
```
|
|
91
|
-
|
|
92
|
-
- Updated dependencies [[`8a0d145`](https://github.com/mastra-ai/mastra/commit/8a0d145aadbdf7278665aceaaec364b35dd9bd94), [`bd2f1d2`](https://github.com/mastra-ai/mastra/commit/bd2f1d274d05e60e2366f005ea0d94d5cea0d5ff), [`21a0eb8`](https://github.com/mastra-ai/mastra/commit/21a0eb86746ba0b703acea360d4f84c6a5a493f2), [`de86fd7`](https://github.com/mastra-ai/mastra/commit/de86fd7119f0438381d1a642e3d258143c0b9c29), [`2745031`](https://github.com/mastra-ai/mastra/commit/2745031d1d4a4978f037092da371428c32e2842a), [`db650ce`](https://github.com/mastra-ai/mastra/commit/db650ce490348914e85b93651d83acdf8f2a4c31), [`6354eeb`](https://github.com/mastra-ai/mastra/commit/6354eeb32efa9f5f68f51dda394e90e2ee76f1fb)]:
|
|
93
|
-
- @mastra/core@1.51.1-alpha.0
|
|
94
|
-
|
|
95
|
-
## 0.3.0
|
|
96
|
-
|
|
97
|
-
### Minor Changes
|
|
98
|
-
|
|
99
|
-
- Random bump ([#18178](https://github.com/mastra-ai/mastra/pull/18178))
|
|
100
|
-
|
|
101
|
-
### Patch Changes
|
|
102
|
-
|
|
103
|
-
- Updated dependencies [[`7c0d868`](https://github.com/mastra-ai/mastra/commit/7c0d868d97d0fdbc04c14d0166dbf44d4c5a4a62), [`d9d2273`](https://github.com/mastra-ai/mastra/commit/d9d2273c702690c9a26eab2aebea879701d4355a), [`b04369d`](https://github.com/mastra-ai/mastra/commit/b04369d6b167c698ef103981171a8bf92808e756), [`8f3c262`](https://github.com/mastra-ai/mastra/commit/8f3c262587b335588a02d96b17fd6aca34c885b3)]:
|
|
104
|
-
- @mastra/core@1.45.0
|
|
105
|
-
|
|
106
|
-
## 0.3.0-alpha.0
|
|
107
|
-
|
|
108
|
-
### Minor Changes
|
|
109
|
-
|
|
110
|
-
- Random bump ([#18178](https://github.com/mastra-ai/mastra/pull/18178))
|
|
111
|
-
|
|
112
|
-
### Patch Changes
|
|
113
|
-
|
|
114
|
-
- Updated dependencies [[`7c0d868`](https://github.com/mastra-ai/mastra/commit/7c0d868d97d0fdbc04c14d0166dbf44d4c5a4a62), [`d9d2273`](https://github.com/mastra-ai/mastra/commit/d9d2273c702690c9a26eab2aebea879701d4355a), [`b04369d`](https://github.com/mastra-ai/mastra/commit/b04369d6b167c698ef103981171a8bf92808e756), [`8f3c262`](https://github.com/mastra-ai/mastra/commit/8f3c262587b335588a02d96b17fd6aca34c885b3)]:
|
|
115
|
-
- @mastra/core@1.45.0-alpha.0
|
|
116
|
-
|
|
117
|
-
## 0.2.7
|
|
118
|
-
|
|
119
|
-
### Patch Changes
|
|
120
|
-
|
|
121
|
-
- Security remediation for the 2026-06-17 "easy-day-js" supply-chain incident. Patch bump to publish clean versions and move the `latest` dist-tag forward, superseding the compromised versions that declared the malicious `easy-day-js` dependency. ([#18056](https://github.com/mastra-ai/mastra/pull/18056))
|
|
122
|
-
|
|
123
|
-
- Updated dependencies [[`339c57c`](https://github.com/mastra-ai/mastra/commit/339c57c5b2c6dbe75a125e138228e0556528976f), [`1dd4117`](https://github.com/mastra-ai/mastra/commit/1dd4117dcbd8e031ede9f0489436bfbc6f0315b8), [`2b11d1f`](https://github.com/mastra-ai/mastra/commit/2b11d1f6ac7024c5dd2b2dd12a48a956ac9d63bd), [`77a2351`](https://github.com/mastra-ai/mastra/commit/77a2351ee79296e360bce822cb3391f7cfd6489d), [`b7dff0a`](https://github.com/mastra-ai/mastra/commit/b7dff0a3d1022eb6868f48dc40a2b1febd5c277f), [`02087e1`](https://github.com/mastra-ai/mastra/commit/02087e1fbc54aa07f3071f7a200df1bf5be601a8), [`49af8df`](https://github.com/mastra-ai/mastra/commit/49af8df589c4ff71a5015a4553b377b32704b691), [`30ce559`](https://github.com/mastra-ai/mastra/commit/30ce55902ecf819b8ab8697398dd68b108228063), [`c241b92`](https://github.com/mastra-ai/mastra/commit/c241b929dc8c8d6a7b7219c99ed13ac1f3124a77), [`7d6ff70`](https://github.com/mastra-ai/mastra/commit/7d6ff708727297a0526ca0e26e93eeb5bbaaa187), [`ab975d4`](https://github.com/mastra-ai/mastra/commit/ab975d4dd9488752f05bda7afa03166d207e3e2a), [`9d6aa1b`](https://github.com/mastra-ai/mastra/commit/9d6aa1bae407e2afa6a089abc2a6accbbcb287b8)]:
|
|
124
|
-
- @mastra/core@1.44.0
|
|
125
|
-
|
|
126
|
-
## 0.2.7-alpha.0
|
|
127
|
-
|
|
128
|
-
### Patch Changes
|
|
129
|
-
|
|
130
|
-
- Security remediation for the 2026-06-17 "easy-day-js" supply-chain incident. Patch bump to publish clean versions and move the `latest` dist-tag forward, superseding the compromised versions that declared the malicious `easy-day-js` dependency. ([#18056](https://github.com/mastra-ai/mastra/pull/18056))
|
|
131
|
-
|
|
132
|
-
- Updated dependencies [[`77a2351`](https://github.com/mastra-ai/mastra/commit/77a2351ee79296e360bce822cb3391f7cfd6489d)]:
|
|
133
|
-
- @mastra/core@1.43.1-alpha.0
|
|
134
|
-
|
|
135
|
-
## 0.2.5
|
|
136
|
-
|
|
137
|
-
### Patch Changes
|
|
138
|
-
|
|
139
|
-
- Add alpha opt-in browser video recording support to the Stagehand and Agent Browser providers. Both providers now accept `recording: { outputDir }` and, when enabled, expose `browser_record` and `browser_record_caption` alongside their existing browser tools. ([#17028](https://github.com/mastra-ai/mastra/pull/17028))
|
|
140
|
-
|
|
141
|
-
Example:
|
|
142
|
-
|
|
143
|
-
```ts
|
|
144
|
-
const browser = new AgentBrowser({
|
|
145
|
-
recording: { outputDir: './browser-recordings' },
|
|
146
|
-
});
|
|
147
|
-
```
|
|
148
|
-
|
|
149
|
-
- Updated dependencies [[`de66bb0`](https://github.com/mastra-ai/mastra/commit/de66bb040570444c702ce4d8e1e228a5de2949cb), [`67bf8e2`](https://github.com/mastra-ai/mastra/commit/67bf8e206dfe583954d96015cf0d09f7ac50e45f), [`8216d05`](https://github.com/mastra-ai/mastra/commit/8216d0528d866eb9a07f5d4c87ea3bb1e1139b45), [`d18b23c`](https://github.com/mastra-ai/mastra/commit/d18b23c5e29dfc381e73e3c51fcf6c779afd1823), [`5eb94eb`](https://github.com/mastra-ai/mastra/commit/5eb94ebcf66d4e28c9e26d5821ac93379bab20a0), [`1fa3e12`](https://github.com/mastra-ai/mastra/commit/1fa3e123582b63cfe49de4ee52dc6a065e8d956a), [`f9ee2ac`](https://github.com/mastra-ai/mastra/commit/f9ee2ac661af584e61bc063ac208c9035cd752ef), [`c853d53`](https://github.com/mastra-ai/mastra/commit/c853d535d2df84ab89db1adb4c28900c54c9a2d2), [`d8df1f8`](https://github.com/mastra-ai/mastra/commit/d8df1f8e947e1966c9d4e54713df56d0d0d65226), [`9192ddb`](https://github.com/mastra-ai/mastra/commit/9192ddbced8949113b30de444cbe763f075b59f5), [`ae96523`](https://github.com/mastra-ai/mastra/commit/ae965231f562d9766b0c90c49a69fc68acaa031c), [`17d5a92`](https://github.com/mastra-ai/mastra/commit/17d5a9211aa293b4d4418de3de70dc0394d58101), [`5573693`](https://github.com/mastra-ai/mastra/commit/5573693b589822250e20dfe6cf66e9ff3bc96da8), [`ec4da8a`](https://github.com/mastra-ai/mastra/commit/ec4da8a09e0d2ab452c6ee2c786042ea826b77e5), [`adc44e1`](https://github.com/mastra-ai/mastra/commit/adc44e13c7e570b91e86b20ea7556e61d819db31), [`ed346c0`](https://github.com/mastra-ai/mastra/commit/ed346c0bee2d8496690a4e538bfba1e46894660f), [`c9ce1b2`](https://github.com/mastra-ai/mastra/commit/c9ce1b28d10871110648f9d7b6d76e880b9fa999), [`3ef01fd`](https://github.com/mastra-ai/mastra/commit/3ef01fd130b53d5bd4f828beb174e516a2eb1158), [`245a9a3`](https://github.com/mastra-ai/mastra/commit/245a9a315705fce17ddd980f78a92504b6615c4a), [`dc0b611`](https://github.com/mastra-ai/mastra/commit/dc0b6119b769bd00ee2c5df9259fb376fe63077a), [`38b5de8`](https://github.com/mastra-ai/mastra/commit/38b5de8e5d1d41a69522addf53d96f4b3a1d5bf0), [`dc0b611`](https://github.com/mastra-ai/mastra/commit/dc0b6119b769bd00ee2c5df9259fb376fe63077a), [`dd6a66e`](https://github.com/mastra-ai/mastra/commit/dd6a66ea0b32e0dea8059aec6b35d151e2c87dc4), [`d785c59`](https://github.com/mastra-ai/mastra/commit/d785c593b67fcb4cdc4fab9fdbde5f3b7665efc0), [`1fa3e12`](https://github.com/mastra-ai/mastra/commit/1fa3e123582b63cfe49de4ee52dc6a065e8d956a), [`8b984f4`](https://github.com/mastra-ai/mastra/commit/8b984f4361c202270ceb69257185c4756c9a7c56), [`bf08402`](https://github.com/mastra-ai/mastra/commit/bf084022374fa5d06ca70ed67a86dd64e379071b), [`81fe587`](https://github.com/mastra-ai/mastra/commit/81fe587275035715c1720ddf3fee0505cf053036), [`1fa3e12`](https://github.com/mastra-ai/mastra/commit/1fa3e123582b63cfe49de4ee52dc6a065e8d956a), [`403c438`](https://github.com/mastra-ai/mastra/commit/403c438e417278989ce247233d2c465b8d902cdd), [`f8ba195`](https://github.com/mastra-ai/mastra/commit/f8ba1954e27ee2b20586cc6cd9cf13c002c232f2)]:
|
|
150
|
-
- @mastra/core@1.43.0
|
|
151
|
-
|
|
152
|
-
## 0.2.4
|
|
153
|
-
|
|
154
|
-
### Patch Changes
|
|
155
|
-
|
|
156
|
-
- Fixed Stagehand browser support for OpenAI-compatible model configuration. ([#17219](https://github.com/mastra-ai/mastra/pull/17219))
|
|
157
|
-
|
|
158
|
-
- Updated dependencies [[`d468acb`](https://github.com/mastra-ai/mastra/commit/d468acb07aec1bb19a2cb0ada8042b05b46746b2), [`575f815`](https://github.com/mastra-ai/mastra/commit/575f815c5c3567b71c0b83cbb7fa98c8253a9d9c), [`34839c1`](https://github.com/mastra-ai/mastra/commit/34839c1910b6964bf59ed0cee58844efebbb684e), [`053735a`](https://github.com/mastra-ai/mastra/commit/053735a75c2c18e23ce34d9468007efa4a45f4c4), [`306909a`](https://github.com/mastra-ai/mastra/commit/306909a693de77d709b38706e2673c9547d24a28), [`5191af8`](https://github.com/mastra-ai/mastra/commit/5191af80c799eea25357c545fc05d91b3883531d), [`43bd3d4`](https://github.com/mastra-ai/mastra/commit/43bd3d421987463fdf35386a45199c49499ed069), [`e6fa79e`](https://github.com/mastra-ai/mastra/commit/e6fa79ec72a2ddffdd25e85270398951e9d552a4), [`904bcdf`](https://github.com/mastra-ai/mastra/commit/904bcdf7b8004aa7be823f9f70ca63580e47e470), [`7f5ee1d`](https://github.com/mastra-ai/mastra/commit/7f5ee1dca46daee8d2817f2ebe49e6335da81956), [`1e9aab5`](https://github.com/mastra-ai/mastra/commit/1e9aab50ff11e6e88fde4d7cbf512c44a9fe8d61), [`2bccba4`](https://github.com/mastra-ai/mastra/commit/2bccba4c03cadc815c2d54cbf4dd43a922140a8d), [`bf8eb6d`](https://github.com/mastra-ai/mastra/commit/bf8eb6d0ec213a403eb9265a594ad283c44ab3dc), [`e9be4e7`](https://github.com/mastra-ai/mastra/commit/e9be4e747ec3d8b65548bff92f9377db06105376), [`493a328`](https://github.com/mastra-ai/mastra/commit/493a328f4346a1deeb9f1e2e44c8f2a3a4d7591b), [`d53cfc2`](https://github.com/mastra-ai/mastra/commit/d53cfc2c7f8d78343a4aa84ec4e129ba25f3325e), [`65799d4`](https://github.com/mastra-ai/mastra/commit/65799d4d549e5ebb9c848fbe3f51ac090f64becf), [`c268c89`](https://github.com/mastra-ai/mastra/commit/c268c89f4c63a93ee474d3cffdf3ea60bf00d4f2), [`34839c1`](https://github.com/mastra-ai/mastra/commit/34839c1910b6964bf59ed0cee58844efebbb684e), [`014e00f`](https://github.com/mastra-ai/mastra/commit/014e00f2b3a597a016b72f9901c6ab27d491f822), [`029a414`](https://github.com/mastra-ai/mastra/commit/029a4141719793bd3e898a39eb5a0466a55f5f3a), [`d468acb`](https://github.com/mastra-ai/mastra/commit/d468acb07aec1bb19a2cb0ada8042b05b46746b2), [`b147b29`](https://github.com/mastra-ai/mastra/commit/b147b2907f0cd1aa812efe6d6e3f58d22e66fc88), [`d371ac1`](https://github.com/mastra-ai/mastra/commit/d371ac1d9820afaaf7cfdbc380a475946a994d8f), [`2bccba4`](https://github.com/mastra-ai/mastra/commit/2bccba4c03cadc815c2d54cbf4dd43a922140a8d), [`0c72f03`](https://github.com/mastra-ai/mastra/commit/0c72f032abb13254df5a7856d64be2f207b8006d), [`cf182b7`](https://github.com/mastra-ai/mastra/commit/cf182b7fb495767946d9840ef29f19cfa906f31f), [`3b45ea9`](https://github.com/mastra-ai/mastra/commit/3b45ea95015557a6cb9d70dc5252af54ab1b78ac), [`a049c2a`](https://github.com/mastra-ai/mastra/commit/a049c2a9dfb41d0ee2e7a28874a88cd64fd5669f), [`f084be1`](https://github.com/mastra-ai/mastra/commit/f084be1fcbe33ad7480913e44d6130c421c0976f), [`b147b29`](https://github.com/mastra-ai/mastra/commit/b147b2907f0cd1aa812efe6d6e3f58d22e66fc88), [`2a96528`](https://github.com/mastra-ai/mastra/commit/2a9652848dfa3c5a2426f952e9d93554c26fd90f), [`f2ab060`](https://github.com/mastra-ai/mastra/commit/f2ab060162bea81505fda553e2cee29c1979fd04), [`5d302c8`](https://github.com/mastra-ai/mastra/commit/5d302c8eda1a6ac74eab5e442c4f64db6cc97a06), [`34839c1`](https://github.com/mastra-ai/mastra/commit/34839c1910b6964bf59ed0cee58844efebbb684e), [`a952852`](https://github.com/mastra-ai/mastra/commit/a952852c971a21fb646cd907c75fcf4443cdc963), [`2656d9c`](https://github.com/mastra-ai/mastra/commit/2656d9c2976d4f3354253bfbbbf9b88a1b2bbf34), [`63e3fe1`](https://github.com/mastra-ai/mastra/commit/63e3fe13cc1ea96f91d7c68aea92f400faf9e4da), [`1d4ce8d`](https://github.com/mastra-ai/mastra/commit/1d4ce8daaa54511f325c1b609d31b8e54009d677), [`8c68372`](https://github.com/mastra-ai/mastra/commit/8c68372e85fe0b066ec12c58bd29ffb93e54c552)]:
|
|
159
|
-
- @mastra/core@1.42.0
|
|
160
|
-
|
|
161
|
-
## 0.2.4-alpha.0
|
|
162
|
-
|
|
163
|
-
### Patch Changes
|
|
164
|
-
|
|
165
|
-
- Fixed Stagehand browser support for OpenAI-compatible model configuration. ([#17219](https://github.com/mastra-ai/mastra/pull/17219))
|
|
166
|
-
|
|
167
|
-
- Updated dependencies [[`575f815`](https://github.com/mastra-ai/mastra/commit/575f815c5c3567b71c0b83cbb7fa98c8253a9d9c), [`306909a`](https://github.com/mastra-ai/mastra/commit/306909a693de77d709b38706e2673c9547d24a28), [`5191af8`](https://github.com/mastra-ai/mastra/commit/5191af80c799eea25357c545fc05d91b3883531d), [`43bd3d4`](https://github.com/mastra-ai/mastra/commit/43bd3d421987463fdf35386a45199c49499ed069), [`e6fa79e`](https://github.com/mastra-ai/mastra/commit/e6fa79ec72a2ddffdd25e85270398951e9d552a4), [`904bcdf`](https://github.com/mastra-ai/mastra/commit/904bcdf7b8004aa7be823f9f70ca63580e47e470), [`7f5ee1d`](https://github.com/mastra-ai/mastra/commit/7f5ee1dca46daee8d2817f2ebe49e6335da81956), [`1e9aab5`](https://github.com/mastra-ai/mastra/commit/1e9aab50ff11e6e88fde4d7cbf512c44a9fe8d61), [`bf8eb6d`](https://github.com/mastra-ai/mastra/commit/bf8eb6d0ec213a403eb9265a594ad283c44ab3dc), [`493a328`](https://github.com/mastra-ai/mastra/commit/493a328f4346a1deeb9f1e2e44c8f2a3a4d7591b), [`029a414`](https://github.com/mastra-ai/mastra/commit/029a4141719793bd3e898a39eb5a0466a55f5f3a), [`b147b29`](https://github.com/mastra-ai/mastra/commit/b147b2907f0cd1aa812efe6d6e3f58d22e66fc88), [`d371ac1`](https://github.com/mastra-ai/mastra/commit/d371ac1d9820afaaf7cfdbc380a475946a994d8f), [`cf182b7`](https://github.com/mastra-ai/mastra/commit/cf182b7fb495767946d9840ef29f19cfa906f31f), [`a049c2a`](https://github.com/mastra-ai/mastra/commit/a049c2a9dfb41d0ee2e7a28874a88cd64fd5669f), [`b147b29`](https://github.com/mastra-ai/mastra/commit/b147b2907f0cd1aa812efe6d6e3f58d22e66fc88), [`2a96528`](https://github.com/mastra-ai/mastra/commit/2a9652848dfa3c5a2426f952e9d93554c26fd90f), [`2656d9c`](https://github.com/mastra-ai/mastra/commit/2656d9c2976d4f3354253bfbbbf9b88a1b2bbf34), [`63e3fe1`](https://github.com/mastra-ai/mastra/commit/63e3fe13cc1ea96f91d7c68aea92f400faf9e4da), [`1d4ce8d`](https://github.com/mastra-ai/mastra/commit/1d4ce8daaa54511f325c1b609d31b8e54009d677), [`8c68372`](https://github.com/mastra-ai/mastra/commit/8c68372e85fe0b066ec12c58bd29ffb93e54c552)]:
|
|
168
|
-
- @mastra/core@1.42.0-alpha.4
|
|
169
|
-
|
|
170
|
-
## 0.2.3
|
|
171
|
-
|
|
172
|
-
### Patch Changes
|
|
173
|
-
|
|
174
|
-
- Silence Stagehand console logging by default and route logs through a logger hook to avoid corrupting host TUIs. ([#16677](https://github.com/mastra-ai/mastra/pull/16677))
|
|
175
|
-
|
|
176
|
-
- Updated dependencies [[`452036a`](https://github.com/mastra-ai/mastra/commit/452036a0d965b4f4c1efd93606e4f03b50b807a5), [`c272d50`](https://github.com/mastra-ai/mastra/commit/c272d50610a54496b6b6d92ccd4d37b333a2613a), [`27fd1b7`](https://github.com/mastra-ai/mastra/commit/27fd1b79ac62eb7694f92587eb7d1be05b59be01), [`5ba7253`](https://github.com/mastra-ai/mastra/commit/5ba7253745c85e8df8012a76d954c640ffa336f7), [`5556cc1`](https://github.com/mastra-ai/mastra/commit/5556cc1befec71518d84f826b3bfe3a079a9daf7), [`f73980d`](https://github.com/mastra-ai/mastra/commit/f73980d651eb5f7f1ab20582de4615a1b6f10fce), [`5499303`](https://github.com/mastra-ai/mastra/commit/54993032c1ebc09642625b78d2014e0cf84a3cae), [`a702009`](https://github.com/mastra-ai/mastra/commit/a702009d3cfaa745120f501e21c783ed4d6a3072), [`9aee493`](https://github.com/mastra-ai/mastra/commit/9aee493ed6089b5133472623dcce49934bf2d509), [`d8692af`](https://github.com/mastra-ai/mastra/commit/d8692afa253028e39cdce2aafa0ac414071a762e), [`1a9cc60`](https://github.com/mastra-ai/mastra/commit/1a9cc6069f9910fc3d59e4953ac8cd95d89ad6f5), [`8cdb86c`](https://github.com/mastra-ai/mastra/commit/8cdb86ceed1137bc2768e147dce85a0692b9fb26), [`8534d79`](https://github.com/mastra-ai/mastra/commit/8534d791fa1cb70fe1c19e2604c4b63cc10dd051), [`eda90c5`](https://github.com/mastra-ai/mastra/commit/eda90c5bfd7de11805ecc9f4552716c895fbaf78), [`a935b0a`](https://github.com/mastra-ai/mastra/commit/a935b0a0977ae3f196b33ec7621f528069c82db0), [`9c88701`](https://github.com/mastra-ai/mastra/commit/9c8870195b41a38dc40b6ba2aa55eda04df8fa69), [`c78f8cd`](https://github.com/mastra-ai/mastra/commit/c78f8cd6222a86e6c60ae5210b6929ad5221b6fb), [`e146aad`](https://github.com/mastra-ai/mastra/commit/e146aadbba66c410ba0e74bac4c50135495cb8dd), [`ac79462`](https://github.com/mastra-ai/mastra/commit/ac79462b98f1062394c45093aa515b0766f27ee2), [`1a0ec78`](https://github.com/mastra-ai/mastra/commit/1a0ec789a26cae443744e9abbd62ed6ee676af39), [`e47bca7`](https://github.com/mastra-ai/mastra/commit/e47bca7b72866d3abd173b9f530ac4318113a8ff), [`afc004f`](https://github.com/mastra-ai/mastra/commit/afc004f5cc7e30697809e7021820b9f5881e6719), [`0031d0f`](https://github.com/mastra-ai/mastra/commit/0031d0f13831d7843ac5d498734a7d92862e2ce3), [`841a222`](https://github.com/mastra-ai/mastra/commit/841a222560d8c19238f8213713f30535cdd82284), [`64c1e0b`](https://github.com/mastra-ai/mastra/commit/64c1e0b35165c96b659818bd0177aa18794ef11f), [`40d83a9`](https://github.com/mastra-ai/mastra/commit/40d83a90d9be31a1b83e04649edb703eb7753e33), [`4e88dc6`](https://github.com/mastra-ai/mastra/commit/4e88dc6b89f154c0eae37221c8126be0c23c569f), [`19018f0`](https://github.com/mastra-ai/mastra/commit/19018f05722af74a5978781a7731a654b26f7f2a), [`19281c7`](https://github.com/mastra-ai/mastra/commit/19281c70424f757219782de16c2699743c5e04d0), [`3498b49`](https://github.com/mastra-ai/mastra/commit/3498b4946be94f4313cd817733589680dcda5278), [`d52b6fe`](https://github.com/mastra-ai/mastra/commit/d52b6fe1c56853eb38864baae0bbfa75cc739ccb), [`408be73`](https://github.com/mastra-ai/mastra/commit/408be73449dfab92b51eab8c6623b6c443debc25), [`359439b`](https://github.com/mastra-ai/mastra/commit/359439bb8c635e048176306828195f8297f50021), [`71a820b`](https://github.com/mastra-ai/mastra/commit/71a820b2353fa1406772c50760a3732058a8b337), [`1698f5e`](https://github.com/mastra-ai/mastra/commit/1698f5ec141d34f22a873efdb145ce3cdf848a5e)]:
|
|
177
|
-
- @mastra/core@1.36.0
|
|
178
|
-
|
|
179
|
-
## 0.2.3-alpha.0
|
|
180
|
-
|
|
181
|
-
### Patch Changes
|
|
182
|
-
|
|
183
|
-
- Silence Stagehand console logging by default and route logs through a logger hook to avoid corrupting host TUIs. ([#16677](https://github.com/mastra-ai/mastra/pull/16677))
|
|
184
|
-
|
|
185
|
-
## 0.2.2
|
|
186
|
-
|
|
187
|
-
### Patch Changes
|
|
188
|
-
|
|
189
|
-
- Added `screenshot` tool to `@mastra/stagehand` (`stagehand_screenshot`) and `@mastra/agent-browser` (`browser_screenshot`). Captures a PNG screenshot and returns image content for vision-capable models. ([#16074](https://github.com/mastra-ai/mastra/pull/16074))
|
|
190
|
-
|
|
191
|
-
Added `excludeTools` config option to opt out of specific tools:
|
|
192
|
-
|
|
193
|
-
```ts
|
|
194
|
-
const browser = new StagehandBrowser({
|
|
195
|
-
excludeTools: ['stagehand_screenshot'],
|
|
196
|
-
});
|
|
197
|
-
```
|
|
198
|
-
|
|
199
|
-
- Updated dependencies [[`9f17410`](https://github.com/mastra-ai/mastra/commit/9f1741080def23d42ee50b39887a385ae316a3c6), [`7ad5585`](https://github.com/mastra-ai/mastra/commit/7ad55856406f1de398dc713f6a9eaa78b2784bb6), [`ac47842`](https://github.com/mastra-ai/mastra/commit/ac478427aa7a5f5fdaed633a911218689b438c60), [`cc189cc`](https://github.com/mastra-ai/mastra/commit/cc189cc0128eb7af233476b5e421ec6888bffde7), [`d1fdbd0`](https://github.com/mastra-ai/mastra/commit/d1fdbd012add5623cb7e6b7f882b605ab358bbb4), [`210ea7a`](https://github.com/mastra-ai/mastra/commit/210ea7af559791b73a44fc9c12179908aaa3183f), [`7c275a8`](https://github.com/mastra-ai/mastra/commit/7c275a810595e1a6c41ccc39720531ab65734700), [`bae019e`](https://github.com/mastra-ai/mastra/commit/bae019ecb6694da96909f7ec7b9eb3a0a33aa887), [`890b24c`](https://github.com/mastra-ai/mastra/commit/890b24cc7d32ed6aa4dfe253e54dc6bf4099f690), [`f984b4d`](https://github.com/mastra-ai/mastra/commit/f984b4d6c60bf2ae2a9b156f0e8c35a66fe96c91), [`6742347`](https://github.com/mastra-ai/mastra/commit/6742347d71955d7639adc9ddf6ff8282de7ee3ba), [`b59316f`](https://github.com/mastra-ai/mastra/commit/b59316ffa0f7688165b0f9c81ccdf85da461e5b2), [`0f48ebf`](https://github.com/mastra-ai/mastra/commit/0f48ebfc7ac7897b2092a189f45751924cf56d1c), [`37c0dc5`](https://github.com/mastra-ai/mastra/commit/37c0dc5697d343db98628bf867bf71ce6deec6d7), [`087e413`](https://github.com/mastra-ai/mastra/commit/087e4133e5d6efa36619e9556c16750e4179c047), [`83218c8`](https://github.com/mastra-ai/mastra/commit/83218c88b37773c9424fbe733b37be556e55e94d), [`ef6b584`](https://github.com/mastra-ai/mastra/commit/ef6b5847ac33c0a7e80af3a86e8801e2933dd3ee), [`c6eb39e`](https://github.com/mastra-ai/mastra/commit/c6eb39ea6dca381c6563cb240237fbe608e02f93), [`7b0ad1f`](https://github.com/mastra-ai/mastra/commit/7b0ad1f5c53dc118c6da12ae82ae2587037dc2b8), [`d91ebe2`](https://github.com/mastra-ai/mastra/commit/d91ebe28ee065d8f2ed6df741c3c07f58d359529), [`62666c3`](https://github.com/mastra-ai/mastra/commit/62666c367eaeac3941ead454b1d38810cc855721), [`33f5061`](https://github.com/mastra-ai/mastra/commit/33f5061cd1c0335020c3faae61ce96de822854fa), [`4af2160`](https://github.com/mastra-ai/mastra/commit/4af2160322f4718cac421930cce85641e9512389), [`087e413`](https://github.com/mastra-ai/mastra/commit/087e4133e5d6efa36619e9556c16750e4179c047), [`265ec9f`](https://github.com/mastra-ai/mastra/commit/265ec9f887b5c81255c873a76ff7796f16e4f99b), [`ce01024`](https://github.com/mastra-ai/mastra/commit/ce010242eee9bdfc09e4c26725b9d37998679a8d), [`6ce80bf`](https://github.com/mastra-ai/mastra/commit/6ce80bf4872a891e0bddf8b80561a80584efb14b), [`f984b4d`](https://github.com/mastra-ai/mastra/commit/f984b4d6c60bf2ae2a9b156f0e8c35a66fe96c91), [`136c959`](https://github.com/mastra-ai/mastra/commit/136c9592fb0eeb0cd212f28629d8a29b7557a2fc), [`9268531`](https://github.com/mastra-ai/mastra/commit/9268531e7ec4be98beeba3b3ae8be0a7ea380662), [`13ead79`](https://github.com/mastra-ai/mastra/commit/13ead79149486b88144db7e11e6ff551caef5be1), [`dccd8f1`](https://github.com/mastra-ai/mastra/commit/dccd8f1f8b8f1ad203b77556207e5529567c616d), [`4df7cc7`](https://github.com/mastra-ai/mastra/commit/4df7cc79342fd065fe7fdeef93c094db14b12bcd), [`f180e49`](https://github.com/mastra-ai/mastra/commit/f180e4990e71b04c9a475b523584071712f0048f), [`9260e01`](https://github.com/mastra-ai/mastra/commit/9260e015276fb1b500f7878ee452b47476bf1583), [`2f6c54e`](https://github.com/mastra-ai/mastra/commit/2f6c54e17c041cac1def54baaa6b771647836414), [`aca3121`](https://github.com/mastra-ai/mastra/commit/aca31211233dac25459f140ea4fcfb3a5af64c18), [`e06a159`](https://github.com/mastra-ai/mastra/commit/e06a1598ca07a6c3778aefc2a2d288363c6294ff), [`4dd900d`](https://github.com/mastra-ai/mastra/commit/4dd900d75dfe9be89f8c15188b368a8622aa1e18), [`b560d6f`](https://github.com/mastra-ai/mastra/commit/b560d6f88b9b904b15c10f75c949eb145bc27684), [`99869ec`](https://github.com/mastra-ai/mastra/commit/99869ecb1f2aa6dfcc44fa4e843e5ee0344efa64), [`900d086`](https://github.com/mastra-ai/mastra/commit/900d086bb737b9cf2fcf68f11b0389b801a2738c), [`4c0e286`](https://github.com/mastra-ai/mastra/commit/4c0e28637c9cfb4f416549b55e97ebfa13319dfc), [`55f1e2d`](https://github.com/mastra-ai/mastra/commit/55f1e2d65425b95a49ae788053b266f256e38c96), [`4ff5bdf`](https://github.com/mastra-ai/mastra/commit/4ff5bdfe170cba6dfb5260c6af0f4ba668430772), [`9cdf38e`](https://github.com/mastra-ai/mastra/commit/9cdf38e58506e1109c8b38f97cd7770978a4218e), [`087e413`](https://github.com/mastra-ai/mastra/commit/087e4133e5d6efa36619e9556c16750e4179c047), [`db34bc6`](https://github.com/mastra-ai/mastra/commit/db34bc6fb36cf125bda0c46be4d3fdc774b70cc4), [`990851e`](https://github.com/mastra-ai/mastra/commit/990851edcb0e30be5c2c18b6532f1a876cc2d335), [`bbcd93c`](https://github.com/mastra-ai/mastra/commit/bbcd93cf7d8aa1007d6d84bfd033b8015c912087), [`8373ff4`](https://github.com/mastra-ai/mastra/commit/8373ff46745d77af79f183c4470f80fa2727a6b2), [`d48a705`](https://github.com/mastra-ai/mastra/commit/d48a705ff3dfbdc7a996e07ecd8293b5effd9a2a), [`308bd07`](https://github.com/mastra-ai/mastra/commit/308bd074f35cef0c75d82fc1eb19382fe04ecf6f), [`6068a6c`](https://github.com/mastra-ai/mastra/commit/6068a6c42950fad3ebfc92346417896ba60803d2), [`36b3bbf`](https://github.com/mastra-ai/mastra/commit/36b3bbf5a8d59f7e23d47e29340e76c681b4929c), [`d86f031`](https://github.com/mastra-ai/mastra/commit/d86f031eb6b0b2570145afafea664e59bf688962), [`b275631`](https://github.com/mastra-ai/mastra/commit/b275631dc10541a482b2e2d4a3e3cfa843bd5fa1), [`00106be`](https://github.com/mastra-ai/mastra/commit/00106bede59b81e5b0e9cd6aad8d3b5dbc336387), [`bd36d8e`](https://github.com/mastra-ai/mastra/commit/bd36d8eb6de8c9a0310352649dbd4b06703c2299), [`11c1528`](https://github.com/mastra-ai/mastra/commit/11c152848c5d0ef227184853b5040f5b41ee7b1e), [`4999667`](https://github.com/mastra-ai/mastra/commit/49996678b68356cad7f088430009690406c50fbd), [`e2a079c`](https://github.com/mastra-ai/mastra/commit/e2a079cc3755b1895f7bd5dc36e9be81b11c7c22), [`8ac9141`](https://github.com/mastra-ai/mastra/commit/8ac9141439caa8fdd674944c4d84f29b3c730296), [`25184ff`](https://github.com/mastra-ai/mastra/commit/25184ffaf1293ec95119426eb1a1f8d38831b96c), [`534a456`](https://github.com/mastra-ai/mastra/commit/534a456a25e4df1e5407e7e632f4cb3b1fa14f9d), [`105e454`](https://github.com/mastra-ai/mastra/commit/105e454c95af06a7c741c15969d8f9b0f02463a7), [`aebde9c`](https://github.com/mastra-ai/mastra/commit/aebde9cfacf56592c6b6350cae721740fe090b8a), [`36bae07`](https://github.com/mastra-ai/mastra/commit/36bae07c0e70b1b3006f2fd20830e8883dcbd066), [`5688881`](https://github.com/mastra-ai/mastra/commit/5688881669c7ed157f31ac77f6fc5f8d95ceea32)]:
|
|
200
|
-
- @mastra/core@1.33.0
|
|
201
|
-
|
|
202
|
-
## 0.2.2-alpha.0
|
|
203
|
-
|
|
204
|
-
### Patch Changes
|
|
205
|
-
|
|
206
|
-
- Added `screenshot` tool to `@mastra/stagehand` (`stagehand_screenshot`) and `@mastra/agent-browser` (`browser_screenshot`). Captures a PNG screenshot and returns image content for vision-capable models. ([#16074](https://github.com/mastra-ai/mastra/pull/16074))
|
|
207
|
-
|
|
208
|
-
Added `excludeTools` config option to opt out of specific tools:
|
|
209
|
-
|
|
210
|
-
```ts
|
|
211
|
-
const browser = new StagehandBrowser({
|
|
212
|
-
excludeTools: ['stagehand_screenshot'],
|
|
213
|
-
});
|
|
214
|
-
```
|
|
215
|
-
|
|
216
|
-
- Updated dependencies [[`b59316f`](https://github.com/mastra-ai/mastra/commit/b59316ffa0f7688165b0f9c81ccdf85da461e5b2), [`55f1e2d`](https://github.com/mastra-ai/mastra/commit/55f1e2d65425b95a49ae788053b266f256e38c96), [`d48a705`](https://github.com/mastra-ai/mastra/commit/d48a705ff3dfbdc7a996e07ecd8293b5effd9a2a)]:
|
|
217
|
-
- @mastra/core@1.33.0-alpha.12
|
|
218
|
-
|
|
219
|
-
## 0.2.1
|
|
220
|
-
|
|
221
|
-
### Patch Changes
|
|
222
|
-
|
|
223
|
-
- Standardize `headless` default to `true` across all browser providers. Each provider now resolves `headless` once in its constructor and passes it to the thread manager via the base class getter, removing duplicate fallback logic. ([#15696](https://github.com/mastra-ai/mastra/pull/15696))
|
|
224
|
-
|
|
225
|
-
- Updated dependencies [[`733bf53`](https://github.com/mastra-ai/mastra/commit/733bf53d9352aedd3ef38c3d501edb275b65b43c), [`5405b3b`](https://github.com/mastra-ai/mastra/commit/5405b3b35325c5b8fb34fc7ac109bd2feb7bb6fe), [`45e29cb`](https://github.com/mastra-ai/mastra/commit/45e29cb5b5737f3083eb3852db02b944b9cf37ed), [`750b4d3`](https://github.com/mastra-ai/mastra/commit/750b4d3d8231f92e769b2c485921ac5a8ca639b9), [`c321127`](https://github.com/mastra-ai/mastra/commit/c3211275fc195de9ad1ead2746b354beb8eae6e8), [`a07bcef`](https://github.com/mastra-ai/mastra/commit/a07bcefea77c03d6d322caad973dca49b4b15fa1), [`696694e`](https://github.com/mastra-ai/mastra/commit/696694e00f29241a25dd1a1b749afa06c3a626b4), [`b084a80`](https://github.com/mastra-ai/mastra/commit/b084a800db0f82d62e1fc3d6e3e3480da1ba5a53), [`82b7a96`](https://github.com/mastra-ai/mastra/commit/82b7a964169636c1d1e0c694fc892a213b0179d5), [`df97812`](https://github.com/mastra-ai/mastra/commit/df97812bd949dcafeb074b80ecab501724b49c3b), [`8bbe360`](https://github.com/mastra-ai/mastra/commit/8bbe36042af7fc4be0244dffd8913f6795179421), [`f6b8ba8`](https://github.com/mastra-ai/mastra/commit/f6b8ba8dbf533b7a8db90c72b6805ddc804a3a72), [`a07bcef`](https://github.com/mastra-ai/mastra/commit/a07bcefea77c03d6d322caad973dca49b4b15fa1)]:
|
|
226
|
-
- @mastra/core@1.28.0
|
|
227
|
-
|
|
228
|
-
## 0.2.1-alpha.0
|
|
229
|
-
|
|
230
|
-
### Patch Changes
|
|
231
|
-
|
|
232
|
-
- Standardize `headless` default to `true` across all browser providers. Each provider now resolves `headless` once in its constructor and passes it to the thread manager via the base class getter, removing duplicate fallback logic. ([#15696](https://github.com/mastra-ai/mastra/pull/15696))
|
|
233
|
-
|
|
234
|
-
- Updated dependencies [[`750b4d3`](https://github.com/mastra-ai/mastra/commit/750b4d3d8231f92e769b2c485921ac5a8ca639b9)]:
|
|
235
|
-
- @mastra/core@1.28.0-alpha.1
|
|
236
|
-
|
|
237
|
-
## 0.2.0
|
|
238
|
-
|
|
239
|
-
### Minor Changes
|
|
240
|
-
|
|
241
|
-
- Added automatic cleanup on browser close: patches `exit_type` to prevent restore dialogs, kills orphaned Chrome child processes, and uses CDP events for reliable disconnect detection in both shared and thread scope. ([#15194](https://github.com/mastra-ai/mastra/pull/15194))
|
|
242
|
-
|
|
243
|
-
### Patch Changes
|
|
244
|
-
|
|
245
|
-
- dependencies updates: ([#15209](https://github.com/mastra-ai/mastra/pull/15209))
|
|
246
|
-
- Updated dependency [`@browserbasehq/stagehand@^3.2.1` ↗︎](https://www.npmjs.com/package/@browserbasehq/stagehand/v/3.2.1) (from `^3.2.0`, in `dependencies`)
|
|
247
|
-
- Updated dependencies [[`87df955`](https://github.com/mastra-ai/mastra/commit/87df955c028660c075873fd5d74af28233ce32eb), [`8fad147`](https://github.com/mastra-ai/mastra/commit/8fad14759804179c8e080ce4d9dec6ef1a808b31), [`582644c`](https://github.com/mastra-ai/mastra/commit/582644c4a87f83b4f245a84d72b9e8590585012e), [`cbdf3e1`](https://github.com/mastra-ai/mastra/commit/cbdf3e12b3d0c30a6e5347be658e2009648c130a), [`8fe46d3`](https://github.com/mastra-ai/mastra/commit/8fe46d354027f3f0f0846e64219772348de106dd), [`18c67db`](https://github.com/mastra-ai/mastra/commit/18c67dbb9c9ebc26f26f65f7d3ff836e5691ef46), [`4ba3bb1`](https://github.com/mastra-ai/mastra/commit/4ba3bb1e465ad2ddaba3bbf2bc47e0faec32985e), [`5d84914`](https://github.com/mastra-ai/mastra/commit/5d84914e0e520c642a40329b210b413fcd139898), [`8dcc77e`](https://github.com/mastra-ai/mastra/commit/8dcc77e78a5340f5848f74b9e9f1b3da3513c1f5), [`aa67fc5`](https://github.com/mastra-ai/mastra/commit/aa67fc59ee8a5eeff1f23eb05970b8d7a536c8ff), [`fd2f314`](https://github.com/mastra-ai/mastra/commit/fd2f31473d3449b6b97e837ef8641264377f41a7), [`fa8140b`](https://github.com/mastra-ai/mastra/commit/fa8140bcd4251d2e3ac85fdc5547dfc4f372b5be), [`190f452`](https://github.com/mastra-ai/mastra/commit/190f45258b0640e2adfc8219fa3258cdc5b8f071), [`e80fead`](https://github.com/mastra-ai/mastra/commit/e80fead1412cc0d1b2f7d6a1ce5017d9e0098ff7), [`0287b64`](https://github.com/mastra-ai/mastra/commit/0287b644a5c3272755cf3112e71338106664103b), [`7e7bf60`](https://github.com/mastra-ai/mastra/commit/7e7bf606886bf374a6f9d4ca9b09dd83d0533372), [`184907d`](https://github.com/mastra-ai/mastra/commit/184907d775d8609c03c26e78ccaf37315f3aa287), [`075e91a`](https://github.com/mastra-ai/mastra/commit/075e91a4549baf46ad7a42a6a8ac8dfa78cc09e6), [`0c4cd13`](https://github.com/mastra-ai/mastra/commit/0c4cd131931c04ac5405373c932a242dbe88edd6), [`b16a753`](https://github.com/mastra-ai/mastra/commit/b16a753d5748440248d7df82e29bb987a9c8386c)]:
|
|
248
|
-
- @mastra/core@1.25.0
|
|
249
|
-
|
|
250
|
-
## 0.2.0-alpha.0
|
|
251
|
-
|
|
252
|
-
### Minor Changes
|
|
253
|
-
|
|
254
|
-
- Added automatic cleanup on browser close: patches `exit_type` to prevent restore dialogs, kills orphaned Chrome child processes, and uses CDP events for reliable disconnect detection in both shared and thread scope. ([#15194](https://github.com/mastra-ai/mastra/pull/15194))
|
|
255
|
-
|
|
256
|
-
### Patch Changes
|
|
257
|
-
|
|
258
|
-
- dependencies updates: ([#15209](https://github.com/mastra-ai/mastra/pull/15209))
|
|
259
|
-
- Updated dependency [`@browserbasehq/stagehand@^3.2.1` ↗︎](https://www.npmjs.com/package/@browserbasehq/stagehand/v/3.2.1) (from `^3.2.0`, in `dependencies`)
|
|
260
|
-
- Updated dependencies [[`cbdf3e1`](https://github.com/mastra-ai/mastra/commit/cbdf3e12b3d0c30a6e5347be658e2009648c130a), [`8fe46d3`](https://github.com/mastra-ai/mastra/commit/8fe46d354027f3f0f0846e64219772348de106dd), [`18c67db`](https://github.com/mastra-ai/mastra/commit/18c67dbb9c9ebc26f26f65f7d3ff836e5691ef46), [`8dcc77e`](https://github.com/mastra-ai/mastra/commit/8dcc77e78a5340f5848f74b9e9f1b3da3513c1f5), [`aa67fc5`](https://github.com/mastra-ai/mastra/commit/aa67fc59ee8a5eeff1f23eb05970b8d7a536c8ff), [`fa8140b`](https://github.com/mastra-ai/mastra/commit/fa8140bcd4251d2e3ac85fdc5547dfc4f372b5be), [`190f452`](https://github.com/mastra-ai/mastra/commit/190f45258b0640e2adfc8219fa3258cdc5b8f071), [`7e7bf60`](https://github.com/mastra-ai/mastra/commit/7e7bf606886bf374a6f9d4ca9b09dd83d0533372), [`184907d`](https://github.com/mastra-ai/mastra/commit/184907d775d8609c03c26e78ccaf37315f3aa287), [`0c4cd13`](https://github.com/mastra-ai/mastra/commit/0c4cd131931c04ac5405373c932a242dbe88edd6), [`b16a753`](https://github.com/mastra-ai/mastra/commit/b16a753d5748440248d7df82e29bb987a9c8386c)]:
|
|
261
|
-
- @mastra/core@1.25.0-alpha.3
|
|
262
|
-
|
|
263
|
-
## 0.1.0
|
|
264
|
-
|
|
265
|
-
### Minor Changes
|
|
266
|
-
|
|
267
|
-
- Add AI-powered browser automation with Stagehand SDK integration ([#14938](https://github.com/mastra-ai/mastra/pull/14938))
|
|
268
|
-
|
|
269
|
-
**New Features:**
|
|
270
|
-
- AI-powered browser automation using Stagehand's act/extract/observe primitives
|
|
271
|
-
- Native Browserbase integration for cloud browser sessions
|
|
272
|
-
- Real-time screencast streaming via WebSocket
|
|
273
|
-
- Mouse and keyboard input injection
|
|
274
|
-
- Thread-scoped browser isolation (`scope: 'thread'`)
|
|
275
|
-
- State persistence and restoration across sessions
|
|
276
|
-
|
|
277
|
-
**Configuration:**
|
|
278
|
-
|
|
279
|
-
```typescript
|
|
280
|
-
import { StagehandBrowser } from '@mastra/stagehand';
|
|
281
|
-
|
|
282
|
-
// Local browser
|
|
283
|
-
const browser = new StagehandBrowser({
|
|
284
|
-
headless: true,
|
|
285
|
-
scope: 'thread',
|
|
286
|
-
});
|
|
287
|
-
|
|
288
|
-
// Browserbase cloud
|
|
289
|
-
const browser = new StagehandBrowser({
|
|
290
|
-
env: 'BROWSERBASE',
|
|
291
|
-
apiKey: process.env.BROWSERBASE_API_KEY,
|
|
292
|
-
projectId: process.env.BROWSERBASE_PROJECT_ID,
|
|
293
|
-
});
|
|
294
|
-
|
|
295
|
-
const agent = mastra.getAgent('my-agent', { browser });
|
|
296
|
-
```
|
|
297
|
-
|
|
298
|
-
### Patch Changes
|
|
299
|
-
|
|
300
|
-
- Updated dependencies [[`cb15509`](https://github.com/mastra-ai/mastra/commit/cb15509b58f6a83e11b765c945082afc027db972), [`81e4259`](https://github.com/mastra-ai/mastra/commit/81e425939b4ceeb4f586e9b6d89c3b1c1f2d2fe7), [`951b8a1`](https://github.com/mastra-ai/mastra/commit/951b8a1b5ef7e1474c59dc4f2b9fc1a8b1e508b6), [`80c5668`](https://github.com/mastra-ai/mastra/commit/80c5668e365470d3a96d3e953868fd7a643ff67c), [`3d478c1`](https://github.com/mastra-ai/mastra/commit/3d478c1e13f17b80f330ac49d7aa42ef929b93ff), [`2b4ea10`](https://github.com/mastra-ai/mastra/commit/2b4ea10b053e4ea1ab232d536933a4a3c4cba999), [`a0544f0`](https://github.com/mastra-ai/mastra/commit/a0544f0a1e6bd52ac12676228967c1938e43648d), [`6039f17`](https://github.com/mastra-ai/mastra/commit/6039f176f9c457304825ff1df8c83b8e457376c0), [`06b928d`](https://github.com/mastra-ai/mastra/commit/06b928dfc2f5630d023467476cc5919dfa858d0a), [`6a8d984`](https://github.com/mastra-ai/mastra/commit/6a8d9841f2933456ee1598099f488d742b600054), [`c8c86aa`](https://github.com/mastra-ai/mastra/commit/c8c86aa1458017fbd1c0776fdc0c520d129df8a6)]:
|
|
301
|
-
- @mastra/core@1.22.0
|
|
302
|
-
|
|
303
|
-
## 0.1.0-alpha.0
|
|
304
|
-
|
|
305
|
-
### Minor Changes
|
|
306
|
-
|
|
307
|
-
- Add AI-powered browser automation with Stagehand SDK integration ([#14938](https://github.com/mastra-ai/mastra/pull/14938))
|
|
308
|
-
|
|
309
|
-
**New Features:**
|
|
310
|
-
- AI-powered browser automation using Stagehand's act/extract/observe primitives
|
|
311
|
-
- Native Browserbase integration for cloud browser sessions
|
|
312
|
-
- Real-time screencast streaming via WebSocket
|
|
313
|
-
- Mouse and keyboard input injection
|
|
314
|
-
- Thread-scoped browser isolation (`scope: 'thread'`)
|
|
315
|
-
- State persistence and restoration across sessions
|
|
316
|
-
|
|
317
|
-
**Configuration:**
|
|
318
|
-
|
|
319
|
-
```typescript
|
|
320
|
-
import { StagehandBrowser } from '@mastra/stagehand';
|
|
321
|
-
|
|
322
|
-
// Local browser
|
|
323
|
-
const browser = new StagehandBrowser({
|
|
324
|
-
headless: true,
|
|
325
|
-
scope: 'thread',
|
|
326
|
-
});
|
|
327
|
-
|
|
328
|
-
// Browserbase cloud
|
|
329
|
-
const browser = new StagehandBrowser({
|
|
330
|
-
env: 'BROWSERBASE',
|
|
331
|
-
apiKey: process.env.BROWSERBASE_API_KEY,
|
|
332
|
-
projectId: process.env.BROWSERBASE_PROJECT_ID,
|
|
333
|
-
});
|
|
334
|
-
|
|
335
|
-
const agent = mastra.getAgent('my-agent', { browser });
|
|
336
|
-
```
|
|
337
|
-
|
|
338
|
-
### Patch Changes
|
|
339
|
-
|
|
340
|
-
- Updated dependencies [[`cb15509`](https://github.com/mastra-ai/mastra/commit/cb15509b58f6a83e11b765c945082afc027db972), [`80c5668`](https://github.com/mastra-ai/mastra/commit/80c5668e365470d3a96d3e953868fd7a643ff67c), [`3d478c1`](https://github.com/mastra-ai/mastra/commit/3d478c1e13f17b80f330ac49d7aa42ef929b93ff), [`6039f17`](https://github.com/mastra-ai/mastra/commit/6039f176f9c457304825ff1df8c83b8e457376c0), [`06b928d`](https://github.com/mastra-ai/mastra/commit/06b928dfc2f5630d023467476cc5919dfa858d0a), [`6a8d984`](https://github.com/mastra-ai/mastra/commit/6a8d9841f2933456ee1598099f488d742b600054)]:
|
|
341
|
-
- @mastra/core@1.22.0-alpha.2
|