@mastra/code-sdk 1.2.0-alpha.5 → 1.2.0-alpha.6

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/package.json +8 -8
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # @mastra/code-sdk
2
2
 
3
+ ## 1.2.0-alpha.6
4
+
5
+ ### Patch Changes
6
+
7
+ - Added a `model` option to Stagehand browser settings, so browser automation can run on a chosen provider instead of a fixed default: ([#20993](https://github.com/mastra-ai/mastra/pull/20993))
8
+
9
+ ```ts
10
+ import { createBrowserFromSettings } from '@mastra/code-sdk/onboarding/settings';
11
+
12
+ const browser = await createBrowserFromSettings({
13
+ enabled: true,
14
+ provider: 'stagehand',
15
+ headless: true,
16
+ stagehand: { env: 'LOCAL', model: 'anthropic/claude-sonnet-4-5' },
17
+ });
18
+ ```
19
+
20
+ The model must be provider-qualified as `<provider>/<model>`. Values Stagehand cannot resolve, such as a bare `gpt-4.1`, are ignored so the browser still starts.
21
+
22
+ - Updated dependencies [[`25956fc`](https://github.com/mastra-ai/mastra/commit/25956fc8841780d506acb22b618fdb4dcf6c4e21)]:
23
+ - @mastra/stagehand@0.3.2-alpha.0
24
+
3
25
  ## 1.2.0-alpha.5
4
26
 
5
27
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/code-sdk",
3
- "version": "1.2.0-alpha.5",
3
+ "version": "1.2.0-alpha.6",
4
4
  "description": "Mastra Code SDK: the agent core behind Mastra Code (everything except the TUI) — build your own UIs and surfaces on top of it",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -56,18 +56,18 @@
56
56
  "vscode-languageserver-protocol": "^3.17.5",
57
57
  "yaml": "^2.7.1",
58
58
  "zod": "^4.3.6",
59
+ "@mastra/duckdb": "1.6.1-alpha.0",
59
60
  "@mastra/agent-browser": "0.5.0",
60
- "@mastra/libsql": "1.20.0-alpha.1",
61
- "@mastra/github-signals": "0.2.5-alpha.0",
62
- "@mastra/memory": "1.26.1-alpha.3",
63
61
  "@mastra/core": "1.58.0-alpha.5",
64
- "@mastra/mcp": "1.16.0-alpha.1",
65
62
  "@mastra/fastembed": "1.2.0",
63
+ "@mastra/github-signals": "0.2.5-alpha.0",
64
+ "@mastra/libsql": "1.20.0-alpha.1",
65
+ "@mastra/mcp": "1.16.0-alpha.1",
66
66
  "@mastra/observability": "1.16.6-alpha.2",
67
- "@mastra/pg": "1.20.0-alpha.2",
68
- "@mastra/duckdb": "1.6.1-alpha.0",
69
- "@mastra/stagehand": "0.3.1",
67
+ "@mastra/memory": "1.26.1-alpha.3",
70
68
  "@mastra/schema-compat": "1.3.6-alpha.2",
69
+ "@mastra/pg": "1.20.0-alpha.2",
70
+ "@mastra/stagehand": "0.3.2-alpha.0",
71
71
  "@mastra/tavily": "1.1.1"
72
72
  },
73
73
  "devDependencies": {