Provides tracing functionality for the agent.
Every state transition in BeamAgent.Runner is recorded as one Step
into an append-only list — this is the full audit trail exposed as
BeamAgent.Run.trace on both success and failure, not just an internal
debug log. Typical :type values: :model_call, :model_finished,
:tool_requested, :tool_started, :tool_completed, :tool_failed,
:context_compressed, :finished, :failed.
Summary
Functions
Appends one Step to trace, stamped with the current time.
Functions
@spec record([BeamAgent.Trace.Step.t()], non_neg_integer(), atom(), map()) :: [ BeamAgent.Trace.Step.t() ]
Appends one Step to trace, stamped with the current time.