mirror of
https://github.com/mastra-ai/mastra.git
synced 2026-11-17 08:44:46 +00:00
30 commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
c22107fce3 |
chore(deps): update dependency @ai-sdk/provider-utils@>=3.0.0 <3.0.38 to v3.0.45 (#29844) | ||
|
|
8a301f6d66 |
chore(deps): force minimatch 11 and glob 14 for Vanta findings (#29916) | ||
|
|
4bd4b7f48e |
chore(deps): update better-auth monorepo to v1.7.18 (#29714)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
bfe3af4ae1 |
chore(deps): update better-auth monorepo to v1.7.15 (#29497) | ||
|
|
9ce7e350ea |
chore(deps): lock file maintenance (#29341)
Co-authored-by: wardpeet <ward@coding-tech.com> Co-authored-by: mastracode <284800079+mastra-platform[bot]@users.noreply.github.com> |
||
|
|
655b19993f |
chore(security): Vanta 2026-10-30 - zod ^4.6.7, @hono/node-server 2.1.5 (direct bumps) (#28983)
## Vanta 2026-10-30 security fixes (consolidated)
Direct dependency bumps and lockfile updates only. **No
overrides/resolutions added or raised.** The earlier override-based
edits on this branch were reverted; those findings are deferred below.
| Package | From → To | Advisory | Where |
|---|---|---|---|
| zod | ^3.25.76 → ^4.6.7 | zod <4.6.6 (High; no fixed 3.x) |
`client-sdks/react` (dev), `deployers/cloudflare` (dev),
`server-adapters/nestjs` (dev), `packages/editor` (dev),
`packages/playground-ui` (dep), `packages/playground`,
`workflows/_test-utils`, `examples/{durable-agents,inngest}`,
`explorations/longmemeval`,
`observability/_examples/otel-bridge/agent-hub`, e2e fixtures/templates
(`experiment-worker/fixtures/*`, `deployers/template/cloudflare`,
`no-bundling/template`, agent-builder `minimal-mastra-project`) + root
`pnpm-lock.yaml` |
| @hono/node-server | 1.19.x / 2.1.1 → 2.1.5 | CVE-2026-118663 /
GHSA-rmxm-3fg6-px4f (Medium) | direct deps: `examples/agent-builder`,
`otel-bridge/hono-multi/service-{one,two,mastra}`,
`templates/template-customer-refund-agent/client-demo-ui`,
`templates/template-kyc-customer-onboarding`,
`templates/template-security-incident-triage` |
Peer ranges (`^3.25.0 || ^4.0.0`) are unchanged, so consumers are
unaffected. Changeset: patch for `@mastra/playground-ui` (runtime zod
dep).
Supersedes the zod parts of #28075 (that PR also raises a pnpm override
and rewrites the `zod-v3` compat aliases to v4, so it is left as-is for
maintainers).
### Deferred (needs override, upstream release, or is intentional)
- zod v3 compat aliases (`zod-v3` in `packages/core`,
`packages/schema-compat`, `e2e-tests/type-check/template`;
`e2e-tests/client-js/zod-v3`): intentional zod 3 test coverage; no fixed
3.x release. Needs a decision to drop/dismiss.
- zod 3.25.76 transitive via `@arcadeai/arcadejs`, `@mcp-ui/client`,
firecrawl, `agent-browser`, `zod-to-json-schema`, MCP SDK paths:
upstream pins; override-only.
- @hono/node-server 1.19.x transitive via `@modelcontextprotocol/sdk`
(root, `examples/agent`, `packages/mcp/integration-tests`), and npm
lockfiles of `scripts/gh-issue-triage` (existing override, left alone)
and the two templates: override-only.
- graphql-scalars, raw-body, jose (templates/scripts): override-only.
- @azure/msal-node <7.1.0: 6.0.1 via `@azure/identity@4.14.0` (fixed in
4.14.1, blocked by the 1-day `minimumReleaseAge`; lockfile refresh
tomorrow), 5.6.0 via `@microsoft/teams.apps` (no fixed release).
- @opentelemetry/core <2.8.0: via `@google-cloud/pubsub@5` (fix needs
pubsub 6 major).
- @ai-sdk/provider-utils 2.2.8 / ai 4.x: pinned vendored AI SDK v4 line;
no fixed release in that major.
- extract-zip, deepmerge: no patched version.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
<!-- coderabbit-ai-generated:v1 -->
## ELI5
This PR updates Zod and `@hono/node-server` versions in selected
packages, examples, and templates to address security advisories. It
also updates playground form code to work with Zod 4.
## Changes
- Updates selected `zod` dependencies to `^4.6.7`.
- Updates selected `@hono/node-server` dependencies to `2.1.5`.
- Updates the playground form’s IP address and record validators for Zod
4.
- Maps a specific Zod validation error to the message `Required`.
- Adds a patch changeset for `@mastra/playground-ui`.
## Validation
Test results are not provided in the supplied change summary.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Co-authored-by: shreyas-mastra <327047572+shreyas-mastra@users.noreply.github.com>
|
||
|
|
cf92428a76 |
chore(deps): update docker images (#28011)
This PR contains the following updates: | Package | Update | Change | |---|---|---| | amazon/aws-cli | minor | `2.36.44` → `2.39.1` | | clickhouse/clickhouse-server | minor | `26.6.1.1193` → `26.10.3.7` | | cr.weaviate.io/semitechnologies/weaviate | minor | `1.39.13` → `1.40.3` | | [docker.elastic.co/elasticsearch/elasticsearch](https://www.elastic.co/products/elasticsearch) ([source](https://redirect.github.com/elastic/elasticsearch)) | minor | `9.4.3` → `9.5.5` | | edoburu/pgbouncer | minor | `v1.25.2-p0` → `v1.26.1-p0` | | [ghcr.io/shopify/toxiproxy](https://redirect.github.com/Shopify/toxiproxy) | minor | `2.12.0` → `2.13.0` | | inngest/inngest | minor | `v1.34.0` → `v1.49.0` | | mcr.microsoft.com/azure-storage/azurite | minor | `3.35.0` → `3.37.0` | | [mongo](https://hub.docker.com/_/mongo) ([source](https://redirect.github.com/docker-library/mongo)) | patch | `7.0.37` → `7.0.45` | | pgvector/pgvector | patch | `0.8.4-pg16` → `0.8.7-pg16` | --- > [!WARNING] > Some dependencies could not be looked up. Check the [Dependency Dashboard](../issues/9505) for more information. --- ### Release Notes <details> <summary>elastic/elasticsearch (docker.elastic.co/elasticsearch/elasticsearch)</summary> ### [`v9.5.5`](https://redirect.github.com/elastic/elasticsearch/releases/tag/v9.5.5): Elasticsearch 9.5.5 [Compare Source](https://redirect.github.com/elastic/elasticsearch/compare/v9.5.4...v9.5.5) Downloads: <https://elastic.co/downloads/elasticsearch> Release notes: <https://www.elastic.co/docs/release-notes/elasticsearch#elasticsearch-9.5.5-release-notes> ### [`v9.5.4`](https://redirect.github.com/elastic/elasticsearch/releases/tag/v9.5.4): Elasticsearch 9.5.4 [Compare Source](https://redirect.github.com/elastic/elasticsearch/compare/v9.5.3...v9.5.4) Downloads: <https://elastic.co/downloads/elasticsearch> Release notes: <https://www.elastic.co/docs/release-notes/elasticsearch#elasticsearch-9.5.4-release-notes> ### [`v9.5.3`](https://redirect.github.com/elastic/elasticsearch/releases/tag/v9.5.3): Elasticsearch 9.5.3 [Compare Source](https://redirect.github.com/elastic/elasticsearch/compare/v9.5.2...v9.5.3) Downloads: <https://elastic.co/downloads/elasticsearch> Release notes: <https://www.elastic.co/docs/release-notes/elasticsearch#elasticsearch-9.5.3-release-notes> ### [`v9.5.2`](https://redirect.github.com/elastic/elasticsearch/releases/tag/v9.5.2): Elasticsearch 9.5.2 [Compare Source](https://redirect.github.com/elastic/elasticsearch/compare/v9.5.1...v9.5.2) Downloads: <https://elastic.co/downloads/elasticsearch> Release notes: <https://www.elastic.co/docs/release-notes/elasticsearch#elasticsearch-9.5.2-release-notes> ### [`v9.5.1`](https://redirect.github.com/elastic/elasticsearch/releases/tag/v9.5.1): Elasticsearch 9.5.1 [Compare Source](https://redirect.github.com/elastic/elasticsearch/compare/v9.5.0...v9.5.1) Downloads: <https://elastic.co/downloads/elasticsearch> Release notes: <https://www.elastic.co/docs/release-notes/elasticsearch#elasticsearch-9.5.1-release-notes> ### [`v9.5.0`](https://redirect.github.com/elastic/elasticsearch/releases/tag/v9.5.0): Elasticsearch 9.5.0 [Compare Source](https://redirect.github.com/elastic/elasticsearch/compare/v9.4.8...v9.5.0) Downloads: <https://elastic.co/downloads/elasticsearch> Release notes: <https://www.elastic.co/docs/release-notes/elasticsearch#elasticsearch-9.5.0-release-notes> ### [`v9.4.8`](https://redirect.github.com/elastic/elasticsearch/releases/tag/v9.4.8): Elasticsearch 9.4.8 [Compare Source](https://redirect.github.com/elastic/elasticsearch/compare/v9.4.7...v9.4.8) Downloads: <https://elastic.co/downloads/elasticsearch> Release notes: <https://www.elastic.co/docs/release-notes/elasticsearch#elasticsearch-9.4.8-release-notes> ### [`v9.4.7`](https://redirect.github.com/elastic/elasticsearch/releases/tag/v9.4.7): Elasticsearch 9.4.7 [Compare Source](https://redirect.github.com/elastic/elasticsearch/compare/v9.4.6...v9.4.7) Downloads: <https://elastic.co/downloads/elasticsearch> Release notes: <https://www.elastic.co/docs/release-notes/elasticsearch#elasticsearch-9.4.7-release-notes> ### [`v9.4.6`](https://redirect.github.com/elastic/elasticsearch/releases/tag/v9.4.6): Elasticsearch 9.4.6 [Compare Source](https://redirect.github.com/elastic/elasticsearch/compare/v9.4.5...v9.4.6) Downloads: <https://elastic.co/downloads/elasticsearch> Release notes: <https://www.elastic.co/docs/release-notes/elasticsearch#elasticsearch-9.4.6-release-notes> ### [`v9.4.5`](https://redirect.github.com/elastic/elasticsearch/releases/tag/v9.4.5): Elasticsearch 9.4.5 [Compare Source](https://redirect.github.com/elastic/elasticsearch/compare/v9.4.4...v9.4.5) Downloads: <https://elastic.co/downloads/elasticsearch> Release notes: <https://www.elastic.co/docs/release-notes/elasticsearch#elasticsearch-9.4.5-release-notes> ### [`v9.4.4`](https://redirect.github.com/elastic/elasticsearch/releases/tag/v9.4.4): Elasticsearch 9.4.4 [Compare Source](https://redirect.github.com/elastic/elasticsearch/compare/v9.4.3...v9.4.4) Downloads: <https://elastic.co/downloads/elasticsearch> Release notes: <https://www.elastic.co/docs/release-notes/elasticsearch#elasticsearch-9.4.4-release-notes> </details> <details> <summary>Shopify/toxiproxy (ghcr.io/shopify/toxiproxy)</summary> ### [`v2.13.0`](https://redirect.github.com/Shopify/toxiproxy/blob/HEAD/CHANGELOG.md#2130---2026-10-14) [Compare Source](https://redirect.github.com/Shopify/toxiproxy/compare/v2.12.0...v2.13.0) - Reject slicer toxics with `average_size` <= 0 or `size_variation` outside `[0, average_size]`, and stop the slicer from recursing forever on degenerate sizes ([#​774](https://redirect.github.com/Shopify/toxiproxy/issues/774), [@​iyaz-shaikh](https://redirect.github.com/iyaz-shaikh)) - Add optional bearer token auth for the HTTP API via `TOXIPROXY_AUTH_TOKEN`, supported by the Go client and `toxiproxy-cli`, and warn when the API is unauthenticated on a non-loopback address ([#​774](https://redirect.github.com/Shopify/toxiproxy/issues/774), [@​iyaz-shaikh](https://redirect.github.com/iyaz-shaikh)) - Fix removing a toxic hanging forever, and freezing the whole HTTP API, when the downstream toxic or connection is already gone ([#​760](https://redirect.github.com/Shopify/toxiproxy/issues/760), [@​matheusgb](https://redirect.github.com/matheusgb)) - Fix the bandwidth toxic hanging or panicking when `rate` <= 0 ([#​764](https://redirect.github.com/Shopify/toxiproxy/issues/764), [@​jaideeppyne](https://redirect.github.com/jaideeppyne)) - Update go version to 1.27 ([#​777](https://redirect.github.com/Shopify/toxiproxy/issues/777), [@​The-Black-Fox](https://redirect.github.com/The-Black-Fox)) - Update various go packages </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - "before 6am every weekday" - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xNzUuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjE5Mi4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJhdXRvbWF0aW9uIl19--> --------- Co-authored-by: mastra-platform[bot] <284800079+mastra-platform[bot]@users.noreply.github.com> |
||
|
|
f6cd11f348 |
chore(deps): lock file maintenance (#28672)
This PR contains the following updates: | Update | Change | |---|---| | lockFileMaintenance | All locks refreshed | --- > [!WARNING] > Some dependencies could not be looked up. Check the [Dependency Dashboard](../issues/9505) for more information. 🔧 This Pull Request updates lock files to use the latest dependency versions. --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - "before 6am on wednesday" - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xOTAuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjE5MC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJhdXRvbWF0aW9uIl19--> --------- Co-authored-by: mastra-platform[bot] <284800079+mastra-platform[bot]@users.noreply.github.com> |
||
|
|
07c1bf2362 |
chore(deps): update dependency @ai-sdk/provider-utils@>=3.0.0 <3.0.38 to v3.0.42 (#28773) | ||
|
|
f2ad3844f3 |
chore(deps): update opentelemetry (#28581)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: mastra-platform[bot] <284800079+mastra-platform[bot]@users.noreply.github.com> |
||
|
|
29747ebd1d |
chore(deps): update better-auth monorepo to v1.7.13 (#28538)
This PR contains the following updates: | Package | Type | Update | Change | Pending | |---|---|---|---|---| | [@better-auth/drizzle-adapter@<1.7.7](https://www.better-auth.com/docs/adapters/drizzle) ([source](https://redirect.github.com/better-auth/better-auth/tree/HEAD/packages/drizzle-adapter)) | pnpm-workspace.overrides | patch | [`1.7.7` → `1.7.13`](https://renovatebot.com/diffs/npm/@better-auth%2fdrizzle-adapter@<1.7.7/1.7.7/1.7.13) | `1.7.14` | | [better-auth](https://better-auth.com) ([source](https://redirect.github.com/better-auth/better-auth/tree/HEAD/packages/better-auth)) | pnpm-workspace.overrides | patch | [`^1.7.7` → `^1.7.13`](https://renovatebot.com/diffs/npm/better-auth/1.7.7/1.7.13) | `1.7.14` | | [better-auth](https://better-auth.com) ([source](https://redirect.github.com/better-auth/better-auth/tree/HEAD/packages/better-auth)) | dependencies | patch | [`^1.7.12` → `^1.7.13`](https://renovatebot.com/diffs/npm/better-auth/1.7.12/1.7.13) | `1.7.14` | --- > [!WARNING] > Some dependencies could not be looked up. Check the [Dependency Dashboard](../issues/9505) for more information. --- ### Release Notes <details> <summary>better-auth/better-auth (@​better-auth/drizzle-adapter@<1.7.7)</summary> ### [`v1.7.13`](https://redirect.github.com/better-auth/better-auth/blob/HEAD/packages/drizzle-adapter/CHANGELOG.md#1713) [Compare Source](https://redirect.github.com/better-auth/better-auth/compare/v1.7.12...v1.7.13) ### [`v1.7.12`](https://redirect.github.com/better-auth/better-auth/blob/HEAD/packages/drizzle-adapter/CHANGELOG.md#1712) [Compare Source](https://redirect.github.com/better-auth/better-auth/compare/v1.7.11...v1.7.12) ### [`v1.7.11`](https://redirect.github.com/better-auth/better-auth/blob/HEAD/packages/drizzle-adapter/CHANGELOG.md#1711) [Compare Source](https://redirect.github.com/better-auth/better-auth/compare/v1.7.10...v1.7.11) ### [`v1.7.10`](https://redirect.github.com/better-auth/better-auth/blob/HEAD/packages/drizzle-adapter/CHANGELOG.md#1710) [Compare Source](https://redirect.github.com/better-auth/better-auth/compare/v1.7.9...v1.7.10) ### [`v1.7.9`](https://redirect.github.com/better-auth/better-auth/blob/HEAD/packages/drizzle-adapter/CHANGELOG.md#179) [Compare Source](https://redirect.github.com/better-auth/better-auth/compare/v1.7.8...v1.7.9) ### [`v1.7.8`](https://redirect.github.com/better-auth/better-auth/blob/HEAD/packages/drizzle-adapter/CHANGELOG.md#178) [Compare Source](https://redirect.github.com/better-auth/better-auth/compare/v1.7.7...v1.7.8) ##### Patch Changes - [#​11512](https://redirect.github.com/better-auth/better-auth/pull/11512) [`4175b34`]( |
||
|
|
82e82fb5a7 |
chore(deps): update security updates [security] (#27869)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
4f60903242 |
chore(deps): lock file maintenance (#27013) | ||
|
|
fa409d430b |
security: Vanta remediation pass 2026-10-14/15/19 (zod 4.6.7, @ai-sdk/provider-utils, @copilotkit template) (#27023) | ||
|
|
7aec8b0d95 |
security: Vanta remediation pass 2026-10-12 (better-auth, MCP SDK) (#26773)
## Summary Vanta remediation for 2026-10-12. Target list is today's live export (77 findings, 44 unique IDs). Platform findings are handled in mastra-ai/platform#3317. ### What changed | Package | From → To | Findings | Where | How | |---|---|---|---|---| | better-auth | 1.7.5 → 1.7.7 | AIKIDO-2026-373183 (Critical) | root + `examples/agent` | raise override `better-auth: ^1.7.7`; direct dep `@mastra/auth-better-auth` ^1.7.7 | | @better-auth/drizzle-adapter | 1.7.5 → 1.7.7 | AIKIDO-2026-261025 (Low) | root + `examples/agent` | floor `'@better-auth/drizzle-adapter@<1.7.7': 1.7.7` (also pulled by better-auth 1.7.7) | | @modelcontextprotocol/sdk | 1.31.0 → 1.32.1 | AIKIDO-2026-365378 (High), -156139, -344432 | root, nested locks, `scripts/gh-issue-triage` | raise floor to `<1.32.0 → 1.32.1`; bump direct pins/ranges | Nested `pnpm-workspace.yaml` floors raised in e2e-tests/*, examples/*, integration-tests, etc., and those lockfiles regenerated. Versions used were published >24h ago (minimumReleaseAge). Patch changeset included for published packages whose dependency ranges changed. Aikido lens on this branch: better-auth and MCP SDK findings are gone. OSV: handlebars already clear on main; remaining high are braces/extract-zip (no patch). ### Left as-is (no patch, or major-only) - extract-zip ≤2.0.1: no fix (overdue; removed by #25855 when that lands). Needs Vanta risk acceptance. - braces 3.0.3, sprintf-js 1.0.3/1.1.3: no patched release - postcss-selector-parser 6.x: @tailwindcss/typography pins 6.0.10 - katex 0.16: mermaid declares ^0.16.47 - @ag-ui/client 0.0.59: fix only in 1.0.0 (major). Parent `@copilotkit/channels-*` 0.11.0 pins 0.0.59 exactly (template-genui-data-explorer) - @hono/node-server 1.19 (fix 2.1.3), undici 6.29 (fix 7.23/8.10), raw-body 3 in templates (fix 4), bundle-name 3 (fix 4.1.1), got 15 (fix 16), zod 3.25 (fix 4.x), @bufbuild/protobuf 1.10 (fix 2.x), openai 6.49 (fix 7.x), jose 5.10 via @segment/analytics-node in template (fix 6.x), @ai-sdk/provider-utils 2.2.8 / 3.0.x Aikido ranges wanting 4.0.18+: major-only or scanner range noise Do not merge unless reviewed. No CI weakened. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## ELI5 This PR updates shared dependency versions so the project uses newer releases of Better Auth and the MCP SDK. It also updates workspace rules to keep older versions from being selected. ## Changes - Updated Better Auth requirements and workspace overrides to `^1.7.7`. - Updated `@modelcontextprotocol/sdk` requirements and overrides to `1.32.1` across affected packages and workspaces. - Added overrides for older `@better-auth/drizzle-adapter` versions to use `1.7.7`. - Added a patch changeset for `@mastra/auth-better-auth`, `@mastra/mcp-registry-registry`, and `@mastra/playground-ui`. Test results and review findings were not provided. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
bf0dd07091 |
security: Vanta remediation pass 2026-10-05 (#25966)
Update 2026-10-06 (commits added on this branch; origin/main merged in to clear the lockfile conflict) Dependabot opened new alerts overnight (4 critical). This pass adds: - braintrust ^3.24.0 -> ^3.36.0 in @mastra/braintrust. braintrust 3.27 pulled in simple-git 3.36.0, which has critical and high advisories (GHSA-x6jw-m9v5-85vh, GHSA-v5rq-49vh-5v5c via @simple-git/argv-parser 1.1.1, GHSA-858h-whjf-mvg5, GHSA-g4wm-2vf7-vfgr). Those are only fixed in simple-git 4. braintrust 3.36 no longer depends on simple-git, so simple-git drops out of the lockfile. @mastra/braintrust only uses initLogger and currentSpan. - wrangler ^4.110.0 -> ^4.147.0 (devDependency of @mastra/deployer-cloudflare, type-only import). This moves workerd 1.20260708.1 -> 1.20261001.1 on that chain (Aikido medium). workerd 1.20260714.1 is still there through the miniflare 4 devDependency in stores/cloudflare and stores/cloudflare-d1. - source-map-js 1.2.1 -> 1.2.2 (GHSA-68fv-2mgg-jv7q, high). Added the floor `source-map-js@>=1.0.0 <1.2.2: 1.2.2` in the root and in 15 nested pnpm workspaces (9 e2e projects, mastracode/web, otel-bridge agent-hub and hono-multi, agent-builder, mcp and memory integration-tests). postcss, css-tree, magicast and @tailwindcss/node all declare ^1.2.x. In the customer-refund template, a plain npm lock refresh was enough (no override). - postcss-selector-parser: raised the existing floor from `>=7.1.0 <7.1.3: 7.1.3` to `>=7.1.0 <7.1.6: 7.1.6` (GHSA-rj75-hqrm-r3gf, medium). - observability/_examples/otel-bridge/hono-multi: tsx catalog ^4.21.0 -> ^4.23.15. tsx 4.23 uses esbuild ~0.28, so esbuild 0.27.2 is gone (Aikido high and low, fixed in 0.28.1). - Changeset `.changeset/vanta-2026-10-06.md`: patch for @mastra/braintrust. Still not fixed (as of 2026-10-06) - sprintf-js 1.0.3/1.1.3 (GHSA-hp3w-g68c-fv3c): no patched release. - postcss-selector-parser 6.0.10/6.1.3: the fix is only in 7.1.6. @tailwindcss/typography 0.5.20 pins 6.0.10 exactly, and cssnano 6/postcss-calc 9 use ^6. - katex 0.16.47 (GHSA-238p-pmpm-9mq7, low): the fix is in 0.18.2. mermaid 12.1.0 still declares ^0.16.47. - http-cache-semantics: 4.3.0 is now older than 24h, but it still doesn't touch the max-stale path, and the advisory still lists no patched version. - braces 3.0.3 has no new release. - The rest of the deferred list below is unchanged. --- Vanta remediation for 2026-10-05. The finding list was rebuilt from GitHub Dependabot, OSV-scanner on every tracked lockfile, and Aikido intel (full intel.aikido.dev feed re-pulled today). It is not a Vanta export. What changed Package bumps - probe-image-size ^7.2.3 -> ^7.4.0 in @mastra/memory (GHSA-gjj5-9665-rwrc, high). - verdaccio ^6.10.4 -> ^6.10.5 in the 9 e2e projects. That moves @verdaccio/core to 8.3.2 and js-yaml 5.2.2 -> 5.4.1 (GHSA-r3ph-w7gj-g6xm, medium). - smol-toml 1.8.0 -> 1.9.0 pin in @mastra/code-sdk. Root lockfile refresh (no range changes) - serialize-javascript 7.0.5 -> 7.1.2, shell-quote 1.10.0 -> 1.12.0, ws 7.5.11 -> 7.5.13, enhanced-resolve -> 5.26.0, fs-extra 11.3.5 -> 11.4.1, @sinclair/typebox 0.27.8 -> 0.27.12, @zip.js/zip.js 2.8.26 -> 2.23.0, memfs/@jsonjoy.com/fs-snapshot 4.57.2 -> 4.80.0, @vue/* 3.5.38 -> 3.5.43. pnpm overrides, for parents that pin an exact vulnerable version. All stay in the same major. - modern-tar 0.7.7 (just-bash), smol-toml 1.9.0 (just-bash, @blaxel/core, @react-grab/cli, modal), strnum 2.4.2 (fast-xml-parser 5.10.1), inline-style-parser 0.2.9 (style-to-object 1.0.11), `@opentelemetry/configuration>yaml` 2.9.1 (sdk-node 0.221). Nested lockfiles - shell-quote floor raised from <1.10.0 to <1.11.0 in examples/agent, examples/voice-agent and otel-bridge/agent-hub. - yaml 2.9.0 -> 2.9.1 in e2e-tests/pkg-outputs, examples/durable-agents, mastracode/web, packages/mcp/integration-tests and the customer-refund template. - next 16.3.6 -> 16.3.8 in packages/memory/integration-tests. - customer-refund template: tinypool 2.1.0 -> 2.1.2 through an override scoped to oxfmt. oxfmt 0.59 pins it exactly, and bumping oxfmt would change the template's format check. Not fixed here - braces 3.0.3 (GHSA-vfj7-8cjw-p6xm) and http-cache-semantics 4.2.0 (GHSA-ch52-4w7c-c8xp): no patched release. http-cache-semantics 4.3.0 is outside the advisory range, but it doesn't change the max-stale code path, so bumping to it would only hide the alert. - extract-zip 2.0.1: no patched release. It comes from the webdriverio chain that #25855 removes. - workerd 1.20260708/1.20260714 (Aikido medium): miniflare 4.x stops at workerd 1.20260730. The fix needs miniflare 5, which is only published as an alpha. - Major-only: @ai-sdk/provider-utils 2.2.8 / ai 4.3.19 (AI SDK v4), @opentelemetry/core 1.30.1, esbuild 0.18/0.25/0.27.0 (convex pins 0.27.0 exactly), js-yaml 3, brace-expansion 1/2, uuid 11, zod 3, pino 8/9, undici 6, plus other Aikido lows. - websocket-driver 0.7.5: Aikido says the fix is 0.8.x, but no 0.8 is published on npm. The changeset is a patch for @mastra/memory and @mastra/code-sdk. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## ELI5 This PR updates several dependencies that have security fixes. It also adds version rules so nested projects use safer versions of related packages. ## Changes - Updates `probe-image-size` in `@mastra/memory` to `^7.4.0` and pins `smol-toml` in `@mastra/code-sdk` to `1.9.0`. - Updates Verdaccio to `^6.10.5` in nine end-to-end test projects. - Raises `shell-quote` overrides to `1.11.0` and adds overrides for transitive dependencies, including `yaml`, `source-map-js`, `postcss-selector-parser`, `modern-tar`, `smol-toml`, `strnum`, `inline-style-parser`, and `tinypool`. - Updates `braintrust` to `^3.36.0`, `wrangler` to `^4.147.0`, and `tsx` to `^4.23.15`. - Adds patch changesets for `@mastra/memory`, `@mastra/code-sdk`, and `@mastra/braintrust`. The changesets report no API changes. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
4358322b7b |
chore(deps): override upstream-blocked vulnerable transitive deps (#25853) | ||
|
|
aeddbc9909 |
security: Vanta 2026-09-28 residuals (template proxy-addr, nested undici/next/shell-quote/form-data, OTEL, onnxruntime) (#25344) | ||
|
|
7b777d38d9 |
security: Vanta zero pass 2026-09-23 (grpc/compression/provider-utils floors) (#24848) | ||
|
|
af2a951469 |
fix: secure remaining example and Fastify dependencies (#22587)
Co-authored-by: Mastra Code (openai/gpt-5.6-sol) <noreply@mastra.ai> |
||
|
|
1aad6198fd |
chore(deps): lock file maintenance (#19903) | ||
|
|
3356bf3dd0 |
chore(docs): AX improvements (#19631) | ||
|
|
4eba27adcf |
docs: fix RedisServerCache constructor usage — takes { client }, not { url } (#19569) | ||
|
|
2e858270c6 |
chore(deps): lock file maintenance (#19080)
Co-authored-by: wardpeet <ward@coding-tech.com> |
||
|
|
401e29d34b |
fix(ci): unbreak renovate PRs — cap cookie override and fix standalone package installs (#19249)
Co-authored-by: Mastra Code (anthropic/claude-fable-5) <noreply@mastra.ai> Co-authored-by: wardpeet <ward@coding-tech.com> |
||
|
|
325f9983b3 |
chore(deps): update docker images (major) (#19044)
Co-authored-by: wardpeet <ward@coding-tech.com> Co-authored-by: Mastra Code (openai/gpt-5.5) <noreply@mastra.ai> |
||
|
|
ac5d4354a7 |
chore(deps): update docker images (#19042) | ||
|
|
e8eee50879 |
feat: Signals, live Entity-Learning data with entity filter, layout polish, and entity-aware navigation (#18699)
https://github.com/user-attachments/assets/dee31cb1-68ba-4a89-bd56-41fe9c6515f8 ## Summary Makes the Studio **Signals** page a live feature backed by the platform Entity-Learning API instead of hardcoded mock data. You can pick any entity reported by the platform (agents, tools, workflows, and more) and inspect that entity's signals, their clusters, traces, and the cluster scatter plot — all fetched live. ## What changed **Live data + entity filter** - Added an entity-type / entity filter bar at the top of the Signals page, mirroring the traces filter, so you can choose any supported entity on the server. - The overview loads each available signal's real clusters (topics) by entity id and organization id; the details page renders live topics, topic examples, and points directly with no mock/mapping layer. - The cluster scatter plot and sidebar swatches derive their colors from the same per-cluster source, so the chart and list stay in sync. **Gating change** - The Signals UI is now gated on the platform observability endpoint being configured, replacing the removed `MASTRA_SIGNALS_UI` flag. Studio's served HTML now exposes `MASTRA_ORGANIZATION_ID`, `MASTRA_PLATFORM_PROJECT_ID`, and `MASTRA_PLATFORM_OBSERVABILITY_ENDPOINT` to the browser. Set `MASTRA_PLATFORM_OBSERVABILITY_ENDPOINT` to enable Signals; leave it unset to hide it. **Layout & navigation polish** - Pinned the entity filter as a top bar with centered empty/loading/error states using the shared `EmptyState` component. - Added a 4-cell skeleton grid while a signal's clusters load, reserving badge height to avoid layout shift. - Clicking a cluster card opens its topic by default via a `topicId` query param threaded through the route adapters. - The Signals breadcrumb preserves the selected `entityType` / `entityId` query params when navigating back to the overview. ## Test plan - `pnpm --filter ./packages/playground-ui typecheck` — clean - `pnpm --filter ./packages/playground typecheck` — clean - `pnpm --filter ./packages/playground-ui test` — 546 tests pass (Signals overview, details, hooks, and entity-learning service suites included) - `pnpm --filter ./packages/playground test` — 1429 pass / 2 skipped, including the Signals route-adapter suite (7 tests) covering entity-aware navigation, topicId passthrough, and breadcrumb query-param preservation - Tests use the package-standard approach: real `@mastra/client-js` + React Query driven through MSW handlers and typed fixtures, no `vi.mock` of local hooks/services. Draft for review. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## ELI5 The Signals page used to show pretend data. Now it pulls real “entity-learning” signals from your platform (plus charts and examples), and it only turns on when the platform observability endpoint is configured. ## Summary - Reworked the Signals UI to load live Entity-Learning data (entities, topics/clusters, topic examples, points, and scatter plot) instead of hardcoded mock data. - Added an agent (entity) filter and updated the overview to render topic-based cluster cards with loading/empty/error states. - Refactored the details view to be topic-driven: live topic examples/trace list, point-based chart/scatter rendering, shared cluster-color logic, a 4-cell cluster loading skeleton, and default opening via `topicId`. - Updated navigation and breadcrumbs so `entityType`/`entityId` and `topicId` query parameters are preserved when moving between overview, details, and back links. - Changed UI gating by removing the `MASTRA_SIGNALS_UI` flag and enabling the Signals route when `MASTRA_PLATFORM_OBSERVABILITY_ENDPOINT` is configured; the browser now receives `MASTRA_ORGANIZATION_ID`, `MASTRA_PLATFORM_PROJECT_ID`, and `MASTRA_PLATFORM_OBSERVABILITY_ENDPOINT`. - Added the Entity-Learning integration layer (typed service), React Query hooks, and expanded test coverage for the new live flows and routing behaviors. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Mastra Code (anthropic/claude-opus-4-8) <noreply@mastra.ai> |
||
|
|
2c28a067b8 |
docs(inngest): use /inngest/api so deployment guide works on core >=1.29 (#15743) (#16186)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|
|
f8694b6fa0 |
feat(core,inngest): durable agent architecture with resumable streams (#12557)
This PR introduces durable agents - a way to make agent execution
resilient to disconnections, crashes, and long-running operations.
## The Problem
Standard agent streaming has two fragility points:
1. **Connection drops** - If a client disconnects mid-stream (network
blip, browser refresh, mobile app backgrounded), all subsequent events
are lost. The client has no way to "catch up" on what they missed.
2. **Long-running operations** - Agent loops with tool calls can take
minutes. Holding an HTTP connection open that long is unreliable. If the
server restarts or the connection times out, the work is lost.
## The Solution
Durable agents address both problems:
**Resumable streams** solve connection drops. Every event is cached with
a sequential index. If a client disconnects at event 5, they can
reconnect and request events starting from index 6. They receive cached
events immediately, then continue with live events as they arrive.
```typescript
// Start streaming
const { runId, output } = await durableAgent.stream('Analyze this data...');
// Client disconnects at event 5...
// Reconnect and resume from where we left off
const { output: resumed } = await durableAgent.observe(runId, { offset: 6 });
// Receives events 6, 7, 8... from cache, then continues with live events
```
**Durable execution** solves long-running operations. Instead of
executing the agent loop directly in the HTTP request, execution happens
in a workflow engine (built-in evented engine or Inngest). The HTTP
request just subscribes to events. If the connection drops, execution
continues. The client can reconnect anytime to observe progress.
## Usage
Wrap any existing `Agent` with durability using factory functions:
```typescript
import { Agent } from '@mastra/core/agent';
import { createDurableAgent } from '@mastra/core/agent/durable';
const agent = new Agent({
id: 'my-agent',
model: openai('gpt-4'),
instructions: 'You are helpful',
});
const durableAgent = createDurableAgent({ agent });
```
**Factory functions for different execution strategies:**
| Factory | Execution | Use Case |
|---------|-----------|----------|
| `createDurableAgent({ agent })` | Local, synchronous | Development,
simple deployments |
| `createEventedAgent({ agent })` | Fire-and-forget via workflow engine
| Long-running operations |
| `createInngestAgent({ agent, inngest })` | Inngest-powered |
Production, distributed systems |
## PubSub and Cache
Durable agents use two infrastructure components:
| Component | Purpose | Default |
|-----------|---------|---------|
| **PubSub** | Real-time event delivery during streaming |
`EventEmitterPubSub` |
| **Cache** | Stores events for replay on reconnection |
`InMemoryServerCache` |
When `stream()` is called, events flow through pubsub in real-time. The
cache stores each event with a sequential index. When `observe()` is
called, missed events replay from cache before continuing with live
events.
**Configure via Mastra instance (recommended):**
```typescript
const mastra = new Mastra({
cache: new RedisServerCache({ url: 'redis://...' }),
pubsub: new RedisPubSub({ url: 'redis://...' }),
agents: {
// Inherits cache and pubsub from Mastra
myAgent: createDurableAgent({ agent }),
},
});
```
**Configure per-agent (overrides Mastra):**
```typescript
const durableAgent = createDurableAgent({
agent,
cache: new RedisServerCache({ url: 'redis://...' }),
pubsub: new RedisPubSub({ url: 'redis://...' }),
});
```
**Disable caching (streams won't be resumable):**
```typescript
const durableAgent = createDurableAgent({ agent, cache: false });
```
For single-instance deployments, the defaults work fine. For
multi-instance deployments (load balancer, horizontal scaling), use
Redis-backed implementations so any instance can serve reconnection
requests.
## Class Hierarchy
- `DurableAgent` extends `Agent` - base class with resumable streams
- `EventedAgent` extends `DurableAgent` - fire-and-forget execution
- `InngestAgent` extends `DurableAgent` - Inngest-powered execution
## Other Additions
- `observe()` method on all durable agents for stream reconnection
- `CachingPubSub` - decorator that wraps any PubSub with automatic event
caching
- Model fallback support with retry logic
- 284 tests covering all durable agent functionality
- Docker-free test setup for InngestAgent
🤖 Generated with [Claude Code](https://claude.ai/code)
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Taofeeq Oluderu <oluderutaofeeq@gmail.com>
Co-authored-by: Tyler Barnes <tylerdbarnes@gmail.com>
Co-authored-by: Mastra Code (openai/gpt-5.5) <noreply@mastra.ai>
|