Only retain and display the 50 most recent interactions; this prevents
the stored items from growing without bound if the user is using
the vscode instance to edit for a long time.
Instead of treating LLM logging as simply writing lines of text
sequentially, emit a stream of typed data objects that include
rich information about the interaction, such as timestamps,
message types, tool calls, etc.
These are then collected by a new custom webview in the vscode
extension (the "Continue Console"), allowing a user or developer
to browse through the different interactions and view them in detail.
In progress interactions are now streamed live, instead of being held back
to avoid concurrency issues.
This webview could be also exposed for IntelliJ or file logging
could be reimplemented on top of the new framework.