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

feat(core): publish plain Agent runs on the agent stream topic

Runs of an Agent registered on Mastra now publish their chunks on
agent.stream.<runId> through the shared stream layer, so other readers can
follow them the way they follow DurableAgent runs. A new `streams` option
turns this off (`false`), on for standalone agents (`true`), or configures
pubsub/cache/shouldCache/cleanupTimeoutMs. For `durable` agents the
`streams` keys fold into the DurableAgent config.

Co-Authored-By: mastra-platform[bot] <284800079+mastra-platform[bot]@users.noreply.github.com>
This commit is contained in:
mastra-platform[bot] 2026-10-26 13:51:40 +00:00
commit 8c8975ef63
12 changed files with 457 additions and 11 deletions