Expand description
Re-export session types from agtrace-types.
All session-related types have been moved to agtrace-types to improve architecture clarity and reduce dependency weight for consumers that only need data structures without assembly logic.
Structs§
- Agent
Session - Complete agent conversation session assembled from normalized events.
- Agent
Step - Single LLM inference cycle with optional tool executions.
- Agent
Turn - Single user-initiated interaction cycle within a session.
- Message
Block - Agent text response message.
- Reasoning
Block - Agent reasoning/thinking block.
- Session
Stats - Aggregated statistics for an entire session.
- Tool
Call Block - Tool invocation request with timing information.
- Tool
Execution - Paired tool call and result with execution metrics.
- Tool
Result Block - Tool execution result with timing information.
- Turn
Metrics - Computed context window metrics for turn visualization.
- Turn
Stats - Aggregated statistics for a single turn.
- User
Message - User input message that initiates a turn.
Enums§
- Step
Status - Step completion status