Pre-resolved core view of an inline approval tool call card.
The editor builder runs the agent's approval-preview builder (or reads a
supplied preview), then stores the already-built summary, preview_kind
(:diff | :command | :target | :args), and preview_lines here. The GUI
encoder serializes these resolved fields without touching any agent struct.
Summary
Types
@type preview_kind() :: :diff | :command | :target | :args
Resolved preview kind for an approval card.
@type t() :: %Minga.RenderModel.UI.AgentChat.ApprovalView{ name: String.t(), preview_kind: preview_kind(), preview_lines: [String.t()], summary: String.t(), tool_call_id: String.t() }