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

feat(core): abort published Agent runs from any reader

A published plain Agent run now listens for abort requests on its control
topic, so observe().abort() and abortRunStream() stop it from any process
sharing the bus, the same way DurableAgent runs are stopped. The caller's
own abortSignal still aborts the run.

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:57:48 +00:00
commit 8b33a9d75b
3 changed files with 188 additions and 4 deletions