support for multiline output via agentV2