Skip to main content

Module progress

Module progress 

Source
Expand description

ProgressTracker — fold WorkflowEvents into a live RunProgress snapshot, the Rust analog of Claude Code’s /workflows progress view.

A tracker installs itself as the ctx’s event sink (WorkflowCtxBuilder::on_event) and accumulates per-phase agent counts, lifecycle tallies, and token totals. snapshot returns a cheap clone for rendering.

Structs§

PhaseProgress
Per-phase progress: how many agents were issued under a given phase title.
ProgressTracker
Accumulates WorkflowEvents into a shared RunProgress. Cheap to clone (an Arc inside); install via callback.
RunProgress
A point-in-time snapshot of a workflow run’s progress.