0
Fork 0
mirror of https://github.com/mastra-ai/mastra.git synced 2026-11-17 08:44:46 +00:00
Commit graph

95 commits

Author SHA1 Message Date
dane-ai-mastra[bot]
d60ba71be0 chore: version - exit prerelease mode 2026-11-12 21:12:29 +00:00
dane-ai-mastra[bot]
5c87442ed7
chore: version packages (alpha) (#30203)
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and publish to npm
yourself or [setup this action to publish
automatically](https://github.com/changesets/action#with-publishing). If
you're not ready to do a release yet, that's fine, whenever you add more
changesets to main, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

`main` is currently in **pre mode** so this branch has prereleases
rather than normal releases. If you want to exit prereleases, run
`changeset pre exit` on `main`.

⚠️⚠️⚠️⚠️⚠️⚠️

# Releases

> The changelog information of each package has been omitted from this
message, as the content exceeds the size limit.

## @mastra/auth-auth0@1.3.0-alpha.0


## @mastra/auth-clerk@1.4.0-alpha.0


## @mastra/auth-okta@0.3.0-alpha.0


## @mastra/auth-supabase@1.2.0-alpha.0


## @mastra/client-js@1.60.0-alpha.13


## @mastra/auth@1.2.0-alpha.0


## @mastra/core@1.83.0-alpha.13


## @mastra/playground-ui@69.0.0-alpha.15


## @mastra/rag@2.8.0-alpha.3


## @mastra/server@1.83.0-alpha.13


## @mastra/server-adapters-test-suite@0.3.0-alpha.5


## @mastra/auth-better-auth@1.1.11-alpha.2


## @mastra/auth-cloud@1.2.9-alpha.0


## @mastra/auth-neon@0.3.6-alpha.1


## @mastra/auth-workos@1.6.9-alpha.0


## @mastra/discord@1.3.4-alpha.0


## @mastra/react@1.15.0-alpha.13


## @mastra/deployer-cloud@1.83.0-alpha.13


## @mastra/deployer-cloudflare@1.2.42-alpha.3


## @mastra/deployer-netlify@1.2.42-alpha.1


## @mastra/deployer-sandbox@0.3.27-alpha.1


## @mastra/deployer-vercel@1.2.42-alpha.1


## @mastra/longmemeval@1.1.42-alpha.13


## @mastra/opencode@0.1.42-alpha.13


## @mastra/factory@0.28.0-alpha.15


## create-factory@0.4.3-alpha.15


## @mastra/code-sdk@1.19.0-alpha.15


## mastracode@0.50.0-alpha.14


## @mastra/agent-builder@1.2.1-alpha.5


## mastra@1.39.0-alpha.15


## @mastra/connect@1.4.0-alpha.6


## @mastra/deployer@1.83.0-alpha.13


## @mastra/editor@0.17.1-alpha.7


## @mastra/mcp@2.9.0-alpha.5


## @mastra/mcp-docs-server@1.3.13-alpha.17


## @mastra/memory@1.41.1-alpha.5


## @mastra/schema-compat@1.4.0-alpha.2


## @mastra/elysia@0.1.23-alpha.13


## @mastra/express@1.5.27-alpha.13


## @mastra/fastify@1.5.27-alpha.13


## @mastra/hono@1.7.25-alpha.13


## @mastra/koa@1.7.27-alpha.13


## @mastra/nestjs@0.3.0-alpha.13


## @mastra/next@0.2.41-alpha.13


## @mastra/tanstack-start@0.2.41-alpha.13


## @mastra/voice-google-gemini-live@0.14.19-alpha.2


## @mastra/voice-openai-realtime@0.14.9-alpha.3


## @mastra/voice-xai-realtime@0.2.18-alpha.2


## @mastra/inngest@1.11.2-alpha.9


## @mastra/temporal@0.6.0-alpha.13


## create-mastra@1.39.0-alpha.15


## @internal/playground@1.39.0-alpha.15

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-12 12:07:03 -08:00
Daniel Lew
27705673f2
feat(server): OAuth discovery and audience checks for the built-in MCP endpoint (#29930)
## Description

Lets MCP clients such as Claude Code sign in to the built-in `/api/mcp`
endpoint with OAuth instead of a pasted token. The endpoint tells
clients where to sign in (RFC 9728 protected-resource metadata) and can
reject tokens issued for a different API (audience check).

```ts
new Mastra({
  server: {
    auth: new MastraJwtAuth({
      jwksUri: 'https://auth.example.com/.well-known/jwks.json',
      issuer: 'https://auth.example.com/',
    }),
    mcp: { oauth: { resource: 'https://my-app.example.com/api/mcp' } },
  },
});
```

### Behavior changes

**OAuth discovery for `/api/mcp`** (`@mastra/server`, every server
adapter including NestJS)
- When `server.auth` is set and the built-in MCP server is on, a `401`
from `/api/mcp` carries `WWW-Authenticate: Bearer
resource_metadata="…"`. `error="invalid_token"` is added only when a
token was sent (RFC 6750 §3).
- Metadata is served publicly at
`/.well-known/oauth-protected-resource/api/mcp` and
`/.well-known/oauth-protected-resource`, with `Cache-Control: no-store`.
- The document lists `resource`, `authorization_servers`, optional
`scopes_supported`, and `bearer_methods_supported: ['header']`. Without
`oauth.resource`, `resource` is derived from the request origin.
- The challenge, metadata routes and audience check apply only to
`/api/mcp`. Other routes are unaffected.

**Audience check** (`server.mcp.oauth.resource`)
- When set, the token audience must include this exact value, or the
request gets 401.
- An invalid value (non-URL, or a non-loopback `http://` URL) turns
discovery off and logs an error, but the audience check still runs
against it. Requests fail closed until the value is fixed.
- A provider that can't check audience (no `verifyAudience`, for example
`SimpleAuth` API keys) is accepted by default. The server logs a startup
warning on adapters built on `MastraServer`, not on NestJS.
- `requireAudience: true` (opt-in, only valid together with `resource`)
rejects those requests on `/api/mcp` with 401 `invalid_token`. Inside
`CompositeAuth`, only requests accepted by such providers are rejected.
Without `resource`, nothing changes.

**Config and provider hooks** (`@mastra/core`)
- New `server.mcp.oauth` config: `resource`, `requireAudience`,
`authorizationServers`, `scopesSupported`.
- Two new optional auth-provider methods:
  - `getOAuthMetadata()` advertises the provider's authorization server.
  - `verifyAudience()` checks the token audience.
- `CompositeAuth` combines the authorization servers of its providers.
It checks the audience with the provider that accepted the token, and
rejects when that provider can't be determined. The new
`getAuthenticatedProvider(user)` returns that provider.

**Providers**
| Provider | Advertises its authorization server | Checks audience
against `oauth.resource` |
|---|---|---|
| `MastraJwtAuth` | Yes, its `issuer` | Yes |
| Auth0 | Yes, the tenant | Yes |
| Clerk | Yes, the Frontend API | No |
| Okta | Yes, the issuer | No: Okta already enforces its own `audience`
(`OKTA_AUDIENCE`) |
| Supabase | Yes, `<url>/auth/v1` (requires Supabase's OAuth 2.1 server)
| No |

`MastraJwtAuth` gains `jwksUri` and `issuer` options
(`JWT_AUTH_JWKS_URI`, `JWT_AUTH_ISSUER`), so it can verify tokens signed
by an identity provider. JWKS keys are restricted to their key type, so
HMAC tokens forged with the public key are rejected.

**JWT subject as user id** (`@mastra/auth`, Auth0, Clerk)
- When a token has no `id` claim, the user's `id` is now set to `sub`.
Existing `id` claims are kept.
- Standard OIDC access tokens only carry `sub`. Before this change, RBAC
never loaded roles for these users, so every protected route returned
`403 Missing required permission`.
- Unless `mapUserToResourceId` is set, this also scopes data for these
users:
- **Owned records** (stored agents, skills, workspaces and other owned
records): each user sees their own records plus public ones. Admin
permissions keep the full list.
- **Tool-provider connections:** per-author connections move from the
shared `default` owner to the user's `sub`. Existing connections need
reconnecting, or set `mapUserToResourceId: () => 'default'` to keep the
old shared behavior.
  - **Feedback:** recorded with `sub` as the user id.
- The changeset describes all of these effects.

**Test suite** (`@mastra/server-adapters-test-suite`)
- New `createBuiltinMCPOAuthTestSuite`.
- The package now has `@mastra/auth` and `jose` as peer dependencies.

Stacked on #29929.

## Test plan

- `packages/server`: `src/server/mcp/oauth.test.ts` and
`oauth-without-mcp.test.ts`. They cover metadata, the challenge format,
resource validation, failing closed on an invalid `resource`, and
discovery working without `@mastra/mcp` installed.
- `packages/auth` `jwt.test.ts`:
  - JWKS and issuer validation
  - string and array `aud`
- an algorithm-confusion token that is HS256-signed with the real RSA
public key PEM and must be rejected
  - `sub` used as `id`
- `packages/core` `composite-auth.test.ts`: per-provider audience
delegation, rejection when the authenticating provider is unknown, and
`getAuthenticatedProvider`.
- `auth/auth0`, `auth/clerk`, `auth/okta`, `auth/supabase` unit tests.
- `createBuiltinMCPOAuthTestSuite` on Hono, Express, Fastify, Koa and
Elysia, plus the NestJS equivalent. It checks:
  - the challenge, and fetching the advertised metadata URL
  - audience accept and reject, including for an invalid `resource`
  - `requireAudience`:
    - `SimpleAuth` + `resource`: 200 by default, 401 in strict mode
    - a JWT with a matching audience: 200 in strict mode
    - a mixed `CompositeAuth`: only the API key is rejected
  - RBAC with a token that carries only `sub`
- that a `sub`-only user can't list another user's private stored agent
- `tsc --noEmit` and `oxlint` on the touched packages, plus docs `pnpm
check` and Vale.
- Manual run end to end with Claude Code against a local identity
provider: discovery, client registration, PKCE login, and two users with
different roles.

---------

Co-authored-by: mastracode <284800079+mastra-platform[bot]@users.noreply.github.com>
2026-11-12 10:10:31 -08:00
dane-ai-mastra[bot]
6a191d46dc chore: version - exit prerelease mode 2026-10-28 13:15:52 +00:00
dane-ai-mastra[bot]
2c646b53d0
chore: version packages (alpha) (#28399)
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and publish to npm
yourself or [setup this action to publish
automatically](https://github.com/changesets/action#with-publishing). If
you're not ready to do a release yet, that's fine, whenever you add more
changesets to main, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

`main` is currently in **pre mode** so this branch has prereleases
rather than normal releases. If you want to exit prereleases, run
`changeset pre exit` on `main`.

⚠️⚠️⚠️⚠️⚠️⚠️

# Releases

> The changelog information of each package has been omitted from this
message, as the content exceeds the size limit.

## @mastra/factory@0.25.0-alpha.5


## @mastra/langsmith@1.4.0-alpha.2


## @mastra/connect@1.2.0-alpha.2


## @mastra/core@1.80.0-alpha.4


## @mastra/playground-ui@66.0.0-alpha.4


## @mastra/acp@0.4.4-alpha.0


## @mastra/claude@0.3.4-alpha.0


## @mastra/cursor@0.3.4-alpha.0


## @mastra/openai@1.1.4-alpha.0


## @mastra/auth-auth0@1.2.6-alpha.0


## @mastra/auth-better-auth@1.1.9-alpha.0


## @mastra/auth-clerk@1.3.2-alpha.0


## @mastra/auth-cloud@1.2.8-alpha.0


## @mastra/auth-firebase@1.1.5-alpha.0


## @mastra/auth-google@0.1.7-alpha.0


## @mastra/auth-neon@0.3.5-alpha.0


## @mastra/auth-okta@0.2.6-alpha.0


## @mastra/auth-studio@1.3.11-alpha.1


## @mastra/auth-supabase@1.1.6-alpha.0


## @mastra/auth-workos@1.6.8-alpha.0


## @mastra/agent-browser@0.5.5-alpha.0


## @mastra/browser-viewer@0.2.6-alpha.0


## @mastra/browser-firecrawl@0.2.5-alpha.1


## @mastra/stagehand@0.3.7-alpha.1


## @mastra/discord@1.3.2-alpha.0


## @mastra/slack@1.8.0-alpha.1


## @mastra/teams@0.1.3-alpha.0


## @mastra/telegram@0.2.4-alpha.0


## @mastra/client-js@1.57.0-alpha.4


## @mastra/react@1.13.0-alpha.4


## @mastra/isolated-vm@0.1.4-alpha.0


## @mastra/quickjs@0.1.5-alpha.0


## @mastra/deployer-cloud@1.80.0-alpha.4


## @mastra/deployer-cloudflare@1.2.39-alpha.1


## @mastra/deployer-netlify@1.2.39-alpha.1


## @mastra/deployer-sandbox@0.3.24-alpha.1


## @mastra/deployer-vercel@1.2.39-alpha.1


## @mastra/voyageai@0.4.3-alpha.0


## @mastra/longmemeval@1.1.39-alpha.4


## @mastra/livekit@0.5.2-alpha.0


## @mastra/opencode@0.1.39-alpha.4


## @mastra/parallel@0.1.4-alpha.0


## create-factory@0.3.1-alpha.4


## @mastra/code-sdk@1.15.1-alpha.5


## mastracode@0.48.1-alpha.4


## @mastra/arize@1.3.27-alpha.2


## @mastra/arthur@0.4.27-alpha.2


## @mastra/braintrust@1.3.24-alpha.2


## @mastra/datadog@1.4.19-alpha.2


## @mastra/deepeval@0.1.21-alpha.2


## @mastra/laminar@1.3.29-alpha.2


## @mastra/langfuse@1.6.3-alpha.2


## @mastra/observability@1.21.1-alpha.2


## @mastra/otel-bridge@1.5.19-alpha.2


## @mastra/otel-exporter@1.4.10-alpha.2


## @mastra/posthog@1.4.4-alpha.2


## @mastra/sentry@1.2.29-alpha.2


## @mastra/agent-builder@1.1.31-alpha.2


## @mastra/auth@1.1.5-alpha.0


## mastra@1.36.0-alpha.4


## @mastra/codemod@1.1.8-alpha.0


## create-mastra@1.36.0-alpha.4


## @mastra/deployer@1.80.0-alpha.4


## @mastra/editor@0.16.5-alpha.2


## @mastra/evals@1.10.9-alpha.0


## @mastra/fastembed@1.3.5-alpha.2


## @mastra/loggers@1.3.10-alpha.1


## @mastra/mcp@2.6.0-alpha.1


## @mastra/mcp-docs-server@1.3.10-alpha.7


## @mastra/mcp-registry-registry@1.1.7-alpha.0


## @mastra/memory@1.39.1-alpha.2


## @mastra/rag@2.7.1-alpha.0


## @mastra/schema-compat@1.3.17-alpha.0


## @mastra/server@1.80.0-alpha.4


## @mastra/google-cloud-pubsub@1.1.5-alpha.1


## @mastra/redis-streams@0.6.5-alpha.1


## @mastra/valkey-streams@0.5.7-alpha.1


## @mastra/elysia@0.1.20-alpha.4


## @mastra/express@1.5.24-alpha.4


## @mastra/fastify@1.5.24-alpha.4


## @mastra/hono@1.7.22-alpha.4


## @mastra/koa@1.7.24-alpha.4


## @mastra/nestjs@0.2.39-alpha.4


## @mastra/next@0.2.38-alpha.4


## @mastra/server-adapters-test-suite@0.1.4-alpha.2


## @mastra/tanstack-start@0.2.38-alpha.4


## @mastra/astra@1.1.3-alpha.0


## @mastra/azure-ai-search@0.1.2-alpha.1


## @mastra/chroma@1.1.5-alpha.0


## @mastra/clickhouse@1.27.0-alpha.1


## @mastra/cloudflare@1.7.6-alpha.0


## @mastra/cloudflare-d1@1.4.5-alpha.1


## @mastra/convex@1.7.6-alpha.0


## @mastra/couchbase@1.1.4-alpha.1


## @mastra/dsql@1.5.5-alpha.0


## @mastra/duckdb@1.16.0-alpha.1


## @mastra/dynamodb@1.4.5-alpha.1


## @mastra/elasticsearch@1.4.6-alpha.1


## @mastra/lance@1.5.2-alpha.1


## @mastra/libsql@1.27.1-alpha.0


## @mastra/mongodb@1.24.1-alpha.1


## @mastra/mssql@1.10.6-alpha.0


## @mastra/mysql@0.14.1-alpha.0


## @mastra/opensearch@1.1.4-alpha.1


## @mastra/oracledb@0.5.5-alpha.0


## @mastra/pg@1.33.0-alpha.2


## @mastra/pinecone@1.1.3-alpha.0


## @mastra/qdrant@1.1.6-alpha.0


## @mastra/redis@1.4.12-alpha.1


## @mastra/s3vectors@1.1.5-alpha.0


## @mastra/spanner@1.10.1-alpha.1


## @mastra/turbopuffer@1.2.3-alpha.0


## @mastra/turso@0.1.18-alpha.0


## @mastra/upstash@1.5.5-alpha.1


## @mastra/valkey@0.2.8-alpha.1


## @mastra/vectorize@1.1.4-alpha.0


## @mastra/weaviate@0.1.4-alpha.0


## @mastra/voice-aws-nova-sonic@0.2.6-alpha.0


## @mastra/voice-azure@0.12.3-alpha.0


## @mastra/voice-cloudflare@0.13.4-alpha.0


## @mastra/voice-deepgram@0.13.3-alpha.0


## @mastra/voice-elevenlabs@0.13.3-alpha.0


## @mastra/voice-gladia@0.13.3-alpha.0


## @mastra/voice-google@0.14.4-alpha.0


## @mastra/voice-google-gemini-live@0.14.18-alpha.0


## @mastra/voice-inworld@0.4.6-alpha.0


## @mastra/voice-mistral@0.1.3-alpha.0


## @mastra/voice-modelslab@0.2.3-alpha.0


## @mastra/voice-murf@0.13.3-alpha.0


## @mastra/voice-openai@0.13.4-alpha.0


## @mastra/voice-openai-realtime@0.14.8-alpha.0


## @mastra/voice-playai@0.13.3-alpha.0


## @mastra/voice-sarvam@1.1.4-alpha.0


## @mastra/voice-speechify@0.14.3-alpha.0


## @mastra/voice-xai-realtime@0.2.17-alpha.0


## @mastra/inngest@1.10.8-alpha.3


## @mastra/temporal@0.4.18-alpha.4


## @mastra/agentcore@0.5.3-alpha.0


## @mastra/agentfs@0.2.3-alpha.0


## @mastra/apple-container@0.5.2-alpha.0


## @mastra/archil@0.3.2-alpha.0


## @mastra/azure@0.3.3-alpha.1


## @mastra/blaxel@0.10.2-alpha.0


## @mastra/cloudflare-sandbox@0.5.4-alpha.0


## @mastra/daytona@0.11.4-alpha.0


## @mastra/docker@0.12.1-alpha.0


## @mastra/e2b@0.15.1-alpha.1


## @mastra/e2b-desktop@0.1.10-alpha.1


## @mastra/files-sdk@0.3.3-alpha.0


## @mastra/gcs@0.3.5-alpha.1


## @mastra/google-drive@0.2.4-alpha.0


## @mastra/mesa@0.3.3-alpha.0


## @mastra/modal@0.7.3-alpha.0


## @mastra/platform-workspace@1.10.0-alpha.1


## @mastra/railway@0.10.2-alpha.1


## @mastra/s3@0.6.5-alpha.1


## @mastra/sprites@0.1.2-alpha.0


## @mastra/vercel@1.6.2-alpha.0


## @internal/playground@1.36.0-alpha.4

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-10-26 13:49:15 -07:00
Ward Peeters
ce5d4731ee
chore(deps): update dependencies across the monorepo (#28417)
Co-authored-by: mastracode <284800079+mastra-platform[bot]@users.noreply.github.com>
2026-10-26 16:59:30 +01:00
Dane - AI (Mastra)
40a522c142
chore(deps): update build tools (#27997) 2026-10-22 14:33:21 +02:00
dane-ai-mastra[bot]
4c22623ea3 chore: version - exit prerelease mode 2026-10-21 11:26:39 +00:00
Max Katz
9a423dae48
refactor(lint): replace ESLint with type-aware oxlint (#27476) 2026-10-18 10:38:35 -07:00
dane-ai-mastra[bot]
a15924e709 chore: version packages 2026-10-16 04:04:12 +00:00
dane-ai-mastra[bot]
429d7b9f93 chore: version - exit prerelease mode 2026-09-22 10:43:03 +00:00
dane-ai-mastra[bot]
a0f543a216 chore: version packages 2026-09-17 04:05:56 +00:00
mastra-platform[bot]
0aa22af31c
Restrict Clerk Studio login to a single organization (#24188)
Co-authored-by: Abhi Aiyer <abhiaiyer91@gmail.com>
2026-09-16 11:45:35 -07:00
dane-ai-mastra[bot]
adf6cc46fb chore: version packages 2026-09-16 04:05:24 +00:00
shreyas-mastra
164e197aa5
fix: bump vulnerable dependencies to patched releases (#24027)
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-09-15 13:58:48 -07:00
dane-ai-mastra[bot]
c19a93b095 chore: version - exit prerelease mode 2026-09-03 04:02:53 +00:00
dane-ai-mastra[bot]
e6de774069 chore: version packages 2026-09-02 16:20:22 +00:00
Lennart
e983f74987
chore(*): Update/unify/add READMEs (#22858)
Co-authored-by: Mastra Code (openai/gpt-5.6-sol) <noreply@mastra.ai>
2026-09-02 14:36:59 +02:00
dane-ai-mastra[bot]
fc968c8a9b chore: version packages 2026-09-01 16:28:50 +00:00
Lennart
28ce924276
chore(*): Remove CHANGELOG.md from npm files (#22737) 2026-09-01 10:47:20 +02:00
dane-ai-mastra[bot]
c23d44525c chore: version - exit prerelease mode 2026-08-19 03:57:12 +00:00
dane-ai-mastra[bot]
c0ea826233 chore: version packages 2026-08-14 16:17:57 +00:00
Lawrence
8a4a4af313
fix(auth): harden getRequestHeader for Express requests (#21261)
Co-authored-by: Lawrence Millard <l@millard.ink>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 08:29:23 -07:00
Ward Peeters
d271d37f30
chore: migrate package builds to tsdown (#19829)
Co-authored-by: Mastra Code (openai/gpt-5.5) <noreply@mastra.ai>
2026-07-28 12:32:21 +02:00
Ward Peeters
bdeaef58f0
chore: migrate linting to oxlint (#20173)
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Mastra Code (openai/gpt-5.6-sol) <noreply@mastra.ai>
2026-07-25 01:04:02 +02:00
Ward Peeters
3a507cbd42
chore: migrate repository formatting to oxfmt (#19807)
Co-authored-by: Mastra Code (openai/gpt-5.5) <noreply@mastra.ai>
2026-07-24 16:18:33 +02:00
Dane - AI (Mastra)
a4620cae04
chore(deps): update formatting & linting (#19388)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: wardpeet <ward@coding-tech.com>
2026-07-20 16:13:28 +02:00
Dane - AI (Mastra)
0532405a28
chore(deps): update build tools (#18043) 2026-07-14 23:01:34 +02:00
dane-ai-mastra[bot]
63bac7dc4e chore: version - exit prerelease mode 2026-07-02 22:24:19 +00:00
dane-ai-mastra[bot]
98e10e6d40
chore: version packages (alpha) (#18714)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-02 11:17:26 -04:00
dane-ai-mastra[bot]
57566498b5 chore: version - exit prerelease mode 2026-06-26 19:51:28 +00:00
dane-ai-mastra[bot]
52c463a246
chore: version packages (alpha) (#18427)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-06-25 16:04:31 +02:00
Ward Peeters
5c0df776c4
refactor(auth): extract shared auth internals (#17142)
Moves shared auth interfaces, providers, sessions, and EE auth helpers
into @internal/auth so auth provider packages no longer depend on
@mastra/core. The existing @mastra/core auth imports still work through
re-export stubs.

Before:

```ts
import { MastraAuthProvider } from '@mastra/core/server';
```

After, internal auth providers use:

```ts
import { MastraAuthProvider } from '@internal/auth/provider';
```

Verified with focused auth builds, lint, typecheck, and tests.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## ELI5
This PR moves the shared “auth code” (providers, sessions, and
enterprise features) out of `@mastra/core` into a new `@internal/auth`
package so all auth providers can reuse the same implementation.
`@mastra/core` keeps re-export stubs for compatibility, and new
lint/build rules help ensure providers stop importing from
`@mastra/core` directly.

## What changed
- Extracted shared auth internals into `@internal/auth`:
- Auth provider base classes and shared options (`MastraAuthProvider`,
`CompositeAuth`, `SimpleAuth`)
- Session types/providers (`Session`, `MemorySessionProvider`,
`CookieSessionProvider`)
  - SSO/credentials/user auth types
  - Enterprise Edition auth helpers:
    - License validation + caching
    - Telemetry bridge + EE capability detection
- RBAC/ACL/FGA interfaces and utilities (including `StaticRBACProvider`,
`FGADeniedError`, and `buildCapabilities`)
- Updated auth provider packages to import shared interfaces/helpers
from `@internal/auth` instead of `@mastra/core`.
- Added `no-restricted-imports` ESLint rules across auth packages to
prevent importing `@mastra/core` (including subpaths), with guidance to
use `@internal/auth`.
- Updated manifests and build configs so auth packages depend on
`@internal/auth` and generate types from the new entrypoints (narrowing
`generateTypes` scope to `@internal/auth`).
- Added new internal package entrypoints:
  - `@internal/auth`
  - `@internal/auth/provider`
  - `@internal/auth/session`
  - `@internal/auth/ee`
  - `@internal/auth/ee/capabilities`
- Kept backward compatibility by converting many `@mastra/core` auth
exports into re-export stubs that delegate to `@internal/auth`.

## Notable internal auth additions
- New provider system:
  - `MastraAuthProvider`
  - `CompositeAuth`
  - `SimpleAuth`
- New session providers:
  - `MemorySessionProvider`
  - `CookieSessionProvider`
- New EE helpers:
  - License validation client and helpers
  - Telemetry bridge
  - RBAC/ACL/FGA interfaces and utilities
  - Default roles + permission matching
  - `buildCapabilities` and `FGADeniedError`

## Follow-up: narrower EE symbol exposure
- Updated core re-export entrypoints to reduce unintended EE symbol
leakage from broad `@internal/auth/ee` re-exports (using the dedicated
`@internal/auth/ee/capabilities` entrypoint and more targeted
FGA-related re-exports).
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Mastra Code (openai/gpt-5.5) <noreply@mastra.ai>
2026-06-25 11:30:05 +02:00
dane-ai-mastra[bot]
7a8a8243bb chore: version - exit prerelease mode 2026-06-19 05:35:11 +00:00
dane-ai-mastra[bot]
faae1eb9e0
chore: version packages (alpha) (#18159)
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and publish to npm
yourself or [setup this action to publish
automatically](https://github.com/changesets/action#with-publishing). If
you're not ready to do a release yet, that's fine, whenever you add more
changesets to main, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

`main` is currently in **pre mode** so this branch has prereleases
rather than normal releases. If you want to exit prereleases, run
`changeset pre exit` on `main`.

⚠️⚠️⚠️⚠️⚠️⚠️

# Releases

> The changelog information of each package has been omitted from this
message, as the content exceeds the size limit.

## @mastra/acp@0.3.0-alpha.0


## @mastra/claude@0.3.0-alpha.0


## @mastra/cursor@0.3.0-alpha.0


## @mastra/openai@1.1.0-alpha.0


## @mastra/auth-auth0@1.2.0-alpha.0


## @mastra/auth-better-auth@1.1.0-alpha.0


## @mastra/auth-clerk@1.2.0-alpha.0


## @mastra/auth-cloud@1.2.0-alpha.0


## @mastra/auth-firebase@1.1.0-alpha.0


## @mastra/auth-neon@0.3.0-alpha.0


## @mastra/auth-okta@0.1.0-alpha.0


## @mastra/auth-studio@1.3.0-alpha.0


## @mastra/auth-supabase@1.1.0-alpha.0


## @mastra/auth-workos@1.6.0-alpha.0


## @mastra/agent-browser@0.4.0-alpha.0


## @mastra/browser-viewer@0.2.0-alpha.0


## @mastra/browser-firecrawl@0.2.0-alpha.0


## @mastra/stagehand@0.3.0-alpha.0


## @mastra/slack@1.4.0-alpha.0


## @mastra/ai-sdk@1.5.0-alpha.0


## @mastra/client-js@1.26.0-alpha.0


## @mastra/react@1.1.0-alpha.0


## @mastra/deployer-cloud@1.45.0-alpha.0


## @mastra/deployer-cloudflare@1.2.0-alpha.0


## @mastra/deployer-netlify@1.2.0-alpha.0


## @mastra/deployer-vercel@1.2.0-alpha.0


## @mastra/voyageai@0.2.0-alpha.0


## @mastra/longmemeval@1.1.0-alpha.0


## @mastra/brightdata@0.3.0-alpha.0


## @mastra/opencode@0.1.0-alpha.0


## @mastra/perplexity@0.2.0-alpha.0


## @mastra/tavily@1.1.0-alpha.0


## mastracode@0.24.0-alpha.0


## @mastra/arize@1.3.0-alpha.0


## @mastra/arthur@0.4.0-alpha.0


## @mastra/braintrust@1.2.0-alpha.0


## @mastra/datadog@1.3.0-alpha.0


## @mastra/laminar@1.3.0-alpha.0


## @mastra/langfuse@1.4.0-alpha.0


## @mastra/langsmith@1.3.0-alpha.0


## @mastra/observability@1.15.0-alpha.0


## @mastra/otel-bridge@1.3.0-alpha.0


## @mastra/otel-exporter@1.3.0-alpha.0


## @mastra/posthog@1.1.0-alpha.0


## @mastra/sentry@1.2.0-alpha.0


## @mastra/agent-builder@1.1.0-alpha.0


## @mastra/auth@1.1.0-alpha.0


## mastra@1.15.0-alpha.0


## @mastra/codemod@1.1.0-alpha.0


## @mastra/core@1.45.0-alpha.0


## create-mastra@1.15.0-alpha.0


## @mastra/deployer@1.45.0-alpha.0


## @mastra/editor@0.13.0-alpha.0


## @mastra/evals@1.4.0-alpha.0


## @mastra/fastembed@1.2.0-alpha.0


## @mastra/loggers@1.2.0-alpha.0


## @mastra/mcp@1.11.0-alpha.0


## @mastra/mcp-docs-server@1.2.0-alpha.0


## @mastra/mcp-registry-registry@1.1.0-alpha.0


## @mastra/memory@1.21.0-alpha.0


## @mastra/playground-ui@35.0.0-alpha.0


## @mastra/rag@2.3.0-alpha.0


## @mastra/schema-compat@1.3.0-alpha.0


## @mastra/server@1.45.0-alpha.0


## @mastra/google-cloud-pubsub@1.1.0-alpha.0


## @mastra/redis-streams@0.1.0-alpha.0


## @mastra/express@1.4.0-alpha.0


## @mastra/fastify@1.4.0-alpha.0


## @mastra/hono@1.5.0-alpha.0


## @mastra/koa@1.6.0-alpha.0


## @mastra/nestjs@0.2.0-alpha.0


## @mastra/github-signals@0.2.0-alpha.0


## @mastra/astra@1.1.0-alpha.0


## @mastra/chroma@1.1.0-alpha.0


## @mastra/clickhouse@1.11.0-alpha.0


## @mastra/cloudflare@1.5.0-alpha.0


## @mastra/cloudflare-d1@1.1.0-alpha.0


## @mastra/convex@1.3.0-alpha.0


## @mastra/couchbase@1.1.0-alpha.0


## @mastra/dsql@1.1.0-alpha.0


## @mastra/duckdb@1.5.0-alpha.0


## @mastra/dynamodb@1.1.0-alpha.0


## @mastra/elasticsearch@1.3.0-alpha.0


## @mastra/lance@1.1.0-alpha.0


## @mastra/libsql@1.14.0-alpha.0


## @mastra/mongodb@1.10.0-alpha.0


## @mastra/mssql@1.4.0-alpha.0


## @mastra/mysql@0.2.0-alpha.0


## @mastra/opensearch@1.1.0-alpha.0


## @mastra/pg@1.14.0-alpha.0


## @mastra/pinecone@1.1.0-alpha.0


## @mastra/qdrant@1.1.0-alpha.0


## @mastra/redis@1.2.0-alpha.0


## @mastra/s3vectors@1.1.0-alpha.0


## @mastra/spanner@1.2.0-alpha.0


## @mastra/turbopuffer@1.1.0-alpha.0


## @mastra/upstash@1.2.0-alpha.0


## @mastra/vectorize@1.1.0-alpha.0


## @mastra/voice-aws-nova-sonic@0.2.0-alpha.0


## @mastra/voice-azure@0.12.0-alpha.0


## @mastra/voice-cloudflare@0.13.0-alpha.0


## @mastra/voice-deepgram@0.13.0-alpha.0


## @mastra/voice-elevenlabs@0.13.0-alpha.0


## @mastra/voice-gladia@0.13.0-alpha.0


## @mastra/voice-google@0.13.0-alpha.0


## @mastra/voice-google-gemini-live@0.13.0-alpha.0


## @mastra/voice-inworld@0.4.0-alpha.0


## @mastra/voice-modelslab@0.2.0-alpha.0


## @mastra/voice-murf@0.13.0-alpha.0


## @mastra/voice-openai@0.13.0-alpha.0


## @mastra/voice-openai-realtime@0.13.0-alpha.0


## @mastra/voice-playai@0.13.0-alpha.0


## @mastra/voice-sarvam@1.1.0-alpha.0


## @mastra/voice-speechify@0.13.0-alpha.0


## @mastra/voice-xai-realtime@0.2.0-alpha.0


## @mastra/inngest@1.6.0-alpha.0


## @mastra/temporal@0.2.0-alpha.0


## @mastra/agentcore@0.3.0-alpha.0


## @mastra/agentfs@0.2.0-alpha.0


## @mastra/azure@0.3.0-alpha.0


## @mastra/blaxel@0.5.0-alpha.0


## @mastra/daytona@0.5.0-alpha.0


## @mastra/docker@0.4.0-alpha.0


## @mastra/e2b@0.4.0-alpha.0


## @mastra/files-sdk@0.3.0-alpha.0


## @mastra/gcs@0.3.0-alpha.0


## @mastra/google-drive@0.2.0-alpha.0


## @mastra/modal@0.3.0-alpha.0


## @mastra/railway@0.2.0-alpha.0


## @mastra/s3@0.6.0-alpha.0


## @mastra/vercel@1.1.0-alpha.0


## @observability/test-utils@0.1.0-alpha.0


## @internal/core@0.1.0-alpha.0


## @internal/playground@1.15.0-alpha.0

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-06-18 21:19:03 -07:00
dane-ai-mastra[bot]
17f01b5d9d chore: version - exit prerelease mode 2026-06-18 14:09:51 +00:00
dane-ai-mastra[bot]
ad3243ab43
chore: version packages (alpha) (#18057)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Abhi Aiyer <abhiaiyer91@gmail.com>
2026-06-17 17:40:24 +02:00
dane-ai-mastra[bot]
90585396ea chore: version - exit prerelease mode 2026-06-17 04:24:24 +00:00
Ryan Hansen
d8df1f8e94
feat(auth-clerk): Add IUserProvider + ISSOProvider + ISessionProvider for Studio login (#16659)
## Summary

Enables Clerk users to log into Mastra Studio via OAuth SSO. Previously,
the Clerk auth provider only supported API token verification — Studio
login was not possible because the provider lacked the required
`ISSOProvider` and `ISessionProvider` interfaces.

## What Changed

### `auth/clerk/src/index.ts`

- **IUserProvider**: `getCurrentUser` (extracts JWT from Authorization
header or `__session` cookie, verifies via JWKS), `getUser` (calls Clerk
API `clerk.users.getUser`), `getUserProfileUrl`
- **ISSOProvider**: OAuth 2.0 Authorization Code flow via Clerk OAuth
endpoints (`/oauth/authorize`, `/oauth/token`). Includes `getLoginUrl`,
`handleCallback`, `getLoginButtonConfig`. Requires a separate Clerk
OAuth Application (Client ID + Client Secret) created in the Clerk
Dashboard.
- **ISessionProvider**: Encrypted cookie sessions using PBKDF2 key
derivation + AES-GCM encryption. Includes `createSession`,
`validateSession`, `destroySession`, `refreshSession`,
`getSessionIdFromRequest`, `getSessionHeaders`, `getClearSessionHeaders`
- **authenticateToken**: Updated to check session cookie first when SSO
is enabled, then falls back to JWT verification
- **authorizeUser**: Accepts both `user.sub` (JWT) and `user.id`
(session cookie) fields
- SSO methods are only attached when `oauthClientId` +
`oauthClientSecret` are configured, keeping the provider duck-typing
safe for `buildCapabilities()` detection

### `auth/clerk/src/index.test.ts`

- 48 tests covering all interfaces (up from 13 original tests)
- Tests for: `authenticateToken`, `authorizeUser`, `getCurrentUser`,
`getUser`, `getLoginUrl`, `handleCallback`, `getLoginButtonConfig`,
session encryption/decryption, cookie management, state validation

## Configuration

```typescript
import { MastraAuthClerk } from "@mastra/auth-clerk";

const auth = new MastraAuthClerk({
  publishableKey: process.env.CLERK_PUBLISHABLE_KEY!,
  // Required for Studio SSO login (create OAuth app in Clerk Dashboard)
  oauthClientId: process.env.CLERK_OAUTH_CLIENT_ID,
  oauthClientSecret: process.env.CLERK_OAUTH_CLIENT_SECRET,
  cookiePassword: process.env.CLERK_COOKIE_PASSWORD, // min 32 chars
});
```

## Test Plan

1. **Unit tests**: 48 tests passing (`pnpm test` in `auth/clerk`)
2. **Type check**: Zero errors (`tsc --noEmit`)
3. **End-to-end**: Verified Clerk OAuth login flow against live Clerk
tenant
- `/api/auth/capabilities` returns `login.type=sso` with Clerk provider
   - OAuth redirect → Clerk login → callback → session cookie set
   - `/api/auth/me` returns authenticated user
- `/api/agents` and other protected routes return 200 with session
cookie
   - Logout clears session cookie


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## ELI5
This PR lets Mastra Studio users sign in with Clerk via OAuth and keeps
them logged in using secure, encrypted cookies, while still supporting
Clerk-issued JWTs for API requests.

---

## Overview
Converts MastraAuthClerk from JWT-only verification into a full
Clerk-backed provider implementing IUserProvider and, when OAuth
credentials are provided, exposing ISSOProvider and ISessionProvider for
Studio SSO. Adds encrypted cookie sessions (PBKDF2 → AES‑GCM), stateless
HMAC-signed short-lived OAuth state tokens, OAuth Authorization Code
handling (authorize → token → userinfo/id_token), and updates auth logic
to prefer session cookies when SSO is enabled.

## Key changes

- auth/clerk/src/index.ts
  - Implements IUserProvider:
- getCurrentUser(request): prefers encrypted session cookie if SSO
enabled; otherwise extracts token from Authorization header or Clerk
__session cookie, verifies via JWKS, and optionally enriches via Clerk
Users API with a JWT-claims fallback.
- getUser(userId): fetches user via Clerk API (returns null on error).
    - getUserProfileUrl(user): returns profile path.
    - isSSOEnabled(), getFapiUrl().
- Adds ISSOProvider (attached only when oauthClientId &
oauthClientSecret configured):
- Full OAuth2 Authorization Code flow against Clerk (/oauth/authorize,
/oauth/token).
- getLoginUrl: async-capable; builds authorize URL and encodes stateless
signed+expiring state (HMAC).
- handleCallback: verifies state, exchanges code for tokens (10s fetch
timeout), derives user from id_token (via JWKS) or /oauth/userinfo,
optionally enriches via Clerk API, returns encrypted session cookie +
tokens.
    - getLoginButtonConfig: login button metadata.
  - Adds ISessionProvider (cookie-backed, attached when SSO enabled):
- Session encryption/decryption using PBKDF2-derived AES‑GCM key; cookie
encoded as base64(salt || iv || ciphertext).
- createSession returns encrypted cookie headers;
validateSession/refreshSession are effectively no-ops for this
lightweight model; destroySession clears cookie.
- getSessionIdFromRequest / getSessionHeaders / getClearSessionHeaders
for cookie handling.
- Enforces minimum 32-character cookie password; warns on auto-generated
password (ephemeral across restarts).
  - Authentication behavior:
- authenticateToken(token, request?): when SSO enabled and request
provided, tries session cookie first, then falls back to JWKS
verification.
- authorizeUser accepts both JWT-style (payload.sub) and
session-cookie-style (id) users.
  - Utilities:
    - deriveFapiUrl(publishableKey) for Clerk FAPI URL.
- Timing-safe HMAC-SHA256 state signing/verifying replaces earlier
approach.

- Tests
- auth/clerk/src/index.test.ts expanded from ~13 to 48 tests covering
initialization, authenticateToken, authorizeUser (incl. custom/org-based
logic), getCurrentUser/getUser, SSO flows (getLoginUrl + state,
handleCallback token exchange and userinfo fallback), session
encryption/decryption, cookie management, state expiry/validation, and
logout cookie clearing.

- Packaging / examples
- .changeset adds a minor release note documenting Studio SSO, JWT
validation, and encrypted sessions.
- examples/agent: adds `@mastra/auth-clerk` dependency, adds initClerk()
example that logs SSO vs JWT-only mode, and registers 'clerk' provider
in examples.

- Core interface updates
- packages/core/src/auth/interfaces/sso.ts: getLoginUrl widened to
return string | Promise<string>.
- CompositeAuth and server SSO handler updated to await/handle async
getLoginUrl results.

## Configuration
Dual modes supported:
- JWT-only (API): configure jwksUri + keys.
- Studio SSO: additionally provide oauthClientId, oauthClientSecret, and
session.cookiePassword (min 32 chars) or allow auto-generation (with
warning that sessions won’t survive restarts).

Example SSO config: publishableKey, jwksUri, secretKey, oauthClientId,
oauthClientSecret, session.cookiePassword.

## Verification
- 48 unit tests added (author reports all passing).
- TypeScript type-check: zero errors.
- E2E: author verified Clerk OAuth flow against a live Clerk tenant —
OAuth redirect → Clerk login → callback sets encrypted session cookie,
/api/auth/me and protected routes succeed with session cookie, logout
clears session cookie, and /api/auth/capabilities reports login.type=sso
when configured.

## Notes & highlights
- ISSOProvider/ISessionProvider are only attached when oauthClientId and
oauthClientSecret are configured (preserves duck-typing for
buildCapabilities()).
- State tokens are stateless, HMAC-signed, short-lived, and verified
timing-safely (suitable for serverless/load-balanced deployments).
- Token exchange uses fetch with a 10s timeout.
- Session cookie encryption uses PBKDF2 (100k iterations) + AES‑GCM with
salt+iv; cookie stores base64(salt||iv||ciphertext).
- validateSession / refreshSession intentionally no-op for this
cookie-backed session model.
- Recommended deployment: run separate MastraAuthClerk instances for API
(JWT-only) and Studio (SSO-enabled) when appropriate.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Mastra Code (anthropic/claude-opus-4-6) <noreply@mastra.ai>
2026-06-15 08:43:19 -07:00
Dane - AI (Mastra)
a27d561d37
chore(deps): update build tools (#17657) 2026-06-15 13:37:09 +02:00
Dane - AI (Mastra)
dd499f6112
chore(deps): update formatting & linting (#17151) 2026-06-05 08:36:15 -07:00
Ward Peeters
2583652e0d
Turbo changes (#17557)
## Description

<!-- Required: Provide a brief description of the changes in this PR.
-->

## Related issue(s)

<!-- Required: Link to the issue(s) this PR addresses, e.g. with: Fixes
#123. PRs without linked issues may be closed. -->

## Type of change

- [ ] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Code refactoring
- [ ] Performance improvement
- [ ] Test update

## Checklist

- [ ] I have linked the related issue(s) in the description above
- [ ] I have made corresponding changes to the documentation (if
applicable)
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have addressed all Coderabbit comments on this PR


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## ELI5

This PR upgrades the Turbo monorepo build tool from version 2.9.6 to
2.9.12 and updates all configuration files across the entire codebase to
use the newer schema version that corresponds to this updated tool
version. Think of it like updating a recipe book to the latest version
and making sure all your cookbook references point to the new edition.

## Changes Summary

### Turbo Version Upgrade
- Updated root `package.json` `devDependencies`: `turbo` upgraded from
`^2.9.6` to `^2.9.12`

### Turbo Configuration Schema Updates
Updated the `$schema` field in 73 `turbo.json` configuration files
throughout the repository from the legacy
`https://turbo.build/schema.json` to the newer
`https://v2-9-16.turborepo.dev/schema.json`:

**Auth modules** (9 files): auth0, better-auth, clerk, cloud, firebase,
okta, studio, supabase, workos

**Client SDKs** (3 files): ai-sdk, client-js, react

**Deployers** (2 files): cloud, vercel

**Integrations** (3 files): brightdata, opencode, perplexity, tavily

**Observability** (11 files): arize, braintrust, datadog, laminar,
langfuse, langsmith, mastra, otel-bridge, otel-exporter, posthog, sentry

**Package modules** (19 files): _external-types, _internal-core,
agent-builder, auth, cli, codemod, core, create-mastra, deployer, evals,
fastembed, loggers, mcp, mcp-docs-server, mcp-registry-registry, memory,
playground, rag, schema-compat, server

**Data stores** (21 files): astra, chroma, clickhouse, cloudflare,
cloudflare-d1, convex, couchbase, duckdb, dynamodb, elasticsearch,
lance, libsql, mongodb, mssql, mysql, opensearch, pg, pinecone, qdrant,
redis, s3vectors, spanner, turbopuffer, upstash, vectorize

**Root configuration**: turbo.json

All other configuration content (extends, tasks, inputs/outputs) remains
unchanged across all files.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-06-04 09:37:26 +02:00
Ward Peeters
ec05c5dff8
Fix declaration runtime import validation (#16752)
## Summary
- Make `generateTypes` always validate generated declaration imports
against runtime dependencies, removing the opt-in
`validateRuntimeImports` option from all package tsup configs.
- Fix bundled declaration handling so API Extractor sees `.d.ts`
references instead of copied `.js` export targets.
- Align `@internal/external-types` bundled packages and metadata so its
generated rollup passes API Extractor.

## Test plan
- `node --check packages/_types-builder/src/index.js && node --check
packages/_types-builder/src/replace-types.js`
- `pnpm --filter @internal/external-types build:lib`
- `pnpm --filter @internal/external-types build`
- `pnpm --filter @internal/external-types lint`
- `pnpm --filter @mastra/fastembed build`
- `git diff --check`

## Notes
- `pnpm --filter @internal/external-types test` was not run because the
package has no matching test files.
- CodeRabbit CLI was available, but `coderabbit review --type
uncommitted --plain --no-color` timed out after 180s before returning
findings.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## ELI5

This PR makes TypeScript type validation **always happen** when building
packages, instead of being something teams could skip. It's like having
a mandatory safety check that ensures all the type information a package
exports only references dependencies it actually has—preventing broken
imports and confusing errors for users of the package.

## Summary

The PR enforces mandatory validation of generated TypeScript
declarations (`.d.ts` files) against runtime dependencies by removing
the optional `validateRuntimeImports` flag. All packages now always
validate their generated types.

## Key Changes

### Declaration Validation System
- **`packages/_types-builder/src/index.js`** (+116 lines) – Implements
`validateDeclarationRuntimeImports()` that scans generated `.d.ts` files
and rejects any import/export statements referencing packages not in the
package's `dependencies`, `peerDependencies`, `optionalDependencies`, or
bundled packages. Adds regex-based import specifier parsing, Node
built-in module detection, and error consolidation. Validates that all
type declarations only reference declared dependencies.

- **`packages/_types-builder/src/replace-types.js`** (+207 lines) –
Replaced streaming substring search with ts-morph-based declaration
rewriting. Now parses declarations to collect module specifiers from
import/export statements and `import("...")` type expressions, resolves
bundled package declarations using `resolve.exports` with `@types/*`
fallback, and copies resolved declarations into `dist/_types/<pkg>` with
rewritten module specifiers instead of appending `.js` extensions.

### Build Configuration Updates
- **122 `tsup.config.ts` files** across all package types (auth,
deployers, integrations, observability, stores, voice, workflows,
workspaces, client-sdks) – Updated `onSuccess` hooks to call
`generateTypes(process.cwd(), new Set())` or
`generateTypes(process.cwd(), new Set([packages]))` with explicit
dependency/bundled package sets instead of relying on defaults. This
removes the implicit `validateRuntimeImports` opt-in pattern.

### Bundled Package Declaration Handling
- **`packages/_external-types/api-extractor.json`** – Expanded
`bundledPackages` array to include `@ai-sdk/provider-utils`,
`@ai-sdk/ui-utils`, `@standard-schema/spec`, `eventsource-parser`,
`json-schema`, and `@opentelemetry/api` alongside `ai`.

- **`packages/_external-types/tsup.config.ts`** – Explicitly lists
bundled packages in `generateTypes()` call for proper type generation
and validation.

- **`packages/_external-types/src/index.ts`** – Added `@public` JSDoc
tag to `ProviderDefinedTool`.

### Dependency Adjustments
- **Auth packages** – Added `@mastra/core` peer dependency (`>=1.0.0-0
<2.0.0-0` or `>=1.32.0-0 <2.0.0-0`); some added `hono` peer dependency
(`^4.0.0`).
- **`packages/deployer/package.json`** – Moved `@hono/node-server` and
`@mastra/hono` from `devDependencies` to `dependencies`.
- **`packages/fastembed/tsup.config.ts`** – Updated to include
`@internal/ai-sdk-v4`, `@internal/ai-sdk-v5`, `@internal/ai-v6` in type
generation.
- **`packages/core/tsup.config.ts`** – Expanded dependency allowlist to
include `@ai-sdk/*`, `eventsource-parser`, and internal packages.
- **`packages/mcp/tsup.config.ts`** – Updated to generate types for
`hono` and `hono-mcp-server-sse-transport`.
- **`packages/schema-compat/package.json`** – Moved
`@standard-schema/spec`, `ajv`, `@types/json-schema` from
`devDependencies` to `dependencies`.
- **`packages/server/package.json`** – Moved `@mastra/schema-compat`
from `devDependencies` to `dependencies`.
- **`packages/_external-types/package.json`** – Added dev dependencies
for `@ai-sdk/ui-utils`, `@opentelemetry/api`, `@standard-schema/spec`,
`eventsource-parser`, `json-schema`.
- **Store packages** – Several added `zod` peer dependency (`^3.25.0 ||
^4.0.0`).
- **Server adapter packages** – `nestjs` added `zod` peer dependency;
`hono` added `hono` peer dependency; `server-adapters/hono/package.json`
added explicit `hono: ^4.12.8` peer dependency.
- **`deployers/netlify/package.json`** – Added `rollup` dependency
(`^4.0.0`).
- **`voice/cloudflare/package.json`** – Moved
`@cloudflare/workers-types` from `devDependencies` to `dependencies`.
- **`client-sdks/react/package.json`** – Added `@ai-sdk/react` and
`@assistant-ui/react` peer dependencies.
- **`stores/cloudflare-d1/package.json`** – Added
`@cloudflare/workers-types` peer dependency.
- **`observability/mastra/package.json`** – Added `zod` peer dependency.

### Path Resolution Updates
- **`client-sdks/react/src/agent/hooks.ts`** – Changed from `@/lib/...`
aliases to relative `../lib/...` imports.
- **`client-sdks/react/src/mastra-react-provider.tsx`** – Changed from
`@/` alias to relative path for `mastra-client-context` imports.

### Type Validation in MCP
- **`packages/mcp/src/server/server.ts`** – Made
`tool.parameters.validate()` and `tool.outputSchema.validate()` calls
awaited to handle async validators.

### JSON Schema Adapter
-
**`packages/schema-compat/src/standard-schema/adapters/json-schema.ts`**
– Updated Ajv import from `ajv/dist/2020` to `ajv/dist/2020.js`.

<!-- review_stack_entry_start -->

[![Review Change
Stack](https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg)](https://app.coderabbit.ai/change-stack/mastra-ai/mastra/pull/16752?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack)

<!-- review_stack_entry_end -->
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Mastra Code (openai/gpt-5.5) <noreply@mastra.ai>
2026-05-22 00:13:09 +02:00
Dane - AI (Mastra)
30bd1ac2db
chore(deps): update formatting & linting (major) (#15544) 2026-04-21 08:30:22 +02:00
dane-ai-mastra[bot]
2303732f58 chore: version - exit prerelease mode 2026-03-18 03:05:52 +00:00
dane-ai-mastra[bot]
6611d73d42
chore: version packages (alpha) (#14343)
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and publish to npm
yourself or [setup this action to publish
automatically](https://github.com/changesets/action#with-publishing). If
you're not ready to do a release yet, that's fine, whenever you add more
changesets to main, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

`main` is currently in **pre mode** so this branch has prereleases
rather than normal releases. If you want to exit prereleases, run
`changeset pre exit` on `main`.

⚠️⚠️⚠️⚠️⚠️⚠️

# Releases
## @mastra/auth-studio@1.2.0-alpha.0

### Minor Changes

- Add configurable cookie domain support
([#14285](https://github.com/mastra-ai/mastra/pull/14285))
- Add `cookieDomain` option to `MastraAuthStudioOptions` for explicit
configuration
    -   Support `MASTRA_COOKIE_DOMAIN` environment variable as fallback
- Use hostname-based detection for auto-detecting `.mastra.ai` domain
(prevents false positives from malicious URLs)
- Maintain backward compatibility with existing `.mastra.ai`
auto-detection

### Patch Changes

- Updated dependencies
\[[`4444280`](4444280942),
[`dbb879a`](dbb879af0b),
[`8de3555`](8de355572c)]:
    -   @mastra/core@1.14.0-alpha.2

## @mastra/client-js@1.9.0-alpha.2

### Minor Changes

- Added new observability API endpoints and client methods for logs,
scores, feedback, metrics (aggregate, breakdown, time series,
percentiles), and discovery (metric names, label keys/values, entity
types/names, service names, environments, tags)
([#14270](https://github.com/mastra-ai/mastra/pull/14270))

### Patch Changes

- Updated dependencies
\[[`4444280`](4444280942),
[`dbb879a`](dbb879af0b),
[`8de3555`](8de355572c)]:
    -   @mastra/core@1.14.0-alpha.2

## mastracode@0.9.0-alpha.2

### Minor Changes

- Improved MCP server management with interactive `/mcp` selector UI.
([#14377](https://github.com/mastra-ai/mastra/pull/14377))

- **Fixed stderr flooding** — MCP child process debug output no longer
corrupts the terminal. Server stderr is piped and buffered instead of
inherited.
- **Fixed console.info race condition** — MCP status messages now
display properly in the chat area instead of racing with TUI rendering.
- **Better error detection** — Failed MCP servers now correctly show as
failed instead of showing as connected with 0 tools.
- **Interactive `/mcp` command** — Replaces text-only output with a
navigable overlay (↑↓ to select, Enter for actions, Esc to close).
Sub-menus offer View tools, View error, View logs, and Reconnect per
server.
- **Per-server reconnect** — Reconnect individual servers from the
`/mcp` selector without restarting all connections.
- **Live status polling** — The `/mcp` selector auto-refreshes while
servers are still connecting.
- **Connecting state** — Servers show as 'connecting...' during initial
startup, visible via `/mcp`.

    **Example**

    ```text
    /mcp
    ```

### Patch Changes

- Updated dependencies
\[[`4444280`](4444280942),
[`dbb879a`](dbb879af0b),
[`dbb879a`](dbb879af0b),
[`b92d0c9`](b92d0c92ec),
[`8de3555`](8de355572c),
[`133ef20`](133ef20c39),
[`4444280`](4444280942)]:
    -   @mastra/core@1.14.0-alpha.2
    -   @mastra/pg@1.8.1-alpha.0
    -   @mastra/libsql@1.7.1-alpha.0
    -   @mastra/memory@1.8.3-alpha.1
    -   @mastra/mcp@1.3.0-alpha.1

## @mastra/mcp@1.3.0-alpha.1

### Minor Changes

- Added new MCP client APIs for per-server control and diagnostics.
([#14377](https://github.com/mastra-ai/mastra/pull/14377))

- Added `reconnectServer(serverName)` to reconnect a single MCP server
without restarting all servers.
- Added `listToolsetsWithErrors()` to return both toolsets and
per-server errors.
- Added `getServerStderr(serverName)` to inspect piped stderr for stdio
servers.

    **Example**

    ```ts
const { toolsets, errors } = await mcpClient.listToolsetsWithErrors();
    await mcpClient.reconnectServer('slack');
    const stderr = mcpClient.getServerStderr('slack');
    ```

### Patch Changes

- Updated dependencies
\[[`4444280`](4444280942),
[`dbb879a`](dbb879af0b),
[`8de3555`](8de355572c)]:
    -   @mastra/core@1.14.0-alpha.2

## @mastra/server@1.14.0-alpha.2

### Minor Changes

- Added new observability API endpoints and client methods for logs,
scores, feedback, metrics (aggregate, breakdown, time series,
percentiles), and discovery (metric names, label keys/values, entity
types/names, service names, environments, tags)
([#14270](https://github.com/mastra-ai/mastra/pull/14270))

### Patch Changes

- Updated dependencies
\[[`4444280`](4444280942),
[`dbb879a`](dbb879af0b),
[`8de3555`](8de355572c)]:
    -   @mastra/core@1.14.0-alpha.2

## @mastra/auth-clerk@1.0.2-alpha.0

### Patch Changes

- Updated dependencies
\[[`6b7aa31`](6b7aa31e25)]:
    -   @mastra/auth@1.0.2-alpha.0

## @mastra/auth-cloud@1.1.2-alpha.0

### Patch Changes

- Updated dependencies
\[[`4444280`](4444280942),
[`dbb879a`](dbb879af0b),
[`8de3555`](8de355572c),
[`6b7aa31`](6b7aa31e25)]:
    -   @mastra/core@1.14.0-alpha.2
    -   @mastra/auth@1.0.2-alpha.0

## @mastra/auth-workos@1.1.2-alpha.0

### Patch Changes

- Updated dependencies
\[[`4444280`](4444280942),
[`dbb879a`](dbb879af0b),
[`8de3555`](8de355572c),
[`6b7aa31`](6b7aa31e25)]:
    -   @mastra/core@1.14.0-alpha.2
    -   @mastra/auth@1.0.2-alpha.0

## @mastra/react@0.2.15-alpha.2

### Patch Changes

- Updated dependencies
\[[`4444280`](4444280942),
[`dbb879a`](dbb879af0b),
[`8de3555`](8de355572c),
[`8de3555`](8de355572c)]:
    -   @mastra/core@1.14.0-alpha.2
    -   @mastra/client-js@1.9.0-alpha.2

## @mastra/deployer-cloud@1.14.0-alpha.2

### Patch Changes

- Updated dependencies
\[[`4444280`](4444280942),
[`dbb879a`](dbb879af0b),
[`8de3555`](8de355572c)]:
    -   @mastra/core@1.14.0-alpha.2
    -   @mastra/deployer@1.14.0-alpha.2

## @mastra/deployer-cloudflare@1.1.12-alpha.1

### Patch Changes

- Updated dependencies
\[[`4444280`](4444280942),
[`dbb879a`](dbb879af0b),
[`8de3555`](8de355572c)]:
    -   @mastra/core@1.14.0-alpha.2
    -   @mastra/deployer@1.14.0-alpha.2

## @mastra/deployer-netlify@1.0.16-alpha.1

### Patch Changes

- Updated dependencies
\[[`4444280`](4444280942),
[`dbb879a`](dbb879af0b),
[`8de3555`](8de355572c)]:
    -   @mastra/core@1.14.0-alpha.2
    -   @mastra/deployer@1.14.0-alpha.2

## @mastra/deployer-vercel@1.1.6-alpha.1

### Patch Changes

- Updated dependencies
\[[`4444280`](4444280942),
[`dbb879a`](dbb879af0b),
[`8de3555`](8de355572c)]:
    -   @mastra/core@1.14.0-alpha.2
    -   @mastra/deployer@1.14.0-alpha.2

## @mastra/longmemeval@1.0.17-alpha.2

### Patch Changes

- Updated dependencies
\[[`4444280`](4444280942),
[`dbb879a`](dbb879af0b),
[`dbb879a`](dbb879af0b),
[`b92d0c9`](b92d0c92ec),
[`8de3555`](8de355572c),
[`4444280`](4444280942)]:
    -   @mastra/core@1.14.0-alpha.2
    -   @mastra/libsql@1.7.1-alpha.0
    -   @mastra/memory@1.8.3-alpha.1

## @mastra/opencode@0.0.14-alpha.2

### Patch Changes

- Updated dependencies
\[[`4444280`](4444280942),
[`dbb879a`](dbb879af0b),
[`dbb879a`](dbb879af0b),
[`b92d0c9`](b92d0c92ec),
[`8de3555`](8de355572c),
[`4444280`](4444280942)]:
    -   @mastra/core@1.14.0-alpha.2
    -   @mastra/libsql@1.7.1-alpha.0
    -   @mastra/memory@1.8.3-alpha.1

## @mastra/agent-builder@1.0.16-alpha.1

### Patch Changes

- Updated dependencies
\[[`4444280`](4444280942),
[`dbb879a`](dbb879af0b),
[`dbb879a`](dbb879af0b),
[`b92d0c9`](b92d0c92ec),
[`8de3555`](8de355572c),
[`4444280`](4444280942)]:
    -   @mastra/core@1.14.0-alpha.2
    -   @mastra/memory@1.8.3-alpha.1

## @mastra/auth@1.0.2-alpha.0

### Patch Changes

- Fixed Studio showing unauthenticated state when using `MastraJwtAuth`
with custom headers. `MastraJwtAuth` now implements the `IUserProvider`
interface (`getCurrentUser`/`getUser`), so the Studio capabilities
endpoint can resolve the authenticated user from the JWT Bearer token.
([#14411](https://github.com/mastra-ai/mastra/pull/14411))

Also added an optional `mapUser` option to customize how JWT claims are
mapped to user fields:

    ```typescript
    new MastraJwtAuth({
      secret: process.env.JWT_SECRET,
      mapUser: payload => ({
        id: payload.userId,
        name: payload.displayName,
        email: payload.mail,
      }),
    });
    ```

    Closes #14350

## mastra@1.3.13-alpha.2

### Patch Changes

- Updated dependencies
\[[`4444280`](4444280942),
[`dbb879a`](dbb879af0b),
[`8de3555`](8de355572c)]:
    -   @mastra/core@1.14.0-alpha.2
    -   @mastra/deployer@1.14.0-alpha.2

## @mastra/core@1.14.0-alpha.2

### Patch Changes

- Added dated message boundary delimiters when activating buffered
observations for improved cache stability.
([#14367](https://github.com/mastra-ai/mastra/pull/14367))

- Fixed provider-executed tool calls (e.g. Anthropic `web_search`) being
dropped or incorrectly persisted when deferred by the provider. Tool
call parts are now persisted in stream order, and deferred tool results
are correctly merged back into the originating message.
([#14282](https://github.com/mastra-ai/mastra/pull/14282))

- Added client/server body schemas for feedback and scores that omit the
timestamp field, allowing it to be set server-side
([#14270](https://github.com/mastra-ai/mastra/pull/14270))

## @mastra/deployer@1.14.0-alpha.2

### Patch Changes

- Updated dependencies
\[[`4444280`](4444280942),
[`dbb879a`](dbb879af0b),
[`8de3555`](8de355572c),
[`8de3555`](8de355572c)]:
    -   @mastra/core@1.14.0-alpha.2
    -   @mastra/server@1.14.0-alpha.2

## @mastra/editor@0.7.6-alpha.1

### Patch Changes

- Updated dependencies
\[[`4444280`](4444280942),
[`dbb879a`](dbb879af0b),
[`dbb879a`](dbb879af0b),
[`b92d0c9`](b92d0c92ec),
[`8de3555`](8de355572c),
[`133ef20`](133ef20c39),
[`4444280`](4444280942)]:
    -   @mastra/core@1.14.0-alpha.2
    -   @mastra/memory@1.8.3-alpha.1
    -   @mastra/mcp@1.3.0-alpha.1

## @mastra/mcp-docs-server@1.1.14-alpha.3

### Patch Changes

- Updated dependencies
\[[`4444280`](4444280942),
[`dbb879a`](dbb879af0b),
[`8de3555`](8de355572c),
[`133ef20`](133ef20c39)]:
    -   @mastra/core@1.14.0-alpha.2
    -   @mastra/mcp@1.3.0-alpha.1

## @mastra/memory@1.8.3-alpha.1

### Patch Changes

- Fixed observational memory triggering observation while
provider-executed tool calls are still pending, which could split
messages and cause errors on follow-up turns.
([#14282](https://github.com/mastra-ai/mastra/pull/14282))

- Limit oversized observational-memory tool results before they reach
the observer. ([#14344](https://github.com/mastra-ai/mastra/pull/14344))

This strips large `encryptedContent` blobs and truncates remaining tool
result payloads to keep observer prompts and token estimates aligned
with what the model actually sees.

- Improved observational memory cache stability by splitting persisted
observations into separate prompt chunks using dated message boundary
delimiters. ([#14367](https://github.com/mastra-ai/mastra/pull/14367))

Added `getObservationsAsOf()` utility to retrieve the observations that
were active at a specific point in time. This enables filtering
observation history by message creation date.

    ```ts
    import { getObservationsAsOf } from '@mastra/memory';

    // Get observations that existed when a specific message was created
const observations = getObservationsAsOf(record.activeObservations,
message.createdAt);
    ```

- Updated dependencies
\[[`4444280`](4444280942),
[`dbb879a`](dbb879af0b),
[`8de3555`](8de355572c)]:
    -   @mastra/core@1.14.0-alpha.2

## @mastra/playground-ui@17.0.0-alpha.2

### Patch Changes

- Updated dependencies
\[[`4444280`](4444280942),
[`dbb879a`](dbb879af0b),
[`8de3555`](8de355572c),
[`8de3555`](8de355572c)]:
    -   @mastra/core@1.14.0-alpha.2
    -   @mastra/client-js@1.9.0-alpha.2
    -   @mastra/ai-sdk@1.1.4-alpha.0
    -   @mastra/react@0.2.15-alpha.2

## @mastra/express@1.2.5-alpha.2

### Patch Changes

- Updated dependencies
\[[`4444280`](4444280942),
[`dbb879a`](dbb879af0b),
[`8de3555`](8de355572c),
[`8de3555`](8de355572c)]:
    -   @mastra/core@1.14.0-alpha.2
    -   @mastra/server@1.14.0-alpha.2

## @mastra/fastify@1.2.5-alpha.2

### Patch Changes

- Updated dependencies
\[[`4444280`](4444280942),
[`dbb879a`](dbb879af0b),
[`8de3555`](8de355572c),
[`8de3555`](8de355572c)]:
    -   @mastra/core@1.14.0-alpha.2
    -   @mastra/server@1.14.0-alpha.2

## @mastra/hono@1.2.5-alpha.2

### Patch Changes

- Updated dependencies
\[[`4444280`](4444280942),
[`dbb879a`](dbb879af0b),
[`8de3555`](8de355572c),
[`8de3555`](8de355572c)]:
    -   @mastra/core@1.14.0-alpha.2
    -   @mastra/server@1.14.0-alpha.2

## @mastra/koa@1.3.5-alpha.2

### Patch Changes

- Updated dependencies
\[[`4444280`](4444280942),
[`dbb879a`](dbb879af0b),
[`8de3555`](8de355572c),
[`8de3555`](8de355572c)]:
    -   @mastra/core@1.14.0-alpha.2
    -   @mastra/server@1.14.0-alpha.2

## @mastra/libsql@1.7.1-alpha.0

### Patch Changes

- Added dated message boundary delimiters when activating buffered
observations for improved cache stability.
([#14367](https://github.com/mastra-ai/mastra/pull/14367))

- Updated dependencies
\[[`4444280`](4444280942),
[`dbb879a`](dbb879af0b),
[`8de3555`](8de355572c)]:
    -   @mastra/core@1.14.0-alpha.2

## @mastra/mongodb@1.5.6-alpha.0

### Patch Changes

- Added dated message boundary delimiters when activating buffered
observations for improved cache stability.
([#14367](https://github.com/mastra-ai/mastra/pull/14367))

- Updated dependencies
\[[`4444280`](4444280942),
[`dbb879a`](dbb879af0b),
[`8de3555`](8de355572c)]:
    -   @mastra/core@1.14.0-alpha.2

## @mastra/pg@1.8.1-alpha.0

### Patch Changes

- Added dated message boundary delimiters when activating buffered
observations for improved cache stability.
([#14367](https://github.com/mastra-ai/mastra/pull/14367))

- Updated dependencies
\[[`4444280`](4444280942),
[`dbb879a`](dbb879af0b),
[`8de3555`](8de355572c)]:
    -   @mastra/core@1.14.0-alpha.2

## create-mastra@1.3.13-alpha.2



## @internal/playground@1.3.13-alpha.2

### Patch Changes

- Improved Studio reconnect behavior after dev server restarts by
spreading retry attempts over time to prevent many clients reconnecting
at once. Also fixed a memory leak from repeated event handler
registration during reconnects.
([#14284](https://github.com/mastra-ai/mastra/pull/14284))

- Fixed Studio protected-route layout behavior so unauthenticated users
no longer see the left sidebar. The auth prompt remains centered, and
sidebar navigation is restored immediately after authentication.
([#14317](https://github.com/mastra-ai/mastra/pull/14317))

- Studio sidebar navigation now respects RBAC read permissions for key
resources. When RBAC is enabled, users only see links they can read
(`agents`, `workflows`, `tools`, `mcps`, `processors`, `scorers`, and
`datasets`), while admin and wildcard permissions continue to see all
links. When RBAC is disabled, sidebar permission filtering is bypassed
and existing platform/CMS link gating behavior remains unchanged.
([#14381](https://github.com/mastra-ai/mastra/pull/14381))

- Updated dependencies
\[[`4444280`](4444280942),
[`dbb879a`](dbb879af0b),
[`8de3555`](8de355572c),
[`8de3555`](8de355572c)]:
    -   @mastra/core@1.14.0-alpha.2
    -   @mastra/client-js@1.9.0-alpha.2
    -   @mastra/react@0.2.15-alpha.2
    -   @mastra/playground-ui@17.0.0-alpha.2

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-17 17:07:22 -05:00
Dane - AI (Mastra)
531607166e
chore(deps): update build tools (#13933) 2026-03-16 21:37:16 +01:00
Dane - AI (Mastra)
6ba1788c15
chore(deps): update formatting & linting (#14062)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
Co-authored-by: daneatmastra <dane@mastra.ai>
2026-03-10 11:56:18 +01:00
Dane - AI (Mastra)
7abbf1fb29
chore(deps): update build tools (#12532)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
Co-authored-by: daneatmastra <dane@mastra.ai>
Co-authored-by: wardpeet <ward@coding-tech.com>
Co-authored-by: Mastra Code (anthropic/claude-opus-4-6) <noreply@mastra.ai>
2026-03-06 12:04:09 +01:00
dane-ai-mastra[bot]
63ef4a02f3 chore: version - exit prerelease mode 2026-03-05 22:25:22 +00:00