Added
capture.start()andcapture.end()support lifecycle capture boundaries for flows that cannot
wrap their work in a callback.CaptureScopecan be ended directly, orcapture.end()can end the
currently active lifecycle capture.Latitude#getTracer(scope, context?)returns a tracer from the provider Latitude is exporting
from, prefixing scopes withso.latitude.instrumentation.when needed. Pass the optional context
to stamp spans with the same Latitude context accepted bycapture()(userId,sessionId,
tags,metadata, andproject), including when passing the tracer to the Vercel AI SDK v6
experimental_telemetry.tracerfield.
Fixed
- Capture root spans now record exceptions and set
ERRORstatus when captured work raises or a
lifecycle capture ends with an error.