Optionalcontext?: ActivityContextFor the word of the spinner line.
OptionalmaxLines?: numberMost lines the streamed answer may use. A longer answer shows its end only; the whole answer is printed when it is done.
Optionalwidth?: numberThe terminal width.
The part that is redrawn: the answer while it streams, the running tools with their last progress line, and the spinner line while the agent works.