Module types

Module types 

Source
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§

AgentSession
Complete agent conversation session assembled from normalized events.
AgentStep
Single LLM inference cycle with optional tool executions.
AgentTurn
Single user-initiated interaction cycle within a session.
MessageBlock
Agent text response message.
ReasoningBlock
Agent reasoning/thinking block.
SessionStats
Aggregated statistics for an entire session.
ToolCallBlock
Tool invocation request with timing information.
ToolExecution
Paired tool call and result with execution metrics.
ToolResultBlock
Tool execution result with timing information.
TurnMetrics
Computed context window metrics for turn visualization.
TurnStats
Aggregated statistics for a single turn.
UserMessage
User input message that initiates a turn.

Enums§

StepStatus
Step completion status