pub struct Trace {Show 19 fields
pub render_decision: RenderDecision,
pub render_mode: TraceRenderMode,
pub render_used: bool,
pub escalation_reason: Option<String>,
pub main_request_observed: bool,
pub duration_ms: u64,
pub timeout_ms: u64,
pub current_stage: String,
pub navigation_duration_ms: Option<u64>,
pub wait_mode: Option<String>,
pub wait_satisfied_by: Option<String>,
pub network_quiet: Option<bool>,
pub dom_stable: Option<bool>,
pub text_stable: Option<bool>,
pub capture_reason: Option<String>,
pub cookie_jar_file: Option<PathBuf>,
pub cookie_jar_warning: Option<String>,
pub sensitive_capture: Vec<String>,
pub stages: Vec<TraceStage>,
}Fields§
§render_decision: RenderDecision§render_mode: TraceRenderModeThe --render mode the agent requested. Distinct from
render_decision: a fetch with render_mode: "auto" that escalates
to the browser reports render_decision: "browser" here. Agents
branching on retry logic can match on this to know whether they
asked for the browser explicitly or auto-mode chose it.
render_used: booltrue when the browser actually ran (i.e. render_decision == Browser). Convenience boolean so agents don’t have to compare
enum strings; redundant with render_decision, intentionally so.
escalation_reason: Option<String>§main_request_observed: bool§duration_ms: u64§timeout_ms: u64§current_stage: String§wait_mode: Option<String>Browser wait mode requested for this fetch (auto, load, idle,
selector, selector_visible, or ms). HTTP-only results omit it.
wait_satisfied_by: Option<String>Mechanical condition that allowed artifact capture to proceed.
network_quiet: Option<bool>Whether the fetch’s own Network collector observed a quiet page at
capture time. Browser-path only; None for HTTP-only or explicit waits
that do not inspect network quietness.
dom_stable: Option<bool>§text_stable: Option<bool>§capture_reason: Option<String>Why capture proceeded (wait_satisfied, readiness_timeout, etc.).
Absolute path of the cookie jar used for this fetch, if any. None
when --no-cookie-jar was set or the jar could not be resolved.
Exposes the implicit “GET /profile → default jar” behaviour that was
previously invisible to the agent.
Structured trace note when the cookie jar could not be resolved from
/profile and the fetch continued without implicit profile cookies.
sensitive_capture: Vec<String>Capture knobs that can expose secrets or PII in artifacts. Empty when the default redaction posture is in effect.
stages: Vec<TraceStage>