Structured, editor-safe preview shown on an inline tool approval card.
Structured preview kind for an approval card.
A public approval preview rendered by editor frontends.
Creates an approval preview.
@type kind() :: :diff | :command | :target | :args
@type t() :: %MingaAgent.ToolApproval.Preview{ kind: kind(), lines: [String.t()], summary: String.t() }
@spec new(kind(), String.t(), [String.t()]) :: t()