- Add ExecutionStep and ExecutionTrace models to track crew execution steps
- Add ExecutionTraceCollector to capture events and build execution traces
- Add trace_execution parameter to Crew class (disabled by default)
- Add execution_trace field to CrewOutput to return trace data
- Integrate trace collection into crew.kickoff() method
- Add comprehensive tests covering execution tracing functionality
- Add example demonstrating how to use execution tracing
- Export new classes in __init__.py
Addresses issue #3268: Users can now track the sequence of steps/actions
that a crew takes to complete a goal, including agent thoughts, tool calls,
and intermediate results, similar to LangGraph's conversation state.
Co-Authored-By: João <joao@crewai.com>