mirror of
https://github.com/mastra-ai/mastra.git
synced 2026-11-17 08:44:46 +00:00
feat(core): let Agent.observe follow plain Agent runs
Agent.observe() now replays and tails a run from the agent's stream bus when its runs publish there, instead of requiring durable: true. Adds hasResumableStreams() on Agent (and a hasResumableStreams(agent) helper) so callers can tell whether a run can be followed. DurableAgent opts its base class out of publishing so its runs are only published once. Co-Authored-By: mastra-platform[bot] <284800079+mastra-platform[bot]@users.noreply.github.com>
This commit is contained in:
parent
8c8975ef63
commit
f6d7dabf94
4 changed files with 174 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue