ServerEnvelope
ServerEnvelope =
MaelstromResponseMessage|HistoryResponseMessage|AssistantMessageResultMessage|EngineErrorMessage|DiagnosticMessage|AgentEventMessage
Defined in: packages/protocol/src/lib/envelope.ts:469
Every message an engine host may send to a client over the duplex stream,
discriminated on type. See the union members below.
The agent variants (AgentInputMessage, AgentEventMessage) are experimental
in 0.3 and may change in any minor release.