Table of Contents

Namespace JD.AI.Core.Tracing

Classes

DebugLogger

Writes category-filtered debug output to stderr when --debug is active.

ExecutionContext

Ambient execution context that flows through all operations via AsyncLocal<T>. Carries W3C trace IDs, session IDs, and turn metadata for end-to-end traceability.

ExecutionTimeline

Records a timeline of operations within a single turn for the /trace command. Thread-safe for concurrent tool invocations.

TimelineEntry

A single operation in the execution timeline.

TraceContext

Ambient AsyncLocal<T> holder for the current ExecutionContext.

Enums

DebugCategory

Debug categories for --debug flag filtering.