Expand description
Gemini CLI --output-format stream-json → AgentEvent translator —
the answer text only.
Scoped to what a tool-less, one-shot turn produces (/btw,
server/agent_handlers/side_question.rs). The full renderer is the
frontend’s providers/gemini-translator.ts, which this follows for the
frames it handles:
messagewithrole = "assistant"—contentis an incremental chunk (not accumulated text), emitted asAssistantText.result—Donewhenstatusis"success", elseErrorwith the frame’s error message.
init, user-prompt echoes, tool_use / tool_result and anything
unrecognised are dropped.