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:
parent
9a1dd04638
commit
8c8975ef63
12 changed files with 457 additions and 11 deletions
Loading…
Add table
Add a link
Reference in a new issue