Agents
Mastra 1.66.0 adds observability signal deletion and transform hooks around observational memory
@mastra/core 1.66.0 (published 2026-09-11) adds idempotent batch deleteFeedback() and deleteScores() with optional org/resource scoping, matching DELETE /api/observability/* routes in @mastra/server and client-js methods, implemented across ClickHouse, DuckDB and Postgres. Trace querying gains same-span predicates (model, provider, duration, outcome, identity, lineage), portable metadata.* predicates and richer feedback and score filters. @mastra/memory gains async beforeObservation, afterObservation, beforeReflection and afterReflection hooks so apps can redact or reshape messages before model calls or persistence, which is the piece that matters for anyone with PII in agent memory.
↳ Follow the thread