@mastra/code-sdk 1.0.0-alpha.17 → 1.0.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +236 -0
  2. package/package.json +11 -11
package/CHANGELOG.md CHANGED
@@ -1,5 +1,241 @@
1
1
  # @mastra/code-sdk
2
2
 
3
+ ## 1.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - Replaced GitHub-specific Mastra Code session state with Factory project and linked-repository identities. This lets SDK consumers represent sessions independently of a source-control provider and select a repository explicitly when sandbox execution is required. ([#19849](https://github.com/mastra-ai/mastra/pull/19849))
8
+
9
+ Updated Mastra Code onboarding to be Factory-first: create a Factory by name, then link repositories from your connected source-control installations in a separate step. A Factory is valid with zero linked repositories, and the Board, Metrics, and Audit pages stay available for any server-backed Factory. Factory pages keep project-scoped data separate from repository-scoped intake and provide a repository selector when a Factory has multiple linked repositories. Creating a Factory from a local folder remains available as a secondary option.
10
+
11
+ **Before**
12
+
13
+ ```ts
14
+ const state = { githubProjectId: 'project-1', sandboxId, sandboxWorkdir };
15
+ ```
16
+
17
+ **After**
18
+
19
+ ```ts
20
+ const state = {
21
+ factoryProjectId: 'factory-project-1',
22
+ projectRepositoryId: 'project-repository-1',
23
+ sandboxId,
24
+ sandboxWorkdir,
25
+ };
26
+ ```
27
+
28
+ ### Minor Changes
29
+
30
+ - Moved model packs in Mastra Code web to database-backed storage and refreshed the built-in packs. ([#19849](https://github.com/mastra-ai/mastra/pull/19849))
31
+
32
+ **Model packs are now stored in the Factory database**
33
+
34
+ When running with a Factory backend, custom model packs are saved in a new model-packs storage domain scoped to your organization instead of the local settings.json file. Local (non-tenant) mode keeps the file-backed behavior.
35
+
36
+ **Pick from available models**
37
+
38
+ The settings Model tab now loads the list of available models from a new /web/config/models endpoint, so the Factory default model picker and model pack editor only offer models you actually have credentials for. Model pickers are searchable comboboxes instead of plain dropdowns, and pack activation now resolves the correct scoped session so packs can be activated from settings.
39
+
40
+ **Default packs updated to the latest model releases**
41
+
42
+ - Anthropic: build and plan anthropic/claude-fable-5, fast anthropic/claude-haiku-4-5
43
+ - OpenAI: build and plan openai/gpt-5.6
44
+ - Observational memory default model is now google/gemini-3.5-flash
45
+
46
+ - Added a Factory default model for server-backed Factories in Mastra Code web. Set it in Settings under the Model tab and every factory run (like issue triage) starts on that model. The Model tab now also hosts model packs, replacing the separate Packs tab — packs stay session-scoped while the default model is stored on the Factory project itself. ([#19849](https://github.com/mastra-ai/mastra/pull/19849))
47
+
48
+ - Added an input processor extension for embedding surfaces while preserving Mastra Code's required processors. ([#19702](https://github.com/mastra-ai/mastra/pull/19702))
49
+
50
+ - Added support for injecting pre-built storage and vector store instances into Mastra Code. `MastraCodeConfig.storage` now accepts a `MastraCompositeStore` instance in addition to a storage config, and the new `MastraCodeConfig.vector` slot accepts a `MastraVector` instance. When an instance is provided it is used as-is — no connection test or LibSQL fallback — so hosted deployments can share a single Postgres connection pool between Mastra storage and application tables. ([#19623](https://github.com/mastra-ai/mastra/pull/19623))
51
+
52
+ **Before**
53
+
54
+ ```ts
55
+ await createMastraCode({ storage: { backend: 'pg', connectionString } });
56
+ ```
57
+
58
+ **After**
59
+
60
+ ```ts
61
+ const storage = new PostgresStore({ id: 'code-storage', connectionString });
62
+ const vector = new PgVector({ id: 'code-vectors', connectionString });
63
+ await createMastraCode({ storage, vector });
64
+ ```
65
+
66
+ - Add goal execution to the headless `runMC` API. Goal runs use the same GoalManager and system-reminder signal path as the TUI and resolve on terminal `goal_evaluation` events without manual continuation messages. ([#19441](https://github.com/mastra-ai/mastra/pull/19441))
67
+
68
+ ```ts
69
+ const run = runMC({
70
+ controller,
71
+ session,
72
+ goal: {
73
+ objective: 'Implement and verify the requested change',
74
+ judgeModelId: 'openai/gpt-5-mini',
75
+ maxRuns: 20,
76
+ },
77
+ });
78
+
79
+ for await (const event of run) {
80
+ console.log(event.type);
81
+ }
82
+
83
+ const result = await run.result;
84
+ ```
85
+
86
+ - Add browser-based OAuth authentication for HTTP MCP servers to Mastra Code. ([#19467](https://github.com/mastra-ai/mastra/pull/19467))
87
+
88
+ When an HTTP MCP server rejects a connection with an authorization error, the
89
+ `/mcp` selector now shows a "needs auth" badge and an **Authenticate** action.
90
+ Choosing it opens the provider's consent page in the browser and completes the
91
+ OAuth 2.1 authorization-code flow (PKCE + Dynamic Client Registration) over a
92
+ loopback callback server, persists the tokens, and reconnects — no manual
93
+ configuration required for a bare `{ "url": ... }` server entry. A **Cancel
94
+ authentication** action aborts an in-flight flow and returns the server to the
95
+ needs-auth state.
96
+
97
+ The server manager gains `authenticateServer(name)` and
98
+ `cancelServerAuthentication(name)`, `McpServerStatus` gains an optional
99
+ `needsAuth` flag, and the OAuth `redirectUrl` in MCP server config is now
100
+ optional (it defaults to a stable loopback URL). The config also accepts
101
+ `callbackPort` as a shorthand that synthesizes
102
+ `http://localhost:<callbackPort>/callback`, the Claude Code / Codex
103
+ convention, so configs written for those clients (like Slack's official MCP
104
+ plugin config) work verbatim. `callbackPort` and `redirectUrl` are mutually
105
+ exclusive.
106
+
107
+ ```ts
108
+ const server = manager.getServerStatuses().find(s => s.name === 'supabase');
109
+ if (server?.needsAuth) {
110
+ // Opens the consent page in the browser, completes the OAuth flow, and
111
+ // resolves with the reconnected server status.
112
+ const status = await manager.authenticateServer('supabase', {
113
+ onAuthorizationUrl: url => openInBrowser(url),
114
+ });
115
+ console.log(status.connected);
116
+
117
+ // Abort an abandoned browser flow and return the server to needs-auth:
118
+ // await manager.cancelServerAuthentication('supabase')
119
+ }
120
+ ```
121
+
122
+ - Added step-based OAuth APIs for browser-driven provider sign-in and tenant-aware credential resolution. Hosted applications can now inject a credential store so each request resolves the caller's credentials without copying stored secrets into process environment variables. ([#19638](https://github.com/mastra-ai/mastra/pull/19638))
123
+
124
+ ```ts
125
+ import { startAnthropicLogin } from '@mastra/code-sdk/auth/providers/anthropic';
126
+
127
+ const { url, verifier } = await startAnthropicLogin();
128
+ ```
129
+
130
+ - Added access to the workspace resolved for an AgentController session. ([#19547](https://github.com/mastra-ai/mastra/pull/19547))
131
+
132
+ Use the session-owned workspace when an operation must remain isolated to that session:
133
+
134
+ ```ts
135
+ const session = await controller.createSession({ resourceId, scope });
136
+ const workspace = session.getWorkspace();
137
+ ```
138
+
139
+ Mastra Code workspace resolvers can now accept an isolated read-only skill extension:
140
+
141
+ ```ts
142
+ const workspace = await getDynamicWorkspace({
143
+ requestContext,
144
+ skillExtension: {
145
+ id: 'review-skills',
146
+ paths: ['/__review_skills__'],
147
+ createSource: fallback => new ReviewSkillSource(fallback),
148
+ },
149
+ });
150
+ ```
151
+
152
+ This lets SDK consumers compose additional read-only skill roots into selected workspaces without changing the default workspace skill set.
153
+
154
+ ### Patch Changes
155
+
156
+ - dependencies updates: ([#19611](https://github.com/mastra-ai/mastra/pull/19611))
157
+ - Updated dependency [`ai@^6.0.225` ↗︎](https://www.npmjs.com/package/ai/v/6.0.225) (from `^6.0.224`, in `dependencies`)
158
+
159
+ - dependencies updates: ([#19813](https://github.com/mastra-ai/mastra/pull/19813))
160
+ - Updated dependency [`@ai-sdk/amazon-bedrock@^3.0.107` ↗︎](https://www.npmjs.com/package/@ai-sdk/amazon-bedrock/v/3.0.107) (from `^3.0.105`, in `dependencies`)
161
+ - Updated dependency [`@ai-sdk/anthropic@^3.0.98` ↗︎](https://www.npmjs.com/package/@ai-sdk/anthropic/v/3.0.98) (from `^3.0.96`, in `dependencies`)
162
+ - Updated dependency [`@ai-sdk/openai@^3.0.86` ↗︎](https://www.npmjs.com/package/@ai-sdk/openai/v/3.0.86) (from `^3.0.84`, in `dependencies`)
163
+ - Updated dependency [`@ai-sdk/openai-compatible@^2.0.62` ↗︎](https://www.npmjs.com/package/@ai-sdk/openai-compatible/v/2.0.62) (from `^2.0.59`, in `dependencies`)
164
+ - Updated dependency [`ai@^6.0.230` ↗︎](https://www.npmjs.com/package/ai/v/6.0.230) (from `^6.0.225`, in `dependencies`)
165
+
166
+ - Added on-disk verification to the update utilities: `runUpdate` now returns the package manager's stderr, and the new `performUpdate` locates the running install, delegates the update to the tool that owns it (for example vite-plus), verifies the on-disk version when available, and reports when a readable installed version remains unchanged. ([#18792](https://github.com/mastra-ai/mastra/pull/18792))
167
+
168
+ - Fixed Moonshot AI API key resolution so keys saved via /api-keys (MOONSHOT_API_KEY) work when selecting moonshot models ([#19655](https://github.com/mastra-ai/mastra/pull/19655))
169
+
170
+ - Fixed provider request history repair so incompatible tool-call IDs are sanitized and retried instead of being blindly resent after a provider rejects the request ([#19969](https://github.com/mastra-ai/mastra/pull/19969))
171
+
172
+ - Fixed goal duration so it persists across pauses and process restarts. ([#19837](https://github.com/mastra-ai/mastra/pull/19837))
173
+
174
+ - Fixed session thread cloning failing with "Source thread not found" when the cached dynamic memory instance was bound to a previous storage instance. The memory cache is now scoped to the storage it was created with. ([#19969](https://github.com/mastra-ai/mastra/pull/19969))
175
+
176
+ - Fixed Mastra Code retries for EPIPE and closed provider connections. (#19691) ([#19692](https://github.com/mastra-ai/mastra/pull/19692))
177
+
178
+ - Fixed ACP clients dropping standalone signal messages such as system reminders and notification summaries, while preserving assistant text deltas across interleaved signals without inserting separators. ([#18783](https://github.com/mastra-ai/mastra/pull/18783))
179
+
180
+ - Added a session notification when a GitHub plugin is automatically updated to its latest version ([#19943](https://github.com/mastra-ai/mastra/pull/19943))
181
+
182
+ ```ts
183
+ const unsubscribe = pluginManager.onGithubPluginsUpdated(pluginNames => {
184
+ console.log(`Updated plugins: ${pluginNames.join(', ')}`);
185
+ });
186
+
187
+ // Call during shutdown.
188
+ unsubscribe();
189
+ ```
190
+
191
+ - Moved custom model providers and custom model packs off settings.json in the factory web app: both now live in the app database (org-scoped rows in deployed mode, a sentinel local scope in no-auth mode). Custom providers saved in the web settings page are picked up by model resolution and the model catalog through a new pluggable custom-providers source in the SDK, so the gateway no longer reads the host machine's settings.json for them, and models from your custom providers appear in the web model pickers. ([#19964](https://github.com/mastra-ai/mastra/pull/19964))
192
+
193
+ Hosts that store custom providers elsewhere (like the factory's database) register a source at boot; when none is registered, the SDK keeps reading settings.json as before:
194
+
195
+ ```ts
196
+ import { setCustomProvidersSource } from '@mastra/code-sdk/agents/custom-provider-source';
197
+
198
+ setCustomProvidersSource(tenant => (tenant ? snapshotForOrg(tenant.orgId) : []));
199
+ ```
200
+
201
+ - Fixed cloned session threads reading from a previous storage instance. The dynamic memory cache now invalidates when the storage or vector instance changes, so thread cloning always uses the current database. ([#19966](https://github.com/mastra-ai/mastra/pull/19966))
202
+
203
+ - Added a memory-settings storage domain: observational memory settings (observer and reflector models, thresholds, attachment observation) changed in the web app are now stored in the app database — one row per user — instead of settings.json, and the settings page reads them back from the database. Factory-mounted agent controllers no longer seed observational memory settings from the host machine's settings.json (new `disableSettingsOmSeed` SDK option), so server sessions start from built-in defaults plus whatever is stored in the database. The OM settings model pickers in the web UI are now searchable comboboxes. ([#19964](https://github.com/mastra-ai/mastra/pull/19964))
204
+
205
+ Server embedders that persist memory settings in their own database can opt out of the settings.json seed:
206
+
207
+ ```ts
208
+ import { createMastraCode } from '@mastra/code-sdk';
209
+
210
+ const mastraCode = await createMastraCode({
211
+ cwd: process.cwd(),
212
+ // Don't seed observer/reflector models or thresholds from the host
213
+ // machine's settings.json — sessions start from built-in defaults.
214
+ disableSettingsOmSeed: true,
215
+ });
216
+ ```
217
+
218
+ - Fixed Amazon Bedrock prompt caching for long Mastra Code conversations. ([#19690](https://github.com/mastra-ai/mastra/pull/19690))
219
+
220
+ - Fixed a crash (`TypeError: Cannot read properties of undefined (reading 'includes')`) when a Mastra store instance is injected into the SDK from a project whose dependency graph contains duplicate copies of @mastra/core. Injected stores are now detected structurally instead of with `instanceof`, so stores built against a different core copy are recognized correctly instead of being mistaken for a storage config. ([#20030](https://github.com/mastra-ai/mastra/pull/20030))
221
+
222
+ - 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), [`c9e3521`](https://github.com/mastra-ai/mastra/commit/c9e3521628422db84e00a5ff1dea7426c8cce537), [`d2ff897`](https://github.com/mastra-ai/mastra/commit/d2ff8979d3069c6101108cdb7815792b0cc1c1b3), [`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), [`8314e6d`](https://github.com/mastra-ai/mastra/commit/8314e6df597a8379b1f934ddf1120f51f8530ab3), [`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), [`89da3cd`](https://github.com/mastra-ai/mastra/commit/89da3cd80c7c9936791ff0c31e244bcc41b0dd12), [`73db8db`](https://github.com/mastra-ai/mastra/commit/73db8db90d69ab6153c7942749f624db0d96952d), [`76b7181`](https://github.com/mastra-ai/mastra/commit/76b71810366e6d90b9d3973149d1c7ba3659ffb9), [`72e437c`](https://github.com/mastra-ai/mastra/commit/72e437c515942c80b9def5b026e0bdee61b469d9), [`970c032`](https://github.com/mastra-ai/mastra/commit/970c032502751ee5dd4d0b603331d9838cb538fc), [`6deac4a`](https://github.com/mastra-ai/mastra/commit/6deac4a520750d807a2154333bf1b91a2df958a5), [`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), [`19881f5`](https://github.com/mastra-ai/mastra/commit/19881f5d6a09437cf5b947d2e8be3bd8745df767), [`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), [`90ed0d0`](https://github.com/mastra-ai/mastra/commit/90ed0d0ca8fce0e1fc751fba16b30a5c00bb3fd1), [`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), [`0c52047`](https://github.com/mastra-ai/mastra/commit/0c520470a4547666156b2f18eb794eb8bd2676c8), [`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), [`ec17152`](https://github.com/mastra-ai/mastra/commit/ec17152e7514b5fad37d6ed50f90a937b4bb87a2), [`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), [`13d2d44`](https://github.com/mastra-ai/mastra/commit/13d2d4476d78ce1aaede10dc83fb64108c9b9d82), [`e3868e2`](https://github.com/mastra-ai/mastra/commit/e3868e22babfffd0133771669ca724501c2dd58e), [`72e437c`](https://github.com/mastra-ai/mastra/commit/72e437c515942c80b9def5b026e0bdee61b469d9), [`9251370`](https://github.com/mastra-ai/mastra/commit/9251370ad413af464aa22d7566338bec5613e8de), [`21a0eb8`](https://github.com/mastra-ai/mastra/commit/21a0eb86746ba0b703acea360d4f84c6a5a493f2), [`3491666`](https://github.com/mastra-ai/mastra/commit/34916663c4fdd43b48c21f4ab2d5fb6dcccc94f9), [`c0bec73`](https://github.com/mastra-ai/mastra/commit/c0bec732c93d1a22ae5e51ed66cf8cacca8bd6a6)]:
223
+ - @mastra/core@1.52.0
224
+ - @mastra/pg@1.17.0
225
+ - @mastra/tavily@1.1.1
226
+ - @mastra/libsql@1.17.0
227
+ - @mastra/mcp@1.15.0
228
+ - @mastra/observability@1.16.2
229
+ - @mastra/memory@1.23.1
230
+ - @mastra/stagehand@0.3.1
231
+
232
+ ## 1.0.0-alpha.18
233
+
234
+ ### Patch Changes
235
+
236
+ - Updated dependencies [[`8314e6d`](https://github.com/mastra-ai/mastra/commit/8314e6df597a8379b1f934ddf1120f51f8530ab3)]:
237
+ - @mastra/mcp@1.15.0-alpha.1
238
+
3
239
  ## 1.0.0-alpha.17
4
240
 
5
241
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/code-sdk",
3
- "version": "1.0.0-alpha.17",
3
+ "version": "1.0.0",
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": {
@@ -58,17 +58,17 @@
58
58
  "zod": "^4.3.6",
59
59
  "@mastra/agent-browser": "0.4.1",
60
60
  "@mastra/duckdb": "1.5.1",
61
- "@mastra/core": "1.52.0-alpha.13",
62
61
  "@mastra/fastembed": "1.2.0",
62
+ "@mastra/core": "1.52.0",
63
63
  "@mastra/github-signals": "0.2.2",
64
- "@mastra/mcp": "1.15.0-alpha.0",
65
- "@mastra/libsql": "1.17.0-alpha.4",
66
- "@mastra/memory": "1.23.1-alpha.1",
67
- "@mastra/pg": "1.17.0-alpha.4",
64
+ "@mastra/libsql": "1.17.0",
65
+ "@mastra/memory": "1.23.1",
66
+ "@mastra/observability": "1.16.2",
67
+ "@mastra/pg": "1.17.0",
68
68
  "@mastra/schema-compat": "1.3.4",
69
- "@mastra/stagehand": "0.3.1-alpha.0",
70
- "@mastra/tavily": "1.1.1-alpha.0",
71
- "@mastra/observability": "1.16.2-alpha.1"
69
+ "@mastra/stagehand": "0.3.1",
70
+ "@mastra/tavily": "1.1.1",
71
+ "@mastra/mcp": "1.15.0"
72
72
  },
73
73
  "devDependencies": {
74
74
  "@libsql/client": "^0.17.4",
@@ -79,8 +79,8 @@
79
79
  "typescript": "^6.0.3",
80
80
  "typescript-eslint": "^8.57.0",
81
81
  "vitest": "4.1.10",
82
- "@internal/types-builder": "0.0.89",
83
- "@internal/lint": "0.0.114"
82
+ "@internal/lint": "0.0.115",
83
+ "@internal/types-builder": "0.0.90"
84
84
  },
85
85
  "engines": {
86
86
  "node": ">=22.19.0"