ViteHub is still experimental. Expect bugs and breaking changes.

Trace

Render a derived runtime trace run and its timed steps.

Use AgentTrace when the application already called deriveTraceRuns() and wants a compact disclosure for one derived run.

Preview

Usage

<AgentTrace v-for="run in runs" :key="run.id" :run="run" :default-open="run.status === 'failed'" />

Props

PropTypeDefaultPurpose
runTraceRunViewDerived run status, duration, and steps.
defaultOpenbooleanfalseOpens the run disclosure on initial render.

Use the title slot to replace the run identifier. Use step when a known trace schema deserves a richer presentation than the default step name, duration, and attributes.

Ownership

ViteHub Runtime derives TraceRunView records. The UI component only renders the run it receives. Loading, filtering, authorization, and retention stay in the application.