Immutable parameters captured for one native agent turn loop.
Summary
Types
@type t() :: %MingaAgent.Providers.Native.LoopCtx{ changeset: pid() | nil, config: MingaAgent.Config.t(), credential_opts: keyword(), fork_store: pid() | nil, hook_runner: MingaAgent.Providers.Native.hook_runner(), llm_client: term(), max_cost: float() | nil, max_retries: non_neg_integer(), max_turns: pos_integer(), project_root: String.t(), project_view: MingaAgent.ProjectView.t() | nil, provider_pid: pid(), request: MingaAgent.Session.Request.t(), selection: MingaAgent.ModelSelection.t(), session_cost: float(), session_pid: pid(), tool_metadata: map(), tools: [term()], turn_count: non_neg_integer() }