How to persist partial step output to memory for single step agent invocations - Mastra