When should an SSE API emit a `done` event for streamed agent responses?