mirror of
https://github.com/mastra-ai/mastra.git
synced 2026-11-17 08:44:46 +00:00
feat(core): publish default-engine DurableAgent runs on mastra.pubsub
A registered DurableAgent on the default engine could still publish run frames on its private in-process bus when its bus was resolved before registration, so other Mastra instances sharing the pubsub and cache could not observe its runs. Registered agents now resolve to mastra.pubsub at resolve time, matching plain Agents and preparing for worker dispatch. A user-provided agent-level pubsub still takes precedence except on the evented engine; unregistered agents keep their own bus. Co-Authored-By: mastra-platform[bot] <284800079+mastra-platform[bot]@users.noreply.github.com>
This commit is contained in:
parent
ff5456dff9
commit
249369043c
6 changed files with 161 additions and 20 deletions
Loading…
Add table
Add a link
Reference in a new issue